diff --git a/VERSION b/VERSION index 188f5ebf4cc..c624785cc27 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.11.199 \ No newline at end of file +1.11.200 \ No newline at end of file diff --git a/generated/src/aws-cpp-sdk-controltower/include/aws/controltower/ControlTowerClient.h b/generated/src/aws-cpp-sdk-controltower/include/aws/controltower/ControlTowerClient.h index 4326134c851..c0ce520b019 100644 --- a/generated/src/aws-cpp-sdk-controltower/include/aws/controltower/ControlTowerClient.h +++ b/generated/src/aws-cpp-sdk-controltower/include/aws/controltower/ControlTowerClient.h @@ -18,11 +18,12 @@ namespace ControlTower /** *
These interfaces allow you to apply the AWS library of pre-defined * controls to your organizational units, programmatically. In AWS Control - * Tower, the terms "control" and "guardrail" are synonyms. .
To call these + * Tower, the terms "control" and "guardrail" are synonyms.
To call these * APIs, you'll need to know:
the controlIdentifier
* for the control--or guardrail--you are targeting.
the ARN
* associated with the target organizational unit (OU), which we call the
- * targetIdentifier
.
To get the
+ * targetIdentifier
.
the ARN associated with a + * resource that you wish to tag or untag.
To get the
* controlIdentifier
for your AWS Control Tower control:
The controlIdentifier
is an ARN that is specified for each
* control. You can view the controlIdentifier
in the console on the
@@ -35,7 +36,7 @@ namespace ControlTower
* quick-reference list of control identifers for the AWS Control Tower legacy
* Strongly recommended and Elective controls is given in Resource
- * identifiers for APIs and guardrails in the in the Controls
* reference guide section of the AWS Control Tower User Guide. Remember
* that Mandatory controls cannot be added or removed.
ARN @@ -170,7 +171,7 @@ namespace ControlTower * contains. The resources created will vary according to the control that you * specify. For usage examples, see - * the AWS Control Tower User Guide
DisableControl
operation. Displays a message in case of error.
* Details for an operation are available for 90 days. For usage examples, see
- * the AWS Control Tower User Guide Provides details about the enabled control. For usage examples, see Retrieves details about an enabled control. For usage examples, see - * the AWS Control Tower User Guide .
Returned - * values
TargetRegions: Shows target AWS Regions where the - * enabled control is available to be deployed.
StatusSummary: - * Provides a detailed summary of the deployment status.
DriftSummary: Provides a detailed summary of the drifted status.
Lists the controls enabled by AWS Control Tower on the specified * organizational unit and the accounts it contains. For usage examples, see - * the AWS Control Tower User Guide
Returns a list of tags associated with the resource. For usage examples, see + * + * the AWS Control Tower User Guide .
Applies tags to a resource. For usage examples, see + * the AWS Control Tower User Guide .
Removes tags from a resource. For usage examples, see + * the AWS Control Tower User Guide .
Tags to be applied to the EnabledControl
resource.
Tags to be applied to the EnabledControl
resource.
Tags to be applied to the EnabledControl
resource.
Tags to be applied to the EnabledControl
resource.
Tags to be applied to the EnabledControl
resource.
Tags to be applied to the EnabledControl
resource.
Tags to be applied to the EnabledControl
resource.
Tags to be applied to the EnabledControl
resource.
Tags to be applied to the EnabledControl
resource.
Tags to be applied to the EnabledControl
resource.
Tags to be applied to the EnabledControl
resource.
Tags to be applied to the EnabledControl
resource.
Tags to be applied to the EnabledControl
resource.
The ARN of the organizational unit. For information on how to find the
* The ARN of the The ARN of the The ARN of the The ARN of the The ARN of the The ARN of the The ARN of the The ID of the asynchronous operation, which is used to track status. The
* operation is available for 90 days. Information about the enabled control. targetIdentifier
, see m_tags;
+ bool m_tagsHasBeenSet = false;
+
Aws::String m_targetIdentifier;
bool m_targetIdentifierHasBeenSet = false;
};
diff --git a/generated/src/aws-cpp-sdk-controltower/include/aws/controltower/model/EnableControlResult.h b/generated/src/aws-cpp-sdk-controltower/include/aws/controltower/model/EnableControlResult.h
index 680c8f482bb..109566d5f20 100644
--- a/generated/src/aws-cpp-sdk-controltower/include/aws/controltower/model/EnableControlResult.h
+++ b/generated/src/aws-cpp-sdk-controltower/include/aws/controltower/model/EnableControlResult.h
@@ -32,6 +32,42 @@ namespace Model
AWS_CONTROLTOWER_API EnableControlResult& operator=(const Aws::AmazonWebServiceResultEnabledControl
resource.EnabledControl
resource.EnabledControl
resource.EnabledControl
resource.EnabledControl
resource.EnabledControl
resource.EnabledControl
resource.See Also:
Information about the enabled control.
The ARN of the enabled control.
+ *The ARN of the enabled control.
*/ inline const Aws::String& GetArn() const{ return m_arn; } /** - *The ARN of the enabled control.
+ *The ARN of the enabled control.
*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** - *The ARN of the enabled control.
+ *The ARN of the enabled control.
*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** - *The ARN of the enabled control.
+ *The ARN of the enabled control.
*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** - *The ARN of the enabled control.
+ *The ARN of the enabled control.
*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** - *The ARN of the enabled control.
+ *The ARN of the enabled control.
*/ inline EnabledControlDetails& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** - *The ARN of the enabled control.
+ *The ARN of the enabled control.
*/ inline EnabledControlDetails& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** - *The ARN of the enabled control.
+ *The ARN of the enabled control.
*/ inline EnabledControlDetails& WithArn(const char* value) { SetArn(value); return *this;} /** - * The control identifier of the enabled control. For information on how to
- * find the controlIdentifier
, see The control identifier of the enabled control. For information on how to find
+ * the controlIdentifier
, see the
- * overview page.
The control identifier of the enabled control. For information on how to
- * find the controlIdentifier
, see The control identifier of the enabled control. For information on how to find
+ * the controlIdentifier
, see the
- * overview page.
The control identifier of the enabled control. For information on how to
- * find the controlIdentifier
, see The control identifier of the enabled control. For information on how to find
+ * the controlIdentifier
, see the
- * overview page.
The control identifier of the enabled control. For information on how to
- * find the controlIdentifier
, see The control identifier of the enabled control. For information on how to find
+ * the controlIdentifier
, see the
- * overview page.
The control identifier of the enabled control. For information on how to
- * find the controlIdentifier
, see The control identifier of the enabled control. For information on how to find
+ * the controlIdentifier
, see the
- * overview page.
The control identifier of the enabled control. For information on how to
- * find the controlIdentifier
, see The control identifier of the enabled control. For information on how to find
+ * the controlIdentifier
, see the
- * overview page.
The control identifier of the enabled control. For information on how to
- * find the controlIdentifier
, see The control identifier of the enabled control. For information on how to find
+ * the controlIdentifier
, see the
- * overview page.
The control identifier of the enabled control. For information on how to
- * find the controlIdentifier
, see The control identifier of the enabled control. For information on how to find
+ * the controlIdentifier
, see the
- * overview page.
The drift status of the enabled control.
+ *The drift status of the enabled control.
*/ inline const DriftStatusSummary& GetDriftStatusSummary() const{ return m_driftStatusSummary; } /** - *The drift status of the enabled control.
+ *The drift status of the enabled control.
*/ inline bool DriftStatusSummaryHasBeenSet() const { return m_driftStatusSummaryHasBeenSet; } /** - *The drift status of the enabled control.
+ *The drift status of the enabled control.
*/ inline void SetDriftStatusSummary(const DriftStatusSummary& value) { m_driftStatusSummaryHasBeenSet = true; m_driftStatusSummary = value; } /** - *The drift status of the enabled control.
+ *The drift status of the enabled control.
*/ inline void SetDriftStatusSummary(DriftStatusSummary&& value) { m_driftStatusSummaryHasBeenSet = true; m_driftStatusSummary = std::move(value); } /** - *The drift status of the enabled control.
+ *The drift status of the enabled control.
*/ inline EnabledControlDetails& WithDriftStatusSummary(const DriftStatusSummary& value) { SetDriftStatusSummary(value); return *this;} /** - *The drift status of the enabled control.
+ *The drift status of the enabled control.
*/ inline EnabledControlDetails& WithDriftStatusSummary(DriftStatusSummary&& value) { SetDriftStatusSummary(std::move(value)); return *this;} /** - *The deployment summary of the enabled control.
+ *The deployment summary of the enabled control.
*/ inline const EnablementStatusSummary& GetStatusSummary() const{ return m_statusSummary; } /** - *The deployment summary of the enabled control.
+ *The deployment summary of the enabled control.
*/ inline bool StatusSummaryHasBeenSet() const { return m_statusSummaryHasBeenSet; } /** - *The deployment summary of the enabled control.
+ *The deployment summary of the enabled control.
*/ inline void SetStatusSummary(const EnablementStatusSummary& value) { m_statusSummaryHasBeenSet = true; m_statusSummary = value; } /** - *The deployment summary of the enabled control.
+ *The deployment summary of the enabled control.
*/ inline void SetStatusSummary(EnablementStatusSummary&& value) { m_statusSummaryHasBeenSet = true; m_statusSummary = std::move(value); } /** - *The deployment summary of the enabled control.
+ *The deployment summary of the enabled control.
*/ inline EnabledControlDetails& WithStatusSummary(const EnablementStatusSummary& value) { SetStatusSummary(value); return *this;} /** - *The deployment summary of the enabled control.
+ *The deployment summary of the enabled control.
*/ inline EnabledControlDetails& WithStatusSummary(EnablementStatusSummary&& value) { SetStatusSummary(std::move(value)); return *this;} /** - *The ARN of the organizational unit. For information on how to find the + *
The ARN of the organizational unit. For information on how to find the
* targetIdentifier
, see the
- * overview page.
The ARN of the organizational unit. For information on how to find the + *
The ARN of the organizational unit. For information on how to find the
* targetIdentifier
, see the
- * overview page.
The ARN of the organizational unit. For information on how to find the + *
The ARN of the organizational unit. For information on how to find the
* targetIdentifier
, see the
- * overview page.
The ARN of the organizational unit. For information on how to find the + *
The ARN of the organizational unit. For information on how to find the
* targetIdentifier
, see the
- * overview page.
The ARN of the organizational unit. For information on how to find the + *
The ARN of the organizational unit. For information on how to find the
* targetIdentifier
, see the
- * overview page.
The ARN of the organizational unit. For information on how to find the + *
The ARN of the organizational unit. For information on how to find the
* targetIdentifier
, see the
- * overview page.
The ARN of the organizational unit. For information on how to find the + *
The ARN of the organizational unit. For information on how to find the
* targetIdentifier
, see the
- * overview page.
The ARN of the organizational unit. For information on how to find the + *
The ARN of the organizational unit. For information on how to find the
* targetIdentifier
, see the
- * overview page.
Target AWS Regions for the enabled control.
+ *Target AWS Regions for the enabled control.
*/ inline const Aws::VectorTarget AWS Regions for the enabled control.
+ *Target AWS Regions for the enabled control.
*/ inline bool TargetRegionsHasBeenSet() const { return m_targetRegionsHasBeenSet; } /** - *Target AWS Regions for the enabled control.
+ *Target AWS Regions for the enabled control.
*/ inline void SetTargetRegions(const Aws::VectorTarget AWS Regions for the enabled control.
+ *Target AWS Regions for the enabled control.
*/ inline void SetTargetRegions(Aws::VectorTarget AWS Regions for the enabled control.
+ *Target AWS Regions for the enabled control.
*/ inline EnabledControlDetails& WithTargetRegions(const Aws::VectorTarget AWS Regions for the enabled control.
+ *Target AWS Regions for the enabled control.
*/ inline EnabledControlDetails& WithTargetRegions(Aws::VectorTarget AWS Regions for the enabled control.
+ *Target AWS Regions for the enabled control.
*/ inline EnabledControlDetails& AddTargetRegions(const Region& value) { m_targetRegionsHasBeenSet = true; m_targetRegions.push_back(value); return *this; } /** - *Target AWS Regions for the enabled control.
+ *Target AWS Regions for the enabled control.
*/ inline EnabledControlDetails& AddTargetRegions(Region&& value) { m_targetRegionsHasBeenSet = true; m_targetRegions.push_back(std::move(value)); return *this; } diff --git a/generated/src/aws-cpp-sdk-controltower/include/aws/controltower/model/EnabledControlSummary.h b/generated/src/aws-cpp-sdk-controltower/include/aws/controltower/model/EnabledControlSummary.h index c2af9bdbaf8..50a9f373d4b 100644 --- a/generated/src/aws-cpp-sdk-controltower/include/aws/controltower/model/EnabledControlSummary.h +++ b/generated/src/aws-cpp-sdk-controltower/include/aws/controltower/model/EnabledControlSummary.h @@ -26,7 +26,8 @@ namespace Model { /** - *A summary of enabled controls.
The ARN of the enabled control.
+ *The ARN of the enabled control.
*/ inline const Aws::String& GetArn() const{ return m_arn; } /** - *The ARN of the enabled control.
+ *The ARN of the enabled control.
*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** - *The ARN of the enabled control.
+ *The ARN of the enabled control.
*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** - *The ARN of the enabled control.
+ *The ARN of the enabled control.
*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** - *The ARN of the enabled control.
+ *The ARN of the enabled control.
*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** - *The ARN of the enabled control.
+ *The ARN of the enabled control.
*/ inline EnabledControlSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** - *The ARN of the enabled control.
+ *The ARN of the enabled control.
*/ inline EnabledControlSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** - *The ARN of the enabled control.
+ *The ARN of the enabled control.
*/ inline EnabledControlSummary& WithArn(const char* value) { SetArn(value); return *this;} /** - *The ARN of the control. Only Strongly recommended and Elective
- * controls are permitted, with the exception of the Region deny control.
- * For information on how to find the controlIdentifier
, see the
- * overview page.
The controlIdentifier
of the enabled control.
The ARN of the control. Only Strongly recommended and Elective
- * controls are permitted, with the exception of the Region deny control.
- * For information on how to find the controlIdentifier
, see the
- * overview page.
The controlIdentifier
of the enabled control.
The ARN of the control. Only Strongly recommended and Elective
- * controls are permitted, with the exception of the Region deny control.
- * For information on how to find the controlIdentifier
, see the
- * overview page.
The controlIdentifier
of the enabled control.
The ARN of the control. Only Strongly recommended and Elective
- * controls are permitted, with the exception of the Region deny control.
- * For information on how to find the controlIdentifier
, see the
- * overview page.
The controlIdentifier
of the enabled control.
The ARN of the control. Only Strongly recommended and Elective
- * controls are permitted, with the exception of the Region deny control.
- * For information on how to find the controlIdentifier
, see the
- * overview page.
The controlIdentifier
of the enabled control.
The ARN of the control. Only Strongly recommended and Elective
- * controls are permitted, with the exception of the Region deny control.
- * For information on how to find the controlIdentifier
, see the
- * overview page.
The controlIdentifier
of the enabled control.
The ARN of the control. Only Strongly recommended and Elective
- * controls are permitted, with the exception of the Region deny control.
- * For information on how to find the controlIdentifier
, see the
- * overview page.
The controlIdentifier
of the enabled control.
The ARN of the control. Only Strongly recommended and Elective
- * controls are permitted, with the exception of the Region deny control.
- * For information on how to find the controlIdentifier
, see the
- * overview page.
The controlIdentifier
of the enabled control.
The drift status of the enabled control.
+ *The drift status of the enabled control.
*/ inline const DriftStatusSummary& GetDriftStatusSummary() const{ return m_driftStatusSummary; } /** - *The drift status of the enabled control.
+ *The drift status of the enabled control.
*/ inline bool DriftStatusSummaryHasBeenSet() const { return m_driftStatusSummaryHasBeenSet; } /** - *The drift status of the enabled control.
+ *The drift status of the enabled control.
*/ inline void SetDriftStatusSummary(const DriftStatusSummary& value) { m_driftStatusSummaryHasBeenSet = true; m_driftStatusSummary = value; } /** - *The drift status of the enabled control.
+ *The drift status of the enabled control.
*/ inline void SetDriftStatusSummary(DriftStatusSummary&& value) { m_driftStatusSummaryHasBeenSet = true; m_driftStatusSummary = std::move(value); } /** - *The drift status of the enabled control.
+ *The drift status of the enabled control.
*/ inline EnabledControlSummary& WithDriftStatusSummary(const DriftStatusSummary& value) { SetDriftStatusSummary(value); return *this;} /** - *The drift status of the enabled control.
+ *The drift status of the enabled control.
*/ inline EnabledControlSummary& WithDriftStatusSummary(DriftStatusSummary&& value) { SetDriftStatusSummary(std::move(value)); return *this;} /** - *A short description of the status of the enabled control.
*/ inline const EnablementStatusSummary& GetStatusSummary() const{ return m_statusSummary; } /** - *A short description of the status of the enabled control.
*/ inline bool StatusSummaryHasBeenSet() const { return m_statusSummaryHasBeenSet; } /** - *A short description of the status of the enabled control.
*/ inline void SetStatusSummary(const EnablementStatusSummary& value) { m_statusSummaryHasBeenSet = true; m_statusSummary = value; } /** - *A short description of the status of the enabled control.
*/ inline void SetStatusSummary(EnablementStatusSummary&& value) { m_statusSummaryHasBeenSet = true; m_statusSummary = std::move(value); } /** - *A short description of the status of the enabled control.
*/ inline EnabledControlSummary& WithStatusSummary(const EnablementStatusSummary& value) { SetStatusSummary(value); return *this;} /** - *A short description of the status of the enabled control.
*/ inline EnabledControlSummary& WithStatusSummary(EnablementStatusSummary&& value) { SetStatusSummary(std::move(value)); return *this;} diff --git a/generated/src/aws-cpp-sdk-controltower/include/aws/controltower/model/EnablementStatusSummary.h b/generated/src/aws-cpp-sdk-controltower/include/aws/controltower/model/EnablementStatusSummary.h index 1fb3acda4a3..982a96eee26 100644 --- a/generated/src/aws-cpp-sdk-controltower/include/aws/controltower/model/EnablementStatusSummary.h +++ b/generated/src/aws-cpp-sdk-controltower/include/aws/controltower/model/EnablementStatusSummary.h @@ -25,8 +25,7 @@ namespace Model { /** - *The deployment summary of the enabled control.
The last operation identifier for the enabled control.
+ *The last operation identifier for the enabled control.
*/ inline const Aws::String& GetLastOperationIdentifier() const{ return m_lastOperationIdentifier; } /** - *The last operation identifier for the enabled control.
+ *The last operation identifier for the enabled control.
*/ inline bool LastOperationIdentifierHasBeenSet() const { return m_lastOperationIdentifierHasBeenSet; } /** - *The last operation identifier for the enabled control.
+ *The last operation identifier for the enabled control.
*/ inline void SetLastOperationIdentifier(const Aws::String& value) { m_lastOperationIdentifierHasBeenSet = true; m_lastOperationIdentifier = value; } /** - *The last operation identifier for the enabled control.
+ *The last operation identifier for the enabled control.
*/ inline void SetLastOperationIdentifier(Aws::String&& value) { m_lastOperationIdentifierHasBeenSet = true; m_lastOperationIdentifier = std::move(value); } /** - *The last operation identifier for the enabled control.
+ *The last operation identifier for the enabled control.
*/ inline void SetLastOperationIdentifier(const char* value) { m_lastOperationIdentifierHasBeenSet = true; m_lastOperationIdentifier.assign(value); } /** - *The last operation identifier for the enabled control.
+ *The last operation identifier for the enabled control.
*/ inline EnablementStatusSummary& WithLastOperationIdentifier(const Aws::String& value) { SetLastOperationIdentifier(value); return *this;} /** - *The last operation identifier for the enabled control.
+ *The last operation identifier for the enabled control.
*/ inline EnablementStatusSummary& WithLastOperationIdentifier(Aws::String&& value) { SetLastOperationIdentifier(std::move(value)); return *this;} /** - *The last operation identifier for the enabled control.
+ *The last operation identifier for the enabled control.
*/ inline EnablementStatusSummary& WithLastOperationIdentifier(const char* value) { SetLastOperationIdentifier(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-controltower/include/aws/controltower/model/GetEnabledControlRequest.h b/generated/src/aws-cpp-sdk-controltower/include/aws/controltower/model/GetEnabledControlRequest.h index 84c08c0fba9..57da958bd99 100644 --- a/generated/src/aws-cpp-sdk-controltower/include/aws/controltower/model/GetEnabledControlRequest.h +++ b/generated/src/aws-cpp-sdk-controltower/include/aws/controltower/model/GetEnabledControlRequest.h @@ -33,42 +33,42 @@ namespace Model /** - *The ARN of the enabled control.
+ *The controlIdentifier
of the enabled control.
The ARN of the enabled control.
+ *The controlIdentifier
of the enabled control.
The ARN of the enabled control.
+ *The controlIdentifier
of the enabled control.
The ARN of the enabled control.
+ *The controlIdentifier
of the enabled control.
The ARN of the enabled control.
+ *The controlIdentifier
of the enabled control.
The ARN of the enabled control.
+ *The controlIdentifier
of the enabled control.
The ARN of the enabled control.
+ *The controlIdentifier
of the enabled control.
The ARN of the enabled control.
+ *The controlIdentifier
of the enabled control.
Information about the enabled control.
+ *Information about the enabled control.
*/ inline const EnabledControlDetails& GetEnabledControlDetails() const{ return m_enabledControlDetails; } /** - *Information about the enabled control.
+ *Information about the enabled control.
*/ inline void SetEnabledControlDetails(const EnabledControlDetails& value) { m_enabledControlDetails = value; } /** - *Information about the enabled control.
+ *Information about the enabled control.
*/ inline void SetEnabledControlDetails(EnabledControlDetails&& value) { m_enabledControlDetails = std::move(value); } /** - *Information about the enabled control.
+ *Information about the enabled control.
*/ inline GetEnabledControlResult& WithEnabledControlDetails(const EnabledControlDetails& value) { SetEnabledControlDetails(value); return *this;} /** - *Information about the enabled control.
+ *Information about the enabled control.
*/ inline GetEnabledControlResult& WithEnabledControlDetails(EnabledControlDetails&& value) { SetEnabledControlDetails(std::move(value)); return *this;} diff --git a/generated/src/aws-cpp-sdk-controltower/include/aws/controltower/model/ListTagsForResourceRequest.h b/generated/src/aws-cpp-sdk-controltower/include/aws/controltower/model/ListTagsForResourceRequest.h new file mode 100644 index 00000000000..a5869743523 --- /dev/null +++ b/generated/src/aws-cpp-sdk-controltower/include/aws/controltower/model/ListTagsForResourceRequest.h @@ -0,0 +1,83 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#includeThe ARN of the resource.
+ */ + inline const Aws::String& GetResourceArn() const{ return m_resourceArn; } + + /** + *The ARN of the resource.
+ */ + inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; } + + /** + *The ARN of the resource.
+ */ + inline void SetResourceArn(const Aws::String& value) { m_resourceArnHasBeenSet = true; m_resourceArn = value; } + + /** + *The ARN of the resource.
+ */ + inline void SetResourceArn(Aws::String&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::move(value); } + + /** + *The ARN of the resource.
+ */ + inline void SetResourceArn(const char* value) { m_resourceArnHasBeenSet = true; m_resourceArn.assign(value); } + + /** + *The ARN of the resource.
+ */ + inline ListTagsForResourceRequest& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;} + + /** + *The ARN of the resource.
+ */ + inline ListTagsForResourceRequest& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;} + + /** + *The ARN of the resource.
+ */ + inline ListTagsForResourceRequest& WithResourceArn(const char* value) { SetResourceArn(value); return *this;} + + private: + + Aws::String m_resourceArn; + bool m_resourceArnHasBeenSet = false; + }; + +} // namespace Model +} // namespace ControlTower +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-controltower/include/aws/controltower/model/ListTagsForResourceResult.h b/generated/src/aws-cpp-sdk-controltower/include/aws/controltower/model/ListTagsForResourceResult.h new file mode 100644 index 00000000000..17a00198807 --- /dev/null +++ b/generated/src/aws-cpp-sdk-controltower/include/aws/controltower/model/ListTagsForResourceResult.h @@ -0,0 +1,127 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#includeA list of tags, as key:value
strings.
A list of tags, as key:value
strings.
A list of tags, as key:value
strings.
A list of tags, as key:value
strings.
A list of tags, as key:value
strings.
A list of tags, as key:value
strings.
A list of tags, as key:value
strings.
A list of tags, as key:value
strings.
A list of tags, as key:value
strings.
A list of tags, as key:value
strings.
A list of tags, as key:value
strings.
A list of tags, as key:value
strings.
The AWS Region name.
+ *The AWS Region name.
*/ inline const Aws::String& GetName() const{ return m_name; } /** - *The AWS Region name.
+ *The AWS Region name.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** - *The AWS Region name.
+ *The AWS Region name.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** - *The AWS Region name.
+ *The AWS Region name.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** - *The AWS Region name.
+ *The AWS Region name.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** - *The AWS Region name.
+ *The AWS Region name.
*/ inline Region& WithName(const Aws::String& value) { SetName(value); return *this;} /** - *The AWS Region name.
+ *The AWS Region name.
*/ inline Region& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** - *The AWS Region name.
+ *The AWS Region name.
*/ inline Region& WithName(const char* value) { SetName(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-controltower/include/aws/controltower/model/TagResourceRequest.h b/generated/src/aws-cpp-sdk-controltower/include/aws/controltower/model/TagResourceRequest.h new file mode 100644 index 00000000000..89656e64cee --- /dev/null +++ b/generated/src/aws-cpp-sdk-controltower/include/aws/controltower/model/TagResourceRequest.h @@ -0,0 +1,153 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#includeThe ARN of the resource to be tagged.
+ */ + inline const Aws::String& GetResourceArn() const{ return m_resourceArn; } + + /** + *The ARN of the resource to be tagged.
+ */ + inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; } + + /** + *The ARN of the resource to be tagged.
+ */ + inline void SetResourceArn(const Aws::String& value) { m_resourceArnHasBeenSet = true; m_resourceArn = value; } + + /** + *The ARN of the resource to be tagged.
+ */ + inline void SetResourceArn(Aws::String&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::move(value); } + + /** + *The ARN of the resource to be tagged.
+ */ + inline void SetResourceArn(const char* value) { m_resourceArnHasBeenSet = true; m_resourceArn.assign(value); } + + /** + *The ARN of the resource to be tagged.
+ */ + inline TagResourceRequest& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;} + + /** + *The ARN of the resource to be tagged.
+ */ + inline TagResourceRequest& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;} + + /** + *The ARN of the resource to be tagged.
+ */ + inline TagResourceRequest& WithResourceArn(const char* value) { SetResourceArn(value); return *this;} + + + /** + *Tags to be applied to the resource.
+ */ + inline const Aws::MapTags to be applied to the resource.
+ */ + inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } + + /** + *Tags to be applied to the resource.
+ */ + inline void SetTags(const Aws::MapTags to be applied to the resource.
+ */ + inline void SetTags(Aws::MapTags to be applied to the resource.
+ */ + inline TagResourceRequest& WithTags(const Aws::MapTags to be applied to the resource.
+ */ + inline TagResourceRequest& WithTags(Aws::MapTags to be applied to the resource.
+ */ + inline TagResourceRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } + + /** + *Tags to be applied to the resource.
+ */ + inline TagResourceRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } + + /** + *Tags to be applied to the resource.
+ */ + inline TagResourceRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } + + /** + *Tags to be applied to the resource.
+ */ + inline TagResourceRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; } + + /** + *Tags to be applied to the resource.
+ */ + inline TagResourceRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } + + /** + *Tags to be applied to the resource.
+ */ + inline TagResourceRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } + + /** + *Tags to be applied to the resource.
+ */ + inline TagResourceRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } + + private: + + Aws::String m_resourceArn; + bool m_resourceArnHasBeenSet = false; + + Aws::MapThe ARN of the resource.
+ */ + inline const Aws::String& GetResourceArn() const{ return m_resourceArn; } + + /** + *The ARN of the resource.
+ */ + inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; } + + /** + *The ARN of the resource.
+ */ + inline void SetResourceArn(const Aws::String& value) { m_resourceArnHasBeenSet = true; m_resourceArn = value; } + + /** + *The ARN of the resource.
+ */ + inline void SetResourceArn(Aws::String&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::move(value); } + + /** + *The ARN of the resource.
+ */ + inline void SetResourceArn(const char* value) { m_resourceArnHasBeenSet = true; m_resourceArn.assign(value); } + + /** + *The ARN of the resource.
+ */ + inline UntagResourceRequest& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;} + + /** + *The ARN of the resource.
+ */ + inline UntagResourceRequest& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;} + + /** + *The ARN of the resource.
+ */ + inline UntagResourceRequest& WithResourceArn(const char* value) { SetResourceArn(value); return *this;} + + + /** + *Tag keys to be removed from the resource.
+ */ + inline const Aws::VectorTag keys to be removed from the resource.
+ */ + inline bool TagKeysHasBeenSet() const { return m_tagKeysHasBeenSet; } + + /** + *Tag keys to be removed from the resource.
+ */ + inline void SetTagKeys(const Aws::VectorTag keys to be removed from the resource.
+ */ + inline void SetTagKeys(Aws::VectorTag keys to be removed from the resource.
+ */ + inline UntagResourceRequest& WithTagKeys(const Aws::VectorTag keys to be removed from the resource.
+ */ + inline UntagResourceRequest& WithTagKeys(Aws::VectorTag keys to be removed from the resource.
+ */ + inline UntagResourceRequest& AddTagKeys(const Aws::String& value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(value); return *this; } + + /** + *Tag keys to be removed from the resource.
+ */ + inline UntagResourceRequest& AddTagKeys(Aws::String&& value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(std::move(value)); return *this; } + + /** + *Tag keys to be removed from the resource.
+ */ + inline UntagResourceRequest& AddTagKeys(const char* value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(value); return *this; } + + private: + + Aws::String m_resourceArn; + bool m_resourceArnHasBeenSet = false; + + Aws::VectorThe AWS Cost and Usage Report API enables you to programmatically create, - * query, and delete AWS Cost and Usage report definitions.
AWS Cost and - * Usage reports track the monthly AWS costs and usage associated with your AWS - * account. The report contains line items for each unique combination of AWS - * product, usage type, and operation that your AWS account uses. You can configure - * the AWS Cost and Usage report to show only the data that you want, using the AWS - * Cost and Usage API.
Service Endpoint
The AWS Cost and Usage Report - * API provides the following endpoint:
You can use the Amazon Web Services Cost and Usage Report API to + * programmatically create, query, and delete Amazon Web Services Cost and Usage + * Report definitions.
Amazon Web Services Cost and Usage Report track the + * monthly Amazon Web Services costs and usage associated with your Amazon Web + * Services account. The report contains line items for each unique combination of + * Amazon Web Services product, usage type, and operation that your Amazon Web + * Services account uses. You can configure the Amazon Web Services Cost and Usage + * Report to show only the data that you want, using the Amazon Web Services Cost + * and Usage Report API.
Service Endpoint
The Amazon Web Services + * Cost and Usage Report API provides the following endpoint:
cur.us-east-1.amazonaws.com
Deletes the specified report.
Lists the AWS Cost and Usage reports available to this account.
Allows you to programatically update your report preferences.
Lists the tags associated with the specified report definition.
Allows you to programmatically update your report preferences.
Associates a set of tags with a report definition.
Disassociates a set of tags from a report definition.
Requests a list of AWS Cost and Usage reports owned by the + *
Requests a Amazon Web Services Cost and Usage Report list owned by the * account.
A list of AWS Cost and Usage reports owned by the account.
+ *An Amazon Web Services Cost and Usage Report list owned by the account.
*/ inline const Aws::VectorA list of AWS Cost and Usage reports owned by the account.
+ *An Amazon Web Services Cost and Usage Report list owned by the account.
*/ inline void SetReportDefinitions(const Aws::VectorA list of AWS Cost and Usage reports owned by the account.
+ *An Amazon Web Services Cost and Usage Report list owned by the account.
*/ inline void SetReportDefinitions(Aws::VectorA list of AWS Cost and Usage reports owned by the account.
+ *An Amazon Web Services Cost and Usage Report list owned by the account.
*/ inline DescribeReportDefinitionsResult& WithReportDefinitions(const Aws::VectorA list of AWS Cost and Usage reports owned by the account.
+ *An Amazon Web Services Cost and Usage Report list owned by the account.
*/ inline DescribeReportDefinitionsResult& WithReportDefinitions(Aws::VectorA list of AWS Cost and Usage reports owned by the account.
+ *An Amazon Web Services Cost and Usage Report list owned by the account.
*/ inline DescribeReportDefinitionsResult& AddReportDefinitions(const ReportDefinition& value) { m_reportDefinitions.push_back(value); return *this; } /** - *A list of AWS Cost and Usage reports owned by the account.
+ *An Amazon Web Services Cost and Usage Report list owned by the account.
*/ inline DescribeReportDefinitionsResult& AddReportDefinitions(ReportDefinition&& value) { m_reportDefinitions.push_back(std::move(value)); return *this; } diff --git a/generated/src/aws-cpp-sdk-cur/include/aws/cur/model/LastStatus.h b/generated/src/aws-cpp-sdk-cur/include/aws/cur/model/LastStatus.h new file mode 100644 index 00000000000..382b5aaf9f8 --- /dev/null +++ b/generated/src/aws-cpp-sdk-cur/include/aws/cur/model/LastStatus.h @@ -0,0 +1,32 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#includeThe report name of the report definition that tags are to be returned + * for.
+ */ + inline const Aws::String& GetReportName() const{ return m_reportName; } + + /** + *The report name of the report definition that tags are to be returned + * for.
+ */ + inline bool ReportNameHasBeenSet() const { return m_reportNameHasBeenSet; } + + /** + *The report name of the report definition that tags are to be returned + * for.
+ */ + inline void SetReportName(const Aws::String& value) { m_reportNameHasBeenSet = true; m_reportName = value; } + + /** + *The report name of the report definition that tags are to be returned + * for.
+ */ + inline void SetReportName(Aws::String&& value) { m_reportNameHasBeenSet = true; m_reportName = std::move(value); } + + /** + *The report name of the report definition that tags are to be returned + * for.
+ */ + inline void SetReportName(const char* value) { m_reportNameHasBeenSet = true; m_reportName.assign(value); } + + /** + *The report name of the report definition that tags are to be returned + * for.
+ */ + inline ListTagsForResourceRequest& WithReportName(const Aws::String& value) { SetReportName(value); return *this;} + + /** + *The report name of the report definition that tags are to be returned + * for.
+ */ + inline ListTagsForResourceRequest& WithReportName(Aws::String&& value) { SetReportName(std::move(value)); return *this;} + + /** + *The report name of the report definition that tags are to be returned + * for.
+ */ + inline ListTagsForResourceRequest& WithReportName(const char* value) { SetReportName(value); return *this;} + + private: + + Aws::String m_reportName; + bool m_reportNameHasBeenSet = false; + }; + +} // namespace Model +} // namespace CostandUsageReportService +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-cur/include/aws/cur/model/ListTagsForResourceResult.h b/generated/src/aws-cpp-sdk-cur/include/aws/cur/model/ListTagsForResourceResult.h new file mode 100644 index 00000000000..c3468086c2c --- /dev/null +++ b/generated/src/aws-cpp-sdk-cur/include/aws/cur/model/ListTagsForResourceResult.h @@ -0,0 +1,103 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#includeThe tags assigned to the report definition resource.
+ */ + inline const Aws::VectorThe tags assigned to the report definition resource.
+ */ + inline void SetTags(const Aws::VectorThe tags assigned to the report definition resource.
+ */ + inline void SetTags(Aws::VectorThe tags assigned to the report definition resource.
+ */ + inline ListTagsForResourceResult& WithTags(const Aws::VectorThe tags assigned to the report definition resource.
+ */ + inline ListTagsForResourceResult& WithTags(Aws::VectorThe tags assigned to the report definition resource.
+ */ + inline ListTagsForResourceResult& AddTags(const Tag& value) { m_tags.push_back(value); return *this; } + + /** + *The tags assigned to the report definition resource.
+ */ + inline ListTagsForResourceResult& AddTags(Tag&& value) { m_tags.push_back(std::move(value)); return *this; } + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline ListTagsForResourceResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline ListTagsForResourceResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline ListTagsForResourceResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::VectorThe tags to be assigned to the report definition resource.
+ */ + inline const Aws::VectorThe tags to be assigned to the report definition resource.
+ */ + inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } + + /** + *The tags to be assigned to the report definition resource.
+ */ + inline void SetTags(const Aws::VectorThe tags to be assigned to the report definition resource.
+ */ + inline void SetTags(Aws::VectorThe tags to be assigned to the report definition resource.
+ */ + inline PutReportDefinitionRequest& WithTags(const Aws::VectorThe tags to be assigned to the report definition resource.
+ */ + inline PutReportDefinitionRequest& WithTags(Aws::VectorThe tags to be assigned to the report definition resource.
+ */ + inline PutReportDefinitionRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; } + + /** + *The tags to be assigned to the report definition resource.
+ */ + inline PutReportDefinitionRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; } + private: ReportDefinition m_reportDefinition; bool m_reportDefinitionHasBeenSet = false; + + Aws::VectorThe definition of AWS Cost and Usage Report. You can specify the report name, - * time unit, report format, compression format, S3 bucket, additional artifacts, - * and schema elements in the definition.
The Amazon resource name of the billing view. You can get this value by - * using the billing view service public APIs.
+ * The Amazon resource name of the billing view. The
+ * BillingViewArn
is needed to create Amazon Web Services Cost and
+ * Usage Report for each billing group maintained in the Amazon Web Services
+ * Billing Conductor service. The BillingViewArn
for a billing group
+ * can be constructed as:
+ * arn:aws:billing::payer-account-id:billingview/billing-group-primary-account-id
+ *
The Amazon resource name of the billing view. You can get this value by - * using the billing view service public APIs.
+ * The Amazon resource name of the billing view. The
+ * BillingViewArn
is needed to create Amazon Web Services Cost and
+ * Usage Report for each billing group maintained in the Amazon Web Services
+ * Billing Conductor service. The BillingViewArn
for a billing group
+ * can be constructed as:
+ * arn:aws:billing::payer-account-id:billingview/billing-group-primary-account-id
+ *
The Amazon resource name of the billing view. You can get this value by - * using the billing view service public APIs.
+ * The Amazon resource name of the billing view. The
+ * BillingViewArn
is needed to create Amazon Web Services Cost and
+ * Usage Report for each billing group maintained in the Amazon Web Services
+ * Billing Conductor service. The BillingViewArn
for a billing group
+ * can be constructed as:
+ * arn:aws:billing::payer-account-id:billingview/billing-group-primary-account-id
+ *
The Amazon resource name of the billing view. You can get this value by - * using the billing view service public APIs.
+ * The Amazon resource name of the billing view. The
+ * BillingViewArn
is needed to create Amazon Web Services Cost and
+ * Usage Report for each billing group maintained in the Amazon Web Services
+ * Billing Conductor service. The BillingViewArn
for a billing group
+ * can be constructed as:
+ * arn:aws:billing::payer-account-id:billingview/billing-group-primary-account-id
+ *
The Amazon resource name of the billing view. You can get this value by - * using the billing view service public APIs.
+ * The Amazon resource name of the billing view. The
+ * BillingViewArn
is needed to create Amazon Web Services Cost and
+ * Usage Report for each billing group maintained in the Amazon Web Services
+ * Billing Conductor service. The BillingViewArn
for a billing group
+ * can be constructed as:
+ * arn:aws:billing::payer-account-id:billingview/billing-group-primary-account-id
+ *
The Amazon resource name of the billing view. You can get this value by - * using the billing view service public APIs.
+ * The Amazon resource name of the billing view. The
+ * BillingViewArn
is needed to create Amazon Web Services Cost and
+ * Usage Report for each billing group maintained in the Amazon Web Services
+ * Billing Conductor service. The BillingViewArn
for a billing group
+ * can be constructed as:
+ * arn:aws:billing::payer-account-id:billingview/billing-group-primary-account-id
+ *
The Amazon resource name of the billing view. You can get this value by - * using the billing view service public APIs.
+ * The Amazon resource name of the billing view. The
+ * BillingViewArn
is needed to create Amazon Web Services Cost and
+ * Usage Report for each billing group maintained in the Amazon Web Services
+ * Billing Conductor service. The BillingViewArn
for a billing group
+ * can be constructed as:
+ * arn:aws:billing::payer-account-id:billingview/billing-group-primary-account-id
+ *
The Amazon resource name of the billing view. You can get this value by - * using the billing view service public APIs.
+ * The Amazon resource name of the billing view. The
+ * BillingViewArn
is needed to create Amazon Web Services Cost and
+ * Usage Report for each billing group maintained in the Amazon Web Services
+ * Billing Conductor service. The BillingViewArn
for a billing group
+ * can be constructed as:
+ * arn:aws:billing::payer-account-id:billingview/billing-group-primary-account-id
+ *
The status of the report.
+ */ + inline const ReportStatus& GetReportStatus() const{ return m_reportStatus; } + + /** + *The status of the report.
+ */ + inline bool ReportStatusHasBeenSet() const { return m_reportStatusHasBeenSet; } + + /** + *The status of the report.
+ */ + inline void SetReportStatus(const ReportStatus& value) { m_reportStatusHasBeenSet = true; m_reportStatus = value; } + + /** + *The status of the report.
+ */ + inline void SetReportStatus(ReportStatus&& value) { m_reportStatusHasBeenSet = true; m_reportStatus = std::move(value); } + + /** + *The status of the report.
+ */ + inline ReportDefinition& WithReportStatus(const ReportStatus& value) { SetReportStatus(value); return *this;} + + /** + *The status of the report.
+ */ + inline ReportDefinition& WithReportStatus(ReportStatus&& value) { SetReportStatus(std::move(value)); return *this;} + private: Aws::String m_reportName; @@ -447,6 +520,9 @@ namespace Model Aws::String m_billingViewArn; bool m_billingViewArnHasBeenSet = false; + + ReportStatus m_reportStatus; + bool m_reportStatusHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-cur/include/aws/cur/model/ReportStatus.h b/generated/src/aws-cpp-sdk-cur/include/aws/cur/model/ReportStatus.h new file mode 100644 index 00000000000..eaa0df32dc0 --- /dev/null +++ b/generated/src/aws-cpp-sdk-cur/include/aws/cur/model/ReportStatus.h @@ -0,0 +1,126 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#includeA two element dictionary with a lastDelivery
and
+ * lastStatus
key whose values describe the date and status of the
+ * last delivered report for a particular report definition.
A timestamp that gives the date of a report delivery.
+ */ + inline const Aws::String& GetLastDelivery() const{ return m_lastDelivery; } + + /** + *A timestamp that gives the date of a report delivery.
+ */ + inline bool LastDeliveryHasBeenSet() const { return m_lastDeliveryHasBeenSet; } + + /** + *A timestamp that gives the date of a report delivery.
+ */ + inline void SetLastDelivery(const Aws::String& value) { m_lastDeliveryHasBeenSet = true; m_lastDelivery = value; } + + /** + *A timestamp that gives the date of a report delivery.
+ */ + inline void SetLastDelivery(Aws::String&& value) { m_lastDeliveryHasBeenSet = true; m_lastDelivery = std::move(value); } + + /** + *A timestamp that gives the date of a report delivery.
+ */ + inline void SetLastDelivery(const char* value) { m_lastDeliveryHasBeenSet = true; m_lastDelivery.assign(value); } + + /** + *A timestamp that gives the date of a report delivery.
+ */ + inline ReportStatus& WithLastDelivery(const Aws::String& value) { SetLastDelivery(value); return *this;} + + /** + *A timestamp that gives the date of a report delivery.
+ */ + inline ReportStatus& WithLastDelivery(Aws::String&& value) { SetLastDelivery(std::move(value)); return *this;} + + /** + *A timestamp that gives the date of a report delivery.
+ */ + inline ReportStatus& WithLastDelivery(const char* value) { SetLastDelivery(value); return *this;} + + + /** + *An enum that gives the status of a report delivery.
+ */ + inline const LastStatus& GetLastStatus() const{ return m_lastStatus; } + + /** + *An enum that gives the status of a report delivery.
+ */ + inline bool LastStatusHasBeenSet() const { return m_lastStatusHasBeenSet; } + + /** + *An enum that gives the status of a report delivery.
+ */ + inline void SetLastStatus(const LastStatus& value) { m_lastStatusHasBeenSet = true; m_lastStatus = value; } + + /** + *An enum that gives the status of a report delivery.
+ */ + inline void SetLastStatus(LastStatus&& value) { m_lastStatusHasBeenSet = true; m_lastStatus = std::move(value); } + + /** + *An enum that gives the status of a report delivery.
+ */ + inline ReportStatus& WithLastStatus(const LastStatus& value) { SetLastStatus(value); return *this;} + + /** + *An enum that gives the status of a report delivery.
+ */ + inline ReportStatus& WithLastStatus(LastStatus&& value) { SetLastStatus(std::move(value)); return *this;} + + private: + + Aws::String m_lastDelivery; + bool m_lastDeliveryHasBeenSet = false; + + LastStatus m_lastStatus; + bool m_lastStatusHasBeenSet = false; + }; + +} // namespace Model +} // namespace CostandUsageReportService +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-cur/include/aws/cur/model/SchemaElement.h b/generated/src/aws-cpp-sdk-cur/include/aws/cur/model/SchemaElement.h index d90c12c8376..bffe543baa4 100644 --- a/generated/src/aws-cpp-sdk-cur/include/aws/cur/model/SchemaElement.h +++ b/generated/src/aws-cpp-sdk-cur/include/aws/cur/model/SchemaElement.h @@ -17,7 +17,8 @@ namespace Model { NOT_SET, RESOURCES, - SPLIT_COST_ALLOCATION_DATA + SPLIT_COST_ALLOCATION_DATA, + MANUAL_DISCOUNT_COMPATIBILITY }; namespace SchemaElementMapper diff --git a/generated/src/aws-cpp-sdk-cur/include/aws/cur/model/Tag.h b/generated/src/aws-cpp-sdk-cur/include/aws/cur/model/Tag.h new file mode 100644 index 00000000000..1cca2920868 --- /dev/null +++ b/generated/src/aws-cpp-sdk-cur/include/aws/cur/model/Tag.h @@ -0,0 +1,157 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#includeDescribes a tag. A tag is a key-value pair. You can add up to 50 tags to a + * report definition.
The key of the tag. Tag keys are case sensitive. Each report definition can + * only have up to one tag with the same key. If you try to add an existing tag + * with the same key, the existing tag value will be updated to the new value.
+ */ + inline const Aws::String& GetKey() const{ return m_key; } + + /** + *The key of the tag. Tag keys are case sensitive. Each report definition can + * only have up to one tag with the same key. If you try to add an existing tag + * with the same key, the existing tag value will be updated to the new value.
+ */ + inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; } + + /** + *The key of the tag. Tag keys are case sensitive. Each report definition can + * only have up to one tag with the same key. If you try to add an existing tag + * with the same key, the existing tag value will be updated to the new value.
+ */ + inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; } + + /** + *The key of the tag. Tag keys are case sensitive. Each report definition can + * only have up to one tag with the same key. If you try to add an existing tag + * with the same key, the existing tag value will be updated to the new value.
+ */ + inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); } + + /** + *The key of the tag. Tag keys are case sensitive. Each report definition can + * only have up to one tag with the same key. If you try to add an existing tag + * with the same key, the existing tag value will be updated to the new value.
+ */ + inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); } + + /** + *The key of the tag. Tag keys are case sensitive. Each report definition can + * only have up to one tag with the same key. If you try to add an existing tag + * with the same key, the existing tag value will be updated to the new value.
+ */ + inline Tag& WithKey(const Aws::String& value) { SetKey(value); return *this;} + + /** + *The key of the tag. Tag keys are case sensitive. Each report definition can + * only have up to one tag with the same key. If you try to add an existing tag + * with the same key, the existing tag value will be updated to the new value.
+ */ + inline Tag& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;} + + /** + *The key of the tag. Tag keys are case sensitive. Each report definition can + * only have up to one tag with the same key. If you try to add an existing tag + * with the same key, the existing tag value will be updated to the new value.
+ */ + inline Tag& WithKey(const char* value) { SetKey(value); return *this;} + + + /** + *The value of the tag. Tag values are case-sensitive. This can be an empty + * string.
+ */ + inline const Aws::String& GetValue() const{ return m_value; } + + /** + *The value of the tag. Tag values are case-sensitive. This can be an empty + * string.
+ */ + inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; } + + /** + *The value of the tag. Tag values are case-sensitive. This can be an empty + * string.
+ */ + inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; } + + /** + *The value of the tag. Tag values are case-sensitive. This can be an empty + * string.
+ */ + inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); } + + /** + *The value of the tag. Tag values are case-sensitive. This can be an empty + * string.
+ */ + inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); } + + /** + *The value of the tag. Tag values are case-sensitive. This can be an empty + * string.
+ */ + inline Tag& WithValue(const Aws::String& value) { SetValue(value); return *this;} + + /** + *The value of the tag. Tag values are case-sensitive. This can be an empty + * string.
+ */ + inline Tag& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;} + + /** + *The value of the tag. Tag values are case-sensitive. This can be an empty + * string.
+ */ + inline Tag& WithValue(const char* value) { SetValue(value); return *this;} + + private: + + Aws::String m_key; + bool m_keyHasBeenSet = false; + + Aws::String m_value; + bool m_valueHasBeenSet = false; + }; + +} // namespace Model +} // namespace CostandUsageReportService +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-cur/include/aws/cur/model/TagResourceRequest.h b/generated/src/aws-cpp-sdk-cur/include/aws/cur/model/TagResourceRequest.h new file mode 100644 index 00000000000..41716b4c73a --- /dev/null +++ b/generated/src/aws-cpp-sdk-cur/include/aws/cur/model/TagResourceRequest.h @@ -0,0 +1,139 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include