@@ -25,6 +25,8 @@ type AWSAccountResponseAttributes struct {
2525 AwsPartition * AWSAccountPartition `json:"aws_partition,omitempty"`
2626 // AWS Regions to collect data from. Defaults to `include_all`.
2727 AwsRegions * AWSRegions `json:"aws_regions,omitempty"`
28+ // AWS Cloud Cost Management config.
29+ CcmConfig * AWSCCMConfig `json:"ccm_config,omitempty"`
2830 // Timestamp of when the account integration was created.
2931 CreatedAt * time.Time `json:"created_at,omitempty"`
3032 // AWS Logs Collection config.
@@ -206,6 +208,34 @@ func (o *AWSAccountResponseAttributes) SetAwsRegions(v AWSRegions) {
206208 o .AwsRegions = & v
207209}
208210
211+ // GetCcmConfig returns the CcmConfig field value if set, zero value otherwise.
212+ func (o * AWSAccountResponseAttributes ) GetCcmConfig () AWSCCMConfig {
213+ if o == nil || o .CcmConfig == nil {
214+ var ret AWSCCMConfig
215+ return ret
216+ }
217+ return * o .CcmConfig
218+ }
219+
220+ // GetCcmConfigOk returns a tuple with the CcmConfig field value if set, nil otherwise
221+ // and a boolean to check if the value has been set.
222+ func (o * AWSAccountResponseAttributes ) GetCcmConfigOk () (* AWSCCMConfig , bool ) {
223+ if o == nil || o .CcmConfig == nil {
224+ return nil , false
225+ }
226+ return o .CcmConfig , true
227+ }
228+
229+ // HasCcmConfig returns a boolean if a field has been set.
230+ func (o * AWSAccountResponseAttributes ) HasCcmConfig () bool {
231+ return o != nil && o .CcmConfig != nil
232+ }
233+
234+ // SetCcmConfig gets a reference to the given AWSCCMConfig and assigns it to the CcmConfig field.
235+ func (o * AWSAccountResponseAttributes ) SetCcmConfig (v AWSCCMConfig ) {
236+ o .CcmConfig = & v
237+ }
238+
209239// GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
210240func (o * AWSAccountResponseAttributes ) GetCreatedAt () time.Time {
211241 if o == nil || o .CreatedAt == nil {
@@ -393,6 +423,9 @@ func (o AWSAccountResponseAttributes) MarshalJSON() ([]byte, error) {
393423 if o .AwsRegions != nil {
394424 toSerialize ["aws_regions" ] = o .AwsRegions
395425 }
426+ if o .CcmConfig != nil {
427+ toSerialize ["ccm_config" ] = o .CcmConfig
428+ }
396429 if o .CreatedAt != nil {
397430 if o .CreatedAt .Nanosecond () == 0 {
398431 toSerialize ["created_at" ] = o .CreatedAt .Format ("2006-01-02T15:04:05Z07:00" )
@@ -434,6 +467,7 @@ func (o *AWSAccountResponseAttributes) UnmarshalJSON(bytes []byte) (err error) {
434467 AwsAccountId * string `json:"aws_account_id"`
435468 AwsPartition * AWSAccountPartition `json:"aws_partition,omitempty"`
436469 AwsRegions * AWSRegions `json:"aws_regions,omitempty"`
470+ CcmConfig * AWSCCMConfig `json:"ccm_config,omitempty"`
437471 CreatedAt * time.Time `json:"created_at,omitempty"`
438472 LogsConfig * AWSLogsConfig `json:"logs_config,omitempty"`
439473 MetricsConfig * AWSMetricsConfig `json:"metrics_config,omitempty"`
@@ -449,7 +483,7 @@ func (o *AWSAccountResponseAttributes) UnmarshalJSON(bytes []byte) (err error) {
449483 }
450484 additionalProperties := make (map [string ]interface {})
451485 if err = datadog .Unmarshal (bytes , & additionalProperties ); err == nil {
452- datadog .DeleteKeys (additionalProperties , & []string {"account_tags" , "auth_config" , "aws_account_id" , "aws_partition" , "aws_regions" , "created_at" , "logs_config" , "metrics_config" , "modified_at" , "resources_config" , "traces_config" })
486+ datadog .DeleteKeys (additionalProperties , & []string {"account_tags" , "auth_config" , "aws_account_id" , "aws_partition" , "aws_regions" , "ccm_config" , " created_at" , "logs_config" , "metrics_config" , "modified_at" , "resources_config" , "traces_config" })
453487 } else {
454488 return err
455489 }
@@ -464,6 +498,10 @@ func (o *AWSAccountResponseAttributes) UnmarshalJSON(bytes []byte) (err error) {
464498 o .AwsPartition = all .AwsPartition
465499 }
466500 o .AwsRegions = all .AwsRegions
501+ if all .CcmConfig != nil && all .CcmConfig .UnparsedObject != nil && o .UnparsedObject == nil {
502+ hasInvalidField = true
503+ }
504+ o .CcmConfig = all .CcmConfig
467505 o .CreatedAt = all .CreatedAt
468506 if all .LogsConfig != nil && all .LogsConfig .UnparsedObject != nil && o .UnparsedObject == nil {
469507 hasInvalidField = true
0 commit comments