// This file is auto-generated, don't edit it. Thanks.
package client

import (
	"github.com/alibabacloud-go/tea/dara"
)

type iDeleteAtiAgentRegisterInfoRequest interface {
	dara.Model
	String() string
	GoString() string
	SetAgentRegisterInfoId(v string) *DeleteAtiAgentRegisterInfoRequest
	GetAgentRegisterInfoId() *string
	SetClientToken(v string) *DeleteAtiAgentRegisterInfoRequest
	GetClientToken() *string
}

type DeleteAtiAgentRegisterInfoRequest struct {
	// The AgentRegisterInfoId is automatically generated by the Alibaba Cloud ATS platform and is globally unique. Call the query operation to obtain this ID, and then use it to delete the Agent.
	//
	// This parameter is required.
	//
	// example:
	//
	// 2074031103110331392
	AgentRegisterInfoId *string `json:"AgentRegisterInfoId,omitempty" xml:"AgentRegisterInfoId,omitempty"`
	// Ensures the idempotency of the request. Generate a parameter value from your client to ensure uniqueness across different requests. ClientToken supports only ASCII characters and cannot exceed 64 characters in length.
	//
	// > If you do not specify this parameter, the system automatically uses the RequestId of the API request as the ClientToken. The RequestId may vary for each API request.
	//
	// example:
	//
	// eyJhbGciOiJIUzI1NiIsInR5cC.....
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
}

func (s DeleteAtiAgentRegisterInfoRequest) String() string {
	return dara.Prettify(s)
}

func (s DeleteAtiAgentRegisterInfoRequest) GoString() string {
	return s.String()
}

func (s *DeleteAtiAgentRegisterInfoRequest) GetAgentRegisterInfoId() *string {
	return s.AgentRegisterInfoId
}

func (s *DeleteAtiAgentRegisterInfoRequest) GetClientToken() *string {
	return s.ClientToken
}

func (s *DeleteAtiAgentRegisterInfoRequest) SetAgentRegisterInfoId(v string) *DeleteAtiAgentRegisterInfoRequest {
	s.AgentRegisterInfoId = &v
	return s
}

func (s *DeleteAtiAgentRegisterInfoRequest) SetClientToken(v string) *DeleteAtiAgentRegisterInfoRequest {
	s.ClientToken = &v
	return s
}

func (s *DeleteAtiAgentRegisterInfoRequest) Validate() error {
	return dara.Validate(s)
}
