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

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

type iDeleteCloudGtmInstanceConfigRequest interface {
	dara.Model
	String() string
	GoString() string
	SetAcceptLanguage(v string) *DeleteCloudGtmInstanceConfigRequest
	GetAcceptLanguage() *string
	SetClientToken(v string) *DeleteCloudGtmInstanceConfigRequest
	GetClientToken() *string
	SetConfigId(v string) *DeleteCloudGtmInstanceConfigRequest
	GetConfigId() *string
	SetInstanceId(v string) *DeleteCloudGtmInstanceConfigRequest
	GetInstanceId() *string
}

type DeleteCloudGtmInstanceConfigRequest struct {
	// The language of the response. Valid values:
	//
	// - zh-CN: Chinese.
	//
	// - en-US: English. This is the default value.
	//
	// example:
	//
	// en-US
	AcceptLanguage *string `json:"AcceptLanguage,omitempty" xml:"AcceptLanguage,omitempty"`
	// The client token that is used to ensure the idempotence of the request. Generate a unique token for each request. The token can contain a maximum of 64 ASCII characters.
	//
	// example:
	//
	// 1ae05db4-10e7-11ef-b126-00163e24****
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// The ID of the instance configuration. A GTM instance can have two configurations, an A record and an AAAA record, for the same access domain name. The ConfigId uniquely identifies one of the configurations. To obtain the ConfigId, call the [ListCloudGtmInstanceConfigs](https://help.aliyun.com/document_detail/2797349.html) operation.
	//
	// example:
	//
	// config-00****
	ConfigId *string `json:"ConfigId,omitempty" xml:"ConfigId,omitempty"`
	// The ID of the Global Traffic Manager (GTM) 3.0 instance.
	//
	// example:
	//
	// gtm-cn-jmp3qnw****
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
}

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

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

func (s *DeleteCloudGtmInstanceConfigRequest) GetAcceptLanguage() *string {
	return s.AcceptLanguage
}

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

func (s *DeleteCloudGtmInstanceConfigRequest) GetConfigId() *string {
	return s.ConfigId
}

func (s *DeleteCloudGtmInstanceConfigRequest) GetInstanceId() *string {
	return s.InstanceId
}

func (s *DeleteCloudGtmInstanceConfigRequest) SetAcceptLanguage(v string) *DeleteCloudGtmInstanceConfigRequest {
	s.AcceptLanguage = &v
	return s
}

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

func (s *DeleteCloudGtmInstanceConfigRequest) SetConfigId(v string) *DeleteCloudGtmInstanceConfigRequest {
	s.ConfigId = &v
	return s
}

func (s *DeleteCloudGtmInstanceConfigRequest) SetInstanceId(v string) *DeleteCloudGtmInstanceConfigRequest {
	s.InstanceId = &v
	return s
}

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