diff --git a/VERSION b/VERSION index f45cdc82584..7a8a05d5eb6 100644 --- a/VERSION +++ b/VERSION @@ -1,2 +1 @@ -1.11.366 - +1.11.367 \ No newline at end of file diff --git a/generated/src/aws-cpp-sdk-acm-pca/include/aws/acm-pca/ACMPCAClient.h b/generated/src/aws-cpp-sdk-acm-pca/include/aws/acm-pca/ACMPCAClient.h index 6909f316fb5..76f5c96de92 100644 --- a/generated/src/aws-cpp-sdk-acm-pca/include/aws/acm-pca/ACMPCAClient.h +++ b/generated/src/aws-cpp-sdk-acm-pca/include/aws/acm-pca/ACMPCAClient.h @@ -631,20 +631,19 @@ namespace ACMPCA * size of a certificate chain is 2 MB.

Enforcement of * Critical Constraints

Amazon Web Services Private CA allows the * following extensions to be marked critical in the imported CA certificate or - * chain.

Amazon Web Services Private CA rejects the - * following extensions when they are marked critical in an imported CA certificate - * or chain.

Amazon Web Services Private Certificate Authority - * will also reject any other extension marked as critical not contained on the - * preceding list of allowed extensions.

See Also:

Amazon Web + * Services Private CA rejects the following extensions when they are marked + * critical in an imported CA certificate or chain.

See Also:

AWS * API Reference

*/ diff --git a/generated/src/aws-cpp-sdk-acm-pca/include/aws/acm-pca/model/GetPolicyRequest.h b/generated/src/aws-cpp-sdk-acm-pca/include/aws/acm-pca/model/GetPolicyRequest.h index 501c685a32f..f51087f9e34 100644 --- a/generated/src/aws-cpp-sdk-acm-pca/include/aws/acm-pca/model/GetPolicyRequest.h +++ b/generated/src/aws-cpp-sdk-acm-pca/include/aws/acm-pca/model/GetPolicyRequest.h @@ -38,7 +38,7 @@ namespace Model /** *

The Amazon Resource Number (ARN) of the private CA that will have its policy * retrieved. You can find the CA's ARN by calling the ListCertificateAuthorities - * action.

+ * action.
 </p> 
*/ inline const Aws::String& GetResourceArn() const{ return m_resourceArn; } inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-acm-pca/include/aws/acm-pca/model/IssueCertificateRequest.h b/generated/src/aws-cpp-sdk-acm-pca/include/aws/acm-pca/model/IssueCertificateRequest.h index 023cced66bf..bbe171de281 100644 --- a/generated/src/aws-cpp-sdk-acm-pca/include/aws/acm-pca/model/IssueCertificateRequest.h +++ b/generated/src/aws-cpp-sdk-acm-pca/include/aws/acm-pca/model/IssueCertificateRequest.h @@ -169,7 +169,7 @@ namespace Model ///@{ /** *

Information describing the start of the validity period of the certificate. - * This parameter sets the ��Not Before" date for the certificate.

By + * This parameter sets the “Not Before" date for the certificate.

By * default, when issuing a certificate, Amazon Web Services Private CA sets the * "Not Before" date to the issuance time minus 60 minutes. This compensates for * clock inconsistencies across computer systems. The diff --git a/generated/src/aws-cpp-sdk-acm-pca/include/aws/acm-pca/model/ListCertificateAuthoritiesRequest.h b/generated/src/aws-cpp-sdk-acm-pca/include/aws/acm-pca/model/ListCertificateAuthoritiesRequest.h index fe67b99b48f..92af46aaa8b 100644 --- a/generated/src/aws-cpp-sdk-acm-pca/include/aws/acm-pca/model/ListCertificateAuthoritiesRequest.h +++ b/generated/src/aws-cpp-sdk-acm-pca/include/aws/acm-pca/model/ListCertificateAuthoritiesRequest.h @@ -35,6 +35,21 @@ namespace Model AWS_ACMPCA_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; + ///@{ + /** + *

Use this parameter when paginating results to specify the maximum number of + * items to return in the response on each page. If additional items exist beyond + * the number you specify, the NextToken element is sent in the + * response. Use this NextToken value in a subsequent request to + * retrieve additional items.

Although the maximum value is 1000, the action + * only returns a maximum of 100 items.

+ */ + inline int GetMaxResults() const{ return m_maxResults; } + inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } + inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } + inline ListCertificateAuthoritiesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} + ///@} + ///@{ /** *

Use this parameter when paginating results in a subsequent request after you @@ -51,21 +66,6 @@ namespace Model inline ListCertificateAuthoritiesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} ///@} - ///@{ - /** - *

Use this parameter when paginating results to specify the maximum number of - * items to return in the response on each page. If additional items exist beyond - * the number you specify, the NextToken element is sent in the - * response. Use this NextToken value in a subsequent request to - * retrieve additional items.

Although the maximum value is 1000, the action - * only returns a maximum of 100 items.

- */ - inline int GetMaxResults() const{ return m_maxResults; } - inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } - inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } - inline ListCertificateAuthoritiesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} - ///@} - ///@{ /** *

Use this parameter to filter the returned set of certificate authorities @@ -80,12 +80,12 @@ namespace Model ///@} private: - Aws::String m_nextToken; - bool m_nextTokenHasBeenSet = false; - int m_maxResults; bool m_maxResultsHasBeenSet = false; + Aws::String m_nextToken; + bool m_nextTokenHasBeenSet = false; + ResourceOwner m_resourceOwner; bool m_resourceOwnerHasBeenSet = false; }; diff --git a/generated/src/aws-cpp-sdk-acm-pca/include/aws/acm-pca/model/ListCertificateAuthoritiesResult.h b/generated/src/aws-cpp-sdk-acm-pca/include/aws/acm-pca/model/ListCertificateAuthoritiesResult.h index 6c49e34434f..4d9b3062bae 100644 --- a/generated/src/aws-cpp-sdk-acm-pca/include/aws/acm-pca/model/ListCertificateAuthoritiesResult.h +++ b/generated/src/aws-cpp-sdk-acm-pca/include/aws/acm-pca/model/ListCertificateAuthoritiesResult.h @@ -5,8 +5,8 @@ #pragma once #include -#include #include +#include #include #include @@ -34,19 +34,6 @@ namespace Model AWS_ACMPCA_API ListCertificateAuthoritiesResult& operator=(const Aws::AmazonWebServiceResult& result); - ///@{ - /** - *

Summary information about each certificate authority you have created.

- */ - inline const Aws::Vector& GetCertificateAuthorities() const{ return m_certificateAuthorities; } - inline void SetCertificateAuthorities(const Aws::Vector& value) { m_certificateAuthorities = value; } - inline void SetCertificateAuthorities(Aws::Vector&& value) { m_certificateAuthorities = std::move(value); } - inline ListCertificateAuthoritiesResult& WithCertificateAuthorities(const Aws::Vector& value) { SetCertificateAuthorities(value); return *this;} - inline ListCertificateAuthoritiesResult& WithCertificateAuthorities(Aws::Vector&& value) { SetCertificateAuthorities(std::move(value)); return *this;} - inline ListCertificateAuthoritiesResult& AddCertificateAuthorities(const CertificateAuthority& value) { m_certificateAuthorities.push_back(value); return *this; } - inline ListCertificateAuthoritiesResult& AddCertificateAuthorities(CertificateAuthority&& value) { m_certificateAuthorities.push_back(std::move(value)); return *this; } - ///@} - ///@{ /** *

When the list is truncated, this value is present and should be used for the @@ -61,6 +48,19 @@ namespace Model inline ListCertificateAuthoritiesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} ///@} + ///@{ + /** + *

Summary information about each certificate authority you have created.

+ */ + inline const Aws::Vector& GetCertificateAuthorities() const{ return m_certificateAuthorities; } + inline void SetCertificateAuthorities(const Aws::Vector& value) { m_certificateAuthorities = value; } + inline void SetCertificateAuthorities(Aws::Vector&& value) { m_certificateAuthorities = std::move(value); } + inline ListCertificateAuthoritiesResult& WithCertificateAuthorities(const Aws::Vector& value) { SetCertificateAuthorities(value); return *this;} + inline ListCertificateAuthoritiesResult& WithCertificateAuthorities(Aws::Vector&& value) { SetCertificateAuthorities(std::move(value)); return *this;} + inline ListCertificateAuthoritiesResult& AddCertificateAuthorities(const CertificateAuthority& value) { m_certificateAuthorities.push_back(value); return *this; } + inline ListCertificateAuthoritiesResult& AddCertificateAuthorities(CertificateAuthority&& value) { m_certificateAuthorities.push_back(std::move(value)); return *this; } + ///@} + ///@{ inline const Aws::String& GetRequestId() const{ return m_requestId; } @@ -73,10 +73,10 @@ namespace Model ///@} private: - Aws::Vector m_certificateAuthorities; - Aws::String m_nextToken; + Aws::Vector m_certificateAuthorities; + Aws::String m_requestId; }; diff --git a/generated/src/aws-cpp-sdk-acm-pca/include/aws/acm-pca/model/ListPermissionsRequest.h b/generated/src/aws-cpp-sdk-acm-pca/include/aws/acm-pca/model/ListPermissionsRequest.h index e8c09733e79..4a985ec2ab8 100644 --- a/generated/src/aws-cpp-sdk-acm-pca/include/aws/acm-pca/model/ListPermissionsRequest.h +++ b/generated/src/aws-cpp-sdk-acm-pca/include/aws/acm-pca/model/ListPermissionsRequest.h @@ -36,23 +36,15 @@ namespace Model ///@{ /** - *

The Amazon Resource Number (ARN) of the private CA to inspect. You can find - * the ARN by calling the ListCertificateAuthorities - * action. This must be of the form: - * arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012 - * You can get a private CA's ARN by running the ListCertificateAuthorities - * action.

+ *

When paginating results, use this parameter to specify the maximum number of + * items to return in the response. If additional items exist beyond the number you + * specify, the NextToken element is sent in the response. Use this + * NextToken value in a subsequent request to retrieve additional items.

*/ - inline const Aws::String& GetCertificateAuthorityArn() const{ return m_certificateAuthorityArn; } - inline bool CertificateAuthorityArnHasBeenSet() const { return m_certificateAuthorityArnHasBeenSet; } - inline void SetCertificateAuthorityArn(const Aws::String& value) { m_certificateAuthorityArnHasBeenSet = true; m_certificateAuthorityArn = value; } - inline void SetCertificateAuthorityArn(Aws::String&& value) { m_certificateAuthorityArnHasBeenSet = true; m_certificateAuthorityArn = std::move(value); } - inline void SetCertificateAuthorityArn(const char* value) { m_certificateAuthorityArnHasBeenSet = true; m_certificateAuthorityArn.assign(value); } - inline ListPermissionsRequest& WithCertificateAuthorityArn(const Aws::String& value) { SetCertificateAuthorityArn(value); return *this;} - inline ListPermissionsRequest& WithCertificateAuthorityArn(Aws::String&& value) { SetCertificateAuthorityArn(std::move(value)); return *this;} - inline ListPermissionsRequest& WithCertificateAuthorityArn(const char* value) { SetCertificateAuthorityArn(value); return *this;} + inline int GetMaxResults() const{ return m_maxResults; } + inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } + inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } + inline ListPermissionsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} ///@} ///@{ @@ -73,26 +65,34 @@ namespace Model ///@{ /** - *

When paginating results, use this parameter to specify the maximum number of - * items to return in the response. If additional items exist beyond the number you - * specify, the NextToken element is sent in the response. Use this - * NextToken value in a subsequent request to retrieve additional items.

+ *

The Amazon Resource Number (ARN) of the private CA to inspect. You can find + * the ARN by calling the ListCertificateAuthorities + * action. This must be of the form: + * arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012 + * You can get a private CA's ARN by running the ListCertificateAuthorities + * action.

*/ - inline int GetMaxResults() const{ return m_maxResults; } - inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } - inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } - inline ListPermissionsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} + inline const Aws::String& GetCertificateAuthorityArn() const{ return m_certificateAuthorityArn; } + inline bool CertificateAuthorityArnHasBeenSet() const { return m_certificateAuthorityArnHasBeenSet; } + inline void SetCertificateAuthorityArn(const Aws::String& value) { m_certificateAuthorityArnHasBeenSet = true; m_certificateAuthorityArn = value; } + inline void SetCertificateAuthorityArn(Aws::String&& value) { m_certificateAuthorityArnHasBeenSet = true; m_certificateAuthorityArn = std::move(value); } + inline void SetCertificateAuthorityArn(const char* value) { m_certificateAuthorityArnHasBeenSet = true; m_certificateAuthorityArn.assign(value); } + inline ListPermissionsRequest& WithCertificateAuthorityArn(const Aws::String& value) { SetCertificateAuthorityArn(value); return *this;} + inline ListPermissionsRequest& WithCertificateAuthorityArn(Aws::String&& value) { SetCertificateAuthorityArn(std::move(value)); return *this;} + inline ListPermissionsRequest& WithCertificateAuthorityArn(const char* value) { SetCertificateAuthorityArn(value); return *this;} ///@} private: - Aws::String m_certificateAuthorityArn; - bool m_certificateAuthorityArnHasBeenSet = false; + int m_maxResults; + bool m_maxResultsHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; - int m_maxResults; - bool m_maxResultsHasBeenSet = false; + Aws::String m_certificateAuthorityArn; + bool m_certificateAuthorityArnHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-acm-pca/include/aws/acm-pca/model/ListPermissionsResult.h b/generated/src/aws-cpp-sdk-acm-pca/include/aws/acm-pca/model/ListPermissionsResult.h index f9b628cdd98..fa6d8737a63 100644 --- a/generated/src/aws-cpp-sdk-acm-pca/include/aws/acm-pca/model/ListPermissionsResult.h +++ b/generated/src/aws-cpp-sdk-acm-pca/include/aws/acm-pca/model/ListPermissionsResult.h @@ -5,8 +5,8 @@ #pragma once #include -#include #include +#include #include #include @@ -34,6 +34,20 @@ namespace Model AWS_ACMPCA_API ListPermissionsResult& operator=(const Aws::AmazonWebServiceResult& result); + ///@{ + /** + *

When the list is truncated, this value is present and should be used for the + * NextToken parameter in a subsequent pagination request.

+ */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } + inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } + inline void SetNextToken(const char* value) { m_nextToken.assign(value); } + inline ListPermissionsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + inline ListPermissionsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + inline ListPermissionsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} + ///@} + ///@{ /** *

Summary information about each permission assigned by the specified private @@ -49,20 +63,6 @@ namespace Model inline ListPermissionsResult& AddPermissions(Permission&& value) { m_permissions.push_back(std::move(value)); return *this; } ///@} - ///@{ - /** - *

When the list is truncated, this value is present and should be used for the - * NextToken parameter in a subsequent pagination request.

- */ - inline const Aws::String& GetNextToken() const{ return m_nextToken; } - inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } - inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } - inline void SetNextToken(const char* value) { m_nextToken.assign(value); } - inline ListPermissionsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} - inline ListPermissionsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} - inline ListPermissionsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} - ///@} - ///@{ inline const Aws::String& GetRequestId() const{ return m_requestId; } @@ -75,10 +75,10 @@ namespace Model ///@} private: - Aws::Vector m_permissions; - Aws::String m_nextToken; + Aws::Vector m_permissions; + Aws::String m_requestId; }; diff --git a/generated/src/aws-cpp-sdk-acm-pca/include/aws/acm-pca/model/ListTagsRequest.h b/generated/src/aws-cpp-sdk-acm-pca/include/aws/acm-pca/model/ListTagsRequest.h index f7121fb1678..aa6df75a147 100644 --- a/generated/src/aws-cpp-sdk-acm-pca/include/aws/acm-pca/model/ListTagsRequest.h +++ b/generated/src/aws-cpp-sdk-acm-pca/include/aws/acm-pca/model/ListTagsRequest.h @@ -36,20 +36,15 @@ namespace Model ///@{ /** - *

The Amazon Resource Name (ARN) that was returned when you called the CreateCertificateAuthority - * action. This must be of the form:

- * arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012 - *

+ *

Use this parameter when paginating results to specify the maximum number of + * items to return in the response. If additional items exist beyond the number you + * specify, the NextToken element is sent in the response. Use this + * NextToken value in a subsequent request to retrieve additional items.

*/ - inline const Aws::String& GetCertificateAuthorityArn() const{ return m_certificateAuthorityArn; } - inline bool CertificateAuthorityArnHasBeenSet() const { return m_certificateAuthorityArnHasBeenSet; } - inline void SetCertificateAuthorityArn(const Aws::String& value) { m_certificateAuthorityArnHasBeenSet = true; m_certificateAuthorityArn = value; } - inline void SetCertificateAuthorityArn(Aws::String&& value) { m_certificateAuthorityArnHasBeenSet = true; m_certificateAuthorityArn = std::move(value); } - inline void SetCertificateAuthorityArn(const char* value) { m_certificateAuthorityArnHasBeenSet = true; m_certificateAuthorityArn.assign(value); } - inline ListTagsRequest& WithCertificateAuthorityArn(const Aws::String& value) { SetCertificateAuthorityArn(value); return *this;} - inline ListTagsRequest& WithCertificateAuthorityArn(Aws::String&& value) { SetCertificateAuthorityArn(std::move(value)); return *this;} - inline ListTagsRequest& WithCertificateAuthorityArn(const char* value) { SetCertificateAuthorityArn(value); return *this;} + inline int GetMaxResults() const{ return m_maxResults; } + inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } + inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } + inline ListTagsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} ///@} ///@{ @@ -70,26 +65,31 @@ namespace Model ///@{ /** - *

Use this parameter when paginating results to specify the maximum number of - * items to return in the response. If additional items exist beyond the number you - * specify, the NextToken element is sent in the response. Use this - * NextToken value in a subsequent request to retrieve additional items.

+ *

The Amazon Resource Name (ARN) that was returned when you called the CreateCertificateAuthority + * action. This must be of the form:

+ * arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012 + *

*/ - inline int GetMaxResults() const{ return m_maxResults; } - inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } - inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } - inline ListTagsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} + inline const Aws::String& GetCertificateAuthorityArn() const{ return m_certificateAuthorityArn; } + inline bool CertificateAuthorityArnHasBeenSet() const { return m_certificateAuthorityArnHasBeenSet; } + inline void SetCertificateAuthorityArn(const Aws::String& value) { m_certificateAuthorityArnHasBeenSet = true; m_certificateAuthorityArn = value; } + inline void SetCertificateAuthorityArn(Aws::String&& value) { m_certificateAuthorityArnHasBeenSet = true; m_certificateAuthorityArn = std::move(value); } + inline void SetCertificateAuthorityArn(const char* value) { m_certificateAuthorityArnHasBeenSet = true; m_certificateAuthorityArn.assign(value); } + inline ListTagsRequest& WithCertificateAuthorityArn(const Aws::String& value) { SetCertificateAuthorityArn(value); return *this;} + inline ListTagsRequest& WithCertificateAuthorityArn(Aws::String&& value) { SetCertificateAuthorityArn(std::move(value)); return *this;} + inline ListTagsRequest& WithCertificateAuthorityArn(const char* value) { SetCertificateAuthorityArn(value); return *this;} ///@} private: - Aws::String m_certificateAuthorityArn; - bool m_certificateAuthorityArnHasBeenSet = false; + int m_maxResults; + bool m_maxResultsHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; - int m_maxResults; - bool m_maxResultsHasBeenSet = false; + Aws::String m_certificateAuthorityArn; + bool m_certificateAuthorityArnHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-acm-pca/include/aws/acm-pca/model/ListTagsResult.h b/generated/src/aws-cpp-sdk-acm-pca/include/aws/acm-pca/model/ListTagsResult.h index ec40a21662a..dca93f28d8a 100644 --- a/generated/src/aws-cpp-sdk-acm-pca/include/aws/acm-pca/model/ListTagsResult.h +++ b/generated/src/aws-cpp-sdk-acm-pca/include/aws/acm-pca/model/ListTagsResult.h @@ -5,8 +5,8 @@ #pragma once #include -#include #include +#include #include #include @@ -34,19 +34,6 @@ namespace Model AWS_ACMPCA_API ListTagsResult& operator=(const Aws::AmazonWebServiceResult& result); - ///@{ - /** - *

The tags associated with your private CA.

- */ - inline const Aws::Vector& GetTags() const{ return m_tags; } - inline void SetTags(const Aws::Vector& value) { m_tags = value; } - inline void SetTags(Aws::Vector&& value) { m_tags = std::move(value); } - inline ListTagsResult& WithTags(const Aws::Vector& value) { SetTags(value); return *this;} - inline ListTagsResult& WithTags(Aws::Vector&& value) { SetTags(std::move(value)); return *this;} - inline ListTagsResult& AddTags(const Tag& value) { m_tags.push_back(value); return *this; } - inline ListTagsResult& AddTags(Tag&& value) { m_tags.push_back(std::move(value)); return *this; } - ///@} - ///@{ /** *

When the list is truncated, this value is present and should be used for the @@ -61,6 +48,19 @@ namespace Model inline ListTagsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} ///@} + ///@{ + /** + *

The tags associated with your private CA.

+ */ + inline const Aws::Vector& GetTags() const{ return m_tags; } + inline void SetTags(const Aws::Vector& value) { m_tags = value; } + inline void SetTags(Aws::Vector&& value) { m_tags = std::move(value); } + inline ListTagsResult& WithTags(const Aws::Vector& value) { SetTags(value); return *this;} + inline ListTagsResult& WithTags(Aws::Vector&& value) { SetTags(std::move(value)); return *this;} + inline ListTagsResult& AddTags(const Tag& value) { m_tags.push_back(value); return *this; } + inline ListTagsResult& AddTags(Tag&& value) { m_tags.push_back(std::move(value)); return *this; } + ///@} + ///@{ inline const Aws::String& GetRequestId() const{ return m_requestId; } @@ -73,10 +73,10 @@ namespace Model ///@} private: - Aws::Vector m_tags; - Aws::String m_nextToken; + Aws::Vector m_tags; + Aws::String m_requestId; }; diff --git a/generated/src/aws-cpp-sdk-acm-pca/source/model/ListCertificateAuthoritiesRequest.cpp b/generated/src/aws-cpp-sdk-acm-pca/source/model/ListCertificateAuthoritiesRequest.cpp index 5ed52769995..247e8faa388 100644 --- a/generated/src/aws-cpp-sdk-acm-pca/source/model/ListCertificateAuthoritiesRequest.cpp +++ b/generated/src/aws-cpp-sdk-acm-pca/source/model/ListCertificateAuthoritiesRequest.cpp @@ -13,9 +13,9 @@ using namespace Aws::Utils::Json; using namespace Aws::Utils; ListCertificateAuthoritiesRequest::ListCertificateAuthoritiesRequest() : - m_nextTokenHasBeenSet(false), m_maxResults(0), m_maxResultsHasBeenSet(false), + m_nextTokenHasBeenSet(false), m_resourceOwner(ResourceOwner::NOT_SET), m_resourceOwnerHasBeenSet(false) { @@ -25,15 +25,15 @@ Aws::String ListCertificateAuthoritiesRequest::SerializePayload() const { JsonValue payload; - if(m_nextTokenHasBeenSet) + if(m_maxResultsHasBeenSet) { - payload.WithString("NextToken", m_nextToken); + payload.WithInteger("MaxResults", m_maxResults); } - if(m_maxResultsHasBeenSet) + if(m_nextTokenHasBeenSet) { - payload.WithInteger("MaxResults", m_maxResults); + payload.WithString("NextToken", m_nextToken); } diff --git a/generated/src/aws-cpp-sdk-acm-pca/source/model/ListCertificateAuthoritiesResult.cpp b/generated/src/aws-cpp-sdk-acm-pca/source/model/ListCertificateAuthoritiesResult.cpp index 292f0e93540..d133aeef6c9 100644 --- a/generated/src/aws-cpp-sdk-acm-pca/source/model/ListCertificateAuthoritiesResult.cpp +++ b/generated/src/aws-cpp-sdk-acm-pca/source/model/ListCertificateAuthoritiesResult.cpp @@ -29,6 +29,12 @@ ListCertificateAuthoritiesResult::ListCertificateAuthoritiesResult(const Aws::Am ListCertificateAuthoritiesResult& ListCertificateAuthoritiesResult::operator =(const Aws::AmazonWebServiceResult& result) { JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("NextToken")) + { + m_nextToken = jsonValue.GetString("NextToken"); + + } + if(jsonValue.ValueExists("CertificateAuthorities")) { Aws::Utils::Array certificateAuthoritiesJsonList = jsonValue.GetArray("CertificateAuthorities"); @@ -38,12 +44,6 @@ ListCertificateAuthoritiesResult& ListCertificateAuthoritiesResult::operator =(c } } - if(jsonValue.ValueExists("NextToken")) - { - m_nextToken = jsonValue.GetString("NextToken"); - - } - const auto& headers = result.GetHeaderValueCollection(); const auto& requestIdIter = headers.find("x-amzn-requestid"); diff --git a/generated/src/aws-cpp-sdk-acm-pca/source/model/ListPermissionsRequest.cpp b/generated/src/aws-cpp-sdk-acm-pca/source/model/ListPermissionsRequest.cpp index 89740c6a318..236609b63f6 100644 --- a/generated/src/aws-cpp-sdk-acm-pca/source/model/ListPermissionsRequest.cpp +++ b/generated/src/aws-cpp-sdk-acm-pca/source/model/ListPermissionsRequest.cpp @@ -13,10 +13,10 @@ using namespace Aws::Utils::Json; using namespace Aws::Utils; ListPermissionsRequest::ListPermissionsRequest() : - m_certificateAuthorityArnHasBeenSet(false), - m_nextTokenHasBeenSet(false), m_maxResults(0), - m_maxResultsHasBeenSet(false) + m_maxResultsHasBeenSet(false), + m_nextTokenHasBeenSet(false), + m_certificateAuthorityArnHasBeenSet(false) { } @@ -24,9 +24,9 @@ Aws::String ListPermissionsRequest::SerializePayload() const { JsonValue payload; - if(m_certificateAuthorityArnHasBeenSet) + if(m_maxResultsHasBeenSet) { - payload.WithString("CertificateAuthorityArn", m_certificateAuthorityArn); + payload.WithInteger("MaxResults", m_maxResults); } @@ -36,9 +36,9 @@ Aws::String ListPermissionsRequest::SerializePayload() const } - if(m_maxResultsHasBeenSet) + if(m_certificateAuthorityArnHasBeenSet) { - payload.WithInteger("MaxResults", m_maxResults); + payload.WithString("CertificateAuthorityArn", m_certificateAuthorityArn); } diff --git a/generated/src/aws-cpp-sdk-acm-pca/source/model/ListPermissionsResult.cpp b/generated/src/aws-cpp-sdk-acm-pca/source/model/ListPermissionsResult.cpp index 989ac6b4d3d..94e9344e01a 100644 --- a/generated/src/aws-cpp-sdk-acm-pca/source/model/ListPermissionsResult.cpp +++ b/generated/src/aws-cpp-sdk-acm-pca/source/model/ListPermissionsResult.cpp @@ -29,6 +29,12 @@ ListPermissionsResult::ListPermissionsResult(const Aws::AmazonWebServiceResult& result) { JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("NextToken")) + { + m_nextToken = jsonValue.GetString("NextToken"); + + } + if(jsonValue.ValueExists("Permissions")) { Aws::Utils::Array permissionsJsonList = jsonValue.GetArray("Permissions"); @@ -38,12 +44,6 @@ ListPermissionsResult& ListPermissionsResult::operator =(const Aws::AmazonWebSer } } - if(jsonValue.ValueExists("NextToken")) - { - m_nextToken = jsonValue.GetString("NextToken"); - - } - const auto& headers = result.GetHeaderValueCollection(); const auto& requestIdIter = headers.find("x-amzn-requestid"); diff --git a/generated/src/aws-cpp-sdk-acm-pca/source/model/ListTagsRequest.cpp b/generated/src/aws-cpp-sdk-acm-pca/source/model/ListTagsRequest.cpp index b6ba435a175..28e732921d5 100644 --- a/generated/src/aws-cpp-sdk-acm-pca/source/model/ListTagsRequest.cpp +++ b/generated/src/aws-cpp-sdk-acm-pca/source/model/ListTagsRequest.cpp @@ -13,10 +13,10 @@ using namespace Aws::Utils::Json; using namespace Aws::Utils; ListTagsRequest::ListTagsRequest() : - m_certificateAuthorityArnHasBeenSet(false), - m_nextTokenHasBeenSet(false), m_maxResults(0), - m_maxResultsHasBeenSet(false) + m_maxResultsHasBeenSet(false), + m_nextTokenHasBeenSet(false), + m_certificateAuthorityArnHasBeenSet(false) { } @@ -24,9 +24,9 @@ Aws::String ListTagsRequest::SerializePayload() const { JsonValue payload; - if(m_certificateAuthorityArnHasBeenSet) + if(m_maxResultsHasBeenSet) { - payload.WithString("CertificateAuthorityArn", m_certificateAuthorityArn); + payload.WithInteger("MaxResults", m_maxResults); } @@ -36,9 +36,9 @@ Aws::String ListTagsRequest::SerializePayload() const } - if(m_maxResultsHasBeenSet) + if(m_certificateAuthorityArnHasBeenSet) { - payload.WithInteger("MaxResults", m_maxResults); + payload.WithString("CertificateAuthorityArn", m_certificateAuthorityArn); } diff --git a/generated/src/aws-cpp-sdk-acm-pca/source/model/ListTagsResult.cpp b/generated/src/aws-cpp-sdk-acm-pca/source/model/ListTagsResult.cpp index a3c6e867738..513e65b1f05 100644 --- a/generated/src/aws-cpp-sdk-acm-pca/source/model/ListTagsResult.cpp +++ b/generated/src/aws-cpp-sdk-acm-pca/source/model/ListTagsResult.cpp @@ -29,6 +29,12 @@ ListTagsResult::ListTagsResult(const Aws::AmazonWebServiceResult& res ListTagsResult& ListTagsResult::operator =(const Aws::AmazonWebServiceResult& result) { JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("NextToken")) + { + m_nextToken = jsonValue.GetString("NextToken"); + + } + if(jsonValue.ValueExists("Tags")) { Aws::Utils::Array tagsJsonList = jsonValue.GetArray("Tags"); @@ -38,12 +44,6 @@ ListTagsResult& ListTagsResult::operator =(const Aws::AmazonWebServiceResultWelcome to the Zonal Shift API Reference Guide for Amazon Route 53 - * Application Recovery Controller (Route 53 ARC).

You can start a zonal - * shift to move traffic for a load balancer resource away from an Availability - * Zone to help your application recover quickly from an impairment in an - * Availability Zone. For example, you can recover your application from a + *

Welcome to the API Reference Guide for zonal shift and zonal autoshift in + * Amazon Route 53 Application Recovery Controller (Route 53 ARC).

You can + * start a zonal shift to move traffic for a load balancer resource away from an + * Availability Zone to help your application recover quickly from an impairment in + * an Availability Zone. For example, you can recover your application from a * developer's bad code deployment or from an Amazon Web Services infrastructure * failure in a single Availability Zone.

You can also configure zonal - * autoshift for a load balancer resource. Zonal autoshift is a capability in Route - * 53 ARC where Amazon Web Services shifts away application resource traffic from - * an Availability Zone, on your behalf, to help reduce your time to recovery - * during events. Amazon Web Services shifts away traffic for resources that are - * enabled for zonal autoshift whenever Amazon Web Services determines that there's - * an issue in the Availability Zone that could potentially affect customers.

- *

To ensure that zonal autoshift is safe for your application, you must also - * configure practice runs when you enable zonal autoshift for a resource. Practice - * runs start weekly zonal shifts for a resource, to shift traffic for the resource - * out of an Availability Zone. Practice runs make sure, on a regular basis, that - * you have enough capacity in all the Availability Zones in an Amazon Web Services - * Region for your application to continue to operate normally when traffic for a - * resource is shifted away from one Availability Zone.

You must - * prescale resource capacity in all Availability Zones in the Region where your - * application is deployed, before you configure practice runs or enable zonal - * autoshift for a resource. You should not rely on scaling on demand when an - * autoshift or practice run starts.

For more information - * about using zonal shift and zonal autoshift, see the

To help make sure + * that zonal autoshift is safe for your application, you must also configure + * practice runs when you enable zonal autoshift for a resource. Practice runs + * start weekly zonal shifts for a resource, to shift traffic for the resource away + * from an Availability Zone. Practice runs help you to make sure, on a regular + * basis, that you have enough capacity in all the Availability Zones in an Amazon + * Web Services Region for your application to continue to operate normally when + * traffic for a resource is shifted away from one Availability Zone.

+ *

Before you configure practice runs or enable zonal autoshift, we + * strongly recommend that you prescale your application resource capacity in all + * Availability Zones in the Region where your application resources are deployed. + * You should not rely on scaling on demand when an autoshift or practice run + * starts. Zonal autoshift, including practice runs, works independently, and does + * not wait for auto scaling actions to complete. Relying on auto scaling, instead + * of pre-scaling, can result in loss of availability.

If you use auto + * scaling to handle regular cycles of traffic, we strongly recommend that you + * configure the minimum capacity of your auto scaling to continue operating + * normally with the loss of an Availability Zone.

Be aware + * that Route 53 ARC does not inspect the health of individual resources. Amazon + * Web Services only starts an autoshift when Amazon Web Services telemetry detects + * that there is an Availability Zone impairment that could potentially impact + * customers. In some cases, resources might be shifted away that are not + * experiencing impact.

For more information about using zonal shift and + * zonal autoshift, see the Amazon * Route 53 Application Recovery Controller Developer Guide.

*/ @@ -138,7 +149,11 @@ namespace ARCZonalShift * you create to use with practice runs. The alarms that you specify are an * outcome alarm, to monitor application health during practice runs and, * optionally, a blocking alarm, to block practice runs from starting.

- *

For more information, see When a resource has a practice run configuration, Route 53 ARC starts zonal + * shifts for the resource weekly, to shift traffic for practice runs. Practice + * runs help you to ensure that shifting away traffic from an Availability Zone + * during an autoshift is safe for your application.

For more information, + * see * Considerations when you configure zonal autoshift in the Amazon Route 53 * Application Recovery Controller Developer Guide.

See Also:

Returns the status of autoshift observer notification. Autoshift observer + * notification enables you to be notified, through Amazon EventBridge, when there + * is an autoshift event for zonal autoshift.

If the status is + * ENABLED, Route 53 ARC includes all autoshift events when you use + * the EventBridge pattern Autoshift In Progress. When the status is + * DISABLED, Route 53 ARC includes only autoshift events for + * autoshifts when one or more of your resources is included in the autoshift.

+ *

For more information, see + * Notifications for practice runs and autoshifts in the Amazon Route 53 + * Application Recovery Controller Developer Guide.

See Also:

AWS + * API Reference

+ */ + virtual Model::GetAutoshiftObserverNotificationStatusOutcome GetAutoshiftObserverNotificationStatus(const Model::GetAutoshiftObserverNotificationStatusRequest& request = {}) const; + + /** + * A Callable wrapper for GetAutoshiftObserverNotificationStatus that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::GetAutoshiftObserverNotificationStatusOutcomeCallable GetAutoshiftObserverNotificationStatusCallable(const GetAutoshiftObserverNotificationStatusRequestT& request = {}) const + { + return SubmitCallable(&ARCZonalShiftClient::GetAutoshiftObserverNotificationStatus, request); + } + + /** + * An Async wrapper for GetAutoshiftObserverNotificationStatus that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void GetAutoshiftObserverNotificationStatusAsync(const GetAutoshiftObserverNotificationStatusResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr, const GetAutoshiftObserverNotificationStatusRequestT& request = {}) const + { + return SubmitAsync(&ARCZonalShiftClient::GetAutoshiftObserverNotificationStatus, request, handler, context); + } + /** *

Get information about a resource that's been registered for zonal shifts with * Amazon Route 53 Application Recovery Controller in this Amazon Web Services @@ -226,8 +276,10 @@ namespace ARCZonalShift } /** - *

Returns the active autoshifts for a specified resource.

See - * Also:

Returns a list of autoshifts for an Amazon Web Services Region. By default, + * the call returns only ACTIVE autoshifts. Optionally, you can + * specify the status parameter to return COMPLETED + * autoshifts.

See Also:

AWS * API Reference

*/ @@ -284,7 +336,7 @@ namespace ARCZonalShift /** *

Lists all active and completed zonal shifts in Amazon Route 53 Application * Recovery Controller in your Amazon Web Services account in this Amazon Web - * Services Region. ListZonalShifts returns customer-started zonal + * Services Region. ListZonalShifts returns customer-initiated zonal * shifts, as well as practice run zonal shifts that Route 53 ARC started on your * behalf for zonal autoshift.

The ListZonalShifts operation * does not list autoshifts. For more information about listing autoshifts, see Update the status of autoshift observer notification. Autoshift observer + * notification enables you to be notified, through Amazon EventBridge, when there + * is an autoshift event for zonal autoshift.

If the status is + * ENABLED, Route 53 ARC includes all autoshift events when you use + * the EventBridge pattern Autoshift In Progress. When the status is + * DISABLED, Route 53 ARC includes only autoshift events for + * autoshifts when one or more of your resources is included in the autoshift.

+ *

For more information, see + * Notifications for practice runs and autoshifts in the Amazon Route 53 + * Application Recovery Controller Developer Guide.

See Also:

AWS + * API Reference

+ */ + virtual Model::UpdateAutoshiftObserverNotificationStatusOutcome UpdateAutoshiftObserverNotificationStatus(const Model::UpdateAutoshiftObserverNotificationStatusRequest& request) const; + + /** + * A Callable wrapper for UpdateAutoshiftObserverNotificationStatus that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::UpdateAutoshiftObserverNotificationStatusOutcomeCallable UpdateAutoshiftObserverNotificationStatusCallable(const UpdateAutoshiftObserverNotificationStatusRequestT& request) const + { + return SubmitCallable(&ARCZonalShiftClient::UpdateAutoshiftObserverNotificationStatus, request); + } + + /** + * An Async wrapper for UpdateAutoshiftObserverNotificationStatus that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void UpdateAutoshiftObserverNotificationStatusAsync(const UpdateAutoshiftObserverNotificationStatusRequestT& request, const UpdateAutoshiftObserverNotificationStatusResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&ARCZonalShiftClient::UpdateAutoshiftObserverNotificationStatus, request, handler, context); + } + /** *

Update a practice run configuration to change one or more of the following: * add, change, or remove the blocking alarm; change the outcome alarm; or add, @@ -382,12 +469,17 @@ namespace ARCZonalShift } /** - *

You can update the zonal autoshift status for a resource, to enable or - * disable zonal autoshift. When zonal autoshift is ENABLED, Amazon - * Web Services shifts away resource traffic from an Availability Zone, on your - * behalf, when Amazon Web Services determines that there's an issue in the - * Availability Zone that could potentially affect customers.

See - * Also:

The zonal autoshift configuration for a resource includes the practice run + * configuration and the status for running autoshifts, zonal autoshift status. + * When a resource has a practice run configuation, Route 53 ARC starts weekly + * zonal shifts for the resource, to shift traffic away from an Availability Zone. + * Weekly practice runs help you to make sure that your application can continue to + * operate normally with the loss of one Availability Zone.

You can update + * the zonal autoshift autoshift status to enable or disable zonal autoshift. When + * zonal autoshift is ENABLED, you authorize Amazon Web Services to + * shift away resource traffic for an application from an Availability Zone during + * events, on your behalf, to help reduce time to recovery. Traffic is also shifted + * away for the required weekly practice runs.

See Also:

AWS * API Reference

*/ diff --git a/generated/src/aws-cpp-sdk-arc-zonal-shift/include/aws/arc-zonal-shift/ARCZonalShiftServiceClientModel.h b/generated/src/aws-cpp-sdk-arc-zonal-shift/include/aws/arc-zonal-shift/ARCZonalShiftServiceClientModel.h index 6028222856c..16390e7a113 100644 --- a/generated/src/aws-cpp-sdk-arc-zonal-shift/include/aws/arc-zonal-shift/ARCZonalShiftServiceClientModel.h +++ b/generated/src/aws-cpp-sdk-arc-zonal-shift/include/aws/arc-zonal-shift/ARCZonalShiftServiceClientModel.h @@ -21,17 +21,20 @@ #include #include #include +#include #include #include #include #include #include +#include #include #include #include #include #include #include +#include /* End of service model headers required in ARCZonalShiftClient header */ namespace Aws @@ -75,11 +78,13 @@ namespace Aws class CancelZonalShiftRequest; class CreatePracticeRunConfigurationRequest; class DeletePracticeRunConfigurationRequest; + class GetAutoshiftObserverNotificationStatusRequest; class GetManagedResourceRequest; class ListAutoshiftsRequest; class ListManagedResourcesRequest; class ListZonalShiftsRequest; class StartZonalShiftRequest; + class UpdateAutoshiftObserverNotificationStatusRequest; class UpdatePracticeRunConfigurationRequest; class UpdateZonalAutoshiftConfigurationRequest; class UpdateZonalShiftRequest; @@ -89,11 +94,13 @@ namespace Aws typedef Aws::Utils::Outcome CancelZonalShiftOutcome; typedef Aws::Utils::Outcome CreatePracticeRunConfigurationOutcome; typedef Aws::Utils::Outcome DeletePracticeRunConfigurationOutcome; + typedef Aws::Utils::Outcome GetAutoshiftObserverNotificationStatusOutcome; typedef Aws::Utils::Outcome GetManagedResourceOutcome; typedef Aws::Utils::Outcome ListAutoshiftsOutcome; typedef Aws::Utils::Outcome ListManagedResourcesOutcome; typedef Aws::Utils::Outcome ListZonalShiftsOutcome; typedef Aws::Utils::Outcome StartZonalShiftOutcome; + typedef Aws::Utils::Outcome UpdateAutoshiftObserverNotificationStatusOutcome; typedef Aws::Utils::Outcome UpdatePracticeRunConfigurationOutcome; typedef Aws::Utils::Outcome UpdateZonalAutoshiftConfigurationOutcome; typedef Aws::Utils::Outcome UpdateZonalShiftOutcome; @@ -103,11 +110,13 @@ namespace Aws typedef std::future CancelZonalShiftOutcomeCallable; typedef std::future CreatePracticeRunConfigurationOutcomeCallable; typedef std::future DeletePracticeRunConfigurationOutcomeCallable; + typedef std::future GetAutoshiftObserverNotificationStatusOutcomeCallable; typedef std::future GetManagedResourceOutcomeCallable; typedef std::future ListAutoshiftsOutcomeCallable; typedef std::future ListManagedResourcesOutcomeCallable; typedef std::future ListZonalShiftsOutcomeCallable; typedef std::future StartZonalShiftOutcomeCallable; + typedef std::future UpdateAutoshiftObserverNotificationStatusOutcomeCallable; typedef std::future UpdatePracticeRunConfigurationOutcomeCallable; typedef std::future UpdateZonalAutoshiftConfigurationOutcomeCallable; typedef std::future UpdateZonalShiftOutcomeCallable; @@ -120,11 +129,13 @@ namespace Aws typedef std::function&) > CancelZonalShiftResponseReceivedHandler; typedef std::function&) > CreatePracticeRunConfigurationResponseReceivedHandler; typedef std::function&) > DeletePracticeRunConfigurationResponseReceivedHandler; + typedef std::function&) > GetAutoshiftObserverNotificationStatusResponseReceivedHandler; typedef std::function&) > GetManagedResourceResponseReceivedHandler; typedef std::function&) > ListAutoshiftsResponseReceivedHandler; typedef std::function&) > ListManagedResourcesResponseReceivedHandler; typedef std::function&) > ListZonalShiftsResponseReceivedHandler; typedef std::function&) > StartZonalShiftResponseReceivedHandler; + typedef std::function&) > UpdateAutoshiftObserverNotificationStatusResponseReceivedHandler; typedef std::function&) > UpdatePracticeRunConfigurationResponseReceivedHandler; typedef std::function&) > UpdateZonalAutoshiftConfigurationResponseReceivedHandler; typedef std::function&) > UpdateZonalShiftResponseReceivedHandler; diff --git a/generated/src/aws-cpp-sdk-arc-zonal-shift/include/aws/arc-zonal-shift/model/AutoshiftInResource.h b/generated/src/aws-cpp-sdk-arc-zonal-shift/include/aws/arc-zonal-shift/model/AutoshiftInResource.h index 8b09db31d5c..77f7ea2e9f5 100644 --- a/generated/src/aws-cpp-sdk-arc-zonal-shift/include/aws/arc-zonal-shift/model/AutoshiftInResource.h +++ b/generated/src/aws-cpp-sdk-arc-zonal-shift/include/aws/arc-zonal-shift/model/AutoshiftInResource.h @@ -47,17 +47,17 @@ namespace Model ///@{ /** *

The appliedStatus field specifies which application traffic - * shift is in effect for a resource when there is more than one traffic shift - * active. There can be more than one application traffic shift in progress at the - * same time - that is, practice run zonal shifts, customer-started zonal shifts, - * or an autoshift. The appliedStatus field for an autoshift for a - * resource can have one of two values: APPLIED or + * shift is in effect for a resource when there is more than one active traffic + * shift. There can be more than one application traffic shift in progress at the + * same time - that is, practice run zonal shifts, customer-initiated zonal shifts, + * or an autoshift. The appliedStatus field for a shift that is in + * progress for a resource can have one of two values: APPLIED or * NOT_APPLIED. The zonal shift or autoshift that is currently in - * effect for the resource has an applied status set to APPLIED.

- *

The overall principle for precedence is that zonal shifts that you start as a - * customer take precedence autoshifts, which take precedence over practice runs. - * That is, customer-started zonal shifts > autoshifts > practice run zonal - * shifts.

For more information, see appliedStatus set to + * APPLIED.

The overall principle for precedence is that zonal + * shifts that you start as a customer take precedence autoshifts, which take + * precedence over practice runs. That is, customer-initiated zonal shifts > + * autoshifts > practice run zonal shifts.

For more information, see How * zonal autoshift and practice runs work in the Amazon Route 53 Application * Recovery Controller Developer Guide.

@@ -72,12 +72,12 @@ namespace Model ///@{ /** - *

The Availability Zone that traffic is shifted away from for a resource, when - * Amazon Web Services starts an autoshift. Until the autoshift ends, traffic for - * the resource is instead directed to other Availability Zones in the Amazon Web - * Services Region. An autoshift can end for a resource, for example, when Amazon - * Web Services ends the autoshift for the Availability Zone or when you disable - * zonal autoshift for the resource.

+ *

The Availability Zone (for example, use1-az1) that traffic is + * shifted away from for a resource, when Amazon Web Services starts an autoshift. + * Until the autoshift ends, traffic for the resource is instead directed to other + * Availability Zones in the Amazon Web Services Region. An autoshift can end for a + * resource, for example, when Amazon Web Services ends the autoshift for the + * Availability Zone or when you disable zonal autoshift for the resource.

*/ inline const Aws::String& GetAwayFrom() const{ return m_awayFrom; } inline bool AwayFromHasBeenSet() const { return m_awayFromHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-arc-zonal-shift/include/aws/arc-zonal-shift/model/AutoshiftObserverNotificationStatus.h b/generated/src/aws-cpp-sdk-arc-zonal-shift/include/aws/arc-zonal-shift/model/AutoshiftObserverNotificationStatus.h new file mode 100644 index 00000000000..ed008b858bb --- /dev/null +++ b/generated/src/aws-cpp-sdk-arc-zonal-shift/include/aws/arc-zonal-shift/model/AutoshiftObserverNotificationStatus.h @@ -0,0 +1,31 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace ARCZonalShift +{ +namespace Model +{ + enum class AutoshiftObserverNotificationStatus + { + NOT_SET, + ENABLED, + DISABLED + }; + +namespace AutoshiftObserverNotificationStatusMapper +{ +AWS_ARCZONALSHIFT_API AutoshiftObserverNotificationStatus GetAutoshiftObserverNotificationStatusForName(const Aws::String& name); + +AWS_ARCZONALSHIFT_API Aws::String GetNameForAutoshiftObserverNotificationStatus(AutoshiftObserverNotificationStatus value); +} // namespace AutoshiftObserverNotificationStatusMapper +} // namespace Model +} // namespace ARCZonalShift +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-arc-zonal-shift/include/aws/arc-zonal-shift/model/AutoshiftSummary.h b/generated/src/aws-cpp-sdk-arc-zonal-shift/include/aws/arc-zonal-shift/model/AutoshiftSummary.h index cc82c8e6ff1..2b4493597b8 100644 --- a/generated/src/aws-cpp-sdk-arc-zonal-shift/include/aws/arc-zonal-shift/model/AutoshiftSummary.h +++ b/generated/src/aws-cpp-sdk-arc-zonal-shift/include/aws/arc-zonal-shift/model/AutoshiftSummary.h @@ -51,12 +51,12 @@ namespace Model ///@{ /** - *

The Availability Zone that traffic is shifted away from for a resource when - * Amazon Web Services starts an autoshift. Until the autoshift ends, traffic for - * the resource is instead directed to other Availability Zones in the Amazon Web - * Services Region. An autoshift can end for a resource, for example, when Amazon - * Web Services ends the autoshift for the Availability Zone or when you disable - * zonal autoshift for the resource.

+ *

The Availability Zone (for example, use1-az1) that traffic is + * shifted away from for a resource when Amazon Web Services starts an autoshift. + * Until the autoshift ends, traffic for the resource is instead directed to other + * Availability Zones in the Amazon Web Services Region. An autoshift can end for a + * resource, for example, when Amazon Web Services ends the autoshift for the + * Availability Zone or when you disable zonal autoshift for the resource.

*/ inline const Aws::String& GetAwayFrom() const{ return m_awayFrom; } inline bool AwayFromHasBeenSet() const { return m_awayFromHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-arc-zonal-shift/include/aws/arc-zonal-shift/model/CancelZonalShiftResult.h b/generated/src/aws-cpp-sdk-arc-zonal-shift/include/aws/arc-zonal-shift/model/CancelZonalShiftResult.h index 8bb31b80e91..85d2f18c5b6 100644 --- a/generated/src/aws-cpp-sdk-arc-zonal-shift/include/aws/arc-zonal-shift/model/CancelZonalShiftResult.h +++ b/generated/src/aws-cpp-sdk-arc-zonal-shift/include/aws/arc-zonal-shift/model/CancelZonalShiftResult.h @@ -36,10 +36,10 @@ namespace Model ///@{ /** - *

The Availability Zone that traffic is moved away from for a resource when you - * start a zonal shift. Until the zonal shift expires or you cancel it, traffic for - * the resource is instead moved to other Availability Zones in the Amazon Web - * Services Region.

+ *

The Availability Zone (for example, use1-az1) that traffic is + * moved away from for a resource when you start a zonal shift. Until the zonal + * shift expires or you cancel it, traffic for the resource is instead moved to + * other Availability Zones in the Amazon Web Services Region.

*/ inline const Aws::String& GetAwayFrom() const{ return m_awayFrom; } inline void SetAwayFrom(const Aws::String& value) { m_awayFrom = value; } @@ -67,15 +67,15 @@ namespace Model ///@{ /** - *

The expiry time (expiration time) for a customer-started zonal shift. A zonal - * shift is temporary and must be set to expire when you start the zonal shift. You - * can initially set a zonal shift to expire in a maximum of three days (72 hours). - * However, you can update a zonal shift to set a new expiration at any time.

- *

When you start a zonal shift, you specify how long you want it to be active, - * which Route 53 ARC converts to an expiry time (expiration time). You can cancel - * a zonal shift when you're ready to restore traffic to the Availability Zone, or - * just wait for it to expire. Or you can update the zonal shift to specify another - * length of time to expire in.

+ *

The expiry time (expiration time) for a customer-initiated zonal shift. A + * zonal shift is temporary and must be set to expire when you start the zonal + * shift. You can initially set a zonal shift to expire in a maximum of three days + * (72 hours). However, you can update a zonal shift to set a new expiration at any + * time.

When you start a zonal shift, you specify how long you want it to + * be active, which Route 53 ARC converts to an expiry time (expiration time). You + * can cancel a zonal shift when you're ready to restore traffic to the + * Availability Zone, or just wait for it to expire. Or you can update the zonal + * shift to specify another length of time to expire in.

*/ inline const Aws::Utils::DateTime& GetExpiryTime() const{ return m_expiryTime; } inline void SetExpiryTime(const Aws::Utils::DateTime& value) { m_expiryTime = value; } @@ -86,10 +86,10 @@ namespace Model ///@{ /** - *

The identifier for the resource to shift away traffic for. The identifier is - * the Amazon Resource Name (ARN) for the resource.

At this time, supported - * resources are Network Load Balancers and Application Load Balancers with - * cross-zone load balancing turned off.

+ *

The identifier for the resource that Amazon Web Services shifts traffic for. + * The identifier is the Amazon Resource Name (ARN) for the resource.

At + * this time, supported resources are Network Load Balancers and Application Load + * Balancers with cross-zone load balancing turned off.

*/ inline const Aws::String& GetResourceIdentifier() const{ return m_resourceIdentifier; } inline void SetResourceIdentifier(const Aws::String& value) { m_resourceIdentifier = value; } diff --git a/generated/src/aws-cpp-sdk-arc-zonal-shift/include/aws/arc-zonal-shift/model/ControlCondition.h b/generated/src/aws-cpp-sdk-arc-zonal-shift/include/aws/arc-zonal-shift/model/ControlCondition.h index 2ea1ad7c965..cbe7cd7df1e 100644 --- a/generated/src/aws-cpp-sdk-arc-zonal-shift/include/aws/arc-zonal-shift/model/ControlCondition.h +++ b/generated/src/aws-cpp-sdk-arc-zonal-shift/include/aws/arc-zonal-shift/model/ControlCondition.h @@ -30,8 +30,9 @@ namespace Model * CloudWatch alarms, which you create in CloudWatch to use with the practice run. * The alarms that you specify are an outcome alarm, to monitor application * health during practice runs and, optionally, a blocking alarm, to block - * practice runs from starting.

Control condition alarms do not apply for - * autoshifts.

For more information, see + *

Control condition alarms do not apply for autoshifts.

For more + * information, see * Considerations when you configure zonal autoshift in the Amazon Route 53 * Application Recovery Controller Developer Guide.

See Also:

The Amazon Resource Name (ARN) for the Amazon CloudWatch alarm that you + *

The Amazon Resource Name (ARN) for an Amazon CloudWatch alarm that you * specify as a control condition for a practice run.

*/ inline const Aws::String& GetAlarmIdentifier() const{ return m_alarmIdentifier; } @@ -64,7 +65,8 @@ namespace Model ///@{ /** - *

The type of alarm specified for a practice run. The only valid value is + *

The type of alarm specified for a practice run. You can only specify Amazon + * CloudWatch alarms for practice runs, so the only valid value is * CLOUDWATCH.

*/ inline const ControlConditionType& GetType() const{ return m_type; } diff --git a/generated/src/aws-cpp-sdk-arc-zonal-shift/include/aws/arc-zonal-shift/model/CreatePracticeRunConfigurationRequest.h b/generated/src/aws-cpp-sdk-arc-zonal-shift/include/aws/arc-zonal-shift/model/CreatePracticeRunConfigurationRequest.h index 185aa136a05..90b33bba19c 100644 --- a/generated/src/aws-cpp-sdk-arc-zonal-shift/include/aws/arc-zonal-shift/model/CreatePracticeRunConfigurationRequest.h +++ b/generated/src/aws-cpp-sdk-arc-zonal-shift/include/aws/arc-zonal-shift/model/CreatePracticeRunConfigurationRequest.h @@ -118,10 +118,11 @@ namespace Model ///@{ /** - *

The identifier of the resource to shift away traffic for when a practice run - * starts a zonal shift. The identifier is the Amazon Resource Name (ARN) for the - * resource.

At this time, supported resources are Network Load Balancers - * and Application Load Balancers with cross-zone load balancing turned off.

+ *

The identifier of the resource that Amazon Web Services shifts traffic for + * with a practice run zonal shift. The identifier is the Amazon Resource Name + * (ARN) for the resource.

At this time, supported resources are Network + * Load Balancers and Application Load Balancers with cross-zone load balancing + * turned off.

*/ inline const Aws::String& GetResourceIdentifier() const{ return m_resourceIdentifier; } inline bool ResourceIdentifierHasBeenSet() const { return m_resourceIdentifierHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-arc-zonal-shift/include/aws/arc-zonal-shift/model/CreatePracticeRunConfigurationResult.h b/generated/src/aws-cpp-sdk-arc-zonal-shift/include/aws/arc-zonal-shift/model/CreatePracticeRunConfigurationResult.h index 0aabce64680..4dfdd8256e5 100644 --- a/generated/src/aws-cpp-sdk-arc-zonal-shift/include/aws/arc-zonal-shift/model/CreatePracticeRunConfigurationResult.h +++ b/generated/src/aws-cpp-sdk-arc-zonal-shift/include/aws/arc-zonal-shift/model/CreatePracticeRunConfigurationResult.h @@ -76,13 +76,13 @@ namespace Model ///@{ /** - *

The status for zonal autoshift for a resource. When you specify the autoshift - * status as ENABLED, Amazon Web Services shifts traffic away from - * shifts away application resource traffic from an Availability Zone, on your - * behalf, when Amazon Web Services determines that there's an issue in the - * Availability Zone that could potentially affect customers.

When you - * enable zonal autoshift, you must also configure practice runs for the - * resource.

+ *

The status for zonal autoshift for a resource. When you specify + * ENABLED for the autoshift status, Amazon Web Services shifts + * traffic away from shifts away application resource traffic from an Availability + * Zone, on your behalf, when internal telemetry indicates that there is an + * Availability Zone impairment that could potentially impact customers.

+ *

When you enable zonal autoshift, you must also configure practice runs for + * the resource.

*/ inline const ZonalAutoshiftStatus& GetZonalAutoshiftStatus() const{ return m_zonalAutoshiftStatus; } inline void SetZonalAutoshiftStatus(const ZonalAutoshiftStatus& value) { m_zonalAutoshiftStatus = value; } diff --git a/generated/src/aws-cpp-sdk-arc-zonal-shift/include/aws/arc-zonal-shift/model/GetAutoshiftObserverNotificationStatusRequest.h b/generated/src/aws-cpp-sdk-arc-zonal-shift/include/aws/arc-zonal-shift/model/GetAutoshiftObserverNotificationStatusRequest.h new file mode 100644 index 00000000000..06cc7f93104 --- /dev/null +++ b/generated/src/aws-cpp-sdk-arc-zonal-shift/include/aws/arc-zonal-shift/model/GetAutoshiftObserverNotificationStatusRequest.h @@ -0,0 +1,36 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace ARCZonalShift +{ +namespace Model +{ + + /** + */ + class GetAutoshiftObserverNotificationStatusRequest : public ARCZonalShiftRequest + { + public: + AWS_ARCZONALSHIFT_API GetAutoshiftObserverNotificationStatusRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "GetAutoshiftObserverNotificationStatus"; } + + AWS_ARCZONALSHIFT_API Aws::String SerializePayload() const override; + + }; + +} // namespace Model +} // namespace ARCZonalShift +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-arc-zonal-shift/include/aws/arc-zonal-shift/model/GetAutoshiftObserverNotificationStatusResult.h b/generated/src/aws-cpp-sdk-arc-zonal-shift/include/aws/arc-zonal-shift/model/GetAutoshiftObserverNotificationStatusResult.h new file mode 100644 index 00000000000..3700e4bfd07 --- /dev/null +++ b/generated/src/aws-cpp-sdk-arc-zonal-shift/include/aws/arc-zonal-shift/model/GetAutoshiftObserverNotificationStatusResult.h @@ -0,0 +1,70 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace ARCZonalShift +{ +namespace Model +{ + class GetAutoshiftObserverNotificationStatusResult + { + public: + AWS_ARCZONALSHIFT_API GetAutoshiftObserverNotificationStatusResult(); + AWS_ARCZONALSHIFT_API GetAutoshiftObserverNotificationStatusResult(const Aws::AmazonWebServiceResult& result); + AWS_ARCZONALSHIFT_API GetAutoshiftObserverNotificationStatusResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

The status of autoshift observer notification. If the status is + * ENABLED, Route 53 ARC includes all autoshift events when you use + * the Amazon EventBridge pattern Autoshift In Progress. When the + * status is DISABLED, Route 53 ARC includes only autoshift events for + * autoshifts when one or more of your resources is included in the autoshift.

+ */ + inline const AutoshiftObserverNotificationStatus& GetStatus() const{ return m_status; } + inline void SetStatus(const AutoshiftObserverNotificationStatus& value) { m_status = value; } + inline void SetStatus(AutoshiftObserverNotificationStatus&& value) { m_status = std::move(value); } + inline GetAutoshiftObserverNotificationStatusResult& WithStatus(const AutoshiftObserverNotificationStatus& value) { SetStatus(value); return *this;} + inline GetAutoshiftObserverNotificationStatusResult& WithStatus(AutoshiftObserverNotificationStatus&& value) { SetStatus(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 GetAutoshiftObserverNotificationStatusResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline GetAutoshiftObserverNotificationStatusResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline GetAutoshiftObserverNotificationStatusResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + AutoshiftObserverNotificationStatus m_status; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace ARCZonalShift +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-arc-zonal-shift/include/aws/arc-zonal-shift/model/GetManagedResourceRequest.h b/generated/src/aws-cpp-sdk-arc-zonal-shift/include/aws/arc-zonal-shift/model/GetManagedResourceRequest.h index 41a93c78420..892b72e56b2 100644 --- a/generated/src/aws-cpp-sdk-arc-zonal-shift/include/aws/arc-zonal-shift/model/GetManagedResourceRequest.h +++ b/generated/src/aws-cpp-sdk-arc-zonal-shift/include/aws/arc-zonal-shift/model/GetManagedResourceRequest.h @@ -34,10 +34,10 @@ namespace Model ///@{ /** - *

The identifier for the resource to shift away traffic for. The identifier is - * the Amazon Resource Name (ARN) for the resource.

At this time, supported - * resources are Network Load Balancers and Application Load Balancers with - * cross-zone load balancing turned off.

+ *

The identifier for the resource that Amazon Web Services shifts traffic for. + * The identifier is the Amazon Resource Name (ARN) for the resource.

At + * this time, supported resources are Network Load Balancers and Application Load + * Balancers with cross-zone load balancing turned off.

*/ inline const Aws::String& GetResourceIdentifier() const{ return m_resourceIdentifier; } inline bool ResourceIdentifierHasBeenSet() const { return m_resourceIdentifierHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-arc-zonal-shift/include/aws/arc-zonal-shift/model/PracticeRunConfiguration.h b/generated/src/aws-cpp-sdk-arc-zonal-shift/include/aws/arc-zonal-shift/model/PracticeRunConfiguration.h index 5ea4f8e55f4..376759c7d41 100644 --- a/generated/src/aws-cpp-sdk-arc-zonal-shift/include/aws/arc-zonal-shift/model/PracticeRunConfiguration.h +++ b/generated/src/aws-cpp-sdk-arc-zonal-shift/include/aws/arc-zonal-shift/model/PracticeRunConfiguration.h @@ -28,10 +28,15 @@ namespace Model /** *

A practice run configuration for a resource includes the Amazon CloudWatch * alarms that you've specified for a practice run, as well as any blocked dates or - * blocked windows for the practice run.

You can update or delete a practice - * run configuration. Before you delete a practice run configuration, you must - * disable zonal autoshift for the resource. A practice run configuration is - * required when zonal autoshift is enabled.

See Also:

Practice runs are required for zonal autoshift. The zonal shifts + * that Route 53 ARC starts for practice runs help you to ensure that shifting away + * traffic from an Availability Zone during an autoshift is safe for your + * application.

You can update or delete a practice run configuration. + * Before you delete a practice run configuration, you must disable zonal autoshift + * for the resource. A practice run configuration is required when zonal autoshift + * is enabled.

See Also:

AWS * API Reference

*/ diff --git a/generated/src/aws-cpp-sdk-arc-zonal-shift/include/aws/arc-zonal-shift/model/StartZonalShiftRequest.h b/generated/src/aws-cpp-sdk-arc-zonal-shift/include/aws/arc-zonal-shift/model/StartZonalShiftRequest.h index f0120d0cbb6..ac0478ca8cf 100644 --- a/generated/src/aws-cpp-sdk-arc-zonal-shift/include/aws/arc-zonal-shift/model/StartZonalShiftRequest.h +++ b/generated/src/aws-cpp-sdk-arc-zonal-shift/include/aws/arc-zonal-shift/model/StartZonalShiftRequest.h @@ -34,10 +34,10 @@ namespace Model ///@{ /** - *

The Availability Zone that traffic is moved away from for a resource when you - * start a zonal shift. Until the zonal shift expires or you cancel it, traffic for - * the resource is instead moved to other Availability Zones in the Amazon Web - * Services Region.

+ *

The Availability Zone (for example, use1-az1) that traffic is + * moved away from for a resource when you start a zonal shift. Until the zonal + * shift expires or you cancel it, traffic for the resource is instead moved to + * other Availability Zones in the Amazon Web Services Region.

*/ inline const Aws::String& GetAwayFrom() const{ return m_awayFrom; } inline bool AwayFromHasBeenSet() const { return m_awayFromHasBeenSet; } @@ -93,10 +93,10 @@ namespace Model ///@{ /** - *

The identifier for the resource to shift away traffic for. The identifier is - * the Amazon Resource Name (ARN) for the resource.

At this time, supported - * resources are Network Load Balancers and Application Load Balancers with - * cross-zone load balancing turned off.

+ *

The identifier for the resource that Amazon Web Services shifts traffic for. + * The identifier is the Amazon Resource Name (ARN) for the resource.

At + * this time, supported resources are Network Load Balancers and Application Load + * Balancers with cross-zone load balancing turned off.

*/ inline const Aws::String& GetResourceIdentifier() const{ return m_resourceIdentifier; } inline bool ResourceIdentifierHasBeenSet() const { return m_resourceIdentifierHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-arc-zonal-shift/include/aws/arc-zonal-shift/model/StartZonalShiftResult.h b/generated/src/aws-cpp-sdk-arc-zonal-shift/include/aws/arc-zonal-shift/model/StartZonalShiftResult.h index e8498821adb..8cf850fcb95 100644 --- a/generated/src/aws-cpp-sdk-arc-zonal-shift/include/aws/arc-zonal-shift/model/StartZonalShiftResult.h +++ b/generated/src/aws-cpp-sdk-arc-zonal-shift/include/aws/arc-zonal-shift/model/StartZonalShiftResult.h @@ -36,10 +36,10 @@ namespace Model ///@{ /** - *

The Availability Zone that traffic is moved away from for a resource when you - * start a zonal shift. Until the zonal shift expires or you cancel it, traffic for - * the resource is instead moved to other Availability Zones in the Amazon Web - * Services Region.

+ *

The Availability Zone (for example, use1-az1) that traffic is + * moved away from for a resource when you start a zonal shift. Until the zonal + * shift expires or you cancel it, traffic for the resource is instead moved to + * other Availability Zones in the Amazon Web Services Region.

*/ inline const Aws::String& GetAwayFrom() const{ return m_awayFrom; } inline void SetAwayFrom(const Aws::String& value) { m_awayFrom = value; } @@ -67,15 +67,15 @@ namespace Model ///@{ /** - *

The expiry time (expiration time) for a customer-started zonal shift. A zonal - * shift is temporary and must be set to expire when you start the zonal shift. You - * can initially set a zonal shift to expire in a maximum of three days (72 hours). - * However, you can update a zonal shift to set a new expiration at any time.

- *

When you start a zonal shift, you specify how long you want it to be active, - * which Route 53 ARC converts to an expiry time (expiration time). You can cancel - * a zonal shift when you're ready to restore traffic to the Availability Zone, or - * just wait for it to expire. Or you can update the zonal shift to specify another - * length of time to expire in.

+ *

The expiry time (expiration time) for a customer-initiated zonal shift. A + * zonal shift is temporary and must be set to expire when you start the zonal + * shift. You can initially set a zonal shift to expire in a maximum of three days + * (72 hours). However, you can update a zonal shift to set a new expiration at any + * time.

When you start a zonal shift, you specify how long you want it to + * be active, which Route 53 ARC converts to an expiry time (expiration time). You + * can cancel a zonal shift when you're ready to restore traffic to the + * Availability Zone, or just wait for it to expire. Or you can update the zonal + * shift to specify another length of time to expire in.

*/ inline const Aws::Utils::DateTime& GetExpiryTime() const{ return m_expiryTime; } inline void SetExpiryTime(const Aws::Utils::DateTime& value) { m_expiryTime = value; } @@ -86,10 +86,10 @@ namespace Model ///@{ /** - *

The identifier for the resource to shift away traffic for. The identifier is - * the Amazon Resource Name (ARN) for the resource.

At this time, supported - * resources are Network Load Balancers and Application Load Balancers with - * cross-zone load balancing turned off.

+ *

The identifier for the resource that Amazon Web Services shifts traffic for. + * The identifier is the Amazon Resource Name (ARN) for the resource.

At + * this time, supported resources are Network Load Balancers and Application Load + * Balancers with cross-zone load balancing turned off.

*/ inline const Aws::String& GetResourceIdentifier() const{ return m_resourceIdentifier; } inline void SetResourceIdentifier(const Aws::String& value) { m_resourceIdentifier = value; } diff --git a/generated/src/aws-cpp-sdk-arc-zonal-shift/include/aws/arc-zonal-shift/model/UpdateAutoshiftObserverNotificationStatusRequest.h b/generated/src/aws-cpp-sdk-arc-zonal-shift/include/aws/arc-zonal-shift/model/UpdateAutoshiftObserverNotificationStatusRequest.h new file mode 100644 index 00000000000..be36f718750 --- /dev/null +++ b/generated/src/aws-cpp-sdk-arc-zonal-shift/include/aws/arc-zonal-shift/model/UpdateAutoshiftObserverNotificationStatusRequest.h @@ -0,0 +1,58 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace ARCZonalShift +{ +namespace Model +{ + + /** + */ + class UpdateAutoshiftObserverNotificationStatusRequest : public ARCZonalShiftRequest + { + public: + AWS_ARCZONALSHIFT_API UpdateAutoshiftObserverNotificationStatusRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "UpdateAutoshiftObserverNotificationStatus"; } + + AWS_ARCZONALSHIFT_API Aws::String SerializePayload() const override; + + + ///@{ + /** + *

The status to set for autoshift observer notification. If the status is + * ENABLED, Route 53 ARC includes all autoshift events when you use + * the Amazon EventBridge pattern Autoshift In Progress. When the + * status is DISABLED, Route 53 ARC includes only autoshift events for + * autoshifts when one or more of your resources is included in the autoshift.

+ */ + inline const AutoshiftObserverNotificationStatus& GetStatus() const{ return m_status; } + inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } + inline void SetStatus(const AutoshiftObserverNotificationStatus& value) { m_statusHasBeenSet = true; m_status = value; } + inline void SetStatus(AutoshiftObserverNotificationStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } + inline UpdateAutoshiftObserverNotificationStatusRequest& WithStatus(const AutoshiftObserverNotificationStatus& value) { SetStatus(value); return *this;} + inline UpdateAutoshiftObserverNotificationStatusRequest& WithStatus(AutoshiftObserverNotificationStatus&& value) { SetStatus(std::move(value)); return *this;} + ///@} + private: + + AutoshiftObserverNotificationStatus m_status; + bool m_statusHasBeenSet = false; + }; + +} // namespace Model +} // namespace ARCZonalShift +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-arc-zonal-shift/include/aws/arc-zonal-shift/model/UpdateAutoshiftObserverNotificationStatusResult.h b/generated/src/aws-cpp-sdk-arc-zonal-shift/include/aws/arc-zonal-shift/model/UpdateAutoshiftObserverNotificationStatusResult.h new file mode 100644 index 00000000000..2aed53e3fcc --- /dev/null +++ b/generated/src/aws-cpp-sdk-arc-zonal-shift/include/aws/arc-zonal-shift/model/UpdateAutoshiftObserverNotificationStatusResult.h @@ -0,0 +1,66 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace ARCZonalShift +{ +namespace Model +{ + class UpdateAutoshiftObserverNotificationStatusResult + { + public: + AWS_ARCZONALSHIFT_API UpdateAutoshiftObserverNotificationStatusResult(); + AWS_ARCZONALSHIFT_API UpdateAutoshiftObserverNotificationStatusResult(const Aws::AmazonWebServiceResult& result); + AWS_ARCZONALSHIFT_API UpdateAutoshiftObserverNotificationStatusResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

The status for autoshift observer notification.

+ */ + inline const AutoshiftObserverNotificationStatus& GetStatus() const{ return m_status; } + inline void SetStatus(const AutoshiftObserverNotificationStatus& value) { m_status = value; } + inline void SetStatus(AutoshiftObserverNotificationStatus&& value) { m_status = std::move(value); } + inline UpdateAutoshiftObserverNotificationStatusResult& WithStatus(const AutoshiftObserverNotificationStatus& value) { SetStatus(value); return *this;} + inline UpdateAutoshiftObserverNotificationStatusResult& WithStatus(AutoshiftObserverNotificationStatus&& value) { SetStatus(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 UpdateAutoshiftObserverNotificationStatusResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline UpdateAutoshiftObserverNotificationStatusResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline UpdateAutoshiftObserverNotificationStatusResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + AutoshiftObserverNotificationStatus m_status; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace ARCZonalShift +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-arc-zonal-shift/include/aws/arc-zonal-shift/model/UpdateZonalAutoshiftConfigurationRequest.h b/generated/src/aws-cpp-sdk-arc-zonal-shift/include/aws/arc-zonal-shift/model/UpdateZonalAutoshiftConfigurationRequest.h index d4bcebf3e30..e84ae3dd155 100644 --- a/generated/src/aws-cpp-sdk-arc-zonal-shift/include/aws/arc-zonal-shift/model/UpdateZonalAutoshiftConfigurationRequest.h +++ b/generated/src/aws-cpp-sdk-arc-zonal-shift/include/aws/arc-zonal-shift/model/UpdateZonalAutoshiftConfigurationRequest.h @@ -52,7 +52,9 @@ namespace Model ///@{ /** *

The zonal autoshift status for the resource that you want to update the zonal - * autoshift configuration for.

+ * autoshift configuration for. Choose ENABLED to authorize Amazon Web + * Services to shift away resource traffic for an application from an Availability + * Zone during events, on your behalf, to help reduce time to recovery.

*/ inline const ZonalAutoshiftStatus& GetZonalAutoshiftStatus() const{ return m_zonalAutoshiftStatus; } inline bool ZonalAutoshiftStatusHasBeenSet() const { return m_zonalAutoshiftStatusHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-arc-zonal-shift/include/aws/arc-zonal-shift/model/UpdateZonalAutoshiftConfigurationResult.h b/generated/src/aws-cpp-sdk-arc-zonal-shift/include/aws/arc-zonal-shift/model/UpdateZonalAutoshiftConfigurationResult.h index 9acfac604bc..e98483142a9 100644 --- a/generated/src/aws-cpp-sdk-arc-zonal-shift/include/aws/arc-zonal-shift/model/UpdateZonalAutoshiftConfigurationResult.h +++ b/generated/src/aws-cpp-sdk-arc-zonal-shift/include/aws/arc-zonal-shift/model/UpdateZonalAutoshiftConfigurationResult.h @@ -50,8 +50,7 @@ namespace Model ///@{ /** - *

The zonal autoshift status for the resource that you updated the zonal - * autoshift configuration for.

+ *

The updated zonal autoshift status for the resource.

*/ inline const ZonalAutoshiftStatus& GetZonalAutoshiftStatus() const{ return m_zonalAutoshiftStatus; } inline void SetZonalAutoshiftStatus(const ZonalAutoshiftStatus& value) { m_zonalAutoshiftStatus = value; } diff --git a/generated/src/aws-cpp-sdk-arc-zonal-shift/include/aws/arc-zonal-shift/model/UpdateZonalShiftResult.h b/generated/src/aws-cpp-sdk-arc-zonal-shift/include/aws/arc-zonal-shift/model/UpdateZonalShiftResult.h index 7ba6fde4873..8f80340ba6c 100644 --- a/generated/src/aws-cpp-sdk-arc-zonal-shift/include/aws/arc-zonal-shift/model/UpdateZonalShiftResult.h +++ b/generated/src/aws-cpp-sdk-arc-zonal-shift/include/aws/arc-zonal-shift/model/UpdateZonalShiftResult.h @@ -36,10 +36,10 @@ namespace Model ///@{ /** - *

The Availability Zone that traffic is moved away from for a resource when you - * start a zonal shift. Until the zonal shift expires or you cancel it, traffic for - * the resource is instead moved to other Availability Zones in the Amazon Web - * Services Region.

+ *

The Availability Zone (for example, use1-az1) that traffic is + * moved away from for a resource when you start a zonal shift. Until the zonal + * shift expires or you cancel it, traffic for the resource is instead moved to + * other Availability Zones in the Amazon Web Services Region.

*/ inline const Aws::String& GetAwayFrom() const{ return m_awayFrom; } inline void SetAwayFrom(const Aws::String& value) { m_awayFrom = value; } @@ -67,15 +67,15 @@ namespace Model ///@{ /** - *

The expiry time (expiration time) for a customer-started zonal shift. A zonal - * shift is temporary and must be set to expire when you start the zonal shift. You - * can initially set a zonal shift to expire in a maximum of three days (72 hours). - * However, you can update a zonal shift to set a new expiration at any time.

- *

When you start a zonal shift, you specify how long you want it to be active, - * which Route 53 ARC converts to an expiry time (expiration time). You can cancel - * a zonal shift when you're ready to restore traffic to the Availability Zone, or - * just wait for it to expire. Or you can update the zonal shift to specify another - * length of time to expire in.

+ *

The expiry time (expiration time) for a customer-initiated zonal shift. A + * zonal shift is temporary and must be set to expire when you start the zonal + * shift. You can initially set a zonal shift to expire in a maximum of three days + * (72 hours). However, you can update a zonal shift to set a new expiration at any + * time.

When you start a zonal shift, you specify how long you want it to + * be active, which Route 53 ARC converts to an expiry time (expiration time). You + * can cancel a zonal shift when you're ready to restore traffic to the + * Availability Zone, or just wait for it to expire. Or you can update the zonal + * shift to specify another length of time to expire in.

*/ inline const Aws::Utils::DateTime& GetExpiryTime() const{ return m_expiryTime; } inline void SetExpiryTime(const Aws::Utils::DateTime& value) { m_expiryTime = value; } @@ -86,10 +86,10 @@ namespace Model ///@{ /** - *

The identifier for the resource to shift away traffic for. The identifier is - * the Amazon Resource Name (ARN) for the resource.

At this time, supported - * resources are Network Load Balancers and Application Load Balancers with - * cross-zone load balancing turned off.

+ *

The identifier for the resource that Amazon Web Services shifts traffic for. + * The identifier is the Amazon Resource Name (ARN) for the resource.

At + * this time, supported resources are Network Load Balancers and Application Load + * Balancers with cross-zone load balancing turned off.

*/ inline const Aws::String& GetResourceIdentifier() const{ return m_resourceIdentifier; } inline void SetResourceIdentifier(const Aws::String& value) { m_resourceIdentifier = value; } diff --git a/generated/src/aws-cpp-sdk-arc-zonal-shift/include/aws/arc-zonal-shift/model/ZonalShiftInResource.h b/generated/src/aws-cpp-sdk-arc-zonal-shift/include/aws/arc-zonal-shift/model/ZonalShiftInResource.h index 7ca9275eda2..6bbe46356e0 100644 --- a/generated/src/aws-cpp-sdk-arc-zonal-shift/include/aws/arc-zonal-shift/model/ZonalShiftInResource.h +++ b/generated/src/aws-cpp-sdk-arc-zonal-shift/include/aws/arc-zonal-shift/model/ZonalShiftInResource.h @@ -44,17 +44,17 @@ namespace Model ///@{ /** *

The appliedStatus field specifies which application traffic - * shift is in effect for a resource when there is more than one traffic shift - * active. There can be more than one application traffic shift in progress at the - * same time - that is, practice run zonal shifts, customer-started zonal shifts, - * or an autoshift. The appliedStatus field for an autoshift for a - * resource can have one of two values: APPLIED or + * shift is in effect for a resource when there is more than one active traffic + * shift. There can be more than one application traffic shift in progress at the + * same time - that is, practice run zonal shifts, customer-initiated zonal shifts, + * or an autoshift. The appliedStatus field for a shift that is in + * progress for a resource can have one of two values: APPLIED or * NOT_APPLIED. The zonal shift or autoshift that is currently in - * effect for the resource has an applied status set to APPLIED.

- *

The overall principle for precedence is that zonal shifts that you start as a - * customer take precedence autoshifts, which take precedence over practice runs. - * That is, customer-started zonal shifts > autoshifts > practice run zonal - * shifts.

For more information, see appliedStatus set to + * APPLIED.

The overall principle for precedence is that zonal + * shifts that you start as a customer take precedence autoshifts, which take + * precedence over practice runs. That is, customer-initiated zonal shifts > + * autoshifts > practice run zonal shifts.

For more information, see How * zonal autoshift and practice runs work in the Amazon Route 53 Application * Recovery Controller Developer Guide.

@@ -69,10 +69,10 @@ namespace Model ///@{ /** - *

The Availability Zone that traffic is moved away from for a resource when you - * start a zonal shift. Until the zonal shift expires or you cancel it, traffic for - * the resource is instead moved to other Availability Zones in the Amazon Web - * Services Region.

+ *

The Availability Zone (for example, use1-az1) that traffic is + * moved away from for a resource when you start a zonal shift. Until the zonal + * shift expires or you cancel it, traffic for the resource is instead moved to + * other Availability Zones in the Amazon Web Services Region.

*/ inline const Aws::String& GetAwayFrom() const{ return m_awayFrom; } inline bool AwayFromHasBeenSet() const { return m_awayFromHasBeenSet; } @@ -86,9 +86,9 @@ namespace Model ///@{ /** - *

A comment that you enter about the zonal shift. Only the latest comment is - * retained; no comment history is maintained. That is, a new comment overwrites - * any existing comment string.

+ *

A comment that you enter for a customer-initiated zonal shift. Only the + * latest comment is retained; no comment history is maintained. That is, a new + * comment overwrites any existing comment string.

*/ inline const Aws::String& GetComment() const{ return m_comment; } inline bool CommentHasBeenSet() const { return m_commentHasBeenSet; } @@ -102,15 +102,15 @@ namespace Model ///@{ /** - *

The expiry time (expiration time) for a customer-started zonal shift. A zonal - * shift is temporary and must be set to expire when you start the zonal shift. You - * can initially set a zonal shift to expire in a maximum of three days (72 hours). - * However, you can update a zonal shift to set a new expiration at any time.

- *

When you start a zonal shift, you specify how long you want it to be active, - * which Route 53 ARC converts to an expiry time (expiration time). You can cancel - * a zonal shift when you're ready to restore traffic to the Availability Zone, or - * just wait for it to expire. Or you can update the zonal shift to specify another - * length of time to expire in.

+ *

The expiry time (expiration time) for a customer-initiated zonal shift. A + * zonal shift is temporary and must be set to expire when you start the zonal + * shift. You can initially set a zonal shift to expire in a maximum of three days + * (72 hours). However, you can update a zonal shift to set a new expiration at any + * time.

When you start a zonal shift, you specify how long you want it to + * be active, which Route 53 ARC converts to an expiry time (expiration time). You + * can cancel a zonal shift when you're ready to restore traffic to the + * Availability Zone, or just wait for it to expire. Or you can update the zonal + * shift to specify another length of time to expire in.

*/ inline const Aws::Utils::DateTime& GetExpiryTime() const{ return m_expiryTime; } inline bool ExpiryTimeHasBeenSet() const { return m_expiryTimeHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-arc-zonal-shift/include/aws/arc-zonal-shift/model/ZonalShiftSummary.h b/generated/src/aws-cpp-sdk-arc-zonal-shift/include/aws/arc-zonal-shift/model/ZonalShiftSummary.h index 77dde571e66..1c570577b51 100644 --- a/generated/src/aws-cpp-sdk-arc-zonal-shift/include/aws/arc-zonal-shift/model/ZonalShiftSummary.h +++ b/generated/src/aws-cpp-sdk-arc-zonal-shift/include/aws/arc-zonal-shift/model/ZonalShiftSummary.h @@ -30,7 +30,7 @@ namespace Model *

Lists information about zonal shifts in Amazon Route 53 Application Recovery * Controller, including zonal shifts that you start yourself and zonal shifts that * Route 53 ARC starts on your behalf for practice runs with zonal autoshift.

- *

Zonal shifts are temporary, including customer-started zonal shifts and the + *

Zonal shifts are temporary, including customer-initiated zonal shifts and the * zonal autoshift practice run zonal shifts that Route 53 ARC starts weekly, on * your behalf. A zonal shift that a customer starts can be active for up to three * days (72 hours). A practice run zonal shift has a 30 minute @@ -49,10 +49,10 @@ namespace Model ///@{ /** - *

The Availability Zone that traffic is moved away from for a resource when you - * start a zonal shift. Until the zonal shift expires or you cancel it, traffic for - * the resource is instead moved to other Availability Zones in the Amazon Web - * Services Region.

+ *

The Availability Zone (for example, use1-az1) that traffic is + * moved away from for a resource when you start a zonal shift. Until the zonal + * shift expires or you cancel it, traffic for the resource is instead moved to + * other Availability Zones in the Amazon Web Services Region.

*/ inline const Aws::String& GetAwayFrom() const{ return m_awayFrom; } inline bool AwayFromHasBeenSet() const { return m_awayFromHasBeenSet; } @@ -82,15 +82,15 @@ namespace Model ///@{ /** - *

The expiry time (expiration time) for a customer-started zonal shift. A zonal - * shift is temporary and must be set to expire when you start the zonal shift. You - * can initially set a zonal shift to expire in a maximum of three days (72 hours). - * However, you can update a zonal shift to set a new expiration at any time.

- *

When you start a zonal shift, you specify how long you want it to be active, - * which Route 53 ARC converts to an expiry time (expiration time). You can cancel - * a zonal shift when you're ready to restore traffic to the Availability Zone, or - * just wait for it to expire. Or you can update the zonal shift to specify another - * length of time to expire in.

+ *

The expiry time (expiration time) for a customer-initiated zonal shift. A + * zonal shift is temporary and must be set to expire when you start the zonal + * shift. You can initially set a zonal shift to expire in a maximum of three days + * (72 hours). However, you can update a zonal shift to set a new expiration at any + * time.

When you start a zonal shift, you specify how long you want it to + * be active, which Route 53 ARC converts to an expiry time (expiration time). You + * can cancel a zonal shift when you're ready to restore traffic to the + * Availability Zone, or just wait for it to expire. Or you can update the zonal + * shift to specify another length of time to expire in.

*/ inline const Aws::Utils::DateTime& GetExpiryTime() const{ return m_expiryTime; } inline bool ExpiryTimeHasBeenSet() const { return m_expiryTimeHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-arc-zonal-shift/source/ARCZonalShiftClient.cpp b/generated/src/aws-cpp-sdk-arc-zonal-shift/source/ARCZonalShiftClient.cpp index 1d68503b039..9f7c00aa5cd 100644 --- a/generated/src/aws-cpp-sdk-arc-zonal-shift/source/ARCZonalShiftClient.cpp +++ b/generated/src/aws-cpp-sdk-arc-zonal-shift/source/ARCZonalShiftClient.cpp @@ -24,11 +24,13 @@ #include #include #include +#include #include #include #include #include #include +#include #include #include #include @@ -266,6 +268,33 @@ DeletePracticeRunConfigurationOutcome ARCZonalShiftClient::DeletePracticeRunConf {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +GetAutoshiftObserverNotificationStatusOutcome ARCZonalShiftClient::GetAutoshiftObserverNotificationStatus(const GetAutoshiftObserverNotificationStatusRequest& request) const +{ + AWS_OPERATION_GUARD(GetAutoshiftObserverNotificationStatus); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, GetAutoshiftObserverNotificationStatus, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, GetAutoshiftObserverNotificationStatus, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, GetAutoshiftObserverNotificationStatus, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".GetAutoshiftObserverNotificationStatus", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> GetAutoshiftObserverNotificationStatusOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, GetAutoshiftObserverNotificationStatus, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/autoshift-observer-notification"); + return GetAutoshiftObserverNotificationStatusOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_GET, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + GetManagedResourceOutcome ARCZonalShiftClient::GetManagedResource(const GetManagedResourceRequest& request) const { AWS_OPERATION_GUARD(GetManagedResource); @@ -407,6 +436,33 @@ StartZonalShiftOutcome ARCZonalShiftClient::StartZonalShift(const StartZonalShif {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +UpdateAutoshiftObserverNotificationStatusOutcome ARCZonalShiftClient::UpdateAutoshiftObserverNotificationStatus(const UpdateAutoshiftObserverNotificationStatusRequest& request) const +{ + AWS_OPERATION_GUARD(UpdateAutoshiftObserverNotificationStatus); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, UpdateAutoshiftObserverNotificationStatus, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, UpdateAutoshiftObserverNotificationStatus, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, UpdateAutoshiftObserverNotificationStatus, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".UpdateAutoshiftObserverNotificationStatus", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> UpdateAutoshiftObserverNotificationStatusOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, UpdateAutoshiftObserverNotificationStatus, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/autoshift-observer-notification"); + return UpdateAutoshiftObserverNotificationStatusOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_PUT, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + UpdatePracticeRunConfigurationOutcome ARCZonalShiftClient::UpdatePracticeRunConfiguration(const UpdatePracticeRunConfigurationRequest& request) const { AWS_OPERATION_GUARD(UpdatePracticeRunConfiguration); diff --git a/generated/src/aws-cpp-sdk-arc-zonal-shift/source/model/AutoshiftObserverNotificationStatus.cpp b/generated/src/aws-cpp-sdk-arc-zonal-shift/source/model/AutoshiftObserverNotificationStatus.cpp new file mode 100644 index 00000000000..7ad7993eca3 --- /dev/null +++ b/generated/src/aws-cpp-sdk-arc-zonal-shift/source/model/AutoshiftObserverNotificationStatus.cpp @@ -0,0 +1,72 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace ARCZonalShift + { + namespace Model + { + namespace AutoshiftObserverNotificationStatusMapper + { + + static const int ENABLED_HASH = HashingUtils::HashString("ENABLED"); + static const int DISABLED_HASH = HashingUtils::HashString("DISABLED"); + + + AutoshiftObserverNotificationStatus GetAutoshiftObserverNotificationStatusForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == ENABLED_HASH) + { + return AutoshiftObserverNotificationStatus::ENABLED; + } + else if (hashCode == DISABLED_HASH) + { + return AutoshiftObserverNotificationStatus::DISABLED; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return AutoshiftObserverNotificationStatus::NOT_SET; + } + + Aws::String GetNameForAutoshiftObserverNotificationStatus(AutoshiftObserverNotificationStatus enumValue) + { + switch(enumValue) + { + case AutoshiftObserverNotificationStatus::NOT_SET: + return {}; + case AutoshiftObserverNotificationStatus::ENABLED: + return "ENABLED"; + case AutoshiftObserverNotificationStatus::DISABLED: + return "DISABLED"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace AutoshiftObserverNotificationStatusMapper + } // namespace Model + } // namespace ARCZonalShift +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-arc-zonal-shift/source/model/GetAutoshiftObserverNotificationStatusRequest.cpp b/generated/src/aws-cpp-sdk-arc-zonal-shift/source/model/GetAutoshiftObserverNotificationStatusRequest.cpp new file mode 100644 index 00000000000..c9295b9915e --- /dev/null +++ b/generated/src/aws-cpp-sdk-arc-zonal-shift/source/model/GetAutoshiftObserverNotificationStatusRequest.cpp @@ -0,0 +1,26 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::ARCZonalShift::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +GetAutoshiftObserverNotificationStatusRequest::GetAutoshiftObserverNotificationStatusRequest() +{ +} + +Aws::String GetAutoshiftObserverNotificationStatusRequest::SerializePayload() const +{ + return {}; +} + + + + diff --git a/generated/src/aws-cpp-sdk-arc-zonal-shift/source/model/GetAutoshiftObserverNotificationStatusResult.cpp b/generated/src/aws-cpp-sdk-arc-zonal-shift/source/model/GetAutoshiftObserverNotificationStatusResult.cpp new file mode 100644 index 00000000000..256793893ee --- /dev/null +++ b/generated/src/aws-cpp-sdk-arc-zonal-shift/source/model/GetAutoshiftObserverNotificationStatusResult.cpp @@ -0,0 +1,50 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::ARCZonalShift::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +GetAutoshiftObserverNotificationStatusResult::GetAutoshiftObserverNotificationStatusResult() : + m_status(AutoshiftObserverNotificationStatus::NOT_SET) +{ +} + +GetAutoshiftObserverNotificationStatusResult::GetAutoshiftObserverNotificationStatusResult(const Aws::AmazonWebServiceResult& result) + : GetAutoshiftObserverNotificationStatusResult() +{ + *this = result; +} + +GetAutoshiftObserverNotificationStatusResult& GetAutoshiftObserverNotificationStatusResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("status")) + { + m_status = AutoshiftObserverNotificationStatusMapper::GetAutoshiftObserverNotificationStatusForName(jsonValue.GetString("status")); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-arc-zonal-shift/source/model/UpdateAutoshiftObserverNotificationStatusRequest.cpp b/generated/src/aws-cpp-sdk-arc-zonal-shift/source/model/UpdateAutoshiftObserverNotificationStatusRequest.cpp new file mode 100644 index 00000000000..dfd3f8ebb17 --- /dev/null +++ b/generated/src/aws-cpp-sdk-arc-zonal-shift/source/model/UpdateAutoshiftObserverNotificationStatusRequest.cpp @@ -0,0 +1,35 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::ARCZonalShift::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +UpdateAutoshiftObserverNotificationStatusRequest::UpdateAutoshiftObserverNotificationStatusRequest() : + m_status(AutoshiftObserverNotificationStatus::NOT_SET), + m_statusHasBeenSet(false) +{ +} + +Aws::String UpdateAutoshiftObserverNotificationStatusRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_statusHasBeenSet) + { + payload.WithString("status", AutoshiftObserverNotificationStatusMapper::GetNameForAutoshiftObserverNotificationStatus(m_status)); + } + + return payload.View().WriteReadable(); +} + + + + diff --git a/generated/src/aws-cpp-sdk-arc-zonal-shift/source/model/UpdateAutoshiftObserverNotificationStatusResult.cpp b/generated/src/aws-cpp-sdk-arc-zonal-shift/source/model/UpdateAutoshiftObserverNotificationStatusResult.cpp new file mode 100644 index 00000000000..fcf5617b2ce --- /dev/null +++ b/generated/src/aws-cpp-sdk-arc-zonal-shift/source/model/UpdateAutoshiftObserverNotificationStatusResult.cpp @@ -0,0 +1,50 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::ARCZonalShift::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +UpdateAutoshiftObserverNotificationStatusResult::UpdateAutoshiftObserverNotificationStatusResult() : + m_status(AutoshiftObserverNotificationStatus::NOT_SET) +{ +} + +UpdateAutoshiftObserverNotificationStatusResult::UpdateAutoshiftObserverNotificationStatusResult(const Aws::AmazonWebServiceResult& result) + : UpdateAutoshiftObserverNotificationStatusResult() +{ + *this = result; +} + +UpdateAutoshiftObserverNotificationStatusResult& UpdateAutoshiftObserverNotificationStatusResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("status")) + { + m_status = AutoshiftObserverNotificationStatusMapper::GetAutoshiftObserverNotificationStatusForName(jsonValue.GetString("status")); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-cloudfront/source/model/AssociateAlias2020_05_31Request.cpp b/generated/src/aws-cpp-sdk-cloudfront/source/model/AssociateAlias2020_05_31Request.cpp index 677eaaec884..2c10b55ea9f 100644 --- a/generated/src/aws-cpp-sdk-cloudfront/source/model/AssociateAlias2020_05_31Request.cpp +++ b/generated/src/aws-cpp-sdk-cloudfront/source/model/AssociateAlias2020_05_31Request.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-cloudfront/source/model/CopyDistribution2020_05_31Request.cpp b/generated/src/aws-cpp-sdk-cloudfront/source/model/CopyDistribution2020_05_31Request.cpp index de4983a6ad9..8b614741cf9 100644 --- a/generated/src/aws-cpp-sdk-cloudfront/source/model/CopyDistribution2020_05_31Request.cpp +++ b/generated/src/aws-cpp-sdk-cloudfront/source/model/CopyDistribution2020_05_31Request.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-cloudfront/source/model/CreateCachePolicy2020_05_31Request.cpp b/generated/src/aws-cpp-sdk-cloudfront/source/model/CreateCachePolicy2020_05_31Request.cpp index 11b765de998..c46e4ac0da2 100644 --- a/generated/src/aws-cpp-sdk-cloudfront/source/model/CreateCachePolicy2020_05_31Request.cpp +++ b/generated/src/aws-cpp-sdk-cloudfront/source/model/CreateCachePolicy2020_05_31Request.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include diff --git a/generated/src/aws-cpp-sdk-cloudfront/source/model/CreateCloudFrontOriginAccessIdentity2020_05_31Request.cpp b/generated/src/aws-cpp-sdk-cloudfront/source/model/CreateCloudFrontOriginAccessIdentity2020_05_31Request.cpp index d1dfb83f981..eb1a8ab37f3 100644 --- a/generated/src/aws-cpp-sdk-cloudfront/source/model/CreateCloudFrontOriginAccessIdentity2020_05_31Request.cpp +++ b/generated/src/aws-cpp-sdk-cloudfront/source/model/CreateCloudFrontOriginAccessIdentity2020_05_31Request.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include diff --git a/generated/src/aws-cpp-sdk-cloudfront/source/model/CreateContinuousDeploymentPolicy2020_05_31Request.cpp b/generated/src/aws-cpp-sdk-cloudfront/source/model/CreateContinuousDeploymentPolicy2020_05_31Request.cpp index 504bd92277c..47064832d73 100644 --- a/generated/src/aws-cpp-sdk-cloudfront/source/model/CreateContinuousDeploymentPolicy2020_05_31Request.cpp +++ b/generated/src/aws-cpp-sdk-cloudfront/source/model/CreateContinuousDeploymentPolicy2020_05_31Request.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include diff --git a/generated/src/aws-cpp-sdk-cloudfront/source/model/CreateDistribution2020_05_31Request.cpp b/generated/src/aws-cpp-sdk-cloudfront/source/model/CreateDistribution2020_05_31Request.cpp index ac45323e833..dcc86225ab2 100644 --- a/generated/src/aws-cpp-sdk-cloudfront/source/model/CreateDistribution2020_05_31Request.cpp +++ b/generated/src/aws-cpp-sdk-cloudfront/source/model/CreateDistribution2020_05_31Request.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include diff --git a/generated/src/aws-cpp-sdk-cloudfront/source/model/CreateDistributionWithTags2020_05_31Request.cpp b/generated/src/aws-cpp-sdk-cloudfront/source/model/CreateDistributionWithTags2020_05_31Request.cpp index c8723818f35..2b4d504f18e 100644 --- a/generated/src/aws-cpp-sdk-cloudfront/source/model/CreateDistributionWithTags2020_05_31Request.cpp +++ b/generated/src/aws-cpp-sdk-cloudfront/source/model/CreateDistributionWithTags2020_05_31Request.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include diff --git a/generated/src/aws-cpp-sdk-cloudfront/source/model/CreateFieldLevelEncryptionConfig2020_05_31Request.cpp b/generated/src/aws-cpp-sdk-cloudfront/source/model/CreateFieldLevelEncryptionConfig2020_05_31Request.cpp index c7f16cce9e9..34b13eae8e9 100644 --- a/generated/src/aws-cpp-sdk-cloudfront/source/model/CreateFieldLevelEncryptionConfig2020_05_31Request.cpp +++ b/generated/src/aws-cpp-sdk-cloudfront/source/model/CreateFieldLevelEncryptionConfig2020_05_31Request.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include diff --git a/generated/src/aws-cpp-sdk-cloudfront/source/model/CreateFieldLevelEncryptionProfile2020_05_31Request.cpp b/generated/src/aws-cpp-sdk-cloudfront/source/model/CreateFieldLevelEncryptionProfile2020_05_31Request.cpp index 077835f585f..760ec15d687 100644 --- a/generated/src/aws-cpp-sdk-cloudfront/source/model/CreateFieldLevelEncryptionProfile2020_05_31Request.cpp +++ b/generated/src/aws-cpp-sdk-cloudfront/source/model/CreateFieldLevelEncryptionProfile2020_05_31Request.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include diff --git a/generated/src/aws-cpp-sdk-cloudfront/source/model/CreateFunction2020_05_31Request.cpp b/generated/src/aws-cpp-sdk-cloudfront/source/model/CreateFunction2020_05_31Request.cpp index 1db2926b1b9..5415c4ebc22 100644 --- a/generated/src/aws-cpp-sdk-cloudfront/source/model/CreateFunction2020_05_31Request.cpp +++ b/generated/src/aws-cpp-sdk-cloudfront/source/model/CreateFunction2020_05_31Request.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-cloudfront/source/model/CreateInvalidation2020_05_31Request.cpp b/generated/src/aws-cpp-sdk-cloudfront/source/model/CreateInvalidation2020_05_31Request.cpp index 7e77e7183c5..28285d0e1b5 100644 --- a/generated/src/aws-cpp-sdk-cloudfront/source/model/CreateInvalidation2020_05_31Request.cpp +++ b/generated/src/aws-cpp-sdk-cloudfront/source/model/CreateInvalidation2020_05_31Request.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include diff --git a/generated/src/aws-cpp-sdk-cloudfront/source/model/CreateKeyGroup2020_05_31Request.cpp b/generated/src/aws-cpp-sdk-cloudfront/source/model/CreateKeyGroup2020_05_31Request.cpp index b172d684853..cdcc802d5ef 100644 --- a/generated/src/aws-cpp-sdk-cloudfront/source/model/CreateKeyGroup2020_05_31Request.cpp +++ b/generated/src/aws-cpp-sdk-cloudfront/source/model/CreateKeyGroup2020_05_31Request.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include diff --git a/generated/src/aws-cpp-sdk-cloudfront/source/model/CreateKeyValueStore2020_05_31Request.cpp b/generated/src/aws-cpp-sdk-cloudfront/source/model/CreateKeyValueStore2020_05_31Request.cpp index aa8b7ac40ef..384785fbf21 100644 --- a/generated/src/aws-cpp-sdk-cloudfront/source/model/CreateKeyValueStore2020_05_31Request.cpp +++ b/generated/src/aws-cpp-sdk-cloudfront/source/model/CreateKeyValueStore2020_05_31Request.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include diff --git a/generated/src/aws-cpp-sdk-cloudfront/source/model/CreateMonitoringSubscription2020_05_31Request.cpp b/generated/src/aws-cpp-sdk-cloudfront/source/model/CreateMonitoringSubscription2020_05_31Request.cpp index 846b77b5262..2e44fc14ed8 100644 --- a/generated/src/aws-cpp-sdk-cloudfront/source/model/CreateMonitoringSubscription2020_05_31Request.cpp +++ b/generated/src/aws-cpp-sdk-cloudfront/source/model/CreateMonitoringSubscription2020_05_31Request.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include diff --git a/generated/src/aws-cpp-sdk-cloudfront/source/model/CreateOriginAccessControl2020_05_31Request.cpp b/generated/src/aws-cpp-sdk-cloudfront/source/model/CreateOriginAccessControl2020_05_31Request.cpp index c74bdc123ec..3f9e4e4b398 100644 --- a/generated/src/aws-cpp-sdk-cloudfront/source/model/CreateOriginAccessControl2020_05_31Request.cpp +++ b/generated/src/aws-cpp-sdk-cloudfront/source/model/CreateOriginAccessControl2020_05_31Request.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include diff --git a/generated/src/aws-cpp-sdk-cloudfront/source/model/CreateOriginRequestPolicy2020_05_31Request.cpp b/generated/src/aws-cpp-sdk-cloudfront/source/model/CreateOriginRequestPolicy2020_05_31Request.cpp index 0d493a794b9..ed3c0c361e2 100644 --- a/generated/src/aws-cpp-sdk-cloudfront/source/model/CreateOriginRequestPolicy2020_05_31Request.cpp +++ b/generated/src/aws-cpp-sdk-cloudfront/source/model/CreateOriginRequestPolicy2020_05_31Request.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include diff --git a/generated/src/aws-cpp-sdk-cloudfront/source/model/CreatePublicKey2020_05_31Request.cpp b/generated/src/aws-cpp-sdk-cloudfront/source/model/CreatePublicKey2020_05_31Request.cpp index d98a698d30f..0dcded01ece 100644 --- a/generated/src/aws-cpp-sdk-cloudfront/source/model/CreatePublicKey2020_05_31Request.cpp +++ b/generated/src/aws-cpp-sdk-cloudfront/source/model/CreatePublicKey2020_05_31Request.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include diff --git a/generated/src/aws-cpp-sdk-cloudfront/source/model/CreateRealtimeLogConfig2020_05_31Request.cpp b/generated/src/aws-cpp-sdk-cloudfront/source/model/CreateRealtimeLogConfig2020_05_31Request.cpp index ecd5d2b9092..e7d9ec6fcf8 100644 --- a/generated/src/aws-cpp-sdk-cloudfront/source/model/CreateRealtimeLogConfig2020_05_31Request.cpp +++ b/generated/src/aws-cpp-sdk-cloudfront/source/model/CreateRealtimeLogConfig2020_05_31Request.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include diff --git a/generated/src/aws-cpp-sdk-cloudfront/source/model/CreateResponseHeadersPolicy2020_05_31Request.cpp b/generated/src/aws-cpp-sdk-cloudfront/source/model/CreateResponseHeadersPolicy2020_05_31Request.cpp index 263947c635f..bfc5b109417 100644 --- a/generated/src/aws-cpp-sdk-cloudfront/source/model/CreateResponseHeadersPolicy2020_05_31Request.cpp +++ b/generated/src/aws-cpp-sdk-cloudfront/source/model/CreateResponseHeadersPolicy2020_05_31Request.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include diff --git a/generated/src/aws-cpp-sdk-cloudfront/source/model/CreateStreamingDistribution2020_05_31Request.cpp b/generated/src/aws-cpp-sdk-cloudfront/source/model/CreateStreamingDistribution2020_05_31Request.cpp index fa62ccabf2d..2ab657f7029 100644 --- a/generated/src/aws-cpp-sdk-cloudfront/source/model/CreateStreamingDistribution2020_05_31Request.cpp +++ b/generated/src/aws-cpp-sdk-cloudfront/source/model/CreateStreamingDistribution2020_05_31Request.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include diff --git a/generated/src/aws-cpp-sdk-cloudfront/source/model/CreateStreamingDistributionWithTags2020_05_31Request.cpp b/generated/src/aws-cpp-sdk-cloudfront/source/model/CreateStreamingDistributionWithTags2020_05_31Request.cpp index 21a6e3ad46c..997dc5d397e 100644 --- a/generated/src/aws-cpp-sdk-cloudfront/source/model/CreateStreamingDistributionWithTags2020_05_31Request.cpp +++ b/generated/src/aws-cpp-sdk-cloudfront/source/model/CreateStreamingDistributionWithTags2020_05_31Request.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include diff --git a/generated/src/aws-cpp-sdk-cloudfront/source/model/DeleteCachePolicy2020_05_31Request.cpp b/generated/src/aws-cpp-sdk-cloudfront/source/model/DeleteCachePolicy2020_05_31Request.cpp index c8ddc956c77..18808c25847 100644 --- a/generated/src/aws-cpp-sdk-cloudfront/source/model/DeleteCachePolicy2020_05_31Request.cpp +++ b/generated/src/aws-cpp-sdk-cloudfront/source/model/DeleteCachePolicy2020_05_31Request.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-cloudfront/source/model/DeleteCloudFrontOriginAccessIdentity2020_05_31Request.cpp b/generated/src/aws-cpp-sdk-cloudfront/source/model/DeleteCloudFrontOriginAccessIdentity2020_05_31Request.cpp index 6e5add169ac..8aa2c146074 100644 --- a/generated/src/aws-cpp-sdk-cloudfront/source/model/DeleteCloudFrontOriginAccessIdentity2020_05_31Request.cpp +++ b/generated/src/aws-cpp-sdk-cloudfront/source/model/DeleteCloudFrontOriginAccessIdentity2020_05_31Request.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-cloudfront/source/model/DeleteContinuousDeploymentPolicy2020_05_31Request.cpp b/generated/src/aws-cpp-sdk-cloudfront/source/model/DeleteContinuousDeploymentPolicy2020_05_31Request.cpp index cecad384d0a..a957d36f77e 100644 --- a/generated/src/aws-cpp-sdk-cloudfront/source/model/DeleteContinuousDeploymentPolicy2020_05_31Request.cpp +++ b/generated/src/aws-cpp-sdk-cloudfront/source/model/DeleteContinuousDeploymentPolicy2020_05_31Request.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-cloudfront/source/model/DeleteDistribution2020_05_31Request.cpp b/generated/src/aws-cpp-sdk-cloudfront/source/model/DeleteDistribution2020_05_31Request.cpp index abd580da4a4..6cfccc01c70 100644 --- a/generated/src/aws-cpp-sdk-cloudfront/source/model/DeleteDistribution2020_05_31Request.cpp +++ b/generated/src/aws-cpp-sdk-cloudfront/source/model/DeleteDistribution2020_05_31Request.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-cloudfront/source/model/DeleteFieldLevelEncryptionConfig2020_05_31Request.cpp b/generated/src/aws-cpp-sdk-cloudfront/source/model/DeleteFieldLevelEncryptionConfig2020_05_31Request.cpp index 488cf037e21..8e38ad97d81 100644 --- a/generated/src/aws-cpp-sdk-cloudfront/source/model/DeleteFieldLevelEncryptionConfig2020_05_31Request.cpp +++ b/generated/src/aws-cpp-sdk-cloudfront/source/model/DeleteFieldLevelEncryptionConfig2020_05_31Request.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-cloudfront/source/model/DeleteFieldLevelEncryptionProfile2020_05_31Request.cpp b/generated/src/aws-cpp-sdk-cloudfront/source/model/DeleteFieldLevelEncryptionProfile2020_05_31Request.cpp index 29cd29014b8..abab0c474fc 100644 --- a/generated/src/aws-cpp-sdk-cloudfront/source/model/DeleteFieldLevelEncryptionProfile2020_05_31Request.cpp +++ b/generated/src/aws-cpp-sdk-cloudfront/source/model/DeleteFieldLevelEncryptionProfile2020_05_31Request.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-cloudfront/source/model/DeleteFunction2020_05_31Request.cpp b/generated/src/aws-cpp-sdk-cloudfront/source/model/DeleteFunction2020_05_31Request.cpp index 32e02bfce0a..8c6dfde8893 100644 --- a/generated/src/aws-cpp-sdk-cloudfront/source/model/DeleteFunction2020_05_31Request.cpp +++ b/generated/src/aws-cpp-sdk-cloudfront/source/model/DeleteFunction2020_05_31Request.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-cloudfront/source/model/DeleteKeyGroup2020_05_31Request.cpp b/generated/src/aws-cpp-sdk-cloudfront/source/model/DeleteKeyGroup2020_05_31Request.cpp index 9a8dbddeedf..b399c6d0e94 100644 --- a/generated/src/aws-cpp-sdk-cloudfront/source/model/DeleteKeyGroup2020_05_31Request.cpp +++ b/generated/src/aws-cpp-sdk-cloudfront/source/model/DeleteKeyGroup2020_05_31Request.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-cloudfront/source/model/DeleteKeyValueStore2020_05_31Request.cpp b/generated/src/aws-cpp-sdk-cloudfront/source/model/DeleteKeyValueStore2020_05_31Request.cpp index a867b2c43d9..ffefd4a488b 100644 --- a/generated/src/aws-cpp-sdk-cloudfront/source/model/DeleteKeyValueStore2020_05_31Request.cpp +++ b/generated/src/aws-cpp-sdk-cloudfront/source/model/DeleteKeyValueStore2020_05_31Request.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-cloudfront/source/model/DeleteMonitoringSubscription2020_05_31Request.cpp b/generated/src/aws-cpp-sdk-cloudfront/source/model/DeleteMonitoringSubscription2020_05_31Request.cpp index 99cc20b2601..aef3bb896be 100644 --- a/generated/src/aws-cpp-sdk-cloudfront/source/model/DeleteMonitoringSubscription2020_05_31Request.cpp +++ b/generated/src/aws-cpp-sdk-cloudfront/source/model/DeleteMonitoringSubscription2020_05_31Request.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include diff --git a/generated/src/aws-cpp-sdk-cloudfront/source/model/DeleteOriginAccessControl2020_05_31Request.cpp b/generated/src/aws-cpp-sdk-cloudfront/source/model/DeleteOriginAccessControl2020_05_31Request.cpp index b554b8a0e05..721f79e2476 100644 --- a/generated/src/aws-cpp-sdk-cloudfront/source/model/DeleteOriginAccessControl2020_05_31Request.cpp +++ b/generated/src/aws-cpp-sdk-cloudfront/source/model/DeleteOriginAccessControl2020_05_31Request.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-cloudfront/source/model/DeleteOriginRequestPolicy2020_05_31Request.cpp b/generated/src/aws-cpp-sdk-cloudfront/source/model/DeleteOriginRequestPolicy2020_05_31Request.cpp index b2f744e59cf..243b4f949f2 100644 --- a/generated/src/aws-cpp-sdk-cloudfront/source/model/DeleteOriginRequestPolicy2020_05_31Request.cpp +++ b/generated/src/aws-cpp-sdk-cloudfront/source/model/DeleteOriginRequestPolicy2020_05_31Request.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-cloudfront/source/model/DeletePublicKey2020_05_31Request.cpp b/generated/src/aws-cpp-sdk-cloudfront/source/model/DeletePublicKey2020_05_31Request.cpp index ddf348f5b52..f4244eb7e06 100644 --- a/generated/src/aws-cpp-sdk-cloudfront/source/model/DeletePublicKey2020_05_31Request.cpp +++ b/generated/src/aws-cpp-sdk-cloudfront/source/model/DeletePublicKey2020_05_31Request.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-cloudfront/source/model/DeleteRealtimeLogConfig2020_05_31Request.cpp b/generated/src/aws-cpp-sdk-cloudfront/source/model/DeleteRealtimeLogConfig2020_05_31Request.cpp index 6ff3142d2c7..5554179fb76 100644 --- a/generated/src/aws-cpp-sdk-cloudfront/source/model/DeleteRealtimeLogConfig2020_05_31Request.cpp +++ b/generated/src/aws-cpp-sdk-cloudfront/source/model/DeleteRealtimeLogConfig2020_05_31Request.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include diff --git a/generated/src/aws-cpp-sdk-cloudfront/source/model/DeleteResponseHeadersPolicy2020_05_31Request.cpp b/generated/src/aws-cpp-sdk-cloudfront/source/model/DeleteResponseHeadersPolicy2020_05_31Request.cpp index 3f3f570b468..de623f0d213 100644 --- a/generated/src/aws-cpp-sdk-cloudfront/source/model/DeleteResponseHeadersPolicy2020_05_31Request.cpp +++ b/generated/src/aws-cpp-sdk-cloudfront/source/model/DeleteResponseHeadersPolicy2020_05_31Request.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-cloudfront/source/model/DeleteStreamingDistribution2020_05_31Request.cpp b/generated/src/aws-cpp-sdk-cloudfront/source/model/DeleteStreamingDistribution2020_05_31Request.cpp index 9870aab32cf..4b0ceee7a9d 100644 --- a/generated/src/aws-cpp-sdk-cloudfront/source/model/DeleteStreamingDistribution2020_05_31Request.cpp +++ b/generated/src/aws-cpp-sdk-cloudfront/source/model/DeleteStreamingDistribution2020_05_31Request.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-cloudfront/source/model/DescribeFunction2020_05_31Request.cpp b/generated/src/aws-cpp-sdk-cloudfront/source/model/DescribeFunction2020_05_31Request.cpp index 4cc1b5b0558..de2388e2d72 100644 --- a/generated/src/aws-cpp-sdk-cloudfront/source/model/DescribeFunction2020_05_31Request.cpp +++ b/generated/src/aws-cpp-sdk-cloudfront/source/model/DescribeFunction2020_05_31Request.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-cloudfront/source/model/DescribeKeyValueStore2020_05_31Request.cpp b/generated/src/aws-cpp-sdk-cloudfront/source/model/DescribeKeyValueStore2020_05_31Request.cpp index d772f9914c5..04ef15fbbe8 100644 --- a/generated/src/aws-cpp-sdk-cloudfront/source/model/DescribeKeyValueStore2020_05_31Request.cpp +++ b/generated/src/aws-cpp-sdk-cloudfront/source/model/DescribeKeyValueStore2020_05_31Request.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include diff --git a/generated/src/aws-cpp-sdk-cloudfront/source/model/GetCachePolicy2020_05_31Request.cpp b/generated/src/aws-cpp-sdk-cloudfront/source/model/GetCachePolicy2020_05_31Request.cpp index 3003bbc41da..59c6ecbff72 100644 --- a/generated/src/aws-cpp-sdk-cloudfront/source/model/GetCachePolicy2020_05_31Request.cpp +++ b/generated/src/aws-cpp-sdk-cloudfront/source/model/GetCachePolicy2020_05_31Request.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include diff --git a/generated/src/aws-cpp-sdk-cloudfront/source/model/GetCachePolicyConfig2020_05_31Request.cpp b/generated/src/aws-cpp-sdk-cloudfront/source/model/GetCachePolicyConfig2020_05_31Request.cpp index 94397586783..22d271e19df 100644 --- a/generated/src/aws-cpp-sdk-cloudfront/source/model/GetCachePolicyConfig2020_05_31Request.cpp +++ b/generated/src/aws-cpp-sdk-cloudfront/source/model/GetCachePolicyConfig2020_05_31Request.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include diff --git a/generated/src/aws-cpp-sdk-cloudfront/source/model/GetCloudFrontOriginAccessIdentity2020_05_31Request.cpp b/generated/src/aws-cpp-sdk-cloudfront/source/model/GetCloudFrontOriginAccessIdentity2020_05_31Request.cpp index a2e0ed617b4..3c42f0bc1ba 100644 --- a/generated/src/aws-cpp-sdk-cloudfront/source/model/GetCloudFrontOriginAccessIdentity2020_05_31Request.cpp +++ b/generated/src/aws-cpp-sdk-cloudfront/source/model/GetCloudFrontOriginAccessIdentity2020_05_31Request.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include diff --git a/generated/src/aws-cpp-sdk-cloudfront/source/model/GetCloudFrontOriginAccessIdentityConfig2020_05_31Request.cpp b/generated/src/aws-cpp-sdk-cloudfront/source/model/GetCloudFrontOriginAccessIdentityConfig2020_05_31Request.cpp index 1d852c09454..dab4a0e5bd5 100644 --- a/generated/src/aws-cpp-sdk-cloudfront/source/model/GetCloudFrontOriginAccessIdentityConfig2020_05_31Request.cpp +++ b/generated/src/aws-cpp-sdk-cloudfront/source/model/GetCloudFrontOriginAccessIdentityConfig2020_05_31Request.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include diff --git a/generated/src/aws-cpp-sdk-cloudfront/source/model/GetContinuousDeploymentPolicy2020_05_31Request.cpp b/generated/src/aws-cpp-sdk-cloudfront/source/model/GetContinuousDeploymentPolicy2020_05_31Request.cpp index 6609b2dc234..8ec0c320bb8 100644 --- a/generated/src/aws-cpp-sdk-cloudfront/source/model/GetContinuousDeploymentPolicy2020_05_31Request.cpp +++ b/generated/src/aws-cpp-sdk-cloudfront/source/model/GetContinuousDeploymentPolicy2020_05_31Request.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include diff --git a/generated/src/aws-cpp-sdk-cloudfront/source/model/GetContinuousDeploymentPolicyConfig2020_05_31Request.cpp b/generated/src/aws-cpp-sdk-cloudfront/source/model/GetContinuousDeploymentPolicyConfig2020_05_31Request.cpp index e148d1282d0..9b1d7ebaf93 100644 --- a/generated/src/aws-cpp-sdk-cloudfront/source/model/GetContinuousDeploymentPolicyConfig2020_05_31Request.cpp +++ b/generated/src/aws-cpp-sdk-cloudfront/source/model/GetContinuousDeploymentPolicyConfig2020_05_31Request.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include diff --git a/generated/src/aws-cpp-sdk-cloudfront/source/model/GetDistribution2020_05_31Request.cpp b/generated/src/aws-cpp-sdk-cloudfront/source/model/GetDistribution2020_05_31Request.cpp index 7a0b076e151..826250fcece 100644 --- a/generated/src/aws-cpp-sdk-cloudfront/source/model/GetDistribution2020_05_31Request.cpp +++ b/generated/src/aws-cpp-sdk-cloudfront/source/model/GetDistribution2020_05_31Request.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include diff --git a/generated/src/aws-cpp-sdk-cloudfront/source/model/GetDistributionConfig2020_05_31Request.cpp b/generated/src/aws-cpp-sdk-cloudfront/source/model/GetDistributionConfig2020_05_31Request.cpp index 25a063cd844..1e352c47768 100644 --- a/generated/src/aws-cpp-sdk-cloudfront/source/model/GetDistributionConfig2020_05_31Request.cpp +++ b/generated/src/aws-cpp-sdk-cloudfront/source/model/GetDistributionConfig2020_05_31Request.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include diff --git a/generated/src/aws-cpp-sdk-cloudfront/source/model/GetFieldLevelEncryption2020_05_31Request.cpp b/generated/src/aws-cpp-sdk-cloudfront/source/model/GetFieldLevelEncryption2020_05_31Request.cpp index ae688e1d3c7..1fa2e806dd4 100644 --- a/generated/src/aws-cpp-sdk-cloudfront/source/model/GetFieldLevelEncryption2020_05_31Request.cpp +++ b/generated/src/aws-cpp-sdk-cloudfront/source/model/GetFieldLevelEncryption2020_05_31Request.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include diff --git a/generated/src/aws-cpp-sdk-cloudfront/source/model/GetFieldLevelEncryptionConfig2020_05_31Request.cpp b/generated/src/aws-cpp-sdk-cloudfront/source/model/GetFieldLevelEncryptionConfig2020_05_31Request.cpp index daa11269c7e..b62dd1de5b6 100644 --- a/generated/src/aws-cpp-sdk-cloudfront/source/model/GetFieldLevelEncryptionConfig2020_05_31Request.cpp +++ b/generated/src/aws-cpp-sdk-cloudfront/source/model/GetFieldLevelEncryptionConfig2020_05_31Request.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include diff --git a/generated/src/aws-cpp-sdk-cloudfront/source/model/GetFieldLevelEncryptionProfile2020_05_31Request.cpp b/generated/src/aws-cpp-sdk-cloudfront/source/model/GetFieldLevelEncryptionProfile2020_05_31Request.cpp index 14c97e2fe72..543e07e1f5b 100644 --- a/generated/src/aws-cpp-sdk-cloudfront/source/model/GetFieldLevelEncryptionProfile2020_05_31Request.cpp +++ b/generated/src/aws-cpp-sdk-cloudfront/source/model/GetFieldLevelEncryptionProfile2020_05_31Request.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include diff --git a/generated/src/aws-cpp-sdk-cloudfront/source/model/GetFieldLevelEncryptionProfileConfig2020_05_31Request.cpp b/generated/src/aws-cpp-sdk-cloudfront/source/model/GetFieldLevelEncryptionProfileConfig2020_05_31Request.cpp index 145467a5d04..176463bfec7 100644 --- a/generated/src/aws-cpp-sdk-cloudfront/source/model/GetFieldLevelEncryptionProfileConfig2020_05_31Request.cpp +++ b/generated/src/aws-cpp-sdk-cloudfront/source/model/GetFieldLevelEncryptionProfileConfig2020_05_31Request.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include diff --git a/generated/src/aws-cpp-sdk-cloudfront/source/model/GetFunction2020_05_31Request.cpp b/generated/src/aws-cpp-sdk-cloudfront/source/model/GetFunction2020_05_31Request.cpp index a8537e4e610..0f4787ed232 100644 --- a/generated/src/aws-cpp-sdk-cloudfront/source/model/GetFunction2020_05_31Request.cpp +++ b/generated/src/aws-cpp-sdk-cloudfront/source/model/GetFunction2020_05_31Request.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-cloudfront/source/model/GetInvalidation2020_05_31Request.cpp b/generated/src/aws-cpp-sdk-cloudfront/source/model/GetInvalidation2020_05_31Request.cpp index 8df57a4c5f6..2d21e0501aa 100644 --- a/generated/src/aws-cpp-sdk-cloudfront/source/model/GetInvalidation2020_05_31Request.cpp +++ b/generated/src/aws-cpp-sdk-cloudfront/source/model/GetInvalidation2020_05_31Request.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include diff --git a/generated/src/aws-cpp-sdk-cloudfront/source/model/GetKeyGroup2020_05_31Request.cpp b/generated/src/aws-cpp-sdk-cloudfront/source/model/GetKeyGroup2020_05_31Request.cpp index a63e88449f7..79a76a2f100 100644 --- a/generated/src/aws-cpp-sdk-cloudfront/source/model/GetKeyGroup2020_05_31Request.cpp +++ b/generated/src/aws-cpp-sdk-cloudfront/source/model/GetKeyGroup2020_05_31Request.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include diff --git a/generated/src/aws-cpp-sdk-cloudfront/source/model/GetKeyGroupConfig2020_05_31Request.cpp b/generated/src/aws-cpp-sdk-cloudfront/source/model/GetKeyGroupConfig2020_05_31Request.cpp index c81c1d060f0..c35d8153007 100644 --- a/generated/src/aws-cpp-sdk-cloudfront/source/model/GetKeyGroupConfig2020_05_31Request.cpp +++ b/generated/src/aws-cpp-sdk-cloudfront/source/model/GetKeyGroupConfig2020_05_31Request.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include diff --git a/generated/src/aws-cpp-sdk-cloudfront/source/model/GetMonitoringSubscription2020_05_31Request.cpp b/generated/src/aws-cpp-sdk-cloudfront/source/model/GetMonitoringSubscription2020_05_31Request.cpp index 471d2b21bdc..0bd16ed8dbf 100644 --- a/generated/src/aws-cpp-sdk-cloudfront/source/model/GetMonitoringSubscription2020_05_31Request.cpp +++ b/generated/src/aws-cpp-sdk-cloudfront/source/model/GetMonitoringSubscription2020_05_31Request.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include diff --git a/generated/src/aws-cpp-sdk-cloudfront/source/model/GetOriginAccessControl2020_05_31Request.cpp b/generated/src/aws-cpp-sdk-cloudfront/source/model/GetOriginAccessControl2020_05_31Request.cpp index 3ba155eb2cf..daa8bd3cef6 100644 --- a/generated/src/aws-cpp-sdk-cloudfront/source/model/GetOriginAccessControl2020_05_31Request.cpp +++ b/generated/src/aws-cpp-sdk-cloudfront/source/model/GetOriginAccessControl2020_05_31Request.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include diff --git a/generated/src/aws-cpp-sdk-cloudfront/source/model/GetOriginAccessControlConfig2020_05_31Request.cpp b/generated/src/aws-cpp-sdk-cloudfront/source/model/GetOriginAccessControlConfig2020_05_31Request.cpp index 719ab4d6d35..809ec6ab552 100644 --- a/generated/src/aws-cpp-sdk-cloudfront/source/model/GetOriginAccessControlConfig2020_05_31Request.cpp +++ b/generated/src/aws-cpp-sdk-cloudfront/source/model/GetOriginAccessControlConfig2020_05_31Request.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include diff --git a/generated/src/aws-cpp-sdk-cloudfront/source/model/GetOriginRequestPolicy2020_05_31Request.cpp b/generated/src/aws-cpp-sdk-cloudfront/source/model/GetOriginRequestPolicy2020_05_31Request.cpp index 43cfc40fbdc..0f4fbca8398 100644 --- a/generated/src/aws-cpp-sdk-cloudfront/source/model/GetOriginRequestPolicy2020_05_31Request.cpp +++ b/generated/src/aws-cpp-sdk-cloudfront/source/model/GetOriginRequestPolicy2020_05_31Request.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include diff --git a/generated/src/aws-cpp-sdk-cloudfront/source/model/GetOriginRequestPolicyConfig2020_05_31Request.cpp b/generated/src/aws-cpp-sdk-cloudfront/source/model/GetOriginRequestPolicyConfig2020_05_31Request.cpp index ae21ea89d99..81d00ebf0e1 100644 --- a/generated/src/aws-cpp-sdk-cloudfront/source/model/GetOriginRequestPolicyConfig2020_05_31Request.cpp +++ b/generated/src/aws-cpp-sdk-cloudfront/source/model/GetOriginRequestPolicyConfig2020_05_31Request.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include diff --git a/generated/src/aws-cpp-sdk-cloudfront/source/model/GetPublicKey2020_05_31Request.cpp b/generated/src/aws-cpp-sdk-cloudfront/source/model/GetPublicKey2020_05_31Request.cpp index f53e033c99d..5305916fc60 100644 --- a/generated/src/aws-cpp-sdk-cloudfront/source/model/GetPublicKey2020_05_31Request.cpp +++ b/generated/src/aws-cpp-sdk-cloudfront/source/model/GetPublicKey2020_05_31Request.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include diff --git a/generated/src/aws-cpp-sdk-cloudfront/source/model/GetPublicKeyConfig2020_05_31Request.cpp b/generated/src/aws-cpp-sdk-cloudfront/source/model/GetPublicKeyConfig2020_05_31Request.cpp index 5fdda32d52a..b4a26270a74 100644 --- a/generated/src/aws-cpp-sdk-cloudfront/source/model/GetPublicKeyConfig2020_05_31Request.cpp +++ b/generated/src/aws-cpp-sdk-cloudfront/source/model/GetPublicKeyConfig2020_05_31Request.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include diff --git a/generated/src/aws-cpp-sdk-cloudfront/source/model/GetRealtimeLogConfig2020_05_31Request.cpp b/generated/src/aws-cpp-sdk-cloudfront/source/model/GetRealtimeLogConfig2020_05_31Request.cpp index 09f071252ee..499ce25d980 100644 --- a/generated/src/aws-cpp-sdk-cloudfront/source/model/GetRealtimeLogConfig2020_05_31Request.cpp +++ b/generated/src/aws-cpp-sdk-cloudfront/source/model/GetRealtimeLogConfig2020_05_31Request.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include diff --git a/generated/src/aws-cpp-sdk-cloudfront/source/model/GetResponseHeadersPolicy2020_05_31Request.cpp b/generated/src/aws-cpp-sdk-cloudfront/source/model/GetResponseHeadersPolicy2020_05_31Request.cpp index 4497363a93b..f76b4db86b6 100644 --- a/generated/src/aws-cpp-sdk-cloudfront/source/model/GetResponseHeadersPolicy2020_05_31Request.cpp +++ b/generated/src/aws-cpp-sdk-cloudfront/source/model/GetResponseHeadersPolicy2020_05_31Request.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include diff --git a/generated/src/aws-cpp-sdk-cloudfront/source/model/GetResponseHeadersPolicyConfig2020_05_31Request.cpp b/generated/src/aws-cpp-sdk-cloudfront/source/model/GetResponseHeadersPolicyConfig2020_05_31Request.cpp index 0c88eb2eae3..0c6ea5488d0 100644 --- a/generated/src/aws-cpp-sdk-cloudfront/source/model/GetResponseHeadersPolicyConfig2020_05_31Request.cpp +++ b/generated/src/aws-cpp-sdk-cloudfront/source/model/GetResponseHeadersPolicyConfig2020_05_31Request.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include diff --git a/generated/src/aws-cpp-sdk-cloudfront/source/model/GetStreamingDistribution2020_05_31Request.cpp b/generated/src/aws-cpp-sdk-cloudfront/source/model/GetStreamingDistribution2020_05_31Request.cpp index a6299d34616..2f388944e85 100644 --- a/generated/src/aws-cpp-sdk-cloudfront/source/model/GetStreamingDistribution2020_05_31Request.cpp +++ b/generated/src/aws-cpp-sdk-cloudfront/source/model/GetStreamingDistribution2020_05_31Request.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include diff --git a/generated/src/aws-cpp-sdk-cloudfront/source/model/GetStreamingDistributionConfig2020_05_31Request.cpp b/generated/src/aws-cpp-sdk-cloudfront/source/model/GetStreamingDistributionConfig2020_05_31Request.cpp index 8b788894e47..a4562b2b8ce 100644 --- a/generated/src/aws-cpp-sdk-cloudfront/source/model/GetStreamingDistributionConfig2020_05_31Request.cpp +++ b/generated/src/aws-cpp-sdk-cloudfront/source/model/GetStreamingDistributionConfig2020_05_31Request.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include diff --git a/generated/src/aws-cpp-sdk-cloudfront/source/model/ListCachePolicies2020_05_31Request.cpp b/generated/src/aws-cpp-sdk-cloudfront/source/model/ListCachePolicies2020_05_31Request.cpp index be7d2f24d79..f78376f20d1 100644 --- a/generated/src/aws-cpp-sdk-cloudfront/source/model/ListCachePolicies2020_05_31Request.cpp +++ b/generated/src/aws-cpp-sdk-cloudfront/source/model/ListCachePolicies2020_05_31Request.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-cloudfront/source/model/ListCloudFrontOriginAccessIdentities2020_05_31Request.cpp b/generated/src/aws-cpp-sdk-cloudfront/source/model/ListCloudFrontOriginAccessIdentities2020_05_31Request.cpp index fe4f50c2db9..f48acd1114b 100644 --- a/generated/src/aws-cpp-sdk-cloudfront/source/model/ListCloudFrontOriginAccessIdentities2020_05_31Request.cpp +++ b/generated/src/aws-cpp-sdk-cloudfront/source/model/ListCloudFrontOriginAccessIdentities2020_05_31Request.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-cloudfront/source/model/ListConflictingAliases2020_05_31Request.cpp b/generated/src/aws-cpp-sdk-cloudfront/source/model/ListConflictingAliases2020_05_31Request.cpp index 8be9d3f1d90..12f31f89989 100644 --- a/generated/src/aws-cpp-sdk-cloudfront/source/model/ListConflictingAliases2020_05_31Request.cpp +++ b/generated/src/aws-cpp-sdk-cloudfront/source/model/ListConflictingAliases2020_05_31Request.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-cloudfront/source/model/ListContinuousDeploymentPolicies2020_05_31Request.cpp b/generated/src/aws-cpp-sdk-cloudfront/source/model/ListContinuousDeploymentPolicies2020_05_31Request.cpp index 4e03528c14d..6ad7777bdd0 100644 --- a/generated/src/aws-cpp-sdk-cloudfront/source/model/ListContinuousDeploymentPolicies2020_05_31Request.cpp +++ b/generated/src/aws-cpp-sdk-cloudfront/source/model/ListContinuousDeploymentPolicies2020_05_31Request.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-cloudfront/source/model/ListDistributions2020_05_31Request.cpp b/generated/src/aws-cpp-sdk-cloudfront/source/model/ListDistributions2020_05_31Request.cpp index 9dcde1d0c48..7c242546adb 100644 --- a/generated/src/aws-cpp-sdk-cloudfront/source/model/ListDistributions2020_05_31Request.cpp +++ b/generated/src/aws-cpp-sdk-cloudfront/source/model/ListDistributions2020_05_31Request.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-cloudfront/source/model/ListDistributionsByCachePolicyId2020_05_31Request.cpp b/generated/src/aws-cpp-sdk-cloudfront/source/model/ListDistributionsByCachePolicyId2020_05_31Request.cpp index 63f121beec4..1ff7ff7e911 100644 --- a/generated/src/aws-cpp-sdk-cloudfront/source/model/ListDistributionsByCachePolicyId2020_05_31Request.cpp +++ b/generated/src/aws-cpp-sdk-cloudfront/source/model/ListDistributionsByCachePolicyId2020_05_31Request.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-cloudfront/source/model/ListDistributionsByKeyGroup2020_05_31Request.cpp b/generated/src/aws-cpp-sdk-cloudfront/source/model/ListDistributionsByKeyGroup2020_05_31Request.cpp index c8c75dea34b..1706ba0551e 100644 --- a/generated/src/aws-cpp-sdk-cloudfront/source/model/ListDistributionsByKeyGroup2020_05_31Request.cpp +++ b/generated/src/aws-cpp-sdk-cloudfront/source/model/ListDistributionsByKeyGroup2020_05_31Request.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-cloudfront/source/model/ListDistributionsByOriginRequestPolicyId2020_05_31Request.cpp b/generated/src/aws-cpp-sdk-cloudfront/source/model/ListDistributionsByOriginRequestPolicyId2020_05_31Request.cpp index 37729088c11..2835870f20e 100644 --- a/generated/src/aws-cpp-sdk-cloudfront/source/model/ListDistributionsByOriginRequestPolicyId2020_05_31Request.cpp +++ b/generated/src/aws-cpp-sdk-cloudfront/source/model/ListDistributionsByOriginRequestPolicyId2020_05_31Request.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-cloudfront/source/model/ListDistributionsByRealtimeLogConfig2020_05_31Request.cpp b/generated/src/aws-cpp-sdk-cloudfront/source/model/ListDistributionsByRealtimeLogConfig2020_05_31Request.cpp index 6ab194861a4..b34e5b8781c 100644 --- a/generated/src/aws-cpp-sdk-cloudfront/source/model/ListDistributionsByRealtimeLogConfig2020_05_31Request.cpp +++ b/generated/src/aws-cpp-sdk-cloudfront/source/model/ListDistributionsByRealtimeLogConfig2020_05_31Request.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include diff --git a/generated/src/aws-cpp-sdk-cloudfront/source/model/ListDistributionsByResponseHeadersPolicyId2020_05_31Request.cpp b/generated/src/aws-cpp-sdk-cloudfront/source/model/ListDistributionsByResponseHeadersPolicyId2020_05_31Request.cpp index 8385bcd4ae8..06ce65ff419 100644 --- a/generated/src/aws-cpp-sdk-cloudfront/source/model/ListDistributionsByResponseHeadersPolicyId2020_05_31Request.cpp +++ b/generated/src/aws-cpp-sdk-cloudfront/source/model/ListDistributionsByResponseHeadersPolicyId2020_05_31Request.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-cloudfront/source/model/ListDistributionsByWebACLId2020_05_31Request.cpp b/generated/src/aws-cpp-sdk-cloudfront/source/model/ListDistributionsByWebACLId2020_05_31Request.cpp index bf2cf056eaf..226f00c73bc 100644 --- a/generated/src/aws-cpp-sdk-cloudfront/source/model/ListDistributionsByWebACLId2020_05_31Request.cpp +++ b/generated/src/aws-cpp-sdk-cloudfront/source/model/ListDistributionsByWebACLId2020_05_31Request.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-cloudfront/source/model/ListFieldLevelEncryptionConfigs2020_05_31Request.cpp b/generated/src/aws-cpp-sdk-cloudfront/source/model/ListFieldLevelEncryptionConfigs2020_05_31Request.cpp index d8eecbefc99..a025b76d061 100644 --- a/generated/src/aws-cpp-sdk-cloudfront/source/model/ListFieldLevelEncryptionConfigs2020_05_31Request.cpp +++ b/generated/src/aws-cpp-sdk-cloudfront/source/model/ListFieldLevelEncryptionConfigs2020_05_31Request.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-cloudfront/source/model/ListFieldLevelEncryptionProfiles2020_05_31Request.cpp b/generated/src/aws-cpp-sdk-cloudfront/source/model/ListFieldLevelEncryptionProfiles2020_05_31Request.cpp index 63c4b58639c..eff521f91d0 100644 --- a/generated/src/aws-cpp-sdk-cloudfront/source/model/ListFieldLevelEncryptionProfiles2020_05_31Request.cpp +++ b/generated/src/aws-cpp-sdk-cloudfront/source/model/ListFieldLevelEncryptionProfiles2020_05_31Request.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-cloudfront/source/model/ListFunctions2020_05_31Request.cpp b/generated/src/aws-cpp-sdk-cloudfront/source/model/ListFunctions2020_05_31Request.cpp index 1b8e042e75e..89a36e9d479 100644 --- a/generated/src/aws-cpp-sdk-cloudfront/source/model/ListFunctions2020_05_31Request.cpp +++ b/generated/src/aws-cpp-sdk-cloudfront/source/model/ListFunctions2020_05_31Request.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-cloudfront/source/model/ListInvalidations2020_05_31Request.cpp b/generated/src/aws-cpp-sdk-cloudfront/source/model/ListInvalidations2020_05_31Request.cpp index 8496a6af1e5..d2fa6ee9467 100644 --- a/generated/src/aws-cpp-sdk-cloudfront/source/model/ListInvalidations2020_05_31Request.cpp +++ b/generated/src/aws-cpp-sdk-cloudfront/source/model/ListInvalidations2020_05_31Request.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-cloudfront/source/model/ListKeyGroups2020_05_31Request.cpp b/generated/src/aws-cpp-sdk-cloudfront/source/model/ListKeyGroups2020_05_31Request.cpp index eaf140e23d1..0adf4878640 100644 --- a/generated/src/aws-cpp-sdk-cloudfront/source/model/ListKeyGroups2020_05_31Request.cpp +++ b/generated/src/aws-cpp-sdk-cloudfront/source/model/ListKeyGroups2020_05_31Request.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-cloudfront/source/model/ListKeyValueStores2020_05_31Request.cpp b/generated/src/aws-cpp-sdk-cloudfront/source/model/ListKeyValueStores2020_05_31Request.cpp index baf7cdc8a7f..c9cb80658dd 100644 --- a/generated/src/aws-cpp-sdk-cloudfront/source/model/ListKeyValueStores2020_05_31Request.cpp +++ b/generated/src/aws-cpp-sdk-cloudfront/source/model/ListKeyValueStores2020_05_31Request.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-cloudfront/source/model/ListOriginAccessControls2020_05_31Request.cpp b/generated/src/aws-cpp-sdk-cloudfront/source/model/ListOriginAccessControls2020_05_31Request.cpp index 5b805d7377b..2328d2a5bdf 100644 --- a/generated/src/aws-cpp-sdk-cloudfront/source/model/ListOriginAccessControls2020_05_31Request.cpp +++ b/generated/src/aws-cpp-sdk-cloudfront/source/model/ListOriginAccessControls2020_05_31Request.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-cloudfront/source/model/ListOriginRequestPolicies2020_05_31Request.cpp b/generated/src/aws-cpp-sdk-cloudfront/source/model/ListOriginRequestPolicies2020_05_31Request.cpp index e6673e0cbc4..ca2d9a3917d 100644 --- a/generated/src/aws-cpp-sdk-cloudfront/source/model/ListOriginRequestPolicies2020_05_31Request.cpp +++ b/generated/src/aws-cpp-sdk-cloudfront/source/model/ListOriginRequestPolicies2020_05_31Request.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-cloudfront/source/model/ListPublicKeys2020_05_31Request.cpp b/generated/src/aws-cpp-sdk-cloudfront/source/model/ListPublicKeys2020_05_31Request.cpp index 7263a18e637..6889dd9303d 100644 --- a/generated/src/aws-cpp-sdk-cloudfront/source/model/ListPublicKeys2020_05_31Request.cpp +++ b/generated/src/aws-cpp-sdk-cloudfront/source/model/ListPublicKeys2020_05_31Request.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-cloudfront/source/model/ListRealtimeLogConfigs2020_05_31Request.cpp b/generated/src/aws-cpp-sdk-cloudfront/source/model/ListRealtimeLogConfigs2020_05_31Request.cpp index 95d215c1c4f..f96d7398418 100644 --- a/generated/src/aws-cpp-sdk-cloudfront/source/model/ListRealtimeLogConfigs2020_05_31Request.cpp +++ b/generated/src/aws-cpp-sdk-cloudfront/source/model/ListRealtimeLogConfigs2020_05_31Request.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-cloudfront/source/model/ListResponseHeadersPolicies2020_05_31Request.cpp b/generated/src/aws-cpp-sdk-cloudfront/source/model/ListResponseHeadersPolicies2020_05_31Request.cpp index ea35991ae22..4b08ecf2d80 100644 --- a/generated/src/aws-cpp-sdk-cloudfront/source/model/ListResponseHeadersPolicies2020_05_31Request.cpp +++ b/generated/src/aws-cpp-sdk-cloudfront/source/model/ListResponseHeadersPolicies2020_05_31Request.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-cloudfront/source/model/ListStreamingDistributions2020_05_31Request.cpp b/generated/src/aws-cpp-sdk-cloudfront/source/model/ListStreamingDistributions2020_05_31Request.cpp index 4fc8c9c08be..b67b6f78279 100644 --- a/generated/src/aws-cpp-sdk-cloudfront/source/model/ListStreamingDistributions2020_05_31Request.cpp +++ b/generated/src/aws-cpp-sdk-cloudfront/source/model/ListStreamingDistributions2020_05_31Request.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-cloudfront/source/model/ListTagsForResource2020_05_31Request.cpp b/generated/src/aws-cpp-sdk-cloudfront/source/model/ListTagsForResource2020_05_31Request.cpp index 2b9cdd0385d..cec1175940e 100644 --- a/generated/src/aws-cpp-sdk-cloudfront/source/model/ListTagsForResource2020_05_31Request.cpp +++ b/generated/src/aws-cpp-sdk-cloudfront/source/model/ListTagsForResource2020_05_31Request.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-cloudfront/source/model/PublishFunction2020_05_31Request.cpp b/generated/src/aws-cpp-sdk-cloudfront/source/model/PublishFunction2020_05_31Request.cpp index a1bf96c6656..7b1fa47f336 100644 --- a/generated/src/aws-cpp-sdk-cloudfront/source/model/PublishFunction2020_05_31Request.cpp +++ b/generated/src/aws-cpp-sdk-cloudfront/source/model/PublishFunction2020_05_31Request.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-cloudfront/source/model/TagResource2020_05_31Request.cpp b/generated/src/aws-cpp-sdk-cloudfront/source/model/TagResource2020_05_31Request.cpp index abe3afba80f..ddc718f0be9 100644 --- a/generated/src/aws-cpp-sdk-cloudfront/source/model/TagResource2020_05_31Request.cpp +++ b/generated/src/aws-cpp-sdk-cloudfront/source/model/TagResource2020_05_31Request.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-cloudfront/source/model/TestFunction2020_05_31Request.cpp b/generated/src/aws-cpp-sdk-cloudfront/source/model/TestFunction2020_05_31Request.cpp index 6940c6a8297..76dfab574a0 100644 --- a/generated/src/aws-cpp-sdk-cloudfront/source/model/TestFunction2020_05_31Request.cpp +++ b/generated/src/aws-cpp-sdk-cloudfront/source/model/TestFunction2020_05_31Request.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-cloudfront/source/model/UntagResource2020_05_31Request.cpp b/generated/src/aws-cpp-sdk-cloudfront/source/model/UntagResource2020_05_31Request.cpp index a90ad50e6bc..c03e314c9d1 100644 --- a/generated/src/aws-cpp-sdk-cloudfront/source/model/UntagResource2020_05_31Request.cpp +++ b/generated/src/aws-cpp-sdk-cloudfront/source/model/UntagResource2020_05_31Request.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-cloudfront/source/model/UpdateCachePolicy2020_05_31Request.cpp b/generated/src/aws-cpp-sdk-cloudfront/source/model/UpdateCachePolicy2020_05_31Request.cpp index ccfdf3fc810..d3feaa8d835 100644 --- a/generated/src/aws-cpp-sdk-cloudfront/source/model/UpdateCachePolicy2020_05_31Request.cpp +++ b/generated/src/aws-cpp-sdk-cloudfront/source/model/UpdateCachePolicy2020_05_31Request.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-cloudfront/source/model/UpdateCloudFrontOriginAccessIdentity2020_05_31Request.cpp b/generated/src/aws-cpp-sdk-cloudfront/source/model/UpdateCloudFrontOriginAccessIdentity2020_05_31Request.cpp index 904786b4ffb..8b3a9c06770 100644 --- a/generated/src/aws-cpp-sdk-cloudfront/source/model/UpdateCloudFrontOriginAccessIdentity2020_05_31Request.cpp +++ b/generated/src/aws-cpp-sdk-cloudfront/source/model/UpdateCloudFrontOriginAccessIdentity2020_05_31Request.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-cloudfront/source/model/UpdateContinuousDeploymentPolicy2020_05_31Request.cpp b/generated/src/aws-cpp-sdk-cloudfront/source/model/UpdateContinuousDeploymentPolicy2020_05_31Request.cpp index 5cc92297e9b..1dd634582b2 100644 --- a/generated/src/aws-cpp-sdk-cloudfront/source/model/UpdateContinuousDeploymentPolicy2020_05_31Request.cpp +++ b/generated/src/aws-cpp-sdk-cloudfront/source/model/UpdateContinuousDeploymentPolicy2020_05_31Request.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-cloudfront/source/model/UpdateDistribution2020_05_31Request.cpp b/generated/src/aws-cpp-sdk-cloudfront/source/model/UpdateDistribution2020_05_31Request.cpp index 559dfca898a..f2e76ff76e5 100644 --- a/generated/src/aws-cpp-sdk-cloudfront/source/model/UpdateDistribution2020_05_31Request.cpp +++ b/generated/src/aws-cpp-sdk-cloudfront/source/model/UpdateDistribution2020_05_31Request.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-cloudfront/source/model/UpdateDistributionWithStagingConfig2020_05_31Request.cpp b/generated/src/aws-cpp-sdk-cloudfront/source/model/UpdateDistributionWithStagingConfig2020_05_31Request.cpp index 6dc3961aa9b..4d2395bb8c1 100644 --- a/generated/src/aws-cpp-sdk-cloudfront/source/model/UpdateDistributionWithStagingConfig2020_05_31Request.cpp +++ b/generated/src/aws-cpp-sdk-cloudfront/source/model/UpdateDistributionWithStagingConfig2020_05_31Request.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-cloudfront/source/model/UpdateFieldLevelEncryptionConfig2020_05_31Request.cpp b/generated/src/aws-cpp-sdk-cloudfront/source/model/UpdateFieldLevelEncryptionConfig2020_05_31Request.cpp index 596442f41c7..ffe698aa5e7 100644 --- a/generated/src/aws-cpp-sdk-cloudfront/source/model/UpdateFieldLevelEncryptionConfig2020_05_31Request.cpp +++ b/generated/src/aws-cpp-sdk-cloudfront/source/model/UpdateFieldLevelEncryptionConfig2020_05_31Request.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-cloudfront/source/model/UpdateFieldLevelEncryptionProfile2020_05_31Request.cpp b/generated/src/aws-cpp-sdk-cloudfront/source/model/UpdateFieldLevelEncryptionProfile2020_05_31Request.cpp index 04fb9e89c0a..0b0cf713b73 100644 --- a/generated/src/aws-cpp-sdk-cloudfront/source/model/UpdateFieldLevelEncryptionProfile2020_05_31Request.cpp +++ b/generated/src/aws-cpp-sdk-cloudfront/source/model/UpdateFieldLevelEncryptionProfile2020_05_31Request.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-cloudfront/source/model/UpdateFunction2020_05_31Request.cpp b/generated/src/aws-cpp-sdk-cloudfront/source/model/UpdateFunction2020_05_31Request.cpp index ff3c5be550b..b88ac2c3595 100644 --- a/generated/src/aws-cpp-sdk-cloudfront/source/model/UpdateFunction2020_05_31Request.cpp +++ b/generated/src/aws-cpp-sdk-cloudfront/source/model/UpdateFunction2020_05_31Request.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-cloudfront/source/model/UpdateKeyGroup2020_05_31Request.cpp b/generated/src/aws-cpp-sdk-cloudfront/source/model/UpdateKeyGroup2020_05_31Request.cpp index 5c1877d09d8..e0ff620d773 100644 --- a/generated/src/aws-cpp-sdk-cloudfront/source/model/UpdateKeyGroup2020_05_31Request.cpp +++ b/generated/src/aws-cpp-sdk-cloudfront/source/model/UpdateKeyGroup2020_05_31Request.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-cloudfront/source/model/UpdateKeyValueStore2020_05_31Request.cpp b/generated/src/aws-cpp-sdk-cloudfront/source/model/UpdateKeyValueStore2020_05_31Request.cpp index c15f98005f6..6e0836d4e57 100644 --- a/generated/src/aws-cpp-sdk-cloudfront/source/model/UpdateKeyValueStore2020_05_31Request.cpp +++ b/generated/src/aws-cpp-sdk-cloudfront/source/model/UpdateKeyValueStore2020_05_31Request.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-cloudfront/source/model/UpdateOriginAccessControl2020_05_31Request.cpp b/generated/src/aws-cpp-sdk-cloudfront/source/model/UpdateOriginAccessControl2020_05_31Request.cpp index b13a55a6c24..fc5538f4dae 100644 --- a/generated/src/aws-cpp-sdk-cloudfront/source/model/UpdateOriginAccessControl2020_05_31Request.cpp +++ b/generated/src/aws-cpp-sdk-cloudfront/source/model/UpdateOriginAccessControl2020_05_31Request.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-cloudfront/source/model/UpdateOriginRequestPolicy2020_05_31Request.cpp b/generated/src/aws-cpp-sdk-cloudfront/source/model/UpdateOriginRequestPolicy2020_05_31Request.cpp index 2270d589c48..b1ca6fac0e7 100644 --- a/generated/src/aws-cpp-sdk-cloudfront/source/model/UpdateOriginRequestPolicy2020_05_31Request.cpp +++ b/generated/src/aws-cpp-sdk-cloudfront/source/model/UpdateOriginRequestPolicy2020_05_31Request.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-cloudfront/source/model/UpdatePublicKey2020_05_31Request.cpp b/generated/src/aws-cpp-sdk-cloudfront/source/model/UpdatePublicKey2020_05_31Request.cpp index c37718aa566..2102602c5e1 100644 --- a/generated/src/aws-cpp-sdk-cloudfront/source/model/UpdatePublicKey2020_05_31Request.cpp +++ b/generated/src/aws-cpp-sdk-cloudfront/source/model/UpdatePublicKey2020_05_31Request.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-cloudfront/source/model/UpdateRealtimeLogConfig2020_05_31Request.cpp b/generated/src/aws-cpp-sdk-cloudfront/source/model/UpdateRealtimeLogConfig2020_05_31Request.cpp index ec462d0ed54..9424ec4ad16 100644 --- a/generated/src/aws-cpp-sdk-cloudfront/source/model/UpdateRealtimeLogConfig2020_05_31Request.cpp +++ b/generated/src/aws-cpp-sdk-cloudfront/source/model/UpdateRealtimeLogConfig2020_05_31Request.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include diff --git a/generated/src/aws-cpp-sdk-cloudfront/source/model/UpdateResponseHeadersPolicy2020_05_31Request.cpp b/generated/src/aws-cpp-sdk-cloudfront/source/model/UpdateResponseHeadersPolicy2020_05_31Request.cpp index 781d1e28d08..e5c8cafcb54 100644 --- a/generated/src/aws-cpp-sdk-cloudfront/source/model/UpdateResponseHeadersPolicy2020_05_31Request.cpp +++ b/generated/src/aws-cpp-sdk-cloudfront/source/model/UpdateResponseHeadersPolicy2020_05_31Request.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-cloudfront/source/model/UpdateStreamingDistribution2020_05_31Request.cpp b/generated/src/aws-cpp-sdk-cloudfront/source/model/UpdateStreamingDistribution2020_05_31Request.cpp index 8a25b8d471d..dbc8d07f777 100644 --- a/generated/src/aws-cpp-sdk-cloudfront/source/model/UpdateStreamingDistribution2020_05_31Request.cpp +++ b/generated/src/aws-cpp-sdk-cloudfront/source/model/UpdateStreamingDistribution2020_05_31Request.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/QuickSightClient.h b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/QuickSightClient.h index f2735771566..35ac5b8afe3 100644 --- a/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/QuickSightClient.h +++ b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/QuickSightClient.h @@ -80,6 +80,56 @@ namespace QuickSight /* End of legacy constructors due deprecation */ virtual ~QuickSightClient(); + /** + *

Creates new reviewed answers for a Q Topic.

See Also:

AWS + * API Reference

+ */ + virtual Model::BatchCreateTopicReviewedAnswerOutcome BatchCreateTopicReviewedAnswer(const Model::BatchCreateTopicReviewedAnswerRequest& request) const; + + /** + * A Callable wrapper for BatchCreateTopicReviewedAnswer that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::BatchCreateTopicReviewedAnswerOutcomeCallable BatchCreateTopicReviewedAnswerCallable(const BatchCreateTopicReviewedAnswerRequestT& request) const + { + return SubmitCallable(&QuickSightClient::BatchCreateTopicReviewedAnswer, request); + } + + /** + * An Async wrapper for BatchCreateTopicReviewedAnswer that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void BatchCreateTopicReviewedAnswerAsync(const BatchCreateTopicReviewedAnswerRequestT& request, const BatchCreateTopicReviewedAnswerResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&QuickSightClient::BatchCreateTopicReviewedAnswer, request, handler, context); + } + + /** + *

Deletes reviewed answers for Q Topic.

See Also:

AWS + * API Reference

+ */ + virtual Model::BatchDeleteTopicReviewedAnswerOutcome BatchDeleteTopicReviewedAnswer(const Model::BatchDeleteTopicReviewedAnswerRequest& request) const; + + /** + * A Callable wrapper for BatchDeleteTopicReviewedAnswer that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::BatchDeleteTopicReviewedAnswerOutcomeCallable BatchDeleteTopicReviewedAnswerCallable(const BatchDeleteTopicReviewedAnswerRequestT& request) const + { + return SubmitCallable(&QuickSightClient::BatchDeleteTopicReviewedAnswer, request); + } + + /** + * An Async wrapper for BatchDeleteTopicReviewedAnswer that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void BatchDeleteTopicReviewedAnswerAsync(const BatchDeleteTopicReviewedAnswerRequestT& request, const BatchDeleteTopicReviewedAnswerResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&QuickSightClient::BatchDeleteTopicReviewedAnswer, request, handler, context); + } + /** *

Cancels an ongoing ingestion of data into SPICE.

See Also:

* Lists all reviewed answers for a Q Topic.

See Also:

AWS + * API Reference

+ */ + virtual Model::ListTopicReviewedAnswersOutcome ListTopicReviewedAnswers(const Model::ListTopicReviewedAnswersRequest& request) const; + + /** + * A Callable wrapper for ListTopicReviewedAnswers that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::ListTopicReviewedAnswersOutcomeCallable ListTopicReviewedAnswersCallable(const ListTopicReviewedAnswersRequestT& request) const + { + return SubmitCallable(&QuickSightClient::ListTopicReviewedAnswers, request); + } + + /** + * An Async wrapper for ListTopicReviewedAnswers that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void ListTopicReviewedAnswersAsync(const ListTopicReviewedAnswersRequestT& request, const ListTopicReviewedAnswersResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&QuickSightClient::ListTopicReviewedAnswers, request, handler, context); + } + /** *

Lists all of the topics within an account.

See Also:

AWS diff --git a/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/QuickSightServiceClientModel.h b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/QuickSightServiceClientModel.h index 982fa65a698..0bccfd9b964 100644 --- a/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/QuickSightServiceClientModel.h +++ b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/QuickSightServiceClientModel.h @@ -18,6 +18,8 @@ /* End of generic header includes */ /* Service model headers required in QuickSightClient header */ +#include +#include #include #include #include @@ -140,6 +142,7 @@ #include #include #include +#include #include #include #include @@ -232,6 +235,8 @@ namespace Aws namespace Model { /* Service model forward declarations required in QuickSightClient header */ + class BatchCreateTopicReviewedAnswerRequest; + class BatchDeleteTopicReviewedAnswerRequest; class CancelIngestionRequest; class CreateAccountCustomizationRequest; class CreateAccountSubscriptionRequest; @@ -354,6 +359,7 @@ namespace Aws class ListThemeVersionsRequest; class ListThemesRequest; class ListTopicRefreshSchedulesRequest; + class ListTopicReviewedAnswersRequest; class ListTopicsRequest; class ListUserGroupsRequest; class ListUsersRequest; @@ -409,6 +415,8 @@ namespace Aws /* End of service model forward declarations required in QuickSightClient header */ /* Service model Outcome class definitions */ + typedef Aws::Utils::Outcome BatchCreateTopicReviewedAnswerOutcome; + typedef Aws::Utils::Outcome BatchDeleteTopicReviewedAnswerOutcome; typedef Aws::Utils::Outcome CancelIngestionOutcome; typedef Aws::Utils::Outcome CreateAccountCustomizationOutcome; typedef Aws::Utils::Outcome CreateAccountSubscriptionOutcome; @@ -531,6 +539,7 @@ namespace Aws typedef Aws::Utils::Outcome ListThemeVersionsOutcome; typedef Aws::Utils::Outcome ListThemesOutcome; typedef Aws::Utils::Outcome ListTopicRefreshSchedulesOutcome; + typedef Aws::Utils::Outcome ListTopicReviewedAnswersOutcome; typedef Aws::Utils::Outcome ListTopicsOutcome; typedef Aws::Utils::Outcome ListUserGroupsOutcome; typedef Aws::Utils::Outcome ListUsersOutcome; @@ -586,6 +595,8 @@ namespace Aws /* End of service model Outcome class definitions */ /* Service model Outcome callable definitions */ + typedef std::future BatchCreateTopicReviewedAnswerOutcomeCallable; + typedef std::future BatchDeleteTopicReviewedAnswerOutcomeCallable; typedef std::future CancelIngestionOutcomeCallable; typedef std::future CreateAccountCustomizationOutcomeCallable; typedef std::future CreateAccountSubscriptionOutcomeCallable; @@ -708,6 +719,7 @@ namespace Aws typedef std::future ListThemeVersionsOutcomeCallable; typedef std::future ListThemesOutcomeCallable; typedef std::future ListTopicRefreshSchedulesOutcomeCallable; + typedef std::future ListTopicReviewedAnswersOutcomeCallable; typedef std::future ListTopicsOutcomeCallable; typedef std::future ListUserGroupsOutcomeCallable; typedef std::future ListUsersOutcomeCallable; @@ -766,6 +778,8 @@ namespace Aws class QuickSightClient; /* Service model async handlers definitions */ + typedef std::function&) > BatchCreateTopicReviewedAnswerResponseReceivedHandler; + typedef std::function&) > BatchDeleteTopicReviewedAnswerResponseReceivedHandler; typedef std::function&) > CancelIngestionResponseReceivedHandler; typedef std::function&) > CreateAccountCustomizationResponseReceivedHandler; typedef std::function&) > CreateAccountSubscriptionResponseReceivedHandler; @@ -888,6 +902,7 @@ namespace Aws typedef std::function&) > ListThemeVersionsResponseReceivedHandler; typedef std::function&) > ListThemesResponseReceivedHandler; typedef std::function&) > ListTopicRefreshSchedulesResponseReceivedHandler; + typedef std::function&) > ListTopicReviewedAnswersResponseReceivedHandler; typedef std::function&) > ListTopicsResponseReceivedHandler; typedef std::function&) > ListUserGroupsResponseReceivedHandler; typedef std::function&) > ListUsersResponseReceivedHandler; diff --git a/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/AggFunction.h b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/AggFunction.h new file mode 100644 index 00000000000..ea707609a3d --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/AggFunction.h @@ -0,0 +1,116 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace QuickSight +{ +namespace Model +{ + + /** + *

The definition of an Agg function.

See Also:

AWS + * API Reference

+ */ + class AggFunction + { + public: + AWS_QUICKSIGHT_API AggFunction(); + AWS_QUICKSIGHT_API AggFunction(Aws::Utils::Json::JsonView jsonValue); + AWS_QUICKSIGHT_API AggFunction& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const; + + + ///@{ + /** + *

The aggregation of an Agg function.

+ */ + inline const AggType& GetAggregation() const{ return m_aggregation; } + inline bool AggregationHasBeenSet() const { return m_aggregationHasBeenSet; } + inline void SetAggregation(const AggType& value) { m_aggregationHasBeenSet = true; m_aggregation = value; } + inline void SetAggregation(AggType&& value) { m_aggregationHasBeenSet = true; m_aggregation = std::move(value); } + inline AggFunction& WithAggregation(const AggType& value) { SetAggregation(value); return *this;} + inline AggFunction& WithAggregation(AggType&& value) { SetAggregation(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

The aggregation parameters for an Agg function.

+ */ + inline const Aws::Map& GetAggregationFunctionParameters() const{ return m_aggregationFunctionParameters; } + inline bool AggregationFunctionParametersHasBeenSet() const { return m_aggregationFunctionParametersHasBeenSet; } + inline void SetAggregationFunctionParameters(const Aws::Map& value) { m_aggregationFunctionParametersHasBeenSet = true; m_aggregationFunctionParameters = value; } + inline void SetAggregationFunctionParameters(Aws::Map&& value) { m_aggregationFunctionParametersHasBeenSet = true; m_aggregationFunctionParameters = std::move(value); } + inline AggFunction& WithAggregationFunctionParameters(const Aws::Map& value) { SetAggregationFunctionParameters(value); return *this;} + inline AggFunction& WithAggregationFunctionParameters(Aws::Map&& value) { SetAggregationFunctionParameters(std::move(value)); return *this;} + inline AggFunction& AddAggregationFunctionParameters(const Aws::String& key, const Aws::String& value) { m_aggregationFunctionParametersHasBeenSet = true; m_aggregationFunctionParameters.emplace(key, value); return *this; } + inline AggFunction& AddAggregationFunctionParameters(Aws::String&& key, const Aws::String& value) { m_aggregationFunctionParametersHasBeenSet = true; m_aggregationFunctionParameters.emplace(std::move(key), value); return *this; } + inline AggFunction& AddAggregationFunctionParameters(const Aws::String& key, Aws::String&& value) { m_aggregationFunctionParametersHasBeenSet = true; m_aggregationFunctionParameters.emplace(key, std::move(value)); return *this; } + inline AggFunction& AddAggregationFunctionParameters(Aws::String&& key, Aws::String&& value) { m_aggregationFunctionParametersHasBeenSet = true; m_aggregationFunctionParameters.emplace(std::move(key), std::move(value)); return *this; } + inline AggFunction& AddAggregationFunctionParameters(const char* key, Aws::String&& value) { m_aggregationFunctionParametersHasBeenSet = true; m_aggregationFunctionParameters.emplace(key, std::move(value)); return *this; } + inline AggFunction& AddAggregationFunctionParameters(Aws::String&& key, const char* value) { m_aggregationFunctionParametersHasBeenSet = true; m_aggregationFunctionParameters.emplace(std::move(key), value); return *this; } + inline AggFunction& AddAggregationFunctionParameters(const char* key, const char* value) { m_aggregationFunctionParametersHasBeenSet = true; m_aggregationFunctionParameters.emplace(key, value); return *this; } + ///@} + + ///@{ + /** + *

The period of an Agg function.

+ */ + inline const TopicTimeGranularity& GetPeriod() const{ return m_period; } + inline bool PeriodHasBeenSet() const { return m_periodHasBeenSet; } + inline void SetPeriod(const TopicTimeGranularity& value) { m_periodHasBeenSet = true; m_period = value; } + inline void SetPeriod(TopicTimeGranularity&& value) { m_periodHasBeenSet = true; m_period = std::move(value); } + inline AggFunction& WithPeriod(const TopicTimeGranularity& value) { SetPeriod(value); return *this;} + inline AggFunction& WithPeriod(TopicTimeGranularity&& value) { SetPeriod(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

The period field for an Agg function.

+ */ + inline const Aws::String& GetPeriodField() const{ return m_periodField; } + inline bool PeriodFieldHasBeenSet() const { return m_periodFieldHasBeenSet; } + inline void SetPeriodField(const Aws::String& value) { m_periodFieldHasBeenSet = true; m_periodField = value; } + inline void SetPeriodField(Aws::String&& value) { m_periodFieldHasBeenSet = true; m_periodField = std::move(value); } + inline void SetPeriodField(const char* value) { m_periodFieldHasBeenSet = true; m_periodField.assign(value); } + inline AggFunction& WithPeriodField(const Aws::String& value) { SetPeriodField(value); return *this;} + inline AggFunction& WithPeriodField(Aws::String&& value) { SetPeriodField(std::move(value)); return *this;} + inline AggFunction& WithPeriodField(const char* value) { SetPeriodField(value); return *this;} + ///@} + private: + + AggType m_aggregation; + bool m_aggregationHasBeenSet = false; + + Aws::Map m_aggregationFunctionParameters; + bool m_aggregationFunctionParametersHasBeenSet = false; + + TopicTimeGranularity m_period; + bool m_periodHasBeenSet = false; + + Aws::String m_periodField; + bool m_periodFieldHasBeenSet = false; + }; + +} // namespace Model +} // namespace QuickSight +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/AggType.h b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/AggType.h new file mode 100644 index 00000000000..d9e7cada307 --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/AggType.h @@ -0,0 +1,49 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace QuickSight +{ +namespace Model +{ + enum class AggType + { + NOT_SET, + SUM, + MIN, + MAX, + COUNT, + AVERAGE, + DISTINCT_COUNT, + STDEV, + STDEVP, + VAR, + VARP, + PERCENTILE, + MEDIAN, + PTD_SUM, + PTD_MIN, + PTD_MAX, + PTD_COUNT, + PTD_DISTINCT_COUNT, + PTD_AVERAGE, + COLUMN, + CUSTOM + }; + +namespace AggTypeMapper +{ +AWS_QUICKSIGHT_API AggType GetAggTypeForName(const Aws::String& name); + +AWS_QUICKSIGHT_API Aws::String GetNameForAggType(AggType value); +} // namespace AggTypeMapper +} // namespace Model +} // namespace QuickSight +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/AggregationPartitionBy.h b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/AggregationPartitionBy.h new file mode 100644 index 00000000000..03afebb8f55 --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/AggregationPartitionBy.h @@ -0,0 +1,79 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace QuickSight +{ +namespace Model +{ + + /** + *

The definition of an AggregationPartitionBy.

See + * Also:

AWS + * API Reference

+ */ + class AggregationPartitionBy + { + public: + AWS_QUICKSIGHT_API AggregationPartitionBy(); + AWS_QUICKSIGHT_API AggregationPartitionBy(Aws::Utils::Json::JsonView jsonValue); + AWS_QUICKSIGHT_API AggregationPartitionBy& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const; + + + ///@{ + /** + *

The field Name for an AggregationPartitionBy.

+ */ + inline const Aws::String& GetFieldName() const{ return m_fieldName; } + inline bool FieldNameHasBeenSet() const { return m_fieldNameHasBeenSet; } + inline void SetFieldName(const Aws::String& value) { m_fieldNameHasBeenSet = true; m_fieldName = value; } + inline void SetFieldName(Aws::String&& value) { m_fieldNameHasBeenSet = true; m_fieldName = std::move(value); } + inline void SetFieldName(const char* value) { m_fieldNameHasBeenSet = true; m_fieldName.assign(value); } + inline AggregationPartitionBy& WithFieldName(const Aws::String& value) { SetFieldName(value); return *this;} + inline AggregationPartitionBy& WithFieldName(Aws::String&& value) { SetFieldName(std::move(value)); return *this;} + inline AggregationPartitionBy& WithFieldName(const char* value) { SetFieldName(value); return *this;} + ///@} + + ///@{ + /** + *

The TimeGranularity for an + * AggregationPartitionBy.

+ */ + inline const TimeGranularity& GetTimeGranularity() const{ return m_timeGranularity; } + inline bool TimeGranularityHasBeenSet() const { return m_timeGranularityHasBeenSet; } + inline void SetTimeGranularity(const TimeGranularity& value) { m_timeGranularityHasBeenSet = true; m_timeGranularity = value; } + inline void SetTimeGranularity(TimeGranularity&& value) { m_timeGranularityHasBeenSet = true; m_timeGranularity = std::move(value); } + inline AggregationPartitionBy& WithTimeGranularity(const TimeGranularity& value) { SetTimeGranularity(value); return *this;} + inline AggregationPartitionBy& WithTimeGranularity(TimeGranularity&& value) { SetTimeGranularity(std::move(value)); return *this;} + ///@} + private: + + Aws::String m_fieldName; + bool m_fieldNameHasBeenSet = false; + + TimeGranularity m_timeGranularity; + bool m_timeGranularityHasBeenSet = false; + }; + +} // namespace Model +} // namespace QuickSight +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/Anchor.h b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/Anchor.h new file mode 100644 index 00000000000..43bbb78743c --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/Anchor.h @@ -0,0 +1,88 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace QuickSight +{ +namespace Model +{ + + /** + *

The definition of the Anchor.

See Also:

AWS + * API Reference

+ */ + class Anchor + { + public: + AWS_QUICKSIGHT_API Anchor(); + AWS_QUICKSIGHT_API Anchor(Aws::Utils::Json::JsonView jsonValue); + AWS_QUICKSIGHT_API Anchor& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const; + + + ///@{ + /** + *

The AnchorType for the Anchor.

+ */ + inline const AnchorType& GetAnchorType() const{ return m_anchorType; } + inline bool AnchorTypeHasBeenSet() const { return m_anchorTypeHasBeenSet; } + inline void SetAnchorType(const AnchorType& value) { m_anchorTypeHasBeenSet = true; m_anchorType = value; } + inline void SetAnchorType(AnchorType&& value) { m_anchorTypeHasBeenSet = true; m_anchorType = std::move(value); } + inline Anchor& WithAnchorType(const AnchorType& value) { SetAnchorType(value); return *this;} + inline Anchor& WithAnchorType(AnchorType&& value) { SetAnchorType(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

The TimeGranularity of the Anchor.

+ */ + inline const TimeGranularity& GetTimeGranularity() const{ return m_timeGranularity; } + inline bool TimeGranularityHasBeenSet() const { return m_timeGranularityHasBeenSet; } + inline void SetTimeGranularity(const TimeGranularity& value) { m_timeGranularityHasBeenSet = true; m_timeGranularity = value; } + inline void SetTimeGranularity(TimeGranularity&& value) { m_timeGranularityHasBeenSet = true; m_timeGranularity = std::move(value); } + inline Anchor& WithTimeGranularity(const TimeGranularity& value) { SetTimeGranularity(value); return *this;} + inline Anchor& WithTimeGranularity(TimeGranularity&& value) { SetTimeGranularity(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

The offset of the Anchor.

+ */ + inline int GetOffset() const{ return m_offset; } + inline bool OffsetHasBeenSet() const { return m_offsetHasBeenSet; } + inline void SetOffset(int value) { m_offsetHasBeenSet = true; m_offset = value; } + inline Anchor& WithOffset(int value) { SetOffset(value); return *this;} + ///@} + private: + + AnchorType m_anchorType; + bool m_anchorTypeHasBeenSet = false; + + TimeGranularity m_timeGranularity; + bool m_timeGranularityHasBeenSet = false; + + int m_offset; + bool m_offsetHasBeenSet = false; + }; + +} // namespace Model +} // namespace QuickSight +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/AnchorType.h b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/AnchorType.h new file mode 100644 index 00000000000..55eaa1a0914 --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/AnchorType.h @@ -0,0 +1,30 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace QuickSight +{ +namespace Model +{ + enum class AnchorType + { + NOT_SET, + TODAY + }; + +namespace AnchorTypeMapper +{ +AWS_QUICKSIGHT_API AnchorType GetAnchorTypeForName(const Aws::String& name); + +AWS_QUICKSIGHT_API Aws::String GetNameForAnchorType(AnchorType value); +} // namespace AnchorTypeMapper +} // namespace Model +} // namespace QuickSight +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/BatchCreateTopicReviewedAnswerRequest.h b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/BatchCreateTopicReviewedAnswerRequest.h new file mode 100644 index 00000000000..afeda2d10a7 --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/BatchCreateTopicReviewedAnswerRequest.h @@ -0,0 +1,94 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace QuickSight +{ +namespace Model +{ + + /** + */ + class BatchCreateTopicReviewedAnswerRequest : public QuickSightRequest + { + public: + AWS_QUICKSIGHT_API BatchCreateTopicReviewedAnswerRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "BatchCreateTopicReviewedAnswer"; } + + AWS_QUICKSIGHT_API Aws::String SerializePayload() const override; + + + ///@{ + /** + *

The ID of the Amazon Web Services account that you want to create a reviewed + * answer in.

+ */ + inline const Aws::String& GetAwsAccountId() const{ return m_awsAccountId; } + inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; } + inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = value; } + inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::move(value); } + inline void SetAwsAccountId(const char* value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId.assign(value); } + inline BatchCreateTopicReviewedAnswerRequest& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;} + inline BatchCreateTopicReviewedAnswerRequest& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;} + inline BatchCreateTopicReviewedAnswerRequest& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;} + ///@} + + ///@{ + /** + *

The ID for the topic reviewed answer that you want to create. This ID is + * unique per Amazon Web Services Region for each Amazon Web Services account.

+ */ + inline const Aws::String& GetTopicId() const{ return m_topicId; } + inline bool TopicIdHasBeenSet() const { return m_topicIdHasBeenSet; } + inline void SetTopicId(const Aws::String& value) { m_topicIdHasBeenSet = true; m_topicId = value; } + inline void SetTopicId(Aws::String&& value) { m_topicIdHasBeenSet = true; m_topicId = std::move(value); } + inline void SetTopicId(const char* value) { m_topicIdHasBeenSet = true; m_topicId.assign(value); } + inline BatchCreateTopicReviewedAnswerRequest& WithTopicId(const Aws::String& value) { SetTopicId(value); return *this;} + inline BatchCreateTopicReviewedAnswerRequest& WithTopicId(Aws::String&& value) { SetTopicId(std::move(value)); return *this;} + inline BatchCreateTopicReviewedAnswerRequest& WithTopicId(const char* value) { SetTopicId(value); return *this;} + ///@} + + ///@{ + /** + *

The definition of the Answers to be created.

+ */ + inline const Aws::Vector& GetAnswers() const{ return m_answers; } + inline bool AnswersHasBeenSet() const { return m_answersHasBeenSet; } + inline void SetAnswers(const Aws::Vector& value) { m_answersHasBeenSet = true; m_answers = value; } + inline void SetAnswers(Aws::Vector&& value) { m_answersHasBeenSet = true; m_answers = std::move(value); } + inline BatchCreateTopicReviewedAnswerRequest& WithAnswers(const Aws::Vector& value) { SetAnswers(value); return *this;} + inline BatchCreateTopicReviewedAnswerRequest& WithAnswers(Aws::Vector&& value) { SetAnswers(std::move(value)); return *this;} + inline BatchCreateTopicReviewedAnswerRequest& AddAnswers(const CreateTopicReviewedAnswer& value) { m_answersHasBeenSet = true; m_answers.push_back(value); return *this; } + inline BatchCreateTopicReviewedAnswerRequest& AddAnswers(CreateTopicReviewedAnswer&& value) { m_answersHasBeenSet = true; m_answers.push_back(std::move(value)); return *this; } + ///@} + private: + + Aws::String m_awsAccountId; + bool m_awsAccountIdHasBeenSet = false; + + Aws::String m_topicId; + bool m_topicIdHasBeenSet = false; + + Aws::Vector m_answers; + bool m_answersHasBeenSet = false; + }; + +} // namespace Model +} // namespace QuickSight +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/BatchCreateTopicReviewedAnswerResult.h b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/BatchCreateTopicReviewedAnswerResult.h new file mode 100644 index 00000000000..5199d3ad565 --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/BatchCreateTopicReviewedAnswerResult.h @@ -0,0 +1,127 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace QuickSight +{ +namespace Model +{ + class BatchCreateTopicReviewedAnswerResult + { + public: + AWS_QUICKSIGHT_API BatchCreateTopicReviewedAnswerResult(); + AWS_QUICKSIGHT_API BatchCreateTopicReviewedAnswerResult(const Aws::AmazonWebServiceResult& result); + AWS_QUICKSIGHT_API BatchCreateTopicReviewedAnswerResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

The ID for the topic reviewed answer that you want to create. This ID is + * unique per Amazon Web Services Region for each Amazon Web Services account.

+ */ + inline const Aws::String& GetTopicId() const{ return m_topicId; } + inline void SetTopicId(const Aws::String& value) { m_topicId = value; } + inline void SetTopicId(Aws::String&& value) { m_topicId = std::move(value); } + inline void SetTopicId(const char* value) { m_topicId.assign(value); } + inline BatchCreateTopicReviewedAnswerResult& WithTopicId(const Aws::String& value) { SetTopicId(value); return *this;} + inline BatchCreateTopicReviewedAnswerResult& WithTopicId(Aws::String&& value) { SetTopicId(std::move(value)); return *this;} + inline BatchCreateTopicReviewedAnswerResult& WithTopicId(const char* value) { SetTopicId(value); return *this;} + ///@} + + ///@{ + /** + *

The Amazon Resource Name (ARN) of the topic.

+ */ + inline const Aws::String& GetTopicArn() const{ return m_topicArn; } + inline void SetTopicArn(const Aws::String& value) { m_topicArn = value; } + inline void SetTopicArn(Aws::String&& value) { m_topicArn = std::move(value); } + inline void SetTopicArn(const char* value) { m_topicArn.assign(value); } + inline BatchCreateTopicReviewedAnswerResult& WithTopicArn(const Aws::String& value) { SetTopicArn(value); return *this;} + inline BatchCreateTopicReviewedAnswerResult& WithTopicArn(Aws::String&& value) { SetTopicArn(std::move(value)); return *this;} + inline BatchCreateTopicReviewedAnswerResult& WithTopicArn(const char* value) { SetTopicArn(value); return *this;} + ///@} + + ///@{ + /** + *

The definition of Answers that are successfully created.

+ */ + inline const Aws::Vector& GetSucceededAnswers() const{ return m_succeededAnswers; } + inline void SetSucceededAnswers(const Aws::Vector& value) { m_succeededAnswers = value; } + inline void SetSucceededAnswers(Aws::Vector&& value) { m_succeededAnswers = std::move(value); } + inline BatchCreateTopicReviewedAnswerResult& WithSucceededAnswers(const Aws::Vector& value) { SetSucceededAnswers(value); return *this;} + inline BatchCreateTopicReviewedAnswerResult& WithSucceededAnswers(Aws::Vector&& value) { SetSucceededAnswers(std::move(value)); return *this;} + inline BatchCreateTopicReviewedAnswerResult& AddSucceededAnswers(const SucceededTopicReviewedAnswer& value) { m_succeededAnswers.push_back(value); return *this; } + inline BatchCreateTopicReviewedAnswerResult& AddSucceededAnswers(SucceededTopicReviewedAnswer&& value) { m_succeededAnswers.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + /** + *

The definition of Answers that are invalid and not created.

+ */ + inline const Aws::Vector& GetInvalidAnswers() const{ return m_invalidAnswers; } + inline void SetInvalidAnswers(const Aws::Vector& value) { m_invalidAnswers = value; } + inline void SetInvalidAnswers(Aws::Vector&& value) { m_invalidAnswers = std::move(value); } + inline BatchCreateTopicReviewedAnswerResult& WithInvalidAnswers(const Aws::Vector& value) { SetInvalidAnswers(value); return *this;} + inline BatchCreateTopicReviewedAnswerResult& WithInvalidAnswers(Aws::Vector&& value) { SetInvalidAnswers(std::move(value)); return *this;} + inline BatchCreateTopicReviewedAnswerResult& AddInvalidAnswers(const InvalidTopicReviewedAnswer& value) { m_invalidAnswers.push_back(value); return *this; } + inline BatchCreateTopicReviewedAnswerResult& AddInvalidAnswers(InvalidTopicReviewedAnswer&& value) { m_invalidAnswers.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + /** + *

The HTTP status of the request.

+ */ + inline int GetStatus() const{ return m_status; } + inline void SetStatus(int value) { m_status = value; } + inline BatchCreateTopicReviewedAnswerResult& WithStatus(int value) { SetStatus(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 BatchCreateTopicReviewedAnswerResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline BatchCreateTopicReviewedAnswerResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline BatchCreateTopicReviewedAnswerResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::String m_topicId; + + Aws::String m_topicArn; + + Aws::Vector m_succeededAnswers; + + Aws::Vector m_invalidAnswers; + + int m_status; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace QuickSight +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/BatchDeleteTopicReviewedAnswerRequest.h b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/BatchDeleteTopicReviewedAnswerRequest.h new file mode 100644 index 00000000000..ff280aa075e --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/BatchDeleteTopicReviewedAnswerRequest.h @@ -0,0 +1,94 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace QuickSight +{ +namespace Model +{ + + /** + */ + class BatchDeleteTopicReviewedAnswerRequest : public QuickSightRequest + { + public: + AWS_QUICKSIGHT_API BatchDeleteTopicReviewedAnswerRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "BatchDeleteTopicReviewedAnswer"; } + + AWS_QUICKSIGHT_API Aws::String SerializePayload() const override; + + + ///@{ + /** + *

The ID of the Amazon Web Services account that you want to delete a reviewed + * answers in.

+ */ + inline const Aws::String& GetAwsAccountId() const{ return m_awsAccountId; } + inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; } + inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = value; } + inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::move(value); } + inline void SetAwsAccountId(const char* value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId.assign(value); } + inline BatchDeleteTopicReviewedAnswerRequest& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;} + inline BatchDeleteTopicReviewedAnswerRequest& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;} + inline BatchDeleteTopicReviewedAnswerRequest& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;} + ///@} + + ///@{ + /** + *

The ID for the topic reviewed answer that you want to delete. This ID is + * unique per Amazon Web Services Region for each Amazon Web Services account.

+ */ + inline const Aws::String& GetTopicId() const{ return m_topicId; } + inline bool TopicIdHasBeenSet() const { return m_topicIdHasBeenSet; } + inline void SetTopicId(const Aws::String& value) { m_topicIdHasBeenSet = true; m_topicId = value; } + inline void SetTopicId(Aws::String&& value) { m_topicIdHasBeenSet = true; m_topicId = std::move(value); } + inline void SetTopicId(const char* value) { m_topicIdHasBeenSet = true; m_topicId.assign(value); } + inline BatchDeleteTopicReviewedAnswerRequest& WithTopicId(const Aws::String& value) { SetTopicId(value); return *this;} + inline BatchDeleteTopicReviewedAnswerRequest& WithTopicId(Aws::String&& value) { SetTopicId(std::move(value)); return *this;} + inline BatchDeleteTopicReviewedAnswerRequest& WithTopicId(const char* value) { SetTopicId(value); return *this;} + ///@} + + ///@{ + /** + *

The Answer IDs of the Answers to be deleted.

+ */ + inline const Aws::Vector& GetAnswerIds() const{ return m_answerIds; } + inline bool AnswerIdsHasBeenSet() const { return m_answerIdsHasBeenSet; } + inline void SetAnswerIds(const Aws::Vector& value) { m_answerIdsHasBeenSet = true; m_answerIds = value; } + inline void SetAnswerIds(Aws::Vector&& value) { m_answerIdsHasBeenSet = true; m_answerIds = std::move(value); } + inline BatchDeleteTopicReviewedAnswerRequest& WithAnswerIds(const Aws::Vector& value) { SetAnswerIds(value); return *this;} + inline BatchDeleteTopicReviewedAnswerRequest& WithAnswerIds(Aws::Vector&& value) { SetAnswerIds(std::move(value)); return *this;} + inline BatchDeleteTopicReviewedAnswerRequest& AddAnswerIds(const Aws::String& value) { m_answerIdsHasBeenSet = true; m_answerIds.push_back(value); return *this; } + inline BatchDeleteTopicReviewedAnswerRequest& AddAnswerIds(Aws::String&& value) { m_answerIdsHasBeenSet = true; m_answerIds.push_back(std::move(value)); return *this; } + inline BatchDeleteTopicReviewedAnswerRequest& AddAnswerIds(const char* value) { m_answerIdsHasBeenSet = true; m_answerIds.push_back(value); return *this; } + ///@} + private: + + Aws::String m_awsAccountId; + bool m_awsAccountIdHasBeenSet = false; + + Aws::String m_topicId; + bool m_topicIdHasBeenSet = false; + + Aws::Vector m_answerIds; + bool m_answerIdsHasBeenSet = false; + }; + +} // namespace Model +} // namespace QuickSight +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/BatchDeleteTopicReviewedAnswerResult.h b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/BatchDeleteTopicReviewedAnswerResult.h new file mode 100644 index 00000000000..917b40bdc4c --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/BatchDeleteTopicReviewedAnswerResult.h @@ -0,0 +1,127 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace QuickSight +{ +namespace Model +{ + class BatchDeleteTopicReviewedAnswerResult + { + public: + AWS_QUICKSIGHT_API BatchDeleteTopicReviewedAnswerResult(); + AWS_QUICKSIGHT_API BatchDeleteTopicReviewedAnswerResult(const Aws::AmazonWebServiceResult& result); + AWS_QUICKSIGHT_API BatchDeleteTopicReviewedAnswerResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

The ID of the topic reviewed answer that you want to delete. This ID is + * unique per Amazon Web Services Region for each Amazon Web Services account.

+ */ + inline const Aws::String& GetTopicId() const{ return m_topicId; } + inline void SetTopicId(const Aws::String& value) { m_topicId = value; } + inline void SetTopicId(Aws::String&& value) { m_topicId = std::move(value); } + inline void SetTopicId(const char* value) { m_topicId.assign(value); } + inline BatchDeleteTopicReviewedAnswerResult& WithTopicId(const Aws::String& value) { SetTopicId(value); return *this;} + inline BatchDeleteTopicReviewedAnswerResult& WithTopicId(Aws::String&& value) { SetTopicId(std::move(value)); return *this;} + inline BatchDeleteTopicReviewedAnswerResult& WithTopicId(const char* value) { SetTopicId(value); return *this;} + ///@} + + ///@{ + /** + *

The Amazon Resource Name (ARN) of the topic.

+ */ + inline const Aws::String& GetTopicArn() const{ return m_topicArn; } + inline void SetTopicArn(const Aws::String& value) { m_topicArn = value; } + inline void SetTopicArn(Aws::String&& value) { m_topicArn = std::move(value); } + inline void SetTopicArn(const char* value) { m_topicArn.assign(value); } + inline BatchDeleteTopicReviewedAnswerResult& WithTopicArn(const Aws::String& value) { SetTopicArn(value); return *this;} + inline BatchDeleteTopicReviewedAnswerResult& WithTopicArn(Aws::String&& value) { SetTopicArn(std::move(value)); return *this;} + inline BatchDeleteTopicReviewedAnswerResult& WithTopicArn(const char* value) { SetTopicArn(value); return *this;} + ///@} + + ///@{ + /** + *

The definition of Answers that are successfully deleted.

+ */ + inline const Aws::Vector& GetSucceededAnswers() const{ return m_succeededAnswers; } + inline void SetSucceededAnswers(const Aws::Vector& value) { m_succeededAnswers = value; } + inline void SetSucceededAnswers(Aws::Vector&& value) { m_succeededAnswers = std::move(value); } + inline BatchDeleteTopicReviewedAnswerResult& WithSucceededAnswers(const Aws::Vector& value) { SetSucceededAnswers(value); return *this;} + inline BatchDeleteTopicReviewedAnswerResult& WithSucceededAnswers(Aws::Vector&& value) { SetSucceededAnswers(std::move(value)); return *this;} + inline BatchDeleteTopicReviewedAnswerResult& AddSucceededAnswers(const SucceededTopicReviewedAnswer& value) { m_succeededAnswers.push_back(value); return *this; } + inline BatchDeleteTopicReviewedAnswerResult& AddSucceededAnswers(SucceededTopicReviewedAnswer&& value) { m_succeededAnswers.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + /** + *

The definition of Answers that are invalid and not deleted.

+ */ + inline const Aws::Vector& GetInvalidAnswers() const{ return m_invalidAnswers; } + inline void SetInvalidAnswers(const Aws::Vector& value) { m_invalidAnswers = value; } + inline void SetInvalidAnswers(Aws::Vector&& value) { m_invalidAnswers = std::move(value); } + inline BatchDeleteTopicReviewedAnswerResult& WithInvalidAnswers(const Aws::Vector& value) { SetInvalidAnswers(value); return *this;} + inline BatchDeleteTopicReviewedAnswerResult& WithInvalidAnswers(Aws::Vector&& value) { SetInvalidAnswers(std::move(value)); return *this;} + inline BatchDeleteTopicReviewedAnswerResult& AddInvalidAnswers(const InvalidTopicReviewedAnswer& value) { m_invalidAnswers.push_back(value); return *this; } + inline BatchDeleteTopicReviewedAnswerResult& AddInvalidAnswers(InvalidTopicReviewedAnswer&& value) { m_invalidAnswers.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 BatchDeleteTopicReviewedAnswerResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline BatchDeleteTopicReviewedAnswerResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline BatchDeleteTopicReviewedAnswerResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + + ///@{ + /** + *

The HTTP status of the request.

+ */ + inline int GetStatus() const{ return m_status; } + inline void SetStatus(int value) { m_status = value; } + inline BatchDeleteTopicReviewedAnswerResult& WithStatus(int value) { SetStatus(value); return *this;} + ///@} + private: + + Aws::String m_topicId; + + Aws::String m_topicArn; + + Aws::Vector m_succeededAnswers; + + Aws::Vector m_invalidAnswers; + + Aws::String m_requestId; + + int m_status; + }; + +} // namespace Model +} // namespace QuickSight +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/CollectiveConstantEntry.h b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/CollectiveConstantEntry.h new file mode 100644 index 00000000000..537bb176544 --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/CollectiveConstantEntry.h @@ -0,0 +1,78 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace QuickSight +{ +namespace Model +{ + + /** + *

The definition for a CollectiveConstantEntry.

See + * Also:

AWS + * API Reference

+ */ + class CollectiveConstantEntry + { + public: + AWS_QUICKSIGHT_API CollectiveConstantEntry(); + AWS_QUICKSIGHT_API CollectiveConstantEntry(Aws::Utils::Json::JsonView jsonValue); + AWS_QUICKSIGHT_API CollectiveConstantEntry& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const; + + + ///@{ + /** + *

The ConstantType of a CollectiveConstantEntry.

+ */ + inline const ConstantType& GetConstantType() const{ return m_constantType; } + inline bool ConstantTypeHasBeenSet() const { return m_constantTypeHasBeenSet; } + inline void SetConstantType(const ConstantType& value) { m_constantTypeHasBeenSet = true; m_constantType = value; } + inline void SetConstantType(ConstantType&& value) { m_constantTypeHasBeenSet = true; m_constantType = std::move(value); } + inline CollectiveConstantEntry& WithConstantType(const ConstantType& value) { SetConstantType(value); return *this;} + inline CollectiveConstantEntry& WithConstantType(ConstantType&& value) { SetConstantType(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

The value of a CollectiveConstantEntry.

+ */ + inline const Aws::String& GetValue() const{ return m_value; } + inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; } + inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; } + inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); } + inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); } + inline CollectiveConstantEntry& WithValue(const Aws::String& value) { SetValue(value); return *this;} + inline CollectiveConstantEntry& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;} + inline CollectiveConstantEntry& WithValue(const char* value) { SetValue(value); return *this;} + ///@} + private: + + ConstantType m_constantType; + bool m_constantTypeHasBeenSet = false; + + Aws::String m_value; + bool m_valueHasBeenSet = false; + }; + +} // namespace Model +} // namespace QuickSight +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/ComparisonMethodType.h b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/ComparisonMethodType.h new file mode 100644 index 00000000000..fc9b6a77103 --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/ComparisonMethodType.h @@ -0,0 +1,39 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace QuickSight +{ +namespace Model +{ + enum class ComparisonMethodType + { + NOT_SET, + DIFF, + PERC_DIFF, + DIFF_AS_PERC, + POP_CURRENT_DIFF_AS_PERC, + POP_CURRENT_DIFF, + POP_OVERTIME_DIFF_AS_PERC, + POP_OVERTIME_DIFF, + PERCENT_OF_TOTAL, + RUNNING_SUM, + MOVING_AVERAGE + }; + +namespace ComparisonMethodTypeMapper +{ +AWS_QUICKSIGHT_API ComparisonMethodType GetComparisonMethodTypeForName(const Aws::String& name); + +AWS_QUICKSIGHT_API Aws::String GetNameForComparisonMethodType(ComparisonMethodType value); +} // namespace ComparisonMethodTypeMapper +} // namespace Model +} // namespace QuickSight +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/ContributionAnalysisDirection.h b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/ContributionAnalysisDirection.h new file mode 100644 index 00000000000..e735b84bb5c --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/ContributionAnalysisDirection.h @@ -0,0 +1,32 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace QuickSight +{ +namespace Model +{ + enum class ContributionAnalysisDirection + { + NOT_SET, + INCREASE, + DECREASE, + NEUTRAL + }; + +namespace ContributionAnalysisDirectionMapper +{ +AWS_QUICKSIGHT_API ContributionAnalysisDirection GetContributionAnalysisDirectionForName(const Aws::String& name); + +AWS_QUICKSIGHT_API Aws::String GetNameForContributionAnalysisDirection(ContributionAnalysisDirection value); +} // namespace ContributionAnalysisDirectionMapper +} // namespace Model +} // namespace QuickSight +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/ContributionAnalysisFactor.h b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/ContributionAnalysisFactor.h new file mode 100644 index 00000000000..deb2114c78b --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/ContributionAnalysisFactor.h @@ -0,0 +1,62 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace QuickSight +{ +namespace Model +{ + + /** + *

The definition for the ContributionAnalysisFactor.

See + * Also:

AWS + * API Reference

+ */ + class ContributionAnalysisFactor + { + public: + AWS_QUICKSIGHT_API ContributionAnalysisFactor(); + AWS_QUICKSIGHT_API ContributionAnalysisFactor(Aws::Utils::Json::JsonView jsonValue); + AWS_QUICKSIGHT_API ContributionAnalysisFactor& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const; + + + ///@{ + /** + *

The field name of the ContributionAnalysisFactor.

+ */ + inline const Aws::String& GetFieldName() const{ return m_fieldName; } + inline bool FieldNameHasBeenSet() const { return m_fieldNameHasBeenSet; } + inline void SetFieldName(const Aws::String& value) { m_fieldNameHasBeenSet = true; m_fieldName = value; } + inline void SetFieldName(Aws::String&& value) { m_fieldNameHasBeenSet = true; m_fieldName = std::move(value); } + inline void SetFieldName(const char* value) { m_fieldNameHasBeenSet = true; m_fieldName.assign(value); } + inline ContributionAnalysisFactor& WithFieldName(const Aws::String& value) { SetFieldName(value); return *this;} + inline ContributionAnalysisFactor& WithFieldName(Aws::String&& value) { SetFieldName(std::move(value)); return *this;} + inline ContributionAnalysisFactor& WithFieldName(const char* value) { SetFieldName(value); return *this;} + ///@} + private: + + Aws::String m_fieldName; + bool m_fieldNameHasBeenSet = false; + }; + +} // namespace Model +} // namespace QuickSight +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/ContributionAnalysisSortType.h b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/ContributionAnalysisSortType.h new file mode 100644 index 00000000000..cb1270686d7 --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/ContributionAnalysisSortType.h @@ -0,0 +1,33 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace QuickSight +{ +namespace Model +{ + enum class ContributionAnalysisSortType + { + NOT_SET, + ABSOLUTE_DIFFERENCE, + CONTRIBUTION_PERCENTAGE, + DEVIATION_FROM_EXPECTED, + PERCENTAGE_DIFFERENCE + }; + +namespace ContributionAnalysisSortTypeMapper +{ +AWS_QUICKSIGHT_API ContributionAnalysisSortType GetContributionAnalysisSortTypeForName(const Aws::String& name); + +AWS_QUICKSIGHT_API Aws::String GetNameForContributionAnalysisSortType(ContributionAnalysisSortType value); +} // namespace ContributionAnalysisSortTypeMapper +} // namespace Model +} // namespace QuickSight +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/ContributionAnalysisTimeRanges.h b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/ContributionAnalysisTimeRanges.h new file mode 100644 index 00000000000..c9b51372dae --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/ContributionAnalysisTimeRanges.h @@ -0,0 +1,75 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace QuickSight +{ +namespace Model +{ + + /** + *

The definition for the + * ContributionAnalysisTimeRanges.

See Also:

AWS + * API Reference

+ */ + class ContributionAnalysisTimeRanges + { + public: + AWS_QUICKSIGHT_API ContributionAnalysisTimeRanges(); + AWS_QUICKSIGHT_API ContributionAnalysisTimeRanges(Aws::Utils::Json::JsonView jsonValue); + AWS_QUICKSIGHT_API ContributionAnalysisTimeRanges& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const; + + + ///@{ + /** + *

The start range for the ContributionAnalysisTimeRanges.

+ */ + inline const TopicIRFilterOption& GetStartRange() const{ return m_startRange; } + inline bool StartRangeHasBeenSet() const { return m_startRangeHasBeenSet; } + inline void SetStartRange(const TopicIRFilterOption& value) { m_startRangeHasBeenSet = true; m_startRange = value; } + inline void SetStartRange(TopicIRFilterOption&& value) { m_startRangeHasBeenSet = true; m_startRange = std::move(value); } + inline ContributionAnalysisTimeRanges& WithStartRange(const TopicIRFilterOption& value) { SetStartRange(value); return *this;} + inline ContributionAnalysisTimeRanges& WithStartRange(TopicIRFilterOption&& value) { SetStartRange(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

The end range for the ContributionAnalysisTimeRanges.

+ */ + inline const TopicIRFilterOption& GetEndRange() const{ return m_endRange; } + inline bool EndRangeHasBeenSet() const { return m_endRangeHasBeenSet; } + inline void SetEndRange(const TopicIRFilterOption& value) { m_endRangeHasBeenSet = true; m_endRange = value; } + inline void SetEndRange(TopicIRFilterOption&& value) { m_endRangeHasBeenSet = true; m_endRange = std::move(value); } + inline ContributionAnalysisTimeRanges& WithEndRange(const TopicIRFilterOption& value) { SetEndRange(value); return *this;} + inline ContributionAnalysisTimeRanges& WithEndRange(TopicIRFilterOption&& value) { SetEndRange(std::move(value)); return *this;} + ///@} + private: + + TopicIRFilterOption m_startRange; + bool m_startRangeHasBeenSet = false; + + TopicIRFilterOption m_endRange; + bool m_endRangeHasBeenSet = false; + }; + +} // namespace Model +} // namespace QuickSight +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/CreateTopicReviewedAnswer.h b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/CreateTopicReviewedAnswer.h new file mode 100644 index 00000000000..91486d71b1e --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/CreateTopicReviewedAnswer.h @@ -0,0 +1,145 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace QuickSight +{ +namespace Model +{ + + /** + *

The definition for a CreateTopicReviewedAnswer.

See + * Also:

AWS + * API Reference

+ */ + class CreateTopicReviewedAnswer + { + public: + AWS_QUICKSIGHT_API CreateTopicReviewedAnswer(); + AWS_QUICKSIGHT_API CreateTopicReviewedAnswer(Aws::Utils::Json::JsonView jsonValue); + AWS_QUICKSIGHT_API CreateTopicReviewedAnswer& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const; + + + ///@{ + /** + *

The answer ID for the CreateTopicReviewedAnswer.

+ */ + inline const Aws::String& GetAnswerId() const{ return m_answerId; } + inline bool AnswerIdHasBeenSet() const { return m_answerIdHasBeenSet; } + inline void SetAnswerId(const Aws::String& value) { m_answerIdHasBeenSet = true; m_answerId = value; } + inline void SetAnswerId(Aws::String&& value) { m_answerIdHasBeenSet = true; m_answerId = std::move(value); } + inline void SetAnswerId(const char* value) { m_answerIdHasBeenSet = true; m_answerId.assign(value); } + inline CreateTopicReviewedAnswer& WithAnswerId(const Aws::String& value) { SetAnswerId(value); return *this;} + inline CreateTopicReviewedAnswer& WithAnswerId(Aws::String&& value) { SetAnswerId(std::move(value)); return *this;} + inline CreateTopicReviewedAnswer& WithAnswerId(const char* value) { SetAnswerId(value); return *this;} + ///@} + + ///@{ + /** + *

The Dataset arn for the CreateTopicReviewedAnswer.

+ */ + inline const Aws::String& GetDatasetArn() const{ return m_datasetArn; } + inline bool DatasetArnHasBeenSet() const { return m_datasetArnHasBeenSet; } + inline void SetDatasetArn(const Aws::String& value) { m_datasetArnHasBeenSet = true; m_datasetArn = value; } + inline void SetDatasetArn(Aws::String&& value) { m_datasetArnHasBeenSet = true; m_datasetArn = std::move(value); } + inline void SetDatasetArn(const char* value) { m_datasetArnHasBeenSet = true; m_datasetArn.assign(value); } + inline CreateTopicReviewedAnswer& WithDatasetArn(const Aws::String& value) { SetDatasetArn(value); return *this;} + inline CreateTopicReviewedAnswer& WithDatasetArn(Aws::String&& value) { SetDatasetArn(std::move(value)); return *this;} + inline CreateTopicReviewedAnswer& WithDatasetArn(const char* value) { SetDatasetArn(value); return *this;} + ///@} + + ///@{ + /** + *

The Question to be created.

+ */ + inline const Aws::String& GetQuestion() const{ return m_question; } + inline bool QuestionHasBeenSet() const { return m_questionHasBeenSet; } + inline void SetQuestion(const Aws::String& value) { m_questionHasBeenSet = true; m_question = value; } + inline void SetQuestion(Aws::String&& value) { m_questionHasBeenSet = true; m_question = std::move(value); } + inline void SetQuestion(const char* value) { m_questionHasBeenSet = true; m_question.assign(value); } + inline CreateTopicReviewedAnswer& WithQuestion(const Aws::String& value) { SetQuestion(value); return *this;} + inline CreateTopicReviewedAnswer& WithQuestion(Aws::String&& value) { SetQuestion(std::move(value)); return *this;} + inline CreateTopicReviewedAnswer& WithQuestion(const char* value) { SetQuestion(value); return *this;} + ///@} + + ///@{ + /** + *

The Mir for the CreateTopicReviewedAnswer.

+ */ + inline const TopicIR& GetMir() const{ return m_mir; } + inline bool MirHasBeenSet() const { return m_mirHasBeenSet; } + inline void SetMir(const TopicIR& value) { m_mirHasBeenSet = true; m_mir = value; } + inline void SetMir(TopicIR&& value) { m_mirHasBeenSet = true; m_mir = std::move(value); } + inline CreateTopicReviewedAnswer& WithMir(const TopicIR& value) { SetMir(value); return *this;} + inline CreateTopicReviewedAnswer& WithMir(TopicIR&& value) { SetMir(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

The PrimaryVisual for the + * CreateTopicReviewedAnswer.

+ */ + inline const TopicVisual& GetPrimaryVisual() const{ return m_primaryVisual; } + inline bool PrimaryVisualHasBeenSet() const { return m_primaryVisualHasBeenSet; } + inline void SetPrimaryVisual(const TopicVisual& value) { m_primaryVisualHasBeenSet = true; m_primaryVisual = value; } + inline void SetPrimaryVisual(TopicVisual&& value) { m_primaryVisualHasBeenSet = true; m_primaryVisual = std::move(value); } + inline CreateTopicReviewedAnswer& WithPrimaryVisual(const TopicVisual& value) { SetPrimaryVisual(value); return *this;} + inline CreateTopicReviewedAnswer& WithPrimaryVisual(TopicVisual&& value) { SetPrimaryVisual(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

The template for the CreateTopicReviewedAnswer.

+ */ + inline const TopicTemplate& GetTemplate() const{ return m_template; } + inline bool TemplateHasBeenSet() const { return m_templateHasBeenSet; } + inline void SetTemplate(const TopicTemplate& value) { m_templateHasBeenSet = true; m_template = value; } + inline void SetTemplate(TopicTemplate&& value) { m_templateHasBeenSet = true; m_template = std::move(value); } + inline CreateTopicReviewedAnswer& WithTemplate(const TopicTemplate& value) { SetTemplate(value); return *this;} + inline CreateTopicReviewedAnswer& WithTemplate(TopicTemplate&& value) { SetTemplate(std::move(value)); return *this;} + ///@} + private: + + Aws::String m_answerId; + bool m_answerIdHasBeenSet = false; + + Aws::String m_datasetArn; + bool m_datasetArnHasBeenSet = false; + + Aws::String m_question; + bool m_questionHasBeenSet = false; + + TopicIR m_mir; + bool m_mirHasBeenSet = false; + + TopicVisual m_primaryVisual; + bool m_primaryVisualHasBeenSet = false; + + TopicTemplate m_template; + bool m_templateHasBeenSet = false; + }; + +} // namespace Model +} // namespace QuickSight +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/DateTimePickerControlDisplayOptions.h b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/DateTimePickerControlDisplayOptions.h index 2a4f2f1de1f..07e45b73e29 100644 --- a/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/DateTimePickerControlDisplayOptions.h +++ b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/DateTimePickerControlDisplayOptions.h @@ -8,6 +8,7 @@ #include #include #include +#include #include namespace Aws @@ -76,6 +77,32 @@ namespace Model inline DateTimePickerControlDisplayOptions& WithInfoIconLabelOptions(const SheetControlInfoIconLabelOptions& value) { SetInfoIconLabelOptions(value); return *this;} inline DateTimePickerControlDisplayOptions& WithInfoIconLabelOptions(SheetControlInfoIconLabelOptions&& value) { SetInfoIconLabelOptions(std::move(value)); return *this;} ///@} + + ///@{ + /** + *

The helper text visibility of the + * DateTimePickerControlDisplayOptions.

+ */ + inline const Visibility& GetHelperTextVisibility() const{ return m_helperTextVisibility; } + inline bool HelperTextVisibilityHasBeenSet() const { return m_helperTextVisibilityHasBeenSet; } + inline void SetHelperTextVisibility(const Visibility& value) { m_helperTextVisibilityHasBeenSet = true; m_helperTextVisibility = value; } + inline void SetHelperTextVisibility(Visibility&& value) { m_helperTextVisibilityHasBeenSet = true; m_helperTextVisibility = std::move(value); } + inline DateTimePickerControlDisplayOptions& WithHelperTextVisibility(const Visibility& value) { SetHelperTextVisibility(value); return *this;} + inline DateTimePickerControlDisplayOptions& WithHelperTextVisibility(Visibility&& value) { SetHelperTextVisibility(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

The date icon visibility of the + * DateTimePickerControlDisplayOptions.

+ */ + inline const Visibility& GetDateIconVisibility() const{ return m_dateIconVisibility; } + inline bool DateIconVisibilityHasBeenSet() const { return m_dateIconVisibilityHasBeenSet; } + inline void SetDateIconVisibility(const Visibility& value) { m_dateIconVisibilityHasBeenSet = true; m_dateIconVisibility = value; } + inline void SetDateIconVisibility(Visibility&& value) { m_dateIconVisibilityHasBeenSet = true; m_dateIconVisibility = std::move(value); } + inline DateTimePickerControlDisplayOptions& WithDateIconVisibility(const Visibility& value) { SetDateIconVisibility(value); return *this;} + inline DateTimePickerControlDisplayOptions& WithDateIconVisibility(Visibility&& value) { SetDateIconVisibility(std::move(value)); return *this;} + ///@} private: LabelOptions m_titleOptions; @@ -86,6 +113,12 @@ namespace Model SheetControlInfoIconLabelOptions m_infoIconLabelOptions; bool m_infoIconLabelOptionsHasBeenSet = false; + + Visibility m_helperTextVisibility; + bool m_helperTextVisibilityHasBeenSet = false; + + Visibility m_dateIconVisibility; + bool m_dateIconVisibilityHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/FilterAggMetrics.h b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/FilterAggMetrics.h new file mode 100644 index 00000000000..cc133ac9f10 --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/FilterAggMetrics.h @@ -0,0 +1,92 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace QuickSight +{ +namespace Model +{ + + /** + *

The definition for the FilterAggMetrics.

See + * Also:

AWS + * API Reference

+ */ + class FilterAggMetrics + { + public: + AWS_QUICKSIGHT_API FilterAggMetrics(); + AWS_QUICKSIGHT_API FilterAggMetrics(Aws::Utils::Json::JsonView jsonValue); + AWS_QUICKSIGHT_API FilterAggMetrics& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const; + + + ///@{ + /** + *

The metric operand of the FilterAggMetrics.

+ */ + inline const Identifier& GetMetricOperand() const{ return m_metricOperand; } + inline bool MetricOperandHasBeenSet() const { return m_metricOperandHasBeenSet; } + inline void SetMetricOperand(const Identifier& value) { m_metricOperandHasBeenSet = true; m_metricOperand = value; } + inline void SetMetricOperand(Identifier&& value) { m_metricOperandHasBeenSet = true; m_metricOperand = std::move(value); } + inline FilterAggMetrics& WithMetricOperand(const Identifier& value) { SetMetricOperand(value); return *this;} + inline FilterAggMetrics& WithMetricOperand(Identifier&& value) { SetMetricOperand(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

The function for the FilterAggMetrics.

+ */ + inline const AggType& GetFunction() const{ return m_function; } + inline bool FunctionHasBeenSet() const { return m_functionHasBeenSet; } + inline void SetFunction(const AggType& value) { m_functionHasBeenSet = true; m_function = value; } + inline void SetFunction(AggType&& value) { m_functionHasBeenSet = true; m_function = std::move(value); } + inline FilterAggMetrics& WithFunction(const AggType& value) { SetFunction(value); return *this;} + inline FilterAggMetrics& WithFunction(AggType&& value) { SetFunction(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

The sort direction for FilterAggMetrics.

+ */ + inline const TopicSortDirection& GetSortDirection() const{ return m_sortDirection; } + inline bool SortDirectionHasBeenSet() const { return m_sortDirectionHasBeenSet; } + inline void SetSortDirection(const TopicSortDirection& value) { m_sortDirectionHasBeenSet = true; m_sortDirection = value; } + inline void SetSortDirection(TopicSortDirection&& value) { m_sortDirectionHasBeenSet = true; m_sortDirection = std::move(value); } + inline FilterAggMetrics& WithSortDirection(const TopicSortDirection& value) { SetSortDirection(value); return *this;} + inline FilterAggMetrics& WithSortDirection(TopicSortDirection&& value) { SetSortDirection(std::move(value)); return *this;} + ///@} + private: + + Identifier m_metricOperand; + bool m_metricOperandHasBeenSet = false; + + AggType m_function; + bool m_functionHasBeenSet = false; + + TopicSortDirection m_sortDirection; + bool m_sortDirectionHasBeenSet = false; + }; + +} // namespace Model +} // namespace QuickSight +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/Identifier.h b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/Identifier.h new file mode 100644 index 00000000000..d411be6fc3e --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/Identifier.h @@ -0,0 +1,61 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace QuickSight +{ +namespace Model +{ + + /** + *

The definition for the identifier.

See Also:

AWS + * API Reference

+ */ + class Identifier + { + public: + AWS_QUICKSIGHT_API Identifier(); + AWS_QUICKSIGHT_API Identifier(Aws::Utils::Json::JsonView jsonValue); + AWS_QUICKSIGHT_API Identifier& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const; + + + ///@{ + /** + *

The identity of the identifier.

+ */ + inline const Aws::String& GetIdentity() const{ return m_identity; } + inline bool IdentityHasBeenSet() const { return m_identityHasBeenSet; } + inline void SetIdentity(const Aws::String& value) { m_identityHasBeenSet = true; m_identity = value; } + inline void SetIdentity(Aws::String&& value) { m_identityHasBeenSet = true; m_identity = std::move(value); } + inline void SetIdentity(const char* value) { m_identityHasBeenSet = true; m_identity.assign(value); } + inline Identifier& WithIdentity(const Aws::String& value) { SetIdentity(value); return *this;} + inline Identifier& WithIdentity(Aws::String&& value) { SetIdentity(std::move(value)); return *this;} + inline Identifier& WithIdentity(const char* value) { SetIdentity(value); return *this;} + ///@} + private: + + Aws::String m_identity; + bool m_identityHasBeenSet = false; + }; + +} // namespace Model +} // namespace QuickSight +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/InvalidTopicReviewedAnswer.h b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/InvalidTopicReviewedAnswer.h new file mode 100644 index 00000000000..fa77b2c6066 --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/InvalidTopicReviewedAnswer.h @@ -0,0 +1,79 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace QuickSight +{ +namespace Model +{ + + /** + *

The definition for a InvalidTopicReviewedAnswer.

See + * Also:

AWS + * API Reference

+ */ + class InvalidTopicReviewedAnswer + { + public: + AWS_QUICKSIGHT_API InvalidTopicReviewedAnswer(); + AWS_QUICKSIGHT_API InvalidTopicReviewedAnswer(Aws::Utils::Json::JsonView jsonValue); + AWS_QUICKSIGHT_API InvalidTopicReviewedAnswer& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const; + + + ///@{ + /** + *

The answer ID for the InvalidTopicReviewedAnswer.

+ */ + inline const Aws::String& GetAnswerId() const{ return m_answerId; } + inline bool AnswerIdHasBeenSet() const { return m_answerIdHasBeenSet; } + inline void SetAnswerId(const Aws::String& value) { m_answerIdHasBeenSet = true; m_answerId = value; } + inline void SetAnswerId(Aws::String&& value) { m_answerIdHasBeenSet = true; m_answerId = std::move(value); } + inline void SetAnswerId(const char* value) { m_answerIdHasBeenSet = true; m_answerId.assign(value); } + inline InvalidTopicReviewedAnswer& WithAnswerId(const Aws::String& value) { SetAnswerId(value); return *this;} + inline InvalidTopicReviewedAnswer& WithAnswerId(Aws::String&& value) { SetAnswerId(std::move(value)); return *this;} + inline InvalidTopicReviewedAnswer& WithAnswerId(const char* value) { SetAnswerId(value); return *this;} + ///@} + + ///@{ + /** + *

The error that is returned for the + * InvalidTopicReviewedAnswer.

+ */ + inline const ReviewedAnswerErrorCode& GetError() const{ return m_error; } + inline bool ErrorHasBeenSet() const { return m_errorHasBeenSet; } + inline void SetError(const ReviewedAnswerErrorCode& value) { m_errorHasBeenSet = true; m_error = value; } + inline void SetError(ReviewedAnswerErrorCode&& value) { m_errorHasBeenSet = true; m_error = std::move(value); } + inline InvalidTopicReviewedAnswer& WithError(const ReviewedAnswerErrorCode& value) { SetError(value); return *this;} + inline InvalidTopicReviewedAnswer& WithError(ReviewedAnswerErrorCode&& value) { SetError(std::move(value)); return *this;} + ///@} + private: + + Aws::String m_answerId; + bool m_answerIdHasBeenSet = false; + + ReviewedAnswerErrorCode m_error; + bool m_errorHasBeenSet = false; + }; + +} // namespace Model +} // namespace QuickSight +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/ListTopicReviewedAnswersRequest.h b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/ListTopicReviewedAnswersRequest.h new file mode 100644 index 00000000000..008b74bf801 --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/ListTopicReviewedAnswersRequest.h @@ -0,0 +1,76 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace QuickSight +{ +namespace Model +{ + + /** + */ + class ListTopicReviewedAnswersRequest : public QuickSightRequest + { + public: + AWS_QUICKSIGHT_API ListTopicReviewedAnswersRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "ListTopicReviewedAnswers"; } + + AWS_QUICKSIGHT_API Aws::String SerializePayload() const override; + + + ///@{ + /** + *

The ID of the Amazon Web Services account that containd the reviewed answers + * that you want listed.

+ */ + inline const Aws::String& GetAwsAccountId() const{ return m_awsAccountId; } + inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; } + inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = value; } + inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::move(value); } + inline void SetAwsAccountId(const char* value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId.assign(value); } + inline ListTopicReviewedAnswersRequest& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;} + inline ListTopicReviewedAnswersRequest& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;} + inline ListTopicReviewedAnswersRequest& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;} + ///@} + + ///@{ + /** + *

The ID for the topic that contains the reviewed answer that you want to list. + * This ID is unique per Amazon Web Services Region for each Amazon Web Services + * account.

+ */ + inline const Aws::String& GetTopicId() const{ return m_topicId; } + inline bool TopicIdHasBeenSet() const { return m_topicIdHasBeenSet; } + inline void SetTopicId(const Aws::String& value) { m_topicIdHasBeenSet = true; m_topicId = value; } + inline void SetTopicId(Aws::String&& value) { m_topicIdHasBeenSet = true; m_topicId = std::move(value); } + inline void SetTopicId(const char* value) { m_topicIdHasBeenSet = true; m_topicId.assign(value); } + inline ListTopicReviewedAnswersRequest& WithTopicId(const Aws::String& value) { SetTopicId(value); return *this;} + inline ListTopicReviewedAnswersRequest& WithTopicId(Aws::String&& value) { SetTopicId(std::move(value)); return *this;} + inline ListTopicReviewedAnswersRequest& WithTopicId(const char* value) { SetTopicId(value); return *this;} + ///@} + private: + + Aws::String m_awsAccountId; + bool m_awsAccountIdHasBeenSet = false; + + Aws::String m_topicId; + bool m_topicIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace QuickSight +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/ListTopicReviewedAnswersResult.h b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/ListTopicReviewedAnswersResult.h new file mode 100644 index 00000000000..543ba54844d --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/ListTopicReviewedAnswersResult.h @@ -0,0 +1,112 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace QuickSight +{ +namespace Model +{ + class ListTopicReviewedAnswersResult + { + public: + AWS_QUICKSIGHT_API ListTopicReviewedAnswersResult(); + AWS_QUICKSIGHT_API ListTopicReviewedAnswersResult(const Aws::AmazonWebServiceResult& result); + AWS_QUICKSIGHT_API ListTopicReviewedAnswersResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

The ID for the topic that contains the reviewed answer that you want to list. + * This ID is unique per Amazon Web Services Region for each Amazon Web Services + * account.

+ */ + inline const Aws::String& GetTopicId() const{ return m_topicId; } + inline void SetTopicId(const Aws::String& value) { m_topicId = value; } + inline void SetTopicId(Aws::String&& value) { m_topicId = std::move(value); } + inline void SetTopicId(const char* value) { m_topicId.assign(value); } + inline ListTopicReviewedAnswersResult& WithTopicId(const Aws::String& value) { SetTopicId(value); return *this;} + inline ListTopicReviewedAnswersResult& WithTopicId(Aws::String&& value) { SetTopicId(std::move(value)); return *this;} + inline ListTopicReviewedAnswersResult& WithTopicId(const char* value) { SetTopicId(value); return *this;} + ///@} + + ///@{ + /** + *

The Amazon Resource Name (ARN) of the topic.

+ */ + inline const Aws::String& GetTopicArn() const{ return m_topicArn; } + inline void SetTopicArn(const Aws::String& value) { m_topicArn = value; } + inline void SetTopicArn(Aws::String&& value) { m_topicArn = std::move(value); } + inline void SetTopicArn(const char* value) { m_topicArn.assign(value); } + inline ListTopicReviewedAnswersResult& WithTopicArn(const Aws::String& value) { SetTopicArn(value); return *this;} + inline ListTopicReviewedAnswersResult& WithTopicArn(Aws::String&& value) { SetTopicArn(std::move(value)); return *this;} + inline ListTopicReviewedAnswersResult& WithTopicArn(const char* value) { SetTopicArn(value); return *this;} + ///@} + + ///@{ + /** + *

The definition of all Answers in the topic.

+ */ + inline const Aws::Vector& GetAnswers() const{ return m_answers; } + inline void SetAnswers(const Aws::Vector& value) { m_answers = value; } + inline void SetAnswers(Aws::Vector&& value) { m_answers = std::move(value); } + inline ListTopicReviewedAnswersResult& WithAnswers(const Aws::Vector& value) { SetAnswers(value); return *this;} + inline ListTopicReviewedAnswersResult& WithAnswers(Aws::Vector&& value) { SetAnswers(std::move(value)); return *this;} + inline ListTopicReviewedAnswersResult& AddAnswers(const TopicReviewedAnswer& value) { m_answers.push_back(value); return *this; } + inline ListTopicReviewedAnswersResult& AddAnswers(TopicReviewedAnswer&& value) { m_answers.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + /** + *

The HTTP status of the request.

+ */ + inline int GetStatus() const{ return m_status; } + inline void SetStatus(int value) { m_status = value; } + inline ListTopicReviewedAnswersResult& WithStatus(int value) { SetStatus(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 ListTopicReviewedAnswersResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline ListTopicReviewedAnswersResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline ListTopicReviewedAnswersResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::String m_topicId; + + Aws::String m_topicArn; + + Aws::Vector m_answers; + + int m_status; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace QuickSight +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/NamedEntityRef.h b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/NamedEntityRef.h new file mode 100644 index 00000000000..6f76f144303 --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/NamedEntityRef.h @@ -0,0 +1,62 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace QuickSight +{ +namespace Model +{ + + /** + *

The definition for a NamedEntityRef.

See Also:

+ * AWS + * API Reference

+ */ + class NamedEntityRef + { + public: + AWS_QUICKSIGHT_API NamedEntityRef(); + AWS_QUICKSIGHT_API NamedEntityRef(Aws::Utils::Json::JsonView jsonValue); + AWS_QUICKSIGHT_API NamedEntityRef& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const; + + + ///@{ + /** + *

The NamedEntityName for the NamedEntityRef.

+ */ + inline const Aws::String& GetNamedEntityName() const{ return m_namedEntityName; } + inline bool NamedEntityNameHasBeenSet() const { return m_namedEntityNameHasBeenSet; } + inline void SetNamedEntityName(const Aws::String& value) { m_namedEntityNameHasBeenSet = true; m_namedEntityName = value; } + inline void SetNamedEntityName(Aws::String&& value) { m_namedEntityNameHasBeenSet = true; m_namedEntityName = std::move(value); } + inline void SetNamedEntityName(const char* value) { m_namedEntityNameHasBeenSet = true; m_namedEntityName.assign(value); } + inline NamedEntityRef& WithNamedEntityName(const Aws::String& value) { SetNamedEntityName(value); return *this;} + inline NamedEntityRef& WithNamedEntityName(Aws::String&& value) { SetNamedEntityName(std::move(value)); return *this;} + inline NamedEntityRef& WithNamedEntityName(const char* value) { SetNamedEntityName(value); return *this;} + ///@} + private: + + Aws::String m_namedEntityName; + bool m_namedEntityNameHasBeenSet = false; + }; + +} // namespace Model +} // namespace QuickSight +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/NullFilterOption.h b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/NullFilterOption.h new file mode 100644 index 00000000000..06fe1653c67 --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/NullFilterOption.h @@ -0,0 +1,32 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace QuickSight +{ +namespace Model +{ + enum class NullFilterOption + { + NOT_SET, + ALL_VALUES, + NON_NULLS_ONLY, + NULLS_ONLY + }; + +namespace NullFilterOptionMapper +{ +AWS_QUICKSIGHT_API NullFilterOption GetNullFilterOptionForName(const Aws::String& name); + +AWS_QUICKSIGHT_API Aws::String GetNameForNullFilterOption(NullFilterOption value); +} // namespace NullFilterOptionMapper +} // namespace Model +} // namespace QuickSight +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/ReviewedAnswerErrorCode.h b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/ReviewedAnswerErrorCode.h new file mode 100644 index 00000000000..f1cc30bd6ef --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/ReviewedAnswerErrorCode.h @@ -0,0 +1,36 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace QuickSight +{ +namespace Model +{ + enum class ReviewedAnswerErrorCode + { + NOT_SET, + INTERNAL_ERROR, + MISSING_ANSWER, + DATASET_DOES_NOT_EXIST, + INVALID_DATASET_ARN, + DUPLICATED_ANSWER, + INVALID_DATA, + MISSING_REQUIRED_FIELDS + }; + +namespace ReviewedAnswerErrorCodeMapper +{ +AWS_QUICKSIGHT_API ReviewedAnswerErrorCode GetReviewedAnswerErrorCodeForName(const Aws::String& name); + +AWS_QUICKSIGHT_API Aws::String GetNameForReviewedAnswerErrorCode(ReviewedAnswerErrorCode value); +} // namespace ReviewedAnswerErrorCodeMapper +} // namespace Model +} // namespace QuickSight +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/Slot.h b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/Slot.h new file mode 100644 index 00000000000..7bc09a888a4 --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/Slot.h @@ -0,0 +1,78 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace QuickSight +{ +namespace Model +{ + + /** + *

The definition for the slot.

See Also:

AWS API + * Reference

+ */ + class Slot + { + public: + AWS_QUICKSIGHT_API Slot(); + AWS_QUICKSIGHT_API Slot(Aws::Utils::Json::JsonView jsonValue); + AWS_QUICKSIGHT_API Slot& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const; + + + ///@{ + /** + *

The slot ID of the slot.

+ */ + inline const Aws::String& GetSlotId() const{ return m_slotId; } + inline bool SlotIdHasBeenSet() const { return m_slotIdHasBeenSet; } + inline void SetSlotId(const Aws::String& value) { m_slotIdHasBeenSet = true; m_slotId = value; } + inline void SetSlotId(Aws::String&& value) { m_slotIdHasBeenSet = true; m_slotId = std::move(value); } + inline void SetSlotId(const char* value) { m_slotIdHasBeenSet = true; m_slotId.assign(value); } + inline Slot& WithSlotId(const Aws::String& value) { SetSlotId(value); return *this;} + inline Slot& WithSlotId(Aws::String&& value) { SetSlotId(std::move(value)); return *this;} + inline Slot& WithSlotId(const char* value) { SetSlotId(value); return *this;} + ///@} + + ///@{ + /** + *

The visual ID for the slot.

+ */ + inline const Aws::String& GetVisualId() const{ return m_visualId; } + inline bool VisualIdHasBeenSet() const { return m_visualIdHasBeenSet; } + inline void SetVisualId(const Aws::String& value) { m_visualIdHasBeenSet = true; m_visualId = value; } + inline void SetVisualId(Aws::String&& value) { m_visualIdHasBeenSet = true; m_visualId = std::move(value); } + inline void SetVisualId(const char* value) { m_visualIdHasBeenSet = true; m_visualId.assign(value); } + inline Slot& WithVisualId(const Aws::String& value) { SetVisualId(value); return *this;} + inline Slot& WithVisualId(Aws::String&& value) { SetVisualId(std::move(value)); return *this;} + inline Slot& WithVisualId(const char* value) { SetVisualId(value); return *this;} + ///@} + private: + + Aws::String m_slotId; + bool m_slotIdHasBeenSet = false; + + Aws::String m_visualId; + bool m_visualIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace QuickSight +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/SucceededTopicReviewedAnswer.h b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/SucceededTopicReviewedAnswer.h new file mode 100644 index 00000000000..de28861c204 --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/SucceededTopicReviewedAnswer.h @@ -0,0 +1,62 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace QuickSight +{ +namespace Model +{ + + /** + *

The definition for a SucceededTopicReviewedAnswer.

See + * Also:

AWS + * API Reference

+ */ + class SucceededTopicReviewedAnswer + { + public: + AWS_QUICKSIGHT_API SucceededTopicReviewedAnswer(); + AWS_QUICKSIGHT_API SucceededTopicReviewedAnswer(Aws::Utils::Json::JsonView jsonValue); + AWS_QUICKSIGHT_API SucceededTopicReviewedAnswer& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const; + + + ///@{ + /** + *

The answer ID for the SucceededTopicReviewedAnswer.

+ */ + inline const Aws::String& GetAnswerId() const{ return m_answerId; } + inline bool AnswerIdHasBeenSet() const { return m_answerIdHasBeenSet; } + inline void SetAnswerId(const Aws::String& value) { m_answerIdHasBeenSet = true; m_answerId = value; } + inline void SetAnswerId(Aws::String&& value) { m_answerIdHasBeenSet = true; m_answerId = std::move(value); } + inline void SetAnswerId(const char* value) { m_answerIdHasBeenSet = true; m_answerId.assign(value); } + inline SucceededTopicReviewedAnswer& WithAnswerId(const Aws::String& value) { SetAnswerId(value); return *this;} + inline SucceededTopicReviewedAnswer& WithAnswerId(Aws::String&& value) { SetAnswerId(std::move(value)); return *this;} + inline SucceededTopicReviewedAnswer& WithAnswerId(const char* value) { SetAnswerId(value); return *this;} + ///@} + private: + + Aws::String m_answerId; + bool m_answerIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace QuickSight +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/TopicConstantValue.h b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/TopicConstantValue.h new file mode 100644 index 00000000000..2ea397406e5 --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/TopicConstantValue.h @@ -0,0 +1,131 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace QuickSight +{ +namespace Model +{ + + /** + *

The definition for a TopicConstantValue.

See + * Also:

AWS + * API Reference

+ */ + class TopicConstantValue + { + public: + AWS_QUICKSIGHT_API TopicConstantValue(); + AWS_QUICKSIGHT_API TopicConstantValue(Aws::Utils::Json::JsonView jsonValue); + AWS_QUICKSIGHT_API TopicConstantValue& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const; + + + ///@{ + /** + *

The constant type of a TopicConstantValue.

+ */ + inline const ConstantType& GetConstantType() const{ return m_constantType; } + inline bool ConstantTypeHasBeenSet() const { return m_constantTypeHasBeenSet; } + inline void SetConstantType(const ConstantType& value) { m_constantTypeHasBeenSet = true; m_constantType = value; } + inline void SetConstantType(ConstantType&& value) { m_constantTypeHasBeenSet = true; m_constantType = std::move(value); } + inline TopicConstantValue& WithConstantType(const ConstantType& value) { SetConstantType(value); return *this;} + inline TopicConstantValue& WithConstantType(ConstantType&& value) { SetConstantType(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

The value of the TopicConstantValue.

+ */ + inline const Aws::String& GetValue() const{ return m_value; } + inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; } + inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; } + inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); } + inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); } + inline TopicConstantValue& WithValue(const Aws::String& value) { SetValue(value); return *this;} + inline TopicConstantValue& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;} + inline TopicConstantValue& WithValue(const char* value) { SetValue(value); return *this;} + ///@} + + ///@{ + /** + *

The minimum for the TopicConstantValue.

+ */ + inline const Aws::String& GetMinimum() const{ return m_minimum; } + inline bool MinimumHasBeenSet() const { return m_minimumHasBeenSet; } + inline void SetMinimum(const Aws::String& value) { m_minimumHasBeenSet = true; m_minimum = value; } + inline void SetMinimum(Aws::String&& value) { m_minimumHasBeenSet = true; m_minimum = std::move(value); } + inline void SetMinimum(const char* value) { m_minimumHasBeenSet = true; m_minimum.assign(value); } + inline TopicConstantValue& WithMinimum(const Aws::String& value) { SetMinimum(value); return *this;} + inline TopicConstantValue& WithMinimum(Aws::String&& value) { SetMinimum(std::move(value)); return *this;} + inline TopicConstantValue& WithMinimum(const char* value) { SetMinimum(value); return *this;} + ///@} + + ///@{ + /** + *

The maximum for the TopicConstantValue.

+ */ + inline const Aws::String& GetMaximum() const{ return m_maximum; } + inline bool MaximumHasBeenSet() const { return m_maximumHasBeenSet; } + inline void SetMaximum(const Aws::String& value) { m_maximumHasBeenSet = true; m_maximum = value; } + inline void SetMaximum(Aws::String&& value) { m_maximumHasBeenSet = true; m_maximum = std::move(value); } + inline void SetMaximum(const char* value) { m_maximumHasBeenSet = true; m_maximum.assign(value); } + inline TopicConstantValue& WithMaximum(const Aws::String& value) { SetMaximum(value); return *this;} + inline TopicConstantValue& WithMaximum(Aws::String&& value) { SetMaximum(std::move(value)); return *this;} + inline TopicConstantValue& WithMaximum(const char* value) { SetMaximum(value); return *this;} + ///@} + + ///@{ + /** + *

The value list of the TopicConstantValue.

+ */ + inline const Aws::Vector& GetValueList() const{ return m_valueList; } + inline bool ValueListHasBeenSet() const { return m_valueListHasBeenSet; } + inline void SetValueList(const Aws::Vector& value) { m_valueListHasBeenSet = true; m_valueList = value; } + inline void SetValueList(Aws::Vector&& value) { m_valueListHasBeenSet = true; m_valueList = std::move(value); } + inline TopicConstantValue& WithValueList(const Aws::Vector& value) { SetValueList(value); return *this;} + inline TopicConstantValue& WithValueList(Aws::Vector&& value) { SetValueList(std::move(value)); return *this;} + inline TopicConstantValue& AddValueList(const CollectiveConstantEntry& value) { m_valueListHasBeenSet = true; m_valueList.push_back(value); return *this; } + inline TopicConstantValue& AddValueList(CollectiveConstantEntry&& value) { m_valueListHasBeenSet = true; m_valueList.push_back(std::move(value)); return *this; } + ///@} + private: + + ConstantType m_constantType; + bool m_constantTypeHasBeenSet = false; + + Aws::String m_value; + bool m_valueHasBeenSet = false; + + Aws::String m_minimum; + bool m_minimumHasBeenSet = false; + + Aws::String m_maximum; + bool m_maximumHasBeenSet = false; + + Aws::Vector m_valueList; + bool m_valueListHasBeenSet = false; + }; + +} // namespace Model +} // namespace QuickSight +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/TopicIR.h b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/TopicIR.h new file mode 100644 index 00000000000..3c1873cdf0f --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/TopicIR.h @@ -0,0 +1,146 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace QuickSight +{ +namespace Model +{ + + /** + *

The definition for a TopicIR.

See Also:

AWS + * API Reference

+ */ + class TopicIR + { + public: + AWS_QUICKSIGHT_API TopicIR(); + AWS_QUICKSIGHT_API TopicIR(Aws::Utils::Json::JsonView jsonValue); + AWS_QUICKSIGHT_API TopicIR& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const; + + + ///@{ + /** + *

The metrics for the TopicIR.

+ */ + inline const Aws::Vector& GetMetrics() const{ return m_metrics; } + inline bool MetricsHasBeenSet() const { return m_metricsHasBeenSet; } + inline void SetMetrics(const Aws::Vector& value) { m_metricsHasBeenSet = true; m_metrics = value; } + inline void SetMetrics(Aws::Vector&& value) { m_metricsHasBeenSet = true; m_metrics = std::move(value); } + inline TopicIR& WithMetrics(const Aws::Vector& value) { SetMetrics(value); return *this;} + inline TopicIR& WithMetrics(Aws::Vector&& value) { SetMetrics(std::move(value)); return *this;} + inline TopicIR& AddMetrics(const TopicIRMetric& value) { m_metricsHasBeenSet = true; m_metrics.push_back(value); return *this; } + inline TopicIR& AddMetrics(TopicIRMetric&& value) { m_metricsHasBeenSet = true; m_metrics.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + /** + *

The GroupBy list for the TopicIR.

+ */ + inline const Aws::Vector& GetGroupByList() const{ return m_groupByList; } + inline bool GroupByListHasBeenSet() const { return m_groupByListHasBeenSet; } + inline void SetGroupByList(const Aws::Vector& value) { m_groupByListHasBeenSet = true; m_groupByList = value; } + inline void SetGroupByList(Aws::Vector&& value) { m_groupByListHasBeenSet = true; m_groupByList = std::move(value); } + inline TopicIR& WithGroupByList(const Aws::Vector& value) { SetGroupByList(value); return *this;} + inline TopicIR& WithGroupByList(Aws::Vector&& value) { SetGroupByList(std::move(value)); return *this;} + inline TopicIR& AddGroupByList(const TopicIRGroupBy& value) { m_groupByListHasBeenSet = true; m_groupByList.push_back(value); return *this; } + inline TopicIR& AddGroupByList(TopicIRGroupBy&& value) { m_groupByListHasBeenSet = true; m_groupByList.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + /** + *

The filters for the TopicIR.

+ */ + inline const Aws::Vector>& GetFilters() const{ return m_filters; } + inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; } + inline void SetFilters(const Aws::Vector>& value) { m_filtersHasBeenSet = true; m_filters = value; } + inline void SetFilters(Aws::Vector>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); } + inline TopicIR& WithFilters(const Aws::Vector>& value) { SetFilters(value); return *this;} + inline TopicIR& WithFilters(Aws::Vector>&& value) { SetFilters(std::move(value)); return *this;} + inline TopicIR& AddFilters(const Aws::Vector& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; } + inline TopicIR& AddFilters(Aws::Vector&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + /** + *

The sort for the TopicIR.

+ */ + inline const TopicSortClause& GetSort() const{ return m_sort; } + inline bool SortHasBeenSet() const { return m_sortHasBeenSet; } + inline void SetSort(const TopicSortClause& value) { m_sortHasBeenSet = true; m_sort = value; } + inline void SetSort(TopicSortClause&& value) { m_sortHasBeenSet = true; m_sort = std::move(value); } + inline TopicIR& WithSort(const TopicSortClause& value) { SetSort(value); return *this;} + inline TopicIR& WithSort(TopicSortClause&& value) { SetSort(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

The contribution analysis for the TopicIR.

+ */ + inline const TopicIRContributionAnalysis& GetContributionAnalysis() const{ return m_contributionAnalysis; } + inline bool ContributionAnalysisHasBeenSet() const { return m_contributionAnalysisHasBeenSet; } + inline void SetContributionAnalysis(const TopicIRContributionAnalysis& value) { m_contributionAnalysisHasBeenSet = true; m_contributionAnalysis = value; } + inline void SetContributionAnalysis(TopicIRContributionAnalysis&& value) { m_contributionAnalysisHasBeenSet = true; m_contributionAnalysis = std::move(value); } + inline TopicIR& WithContributionAnalysis(const TopicIRContributionAnalysis& value) { SetContributionAnalysis(value); return *this;} + inline TopicIR& WithContributionAnalysis(TopicIRContributionAnalysis&& value) { SetContributionAnalysis(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

The visual for the TopicIR.

+ */ + inline const VisualOptions& GetVisual() const{ return m_visual; } + inline bool VisualHasBeenSet() const { return m_visualHasBeenSet; } + inline void SetVisual(const VisualOptions& value) { m_visualHasBeenSet = true; m_visual = value; } + inline void SetVisual(VisualOptions&& value) { m_visualHasBeenSet = true; m_visual = std::move(value); } + inline TopicIR& WithVisual(const VisualOptions& value) { SetVisual(value); return *this;} + inline TopicIR& WithVisual(VisualOptions&& value) { SetVisual(std::move(value)); return *this;} + ///@} + private: + + Aws::Vector m_metrics; + bool m_metricsHasBeenSet = false; + + Aws::Vector m_groupByList; + bool m_groupByListHasBeenSet = false; + + Aws::Vector> m_filters; + bool m_filtersHasBeenSet = false; + + TopicSortClause m_sort; + bool m_sortHasBeenSet = false; + + TopicIRContributionAnalysis m_contributionAnalysis; + bool m_contributionAnalysisHasBeenSet = false; + + VisualOptions m_visual; + bool m_visualHasBeenSet = false; + }; + +} // namespace Model +} // namespace QuickSight +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/TopicIRComparisonMethod.h b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/TopicIRComparisonMethod.h new file mode 100644 index 00000000000..f380e88f79d --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/TopicIRComparisonMethod.h @@ -0,0 +1,89 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace QuickSight +{ +namespace Model +{ + + /** + *

The definition of a TopicIRComparisonMethod.

See + * Also:

AWS + * API Reference

+ */ + class TopicIRComparisonMethod + { + public: + AWS_QUICKSIGHT_API TopicIRComparisonMethod(); + AWS_QUICKSIGHT_API TopicIRComparisonMethod(Aws::Utils::Json::JsonView jsonValue); + AWS_QUICKSIGHT_API TopicIRComparisonMethod& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const; + + + ///@{ + /** + *

The type for the TopicIRComparisonMethod.

+ */ + inline const ComparisonMethodType& GetType() const{ return m_type; } + inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } + inline void SetType(const ComparisonMethodType& value) { m_typeHasBeenSet = true; m_type = value; } + inline void SetType(ComparisonMethodType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } + inline TopicIRComparisonMethod& WithType(const ComparisonMethodType& value) { SetType(value); return *this;} + inline TopicIRComparisonMethod& WithType(ComparisonMethodType&& value) { SetType(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

The period for the TopicIRComparisonMethod.

+ */ + inline const TopicTimeGranularity& GetPeriod() const{ return m_period; } + inline bool PeriodHasBeenSet() const { return m_periodHasBeenSet; } + inline void SetPeriod(const TopicTimeGranularity& value) { m_periodHasBeenSet = true; m_period = value; } + inline void SetPeriod(TopicTimeGranularity&& value) { m_periodHasBeenSet = true; m_period = std::move(value); } + inline TopicIRComparisonMethod& WithPeriod(const TopicTimeGranularity& value) { SetPeriod(value); return *this;} + inline TopicIRComparisonMethod& WithPeriod(TopicTimeGranularity&& value) { SetPeriod(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

The window size for the TopicIRComparisonMethod.

+ */ + inline int GetWindowSize() const{ return m_windowSize; } + inline bool WindowSizeHasBeenSet() const { return m_windowSizeHasBeenSet; } + inline void SetWindowSize(int value) { m_windowSizeHasBeenSet = true; m_windowSize = value; } + inline TopicIRComparisonMethod& WithWindowSize(int value) { SetWindowSize(value); return *this;} + ///@} + private: + + ComparisonMethodType m_type; + bool m_typeHasBeenSet = false; + + TopicTimeGranularity m_period; + bool m_periodHasBeenSet = false; + + int m_windowSize; + bool m_windowSizeHasBeenSet = false; + }; + +} // namespace Model +} // namespace QuickSight +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/TopicIRContributionAnalysis.h b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/TopicIRContributionAnalysis.h new file mode 100644 index 00000000000..b94bb2adb35 --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/TopicIRContributionAnalysis.h @@ -0,0 +1,111 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace QuickSight +{ +namespace Model +{ + + /** + *

The definition for a TopicIRContributionAnalysis.

See + * Also:

AWS + * API Reference

+ */ + class TopicIRContributionAnalysis + { + public: + AWS_QUICKSIGHT_API TopicIRContributionAnalysis(); + AWS_QUICKSIGHT_API TopicIRContributionAnalysis(Aws::Utils::Json::JsonView jsonValue); + AWS_QUICKSIGHT_API TopicIRContributionAnalysis& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const; + + + ///@{ + /** + *

The factors for a TopicIRContributionAnalysis.

+ */ + inline const Aws::Vector& GetFactors() const{ return m_factors; } + inline bool FactorsHasBeenSet() const { return m_factorsHasBeenSet; } + inline void SetFactors(const Aws::Vector& value) { m_factorsHasBeenSet = true; m_factors = value; } + inline void SetFactors(Aws::Vector&& value) { m_factorsHasBeenSet = true; m_factors = std::move(value); } + inline TopicIRContributionAnalysis& WithFactors(const Aws::Vector& value) { SetFactors(value); return *this;} + inline TopicIRContributionAnalysis& WithFactors(Aws::Vector&& value) { SetFactors(std::move(value)); return *this;} + inline TopicIRContributionAnalysis& AddFactors(const ContributionAnalysisFactor& value) { m_factorsHasBeenSet = true; m_factors.push_back(value); return *this; } + inline TopicIRContributionAnalysis& AddFactors(ContributionAnalysisFactor&& value) { m_factorsHasBeenSet = true; m_factors.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + /** + *

The time ranges for the TopicIRContributionAnalysis.

+ */ + inline const ContributionAnalysisTimeRanges& GetTimeRanges() const{ return m_timeRanges; } + inline bool TimeRangesHasBeenSet() const { return m_timeRangesHasBeenSet; } + inline void SetTimeRanges(const ContributionAnalysisTimeRanges& value) { m_timeRangesHasBeenSet = true; m_timeRanges = value; } + inline void SetTimeRanges(ContributionAnalysisTimeRanges&& value) { m_timeRangesHasBeenSet = true; m_timeRanges = std::move(value); } + inline TopicIRContributionAnalysis& WithTimeRanges(const ContributionAnalysisTimeRanges& value) { SetTimeRanges(value); return *this;} + inline TopicIRContributionAnalysis& WithTimeRanges(ContributionAnalysisTimeRanges&& value) { SetTimeRanges(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

The direction for the TopicIRContributionAnalysis.

+ */ + inline const ContributionAnalysisDirection& GetDirection() const{ return m_direction; } + inline bool DirectionHasBeenSet() const { return m_directionHasBeenSet; } + inline void SetDirection(const ContributionAnalysisDirection& value) { m_directionHasBeenSet = true; m_direction = value; } + inline void SetDirection(ContributionAnalysisDirection&& value) { m_directionHasBeenSet = true; m_direction = std::move(value); } + inline TopicIRContributionAnalysis& WithDirection(const ContributionAnalysisDirection& value) { SetDirection(value); return *this;} + inline TopicIRContributionAnalysis& WithDirection(ContributionAnalysisDirection&& value) { SetDirection(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

The sort type for the TopicIRContributionAnalysis.

+ */ + inline const ContributionAnalysisSortType& GetSortType() const{ return m_sortType; } + inline bool SortTypeHasBeenSet() const { return m_sortTypeHasBeenSet; } + inline void SetSortType(const ContributionAnalysisSortType& value) { m_sortTypeHasBeenSet = true; m_sortType = value; } + inline void SetSortType(ContributionAnalysisSortType&& value) { m_sortTypeHasBeenSet = true; m_sortType = std::move(value); } + inline TopicIRContributionAnalysis& WithSortType(const ContributionAnalysisSortType& value) { SetSortType(value); return *this;} + inline TopicIRContributionAnalysis& WithSortType(ContributionAnalysisSortType&& value) { SetSortType(std::move(value)); return *this;} + ///@} + private: + + Aws::Vector m_factors; + bool m_factorsHasBeenSet = false; + + ContributionAnalysisTimeRanges m_timeRanges; + bool m_timeRangesHasBeenSet = false; + + ContributionAnalysisDirection m_direction; + bool m_directionHasBeenSet = false; + + ContributionAnalysisSortType m_sortType; + bool m_sortTypeHasBeenSet = false; + }; + +} // namespace Model +} // namespace QuickSight +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/TopicIRFilterFunction.h b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/TopicIRFilterFunction.h new file mode 100644 index 00000000000..627f784d295 --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/TopicIRFilterFunction.h @@ -0,0 +1,39 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace QuickSight +{ +namespace Model +{ + enum class TopicIRFilterFunction + { + NOT_SET, + CONTAINS, + EXACT, + STARTS_WITH, + ENDS_WITH, + CONTAINS_STRING, + PREVIOUS, + THIS, + LAST, + NEXT, + NOW + }; + +namespace TopicIRFilterFunctionMapper +{ +AWS_QUICKSIGHT_API TopicIRFilterFunction GetTopicIRFilterFunctionForName(const Aws::String& name); + +AWS_QUICKSIGHT_API Aws::String GetNameForTopicIRFilterFunction(TopicIRFilterFunction value); +} // namespace TopicIRFilterFunctionMapper +} // namespace Model +} // namespace QuickSight +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/TopicIRFilterOption.h b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/TopicIRFilterOption.h new file mode 100644 index 00000000000..48fa97f4b10 --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/TopicIRFilterOption.h @@ -0,0 +1,338 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace QuickSight +{ +namespace Model +{ + + /** + *

The definition for a TopicIRFilterOption.

See + * Also:

AWS + * API Reference

+ */ + class TopicIRFilterOption + { + public: + AWS_QUICKSIGHT_API TopicIRFilterOption(); + AWS_QUICKSIGHT_API TopicIRFilterOption(Aws::Utils::Json::JsonView jsonValue); + AWS_QUICKSIGHT_API TopicIRFilterOption& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const; + + + ///@{ + /** + *

The filter type for the TopicIRFilterOption.

+ */ + inline const TopicIRFilterType& GetFilterType() const{ return m_filterType; } + inline bool FilterTypeHasBeenSet() const { return m_filterTypeHasBeenSet; } + inline void SetFilterType(const TopicIRFilterType& value) { m_filterTypeHasBeenSet = true; m_filterType = value; } + inline void SetFilterType(TopicIRFilterType&& value) { m_filterTypeHasBeenSet = true; m_filterType = std::move(value); } + inline TopicIRFilterOption& WithFilterType(const TopicIRFilterType& value) { SetFilterType(value); return *this;} + inline TopicIRFilterOption& WithFilterType(TopicIRFilterType&& value) { SetFilterType(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

The filter class for the TopicIRFilterOption.

+ */ + inline const FilterClass& GetFilterClass() const{ return m_filterClass; } + inline bool FilterClassHasBeenSet() const { return m_filterClassHasBeenSet; } + inline void SetFilterClass(const FilterClass& value) { m_filterClassHasBeenSet = true; m_filterClass = value; } + inline void SetFilterClass(FilterClass&& value) { m_filterClassHasBeenSet = true; m_filterClass = std::move(value); } + inline TopicIRFilterOption& WithFilterClass(const FilterClass& value) { SetFilterClass(value); return *this;} + inline TopicIRFilterOption& WithFilterClass(FilterClass&& value) { SetFilterClass(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

The operand field for the TopicIRFilterOption.

+ */ + inline const Identifier& GetOperandField() const{ return m_operandField; } + inline bool OperandFieldHasBeenSet() const { return m_operandFieldHasBeenSet; } + inline void SetOperandField(const Identifier& value) { m_operandFieldHasBeenSet = true; m_operandField = value; } + inline void SetOperandField(Identifier&& value) { m_operandFieldHasBeenSet = true; m_operandField = std::move(value); } + inline TopicIRFilterOption& WithOperandField(const Identifier& value) { SetOperandField(value); return *this;} + inline TopicIRFilterOption& WithOperandField(Identifier&& value) { SetOperandField(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

The function for the TopicIRFilterOption.

+ */ + inline const TopicIRFilterFunction& GetFunction() const{ return m_function; } + inline bool FunctionHasBeenSet() const { return m_functionHasBeenSet; } + inline void SetFunction(const TopicIRFilterFunction& value) { m_functionHasBeenSet = true; m_function = value; } + inline void SetFunction(TopicIRFilterFunction&& value) { m_functionHasBeenSet = true; m_function = std::move(value); } + inline TopicIRFilterOption& WithFunction(const TopicIRFilterFunction& value) { SetFunction(value); return *this;} + inline TopicIRFilterOption& WithFunction(TopicIRFilterFunction&& value) { SetFunction(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

The constant for the TopicIRFilterOption.

+ */ + inline const TopicConstantValue& GetConstant() const{ return m_constant; } + inline bool ConstantHasBeenSet() const { return m_constantHasBeenSet; } + inline void SetConstant(const TopicConstantValue& value) { m_constantHasBeenSet = true; m_constant = value; } + inline void SetConstant(TopicConstantValue&& value) { m_constantHasBeenSet = true; m_constant = std::move(value); } + inline TopicIRFilterOption& WithConstant(const TopicConstantValue& value) { SetConstant(value); return *this;} + inline TopicIRFilterOption& WithConstant(TopicConstantValue&& value) { SetConstant(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

The inverse for the TopicIRFilterOption.

+ */ + inline bool GetInverse() const{ return m_inverse; } + inline bool InverseHasBeenSet() const { return m_inverseHasBeenSet; } + inline void SetInverse(bool value) { m_inverseHasBeenSet = true; m_inverse = value; } + inline TopicIRFilterOption& WithInverse(bool value) { SetInverse(value); return *this;} + ///@} + + ///@{ + /** + *

The null filter for the TopicIRFilterOption.

+ */ + inline const NullFilterOption& GetNullFilter() const{ return m_nullFilter; } + inline bool NullFilterHasBeenSet() const { return m_nullFilterHasBeenSet; } + inline void SetNullFilter(const NullFilterOption& value) { m_nullFilterHasBeenSet = true; m_nullFilter = value; } + inline void SetNullFilter(NullFilterOption&& value) { m_nullFilterHasBeenSet = true; m_nullFilter = std::move(value); } + inline TopicIRFilterOption& WithNullFilter(const NullFilterOption& value) { SetNullFilter(value); return *this;} + inline TopicIRFilterOption& WithNullFilter(NullFilterOption&& value) { SetNullFilter(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

The aggregation for the TopicIRFilterOption.

+ */ + inline const AggType& GetAggregation() const{ return m_aggregation; } + inline bool AggregationHasBeenSet() const { return m_aggregationHasBeenSet; } + inline void SetAggregation(const AggType& value) { m_aggregationHasBeenSet = true; m_aggregation = value; } + inline void SetAggregation(AggType&& value) { m_aggregationHasBeenSet = true; m_aggregation = std::move(value); } + inline TopicIRFilterOption& WithAggregation(const AggType& value) { SetAggregation(value); return *this;} + inline TopicIRFilterOption& WithAggregation(AggType&& value) { SetAggregation(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

The aggregation function parameters for the + * TopicIRFilterOption.

+ */ + inline const Aws::Map& GetAggregationFunctionParameters() const{ return m_aggregationFunctionParameters; } + inline bool AggregationFunctionParametersHasBeenSet() const { return m_aggregationFunctionParametersHasBeenSet; } + inline void SetAggregationFunctionParameters(const Aws::Map& value) { m_aggregationFunctionParametersHasBeenSet = true; m_aggregationFunctionParameters = value; } + inline void SetAggregationFunctionParameters(Aws::Map&& value) { m_aggregationFunctionParametersHasBeenSet = true; m_aggregationFunctionParameters = std::move(value); } + inline TopicIRFilterOption& WithAggregationFunctionParameters(const Aws::Map& value) { SetAggregationFunctionParameters(value); return *this;} + inline TopicIRFilterOption& WithAggregationFunctionParameters(Aws::Map&& value) { SetAggregationFunctionParameters(std::move(value)); return *this;} + inline TopicIRFilterOption& AddAggregationFunctionParameters(const Aws::String& key, const Aws::String& value) { m_aggregationFunctionParametersHasBeenSet = true; m_aggregationFunctionParameters.emplace(key, value); return *this; } + inline TopicIRFilterOption& AddAggregationFunctionParameters(Aws::String&& key, const Aws::String& value) { m_aggregationFunctionParametersHasBeenSet = true; m_aggregationFunctionParameters.emplace(std::move(key), value); return *this; } + inline TopicIRFilterOption& AddAggregationFunctionParameters(const Aws::String& key, Aws::String&& value) { m_aggregationFunctionParametersHasBeenSet = true; m_aggregationFunctionParameters.emplace(key, std::move(value)); return *this; } + inline TopicIRFilterOption& AddAggregationFunctionParameters(Aws::String&& key, Aws::String&& value) { m_aggregationFunctionParametersHasBeenSet = true; m_aggregationFunctionParameters.emplace(std::move(key), std::move(value)); return *this; } + inline TopicIRFilterOption& AddAggregationFunctionParameters(const char* key, Aws::String&& value) { m_aggregationFunctionParametersHasBeenSet = true; m_aggregationFunctionParameters.emplace(key, std::move(value)); return *this; } + inline TopicIRFilterOption& AddAggregationFunctionParameters(Aws::String&& key, const char* value) { m_aggregationFunctionParametersHasBeenSet = true; m_aggregationFunctionParameters.emplace(std::move(key), value); return *this; } + inline TopicIRFilterOption& AddAggregationFunctionParameters(const char* key, const char* value) { m_aggregationFunctionParametersHasBeenSet = true; m_aggregationFunctionParameters.emplace(key, value); return *this; } + ///@} + + ///@{ + /** + *

The AggregationPartitionBy for the + * TopicIRFilterOption.

+ */ + inline const Aws::Vector& GetAggregationPartitionBy() const{ return m_aggregationPartitionBy; } + inline bool AggregationPartitionByHasBeenSet() const { return m_aggregationPartitionByHasBeenSet; } + inline void SetAggregationPartitionBy(const Aws::Vector& value) { m_aggregationPartitionByHasBeenSet = true; m_aggregationPartitionBy = value; } + inline void SetAggregationPartitionBy(Aws::Vector&& value) { m_aggregationPartitionByHasBeenSet = true; m_aggregationPartitionBy = std::move(value); } + inline TopicIRFilterOption& WithAggregationPartitionBy(const Aws::Vector& value) { SetAggregationPartitionBy(value); return *this;} + inline TopicIRFilterOption& WithAggregationPartitionBy(Aws::Vector&& value) { SetAggregationPartitionBy(std::move(value)); return *this;} + inline TopicIRFilterOption& AddAggregationPartitionBy(const AggregationPartitionBy& value) { m_aggregationPartitionByHasBeenSet = true; m_aggregationPartitionBy.push_back(value); return *this; } + inline TopicIRFilterOption& AddAggregationPartitionBy(AggregationPartitionBy&& value) { m_aggregationPartitionByHasBeenSet = true; m_aggregationPartitionBy.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + /** + *

The range for the TopicIRFilterOption.

+ */ + inline const TopicConstantValue& GetRange() const{ return m_range; } + inline bool RangeHasBeenSet() const { return m_rangeHasBeenSet; } + inline void SetRange(const TopicConstantValue& value) { m_rangeHasBeenSet = true; m_range = value; } + inline void SetRange(TopicConstantValue&& value) { m_rangeHasBeenSet = true; m_range = std::move(value); } + inline TopicIRFilterOption& WithRange(const TopicConstantValue& value) { SetRange(value); return *this;} + inline TopicIRFilterOption& WithRange(TopicConstantValue&& value) { SetRange(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

The inclusive for the TopicIRFilterOption.

+ */ + inline bool GetInclusive() const{ return m_inclusive; } + inline bool InclusiveHasBeenSet() const { return m_inclusiveHasBeenSet; } + inline void SetInclusive(bool value) { m_inclusiveHasBeenSet = true; m_inclusive = value; } + inline TopicIRFilterOption& WithInclusive(bool value) { SetInclusive(value); return *this;} + ///@} + + ///@{ + /** + *

The time granularity for the TopicIRFilterOption.

+ */ + inline const TimeGranularity& GetTimeGranularity() const{ return m_timeGranularity; } + inline bool TimeGranularityHasBeenSet() const { return m_timeGranularityHasBeenSet; } + inline void SetTimeGranularity(const TimeGranularity& value) { m_timeGranularityHasBeenSet = true; m_timeGranularity = value; } + inline void SetTimeGranularity(TimeGranularity&& value) { m_timeGranularityHasBeenSet = true; m_timeGranularity = std::move(value); } + inline TopicIRFilterOption& WithTimeGranularity(const TimeGranularity& value) { SetTimeGranularity(value); return *this;} + inline TopicIRFilterOption& WithTimeGranularity(TimeGranularity&& value) { SetTimeGranularity(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

The last next offset for the TopicIRFilterOption.

+ */ + inline const TopicConstantValue& GetLastNextOffset() const{ return m_lastNextOffset; } + inline bool LastNextOffsetHasBeenSet() const { return m_lastNextOffsetHasBeenSet; } + inline void SetLastNextOffset(const TopicConstantValue& value) { m_lastNextOffsetHasBeenSet = true; m_lastNextOffset = value; } + inline void SetLastNextOffset(TopicConstantValue&& value) { m_lastNextOffsetHasBeenSet = true; m_lastNextOffset = std::move(value); } + inline TopicIRFilterOption& WithLastNextOffset(const TopicConstantValue& value) { SetLastNextOffset(value); return *this;} + inline TopicIRFilterOption& WithLastNextOffset(TopicConstantValue&& value) { SetLastNextOffset(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

The agg metrics for the TopicIRFilterOption.

+ */ + inline const Aws::Vector& GetAggMetrics() const{ return m_aggMetrics; } + inline bool AggMetricsHasBeenSet() const { return m_aggMetricsHasBeenSet; } + inline void SetAggMetrics(const Aws::Vector& value) { m_aggMetricsHasBeenSet = true; m_aggMetrics = value; } + inline void SetAggMetrics(Aws::Vector&& value) { m_aggMetricsHasBeenSet = true; m_aggMetrics = std::move(value); } + inline TopicIRFilterOption& WithAggMetrics(const Aws::Vector& value) { SetAggMetrics(value); return *this;} + inline TopicIRFilterOption& WithAggMetrics(Aws::Vector&& value) { SetAggMetrics(std::move(value)); return *this;} + inline TopicIRFilterOption& AddAggMetrics(const FilterAggMetrics& value) { m_aggMetricsHasBeenSet = true; m_aggMetrics.push_back(value); return *this; } + inline TopicIRFilterOption& AddAggMetrics(FilterAggMetrics&& value) { m_aggMetricsHasBeenSet = true; m_aggMetrics.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + /** + *

The TopBottomLimit for the TopicIRFilterOption.

+ */ + inline const TopicConstantValue& GetTopBottomLimit() const{ return m_topBottomLimit; } + inline bool TopBottomLimitHasBeenSet() const { return m_topBottomLimitHasBeenSet; } + inline void SetTopBottomLimit(const TopicConstantValue& value) { m_topBottomLimitHasBeenSet = true; m_topBottomLimit = value; } + inline void SetTopBottomLimit(TopicConstantValue&& value) { m_topBottomLimitHasBeenSet = true; m_topBottomLimit = std::move(value); } + inline TopicIRFilterOption& WithTopBottomLimit(const TopicConstantValue& value) { SetTopBottomLimit(value); return *this;} + inline TopicIRFilterOption& WithTopBottomLimit(TopicConstantValue&& value) { SetTopBottomLimit(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

The sort direction for the TopicIRFilterOption.

+ */ + inline const TopicSortDirection& GetSortDirection() const{ return m_sortDirection; } + inline bool SortDirectionHasBeenSet() const { return m_sortDirectionHasBeenSet; } + inline void SetSortDirection(const TopicSortDirection& value) { m_sortDirectionHasBeenSet = true; m_sortDirection = value; } + inline void SetSortDirection(TopicSortDirection&& value) { m_sortDirectionHasBeenSet = true; m_sortDirection = std::move(value); } + inline TopicIRFilterOption& WithSortDirection(const TopicSortDirection& value) { SetSortDirection(value); return *this;} + inline TopicIRFilterOption& WithSortDirection(TopicSortDirection&& value) { SetSortDirection(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

The anchor for the TopicIRFilterOption.

+ */ + inline const Anchor& GetAnchor() const{ return m_anchor; } + inline bool AnchorHasBeenSet() const { return m_anchorHasBeenSet; } + inline void SetAnchor(const Anchor& value) { m_anchorHasBeenSet = true; m_anchor = value; } + inline void SetAnchor(Anchor&& value) { m_anchorHasBeenSet = true; m_anchor = std::move(value); } + inline TopicIRFilterOption& WithAnchor(const Anchor& value) { SetAnchor(value); return *this;} + inline TopicIRFilterOption& WithAnchor(Anchor&& value) { SetAnchor(std::move(value)); return *this;} + ///@} + private: + + TopicIRFilterType m_filterType; + bool m_filterTypeHasBeenSet = false; + + FilterClass m_filterClass; + bool m_filterClassHasBeenSet = false; + + Identifier m_operandField; + bool m_operandFieldHasBeenSet = false; + + TopicIRFilterFunction m_function; + bool m_functionHasBeenSet = false; + + TopicConstantValue m_constant; + bool m_constantHasBeenSet = false; + + bool m_inverse; + bool m_inverseHasBeenSet = false; + + NullFilterOption m_nullFilter; + bool m_nullFilterHasBeenSet = false; + + AggType m_aggregation; + bool m_aggregationHasBeenSet = false; + + Aws::Map m_aggregationFunctionParameters; + bool m_aggregationFunctionParametersHasBeenSet = false; + + Aws::Vector m_aggregationPartitionBy; + bool m_aggregationPartitionByHasBeenSet = false; + + TopicConstantValue m_range; + bool m_rangeHasBeenSet = false; + + bool m_inclusive; + bool m_inclusiveHasBeenSet = false; + + TimeGranularity m_timeGranularity; + bool m_timeGranularityHasBeenSet = false; + + TopicConstantValue m_lastNextOffset; + bool m_lastNextOffsetHasBeenSet = false; + + Aws::Vector m_aggMetrics; + bool m_aggMetricsHasBeenSet = false; + + TopicConstantValue m_topBottomLimit; + bool m_topBottomLimitHasBeenSet = false; + + TopicSortDirection m_sortDirection; + bool m_sortDirectionHasBeenSet = false; + + Anchor m_anchor; + bool m_anchorHasBeenSet = false; + }; + +} // namespace Model +} // namespace QuickSight +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/TopicIRFilterType.h b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/TopicIRFilterType.h new file mode 100644 index 00000000000..221bd4c8669 --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/TopicIRFilterType.h @@ -0,0 +1,38 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace QuickSight +{ +namespace Model +{ + enum class TopicIRFilterType + { + NOT_SET, + CATEGORY_FILTER, + NUMERIC_EQUALITY_FILTER, + NUMERIC_RANGE_FILTER, + DATE_RANGE_FILTER, + RELATIVE_DATE_FILTER, + TOP_BOTTOM_FILTER, + EQUALS, + RANK_LIMIT_FILTER, + ACCEPT_ALL_FILTER + }; + +namespace TopicIRFilterTypeMapper +{ +AWS_QUICKSIGHT_API TopicIRFilterType GetTopicIRFilterTypeForName(const Aws::String& name); + +AWS_QUICKSIGHT_API Aws::String GetNameForTopicIRFilterType(TopicIRFilterType value); +} // namespace TopicIRFilterTypeMapper +} // namespace Model +} // namespace QuickSight +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/TopicIRGroupBy.h b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/TopicIRGroupBy.h new file mode 100644 index 00000000000..ba76d62e6f2 --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/TopicIRGroupBy.h @@ -0,0 +1,138 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace QuickSight +{ +namespace Model +{ + + /** + *

The definition for a TopicIRGroupBy.

See Also:

+ * AWS + * API Reference

+ */ + class TopicIRGroupBy + { + public: + AWS_QUICKSIGHT_API TopicIRGroupBy(); + AWS_QUICKSIGHT_API TopicIRGroupBy(Aws::Utils::Json::JsonView jsonValue); + AWS_QUICKSIGHT_API TopicIRGroupBy& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const; + + + ///@{ + /** + *

The field name for the TopicIRGroupBy.

+ */ + inline const Identifier& GetFieldName() const{ return m_fieldName; } + inline bool FieldNameHasBeenSet() const { return m_fieldNameHasBeenSet; } + inline void SetFieldName(const Identifier& value) { m_fieldNameHasBeenSet = true; m_fieldName = value; } + inline void SetFieldName(Identifier&& value) { m_fieldNameHasBeenSet = true; m_fieldName = std::move(value); } + inline TopicIRGroupBy& WithFieldName(const Identifier& value) { SetFieldName(value); return *this;} + inline TopicIRGroupBy& WithFieldName(Identifier&& value) { SetFieldName(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

The time granularity for the TopicIRGroupBy.

+ */ + inline const TopicTimeGranularity& GetTimeGranularity() const{ return m_timeGranularity; } + inline bool TimeGranularityHasBeenSet() const { return m_timeGranularityHasBeenSet; } + inline void SetTimeGranularity(const TopicTimeGranularity& value) { m_timeGranularityHasBeenSet = true; m_timeGranularity = value; } + inline void SetTimeGranularity(TopicTimeGranularity&& value) { m_timeGranularityHasBeenSet = true; m_timeGranularity = std::move(value); } + inline TopicIRGroupBy& WithTimeGranularity(const TopicTimeGranularity& value) { SetTimeGranularity(value); return *this;} + inline TopicIRGroupBy& WithTimeGranularity(TopicTimeGranularity&& value) { SetTimeGranularity(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

The sort for the TopicIRGroupBy.

+ */ + inline const TopicSortClause& GetSort() const{ return m_sort; } + inline bool SortHasBeenSet() const { return m_sortHasBeenSet; } + inline void SetSort(const TopicSortClause& value) { m_sortHasBeenSet = true; m_sort = value; } + inline void SetSort(TopicSortClause&& value) { m_sortHasBeenSet = true; m_sort = std::move(value); } + inline TopicIRGroupBy& WithSort(const TopicSortClause& value) { SetSort(value); return *this;} + inline TopicIRGroupBy& WithSort(TopicSortClause&& value) { SetSort(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

The display format for the TopicIRGroupBy.

+ */ + inline const DisplayFormat& GetDisplayFormat() const{ return m_displayFormat; } + inline bool DisplayFormatHasBeenSet() const { return m_displayFormatHasBeenSet; } + inline void SetDisplayFormat(const DisplayFormat& value) { m_displayFormatHasBeenSet = true; m_displayFormat = value; } + inline void SetDisplayFormat(DisplayFormat&& value) { m_displayFormatHasBeenSet = true; m_displayFormat = std::move(value); } + inline TopicIRGroupBy& WithDisplayFormat(const DisplayFormat& value) { SetDisplayFormat(value); return *this;} + inline TopicIRGroupBy& WithDisplayFormat(DisplayFormat&& value) { SetDisplayFormat(std::move(value)); return *this;} + ///@} + + ///@{ + + inline const DisplayFormatOptions& GetDisplayFormatOptions() const{ return m_displayFormatOptions; } + inline bool DisplayFormatOptionsHasBeenSet() const { return m_displayFormatOptionsHasBeenSet; } + inline void SetDisplayFormatOptions(const DisplayFormatOptions& value) { m_displayFormatOptionsHasBeenSet = true; m_displayFormatOptions = value; } + inline void SetDisplayFormatOptions(DisplayFormatOptions&& value) { m_displayFormatOptionsHasBeenSet = true; m_displayFormatOptions = std::move(value); } + inline TopicIRGroupBy& WithDisplayFormatOptions(const DisplayFormatOptions& value) { SetDisplayFormatOptions(value); return *this;} + inline TopicIRGroupBy& WithDisplayFormatOptions(DisplayFormatOptions&& value) { SetDisplayFormatOptions(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

The named entity for the TopicIRGroupBy.

+ */ + inline const NamedEntityRef& GetNamedEntity() const{ return m_namedEntity; } + inline bool NamedEntityHasBeenSet() const { return m_namedEntityHasBeenSet; } + inline void SetNamedEntity(const NamedEntityRef& value) { m_namedEntityHasBeenSet = true; m_namedEntity = value; } + inline void SetNamedEntity(NamedEntityRef&& value) { m_namedEntityHasBeenSet = true; m_namedEntity = std::move(value); } + inline TopicIRGroupBy& WithNamedEntity(const NamedEntityRef& value) { SetNamedEntity(value); return *this;} + inline TopicIRGroupBy& WithNamedEntity(NamedEntityRef&& value) { SetNamedEntity(std::move(value)); return *this;} + ///@} + private: + + Identifier m_fieldName; + bool m_fieldNameHasBeenSet = false; + + TopicTimeGranularity m_timeGranularity; + bool m_timeGranularityHasBeenSet = false; + + TopicSortClause m_sort; + bool m_sortHasBeenSet = false; + + DisplayFormat m_displayFormat; + bool m_displayFormatHasBeenSet = false; + + DisplayFormatOptions m_displayFormatOptions; + bool m_displayFormatOptionsHasBeenSet = false; + + NamedEntityRef m_namedEntity; + bool m_namedEntityHasBeenSet = false; + }; + +} // namespace Model +} // namespace QuickSight +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/TopicIRMetric.h b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/TopicIRMetric.h new file mode 100644 index 00000000000..2de2a9e61dd --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/TopicIRMetric.h @@ -0,0 +1,191 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace QuickSight +{ +namespace Model +{ + + /** + *

The definition for a TopicIRMetric.

See Also:

+ * AWS + * API Reference

+ */ + class TopicIRMetric + { + public: + AWS_QUICKSIGHT_API TopicIRMetric(); + AWS_QUICKSIGHT_API TopicIRMetric(Aws::Utils::Json::JsonView jsonValue); + AWS_QUICKSIGHT_API TopicIRMetric& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const; + + + ///@{ + /** + *

The metric ID for the TopicIRMetric.

+ */ + inline const Identifier& GetMetricId() const{ return m_metricId; } + inline bool MetricIdHasBeenSet() const { return m_metricIdHasBeenSet; } + inline void SetMetricId(const Identifier& value) { m_metricIdHasBeenSet = true; m_metricId = value; } + inline void SetMetricId(Identifier&& value) { m_metricIdHasBeenSet = true; m_metricId = std::move(value); } + inline TopicIRMetric& WithMetricId(const Identifier& value) { SetMetricId(value); return *this;} + inline TopicIRMetric& WithMetricId(Identifier&& value) { SetMetricId(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

The function for the TopicIRMetric.

+ */ + inline const AggFunction& GetFunction() const{ return m_function; } + inline bool FunctionHasBeenSet() const { return m_functionHasBeenSet; } + inline void SetFunction(const AggFunction& value) { m_functionHasBeenSet = true; m_function = value; } + inline void SetFunction(AggFunction&& value) { m_functionHasBeenSet = true; m_function = std::move(value); } + inline TopicIRMetric& WithFunction(const AggFunction& value) { SetFunction(value); return *this;} + inline TopicIRMetric& WithFunction(AggFunction&& value) { SetFunction(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

The operands for the TopicIRMetric.

+ */ + inline const Aws::Vector& GetOperands() const{ return m_operands; } + inline bool OperandsHasBeenSet() const { return m_operandsHasBeenSet; } + inline void SetOperands(const Aws::Vector& value) { m_operandsHasBeenSet = true; m_operands = value; } + inline void SetOperands(Aws::Vector&& value) { m_operandsHasBeenSet = true; m_operands = std::move(value); } + inline TopicIRMetric& WithOperands(const Aws::Vector& value) { SetOperands(value); return *this;} + inline TopicIRMetric& WithOperands(Aws::Vector&& value) { SetOperands(std::move(value)); return *this;} + inline TopicIRMetric& AddOperands(const Identifier& value) { m_operandsHasBeenSet = true; m_operands.push_back(value); return *this; } + inline TopicIRMetric& AddOperands(Identifier&& value) { m_operandsHasBeenSet = true; m_operands.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + /** + *

The comparison method for the TopicIRMetric.

+ */ + inline const TopicIRComparisonMethod& GetComparisonMethod() const{ return m_comparisonMethod; } + inline bool ComparisonMethodHasBeenSet() const { return m_comparisonMethodHasBeenSet; } + inline void SetComparisonMethod(const TopicIRComparisonMethod& value) { m_comparisonMethodHasBeenSet = true; m_comparisonMethod = value; } + inline void SetComparisonMethod(TopicIRComparisonMethod&& value) { m_comparisonMethodHasBeenSet = true; m_comparisonMethod = std::move(value); } + inline TopicIRMetric& WithComparisonMethod(const TopicIRComparisonMethod& value) { SetComparisonMethod(value); return *this;} + inline TopicIRMetric& WithComparisonMethod(TopicIRComparisonMethod&& value) { SetComparisonMethod(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

The expression for the TopicIRMetric.

+ */ + inline const Aws::String& GetExpression() const{ return m_expression; } + inline bool ExpressionHasBeenSet() const { return m_expressionHasBeenSet; } + inline void SetExpression(const Aws::String& value) { m_expressionHasBeenSet = true; m_expression = value; } + inline void SetExpression(Aws::String&& value) { m_expressionHasBeenSet = true; m_expression = std::move(value); } + inline void SetExpression(const char* value) { m_expressionHasBeenSet = true; m_expression.assign(value); } + inline TopicIRMetric& WithExpression(const Aws::String& value) { SetExpression(value); return *this;} + inline TopicIRMetric& WithExpression(Aws::String&& value) { SetExpression(std::move(value)); return *this;} + inline TopicIRMetric& WithExpression(const char* value) { SetExpression(value); return *this;} + ///@} + + ///@{ + /** + *

The calculated field references for the TopicIRMetric.

+ */ + inline const Aws::Vector& GetCalculatedFieldReferences() const{ return m_calculatedFieldReferences; } + inline bool CalculatedFieldReferencesHasBeenSet() const { return m_calculatedFieldReferencesHasBeenSet; } + inline void SetCalculatedFieldReferences(const Aws::Vector& value) { m_calculatedFieldReferencesHasBeenSet = true; m_calculatedFieldReferences = value; } + inline void SetCalculatedFieldReferences(Aws::Vector&& value) { m_calculatedFieldReferencesHasBeenSet = true; m_calculatedFieldReferences = std::move(value); } + inline TopicIRMetric& WithCalculatedFieldReferences(const Aws::Vector& value) { SetCalculatedFieldReferences(value); return *this;} + inline TopicIRMetric& WithCalculatedFieldReferences(Aws::Vector&& value) { SetCalculatedFieldReferences(std::move(value)); return *this;} + inline TopicIRMetric& AddCalculatedFieldReferences(const Identifier& value) { m_calculatedFieldReferencesHasBeenSet = true; m_calculatedFieldReferences.push_back(value); return *this; } + inline TopicIRMetric& AddCalculatedFieldReferences(Identifier&& value) { m_calculatedFieldReferencesHasBeenSet = true; m_calculatedFieldReferences.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + /** + *

The display format for the TopicIRMetric.

+ */ + inline const DisplayFormat& GetDisplayFormat() const{ return m_displayFormat; } + inline bool DisplayFormatHasBeenSet() const { return m_displayFormatHasBeenSet; } + inline void SetDisplayFormat(const DisplayFormat& value) { m_displayFormatHasBeenSet = true; m_displayFormat = value; } + inline void SetDisplayFormat(DisplayFormat&& value) { m_displayFormatHasBeenSet = true; m_displayFormat = std::move(value); } + inline TopicIRMetric& WithDisplayFormat(const DisplayFormat& value) { SetDisplayFormat(value); return *this;} + inline TopicIRMetric& WithDisplayFormat(DisplayFormat&& value) { SetDisplayFormat(std::move(value)); return *this;} + ///@} + + ///@{ + + inline const DisplayFormatOptions& GetDisplayFormatOptions() const{ return m_displayFormatOptions; } + inline bool DisplayFormatOptionsHasBeenSet() const { return m_displayFormatOptionsHasBeenSet; } + inline void SetDisplayFormatOptions(const DisplayFormatOptions& value) { m_displayFormatOptionsHasBeenSet = true; m_displayFormatOptions = value; } + inline void SetDisplayFormatOptions(DisplayFormatOptions&& value) { m_displayFormatOptionsHasBeenSet = true; m_displayFormatOptions = std::move(value); } + inline TopicIRMetric& WithDisplayFormatOptions(const DisplayFormatOptions& value) { SetDisplayFormatOptions(value); return *this;} + inline TopicIRMetric& WithDisplayFormatOptions(DisplayFormatOptions&& value) { SetDisplayFormatOptions(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

The named entity for the TopicIRMetric.

+ */ + inline const NamedEntityRef& GetNamedEntity() const{ return m_namedEntity; } + inline bool NamedEntityHasBeenSet() const { return m_namedEntityHasBeenSet; } + inline void SetNamedEntity(const NamedEntityRef& value) { m_namedEntityHasBeenSet = true; m_namedEntity = value; } + inline void SetNamedEntity(NamedEntityRef&& value) { m_namedEntityHasBeenSet = true; m_namedEntity = std::move(value); } + inline TopicIRMetric& WithNamedEntity(const NamedEntityRef& value) { SetNamedEntity(value); return *this;} + inline TopicIRMetric& WithNamedEntity(NamedEntityRef&& value) { SetNamedEntity(std::move(value)); return *this;} + ///@} + private: + + Identifier m_metricId; + bool m_metricIdHasBeenSet = false; + + AggFunction m_function; + bool m_functionHasBeenSet = false; + + Aws::Vector m_operands; + bool m_operandsHasBeenSet = false; + + TopicIRComparisonMethod m_comparisonMethod; + bool m_comparisonMethodHasBeenSet = false; + + Aws::String m_expression; + bool m_expressionHasBeenSet = false; + + Aws::Vector m_calculatedFieldReferences; + bool m_calculatedFieldReferencesHasBeenSet = false; + + DisplayFormat m_displayFormat; + bool m_displayFormatHasBeenSet = false; + + DisplayFormatOptions m_displayFormatOptions; + bool m_displayFormatOptionsHasBeenSet = false; + + NamedEntityRef m_namedEntity; + bool m_namedEntityHasBeenSet = false; + }; + +} // namespace Model +} // namespace QuickSight +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/TopicReviewedAnswer.h b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/TopicReviewedAnswer.h new file mode 100644 index 00000000000..398acdd7f01 --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/TopicReviewedAnswer.h @@ -0,0 +1,161 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace QuickSight +{ +namespace Model +{ + + /** + *

The deinition for a TopicReviewedAnswer.

See + * Also:

AWS + * API Reference

+ */ + class TopicReviewedAnswer + { + public: + AWS_QUICKSIGHT_API TopicReviewedAnswer(); + AWS_QUICKSIGHT_API TopicReviewedAnswer(Aws::Utils::Json::JsonView jsonValue); + AWS_QUICKSIGHT_API TopicReviewedAnswer& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const; + + + ///@{ + /** + *

The Amazon Resource Name (ARN) of the reviewed answer.

+ */ + inline const Aws::String& GetArn() const{ return m_arn; } + inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } + inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } + inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } + inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } + inline TopicReviewedAnswer& WithArn(const Aws::String& value) { SetArn(value); return *this;} + inline TopicReviewedAnswer& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} + inline TopicReviewedAnswer& WithArn(const char* value) { SetArn(value); return *this;} + ///@} + + ///@{ + /** + *

The answer ID of the reviewed answer.

+ */ + inline const Aws::String& GetAnswerId() const{ return m_answerId; } + inline bool AnswerIdHasBeenSet() const { return m_answerIdHasBeenSet; } + inline void SetAnswerId(const Aws::String& value) { m_answerIdHasBeenSet = true; m_answerId = value; } + inline void SetAnswerId(Aws::String&& value) { m_answerIdHasBeenSet = true; m_answerId = std::move(value); } + inline void SetAnswerId(const char* value) { m_answerIdHasBeenSet = true; m_answerId.assign(value); } + inline TopicReviewedAnswer& WithAnswerId(const Aws::String& value) { SetAnswerId(value); return *this;} + inline TopicReviewedAnswer& WithAnswerId(Aws::String&& value) { SetAnswerId(std::move(value)); return *this;} + inline TopicReviewedAnswer& WithAnswerId(const char* value) { SetAnswerId(value); return *this;} + ///@} + + ///@{ + /** + *

The Dataset ARN for the TopicReviewedAnswer.

+ */ + inline const Aws::String& GetDatasetArn() const{ return m_datasetArn; } + inline bool DatasetArnHasBeenSet() const { return m_datasetArnHasBeenSet; } + inline void SetDatasetArn(const Aws::String& value) { m_datasetArnHasBeenSet = true; m_datasetArn = value; } + inline void SetDatasetArn(Aws::String&& value) { m_datasetArnHasBeenSet = true; m_datasetArn = std::move(value); } + inline void SetDatasetArn(const char* value) { m_datasetArnHasBeenSet = true; m_datasetArn.assign(value); } + inline TopicReviewedAnswer& WithDatasetArn(const Aws::String& value) { SetDatasetArn(value); return *this;} + inline TopicReviewedAnswer& WithDatasetArn(Aws::String&& value) { SetDatasetArn(std::move(value)); return *this;} + inline TopicReviewedAnswer& WithDatasetArn(const char* value) { SetDatasetArn(value); return *this;} + ///@} + + ///@{ + /** + *

The question for the TopicReviewedAnswer.

+ */ + inline const Aws::String& GetQuestion() const{ return m_question; } + inline bool QuestionHasBeenSet() const { return m_questionHasBeenSet; } + inline void SetQuestion(const Aws::String& value) { m_questionHasBeenSet = true; m_question = value; } + inline void SetQuestion(Aws::String&& value) { m_questionHasBeenSet = true; m_question = std::move(value); } + inline void SetQuestion(const char* value) { m_questionHasBeenSet = true; m_question.assign(value); } + inline TopicReviewedAnswer& WithQuestion(const Aws::String& value) { SetQuestion(value); return *this;} + inline TopicReviewedAnswer& WithQuestion(Aws::String&& value) { SetQuestion(std::move(value)); return *this;} + inline TopicReviewedAnswer& WithQuestion(const char* value) { SetQuestion(value); return *this;} + ///@} + + ///@{ + /** + *

The mir for the TopicReviewedAnswer.

+ */ + inline const TopicIR& GetMir() const{ return m_mir; } + inline bool MirHasBeenSet() const { return m_mirHasBeenSet; } + inline void SetMir(const TopicIR& value) { m_mirHasBeenSet = true; m_mir = value; } + inline void SetMir(TopicIR&& value) { m_mirHasBeenSet = true; m_mir = std::move(value); } + inline TopicReviewedAnswer& WithMir(const TopicIR& value) { SetMir(value); return *this;} + inline TopicReviewedAnswer& WithMir(TopicIR&& value) { SetMir(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

The primary visual for the TopicReviewedAnswer.

+ */ + inline const TopicVisual& GetPrimaryVisual() const{ return m_primaryVisual; } + inline bool PrimaryVisualHasBeenSet() const { return m_primaryVisualHasBeenSet; } + inline void SetPrimaryVisual(const TopicVisual& value) { m_primaryVisualHasBeenSet = true; m_primaryVisual = value; } + inline void SetPrimaryVisual(TopicVisual&& value) { m_primaryVisualHasBeenSet = true; m_primaryVisual = std::move(value); } + inline TopicReviewedAnswer& WithPrimaryVisual(const TopicVisual& value) { SetPrimaryVisual(value); return *this;} + inline TopicReviewedAnswer& WithPrimaryVisual(TopicVisual&& value) { SetPrimaryVisual(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

The template for the TopicReviewedAnswer.

+ */ + inline const TopicTemplate& GetTemplate() const{ return m_template; } + inline bool TemplateHasBeenSet() const { return m_templateHasBeenSet; } + inline void SetTemplate(const TopicTemplate& value) { m_templateHasBeenSet = true; m_template = value; } + inline void SetTemplate(TopicTemplate&& value) { m_templateHasBeenSet = true; m_template = std::move(value); } + inline TopicReviewedAnswer& WithTemplate(const TopicTemplate& value) { SetTemplate(value); return *this;} + inline TopicReviewedAnswer& WithTemplate(TopicTemplate&& value) { SetTemplate(std::move(value)); return *this;} + ///@} + private: + + Aws::String m_arn; + bool m_arnHasBeenSet = false; + + Aws::String m_answerId; + bool m_answerIdHasBeenSet = false; + + Aws::String m_datasetArn; + bool m_datasetArnHasBeenSet = false; + + Aws::String m_question; + bool m_questionHasBeenSet = false; + + TopicIR m_mir; + bool m_mirHasBeenSet = false; + + TopicVisual m_primaryVisual; + bool m_primaryVisualHasBeenSet = false; + + TopicTemplate m_template; + bool m_templateHasBeenSet = false; + }; + +} // namespace Model +} // namespace QuickSight +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/TopicSortClause.h b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/TopicSortClause.h new file mode 100644 index 00000000000..3dccdd1187a --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/TopicSortClause.h @@ -0,0 +1,76 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace QuickSight +{ +namespace Model +{ + + /** + *

The definition for a TopicSortClause.

See Also:

+ * AWS + * API Reference

+ */ + class TopicSortClause + { + public: + AWS_QUICKSIGHT_API TopicSortClause(); + AWS_QUICKSIGHT_API TopicSortClause(Aws::Utils::Json::JsonView jsonValue); + AWS_QUICKSIGHT_API TopicSortClause& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const; + + + ///@{ + /** + *

The operand for a TopicSortClause.

+ */ + inline const Identifier& GetOperand() const{ return m_operand; } + inline bool OperandHasBeenSet() const { return m_operandHasBeenSet; } + inline void SetOperand(const Identifier& value) { m_operandHasBeenSet = true; m_operand = value; } + inline void SetOperand(Identifier&& value) { m_operandHasBeenSet = true; m_operand = std::move(value); } + inline TopicSortClause& WithOperand(const Identifier& value) { SetOperand(value); return *this;} + inline TopicSortClause& WithOperand(Identifier&& value) { SetOperand(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

The sort direction for the TopicSortClause.

+ */ + inline const TopicSortDirection& GetSortDirection() const{ return m_sortDirection; } + inline bool SortDirectionHasBeenSet() const { return m_sortDirectionHasBeenSet; } + inline void SetSortDirection(const TopicSortDirection& value) { m_sortDirectionHasBeenSet = true; m_sortDirection = value; } + inline void SetSortDirection(TopicSortDirection&& value) { m_sortDirectionHasBeenSet = true; m_sortDirection = std::move(value); } + inline TopicSortClause& WithSortDirection(const TopicSortDirection& value) { SetSortDirection(value); return *this;} + inline TopicSortClause& WithSortDirection(TopicSortDirection&& value) { SetSortDirection(std::move(value)); return *this;} + ///@} + private: + + Identifier m_operand; + bool m_operandHasBeenSet = false; + + TopicSortDirection m_sortDirection; + bool m_sortDirectionHasBeenSet = false; + }; + +} // namespace Model +} // namespace QuickSight +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/TopicSortDirection.h b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/TopicSortDirection.h new file mode 100644 index 00000000000..99e26f6bda8 --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/TopicSortDirection.h @@ -0,0 +1,31 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace QuickSight +{ +namespace Model +{ + enum class TopicSortDirection + { + NOT_SET, + ASCENDING, + DESCENDING + }; + +namespace TopicSortDirectionMapper +{ +AWS_QUICKSIGHT_API TopicSortDirection GetTopicSortDirectionForName(const Aws::String& name); + +AWS_QUICKSIGHT_API Aws::String GetNameForTopicSortDirection(TopicSortDirection value); +} // namespace TopicSortDirectionMapper +} // namespace Model +} // namespace QuickSight +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/TopicTemplate.h b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/TopicTemplate.h new file mode 100644 index 00000000000..ad3001eec2e --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/TopicTemplate.h @@ -0,0 +1,81 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace QuickSight +{ +namespace Model +{ + + /** + *

The definition for a TopicTemplate.

See Also:

+ * AWS + * API Reference

+ */ + class TopicTemplate + { + public: + AWS_QUICKSIGHT_API TopicTemplate(); + AWS_QUICKSIGHT_API TopicTemplate(Aws::Utils::Json::JsonView jsonValue); + AWS_QUICKSIGHT_API TopicTemplate& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const; + + + ///@{ + /** + *

The template type for the TopicTemplate.

+ */ + inline const Aws::String& GetTemplateType() const{ return m_templateType; } + inline bool TemplateTypeHasBeenSet() const { return m_templateTypeHasBeenSet; } + inline void SetTemplateType(const Aws::String& value) { m_templateTypeHasBeenSet = true; m_templateType = value; } + inline void SetTemplateType(Aws::String&& value) { m_templateTypeHasBeenSet = true; m_templateType = std::move(value); } + inline void SetTemplateType(const char* value) { m_templateTypeHasBeenSet = true; m_templateType.assign(value); } + inline TopicTemplate& WithTemplateType(const Aws::String& value) { SetTemplateType(value); return *this;} + inline TopicTemplate& WithTemplateType(Aws::String&& value) { SetTemplateType(std::move(value)); return *this;} + inline TopicTemplate& WithTemplateType(const char* value) { SetTemplateType(value); return *this;} + ///@} + + ///@{ + /** + *

The slots for the TopicTemplate.

+ */ + inline const Aws::Vector& GetSlots() const{ return m_slots; } + inline bool SlotsHasBeenSet() const { return m_slotsHasBeenSet; } + inline void SetSlots(const Aws::Vector& value) { m_slotsHasBeenSet = true; m_slots = value; } + inline void SetSlots(Aws::Vector&& value) { m_slotsHasBeenSet = true; m_slots = std::move(value); } + inline TopicTemplate& WithSlots(const Aws::Vector& value) { SetSlots(value); return *this;} + inline TopicTemplate& WithSlots(Aws::Vector&& value) { SetSlots(std::move(value)); return *this;} + inline TopicTemplate& AddSlots(const Slot& value) { m_slotsHasBeenSet = true; m_slots.push_back(value); return *this; } + inline TopicTemplate& AddSlots(Slot&& value) { m_slotsHasBeenSet = true; m_slots.push_back(std::move(value)); return *this; } + ///@} + private: + + Aws::String m_templateType; + bool m_templateTypeHasBeenSet = false; + + Aws::Vector m_slots; + bool m_slotsHasBeenSet = false; + }; + +} // namespace Model +} // namespace QuickSight +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/TopicVisual.h b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/TopicVisual.h new file mode 100644 index 00000000000..ef25805d480 --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/TopicVisual.h @@ -0,0 +1,111 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace QuickSight +{ +namespace Model +{ + + /** + *

The definition for a TopicVisual.

See Also:

AWS + * API Reference

+ */ + class TopicVisual + { + public: + AWS_QUICKSIGHT_API TopicVisual(); + AWS_QUICKSIGHT_API TopicVisual(Aws::Utils::Json::JsonView jsonValue); + AWS_QUICKSIGHT_API TopicVisual& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const; + + + ///@{ + /** + *

The visual ID for the TopicVisual.

+ */ + inline const Aws::String& GetVisualId() const{ return m_visualId; } + inline bool VisualIdHasBeenSet() const { return m_visualIdHasBeenSet; } + inline void SetVisualId(const Aws::String& value) { m_visualIdHasBeenSet = true; m_visualId = value; } + inline void SetVisualId(Aws::String&& value) { m_visualIdHasBeenSet = true; m_visualId = std::move(value); } + inline void SetVisualId(const char* value) { m_visualIdHasBeenSet = true; m_visualId.assign(value); } + inline TopicVisual& WithVisualId(const Aws::String& value) { SetVisualId(value); return *this;} + inline TopicVisual& WithVisualId(Aws::String&& value) { SetVisualId(std::move(value)); return *this;} + inline TopicVisual& WithVisualId(const char* value) { SetVisualId(value); return *this;} + ///@} + + ///@{ + /** + *

The role for the TopicVisual.

+ */ + inline const VisualRole& GetRole() const{ return m_role; } + inline bool RoleHasBeenSet() const { return m_roleHasBeenSet; } + inline void SetRole(const VisualRole& value) { m_roleHasBeenSet = true; m_role = value; } + inline void SetRole(VisualRole&& value) { m_roleHasBeenSet = true; m_role = std::move(value); } + inline TopicVisual& WithRole(const VisualRole& value) { SetRole(value); return *this;} + inline TopicVisual& WithRole(VisualRole&& value) { SetRole(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

The ir for the TopicVisual.

+ */ + inline const TopicIR& GetIr() const{ return m_ir; } + inline bool IrHasBeenSet() const { return m_irHasBeenSet; } + inline void SetIr(const TopicIR& value) { m_irHasBeenSet = true; m_ir = value; } + inline void SetIr(TopicIR&& value) { m_irHasBeenSet = true; m_ir = std::move(value); } + inline TopicVisual& WithIr(const TopicIR& value) { SetIr(value); return *this;} + inline TopicVisual& WithIr(TopicIR&& value) { SetIr(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

The supporting visuals for the TopicVisual.

+ */ + inline const Aws::Vector& GetSupportingVisuals() const{ return m_supportingVisuals; } + inline bool SupportingVisualsHasBeenSet() const { return m_supportingVisualsHasBeenSet; } + inline void SetSupportingVisuals(const Aws::Vector& value) { m_supportingVisualsHasBeenSet = true; m_supportingVisuals = value; } + inline void SetSupportingVisuals(Aws::Vector&& value) { m_supportingVisualsHasBeenSet = true; m_supportingVisuals = std::move(value); } + inline TopicVisual& WithSupportingVisuals(const Aws::Vector& value) { SetSupportingVisuals(value); return *this;} + inline TopicVisual& WithSupportingVisuals(Aws::Vector&& value) { SetSupportingVisuals(std::move(value)); return *this;} + inline TopicVisual& AddSupportingVisuals(const TopicVisual& value) { m_supportingVisualsHasBeenSet = true; m_supportingVisuals.push_back(value); return *this; } + inline TopicVisual& AddSupportingVisuals(TopicVisual&& value) { m_supportingVisualsHasBeenSet = true; m_supportingVisuals.push_back(std::move(value)); return *this; } + ///@} + private: + + Aws::String m_visualId; + bool m_visualIdHasBeenSet = false; + + VisualRole m_role; + bool m_roleHasBeenSet = false; + + TopicIR m_ir; + bool m_irHasBeenSet = false; + + Aws::Vector m_supportingVisuals; + bool m_supportingVisualsHasBeenSet = false; + }; + +} // namespace Model +} // namespace QuickSight +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/VisualOptions.h b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/VisualOptions.h new file mode 100644 index 00000000000..4443ece76f0 --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/VisualOptions.h @@ -0,0 +1,62 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace QuickSight +{ +namespace Model +{ + + /** + *

The definition for a VisualOptions.

See Also:

+ * AWS + * API Reference

+ */ + class VisualOptions + { + public: + AWS_QUICKSIGHT_API VisualOptions(); + AWS_QUICKSIGHT_API VisualOptions(Aws::Utils::Json::JsonView jsonValue); + AWS_QUICKSIGHT_API VisualOptions& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const; + + + ///@{ + /** + *

The type for a VisualOptions.

+ */ + inline const Aws::String& GetType() const{ return m_type; } + inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } + inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; } + inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } + inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); } + inline VisualOptions& WithType(const Aws::String& value) { SetType(value); return *this;} + inline VisualOptions& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;} + inline VisualOptions& WithType(const char* value) { SetType(value); return *this;} + ///@} + private: + + Aws::String m_type; + bool m_typeHasBeenSet = false; + }; + +} // namespace Model +} // namespace QuickSight +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/VisualRole.h b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/VisualRole.h new file mode 100644 index 00000000000..1e84ef6eca8 --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/VisualRole.h @@ -0,0 +1,34 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace QuickSight +{ +namespace Model +{ + enum class VisualRole + { + NOT_SET, + PRIMARY, + COMPLIMENTARY, + MULTI_INTENT, + FALLBACK, + FRAGMENT + }; + +namespace VisualRoleMapper +{ +AWS_QUICKSIGHT_API VisualRole GetVisualRoleForName(const Aws::String& name); + +AWS_QUICKSIGHT_API Aws::String GetNameForVisualRole(VisualRole value); +} // namespace VisualRoleMapper +} // namespace Model +} // namespace QuickSight +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-quicksight/source/QuickSightClient.cpp b/generated/src/aws-cpp-sdk-quicksight/source/QuickSightClient.cpp index 7216f5b0df4..8a8f1678615 100644 --- a/generated/src/aws-cpp-sdk-quicksight/source/QuickSightClient.cpp +++ b/generated/src/aws-cpp-sdk-quicksight/source/QuickSightClient.cpp @@ -21,6 +21,8 @@ #include #include #include +#include +#include #include #include #include @@ -143,6 +145,7 @@ #include #include #include +#include #include #include #include @@ -336,6 +339,88 @@ void QuickSightClient::OverrideEndpoint(const Aws::String& endpoint) m_endpointProvider->OverrideEndpoint(endpoint); } +BatchCreateTopicReviewedAnswerOutcome QuickSightClient::BatchCreateTopicReviewedAnswer(const BatchCreateTopicReviewedAnswerRequest& request) const +{ + AWS_OPERATION_GUARD(BatchCreateTopicReviewedAnswer); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, BatchCreateTopicReviewedAnswer, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.AwsAccountIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("BatchCreateTopicReviewedAnswer", "Required field: AwsAccountId, is not set"); + return BatchCreateTopicReviewedAnswerOutcome(Aws::Client::AWSError(QuickSightErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [AwsAccountId]", false)); + } + if (!request.TopicIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("BatchCreateTopicReviewedAnswer", "Required field: TopicId, is not set"); + return BatchCreateTopicReviewedAnswerOutcome(Aws::Client::AWSError(QuickSightErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [TopicId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, BatchCreateTopicReviewedAnswer, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, BatchCreateTopicReviewedAnswer, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".BatchCreateTopicReviewedAnswer", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> BatchCreateTopicReviewedAnswerOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, BatchCreateTopicReviewedAnswer, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/accounts/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetAwsAccountId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/topics/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetTopicId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/batch-create-reviewed-answers"); + return BatchCreateTopicReviewedAnswerOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +BatchDeleteTopicReviewedAnswerOutcome QuickSightClient::BatchDeleteTopicReviewedAnswer(const BatchDeleteTopicReviewedAnswerRequest& request) const +{ + AWS_OPERATION_GUARD(BatchDeleteTopicReviewedAnswer); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, BatchDeleteTopicReviewedAnswer, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.AwsAccountIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("BatchDeleteTopicReviewedAnswer", "Required field: AwsAccountId, is not set"); + return BatchDeleteTopicReviewedAnswerOutcome(Aws::Client::AWSError(QuickSightErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [AwsAccountId]", false)); + } + if (!request.TopicIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("BatchDeleteTopicReviewedAnswer", "Required field: TopicId, is not set"); + return BatchDeleteTopicReviewedAnswerOutcome(Aws::Client::AWSError(QuickSightErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [TopicId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, BatchDeleteTopicReviewedAnswer, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, BatchDeleteTopicReviewedAnswer, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".BatchDeleteTopicReviewedAnswer", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> BatchDeleteTopicReviewedAnswerOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, BatchDeleteTopicReviewedAnswer, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/accounts/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetAwsAccountId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/topics/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetTopicId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/batch-delete-reviewed-answers"); + return BatchDeleteTopicReviewedAnswerOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + CancelIngestionOutcome QuickSightClient::CancelIngestion(const CancelIngestionRequest& request) const { AWS_OPERATION_GUARD(CancelIngestion); @@ -5371,6 +5456,47 @@ ListTopicRefreshSchedulesOutcome QuickSightClient::ListTopicRefreshSchedules(con {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +ListTopicReviewedAnswersOutcome QuickSightClient::ListTopicReviewedAnswers(const ListTopicReviewedAnswersRequest& request) const +{ + AWS_OPERATION_GUARD(ListTopicReviewedAnswers); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, ListTopicReviewedAnswers, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.AwsAccountIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("ListTopicReviewedAnswers", "Required field: AwsAccountId, is not set"); + return ListTopicReviewedAnswersOutcome(Aws::Client::AWSError(QuickSightErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [AwsAccountId]", false)); + } + if (!request.TopicIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("ListTopicReviewedAnswers", "Required field: TopicId, is not set"); + return ListTopicReviewedAnswersOutcome(Aws::Client::AWSError(QuickSightErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [TopicId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, ListTopicReviewedAnswers, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, ListTopicReviewedAnswers, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".ListTopicReviewedAnswers", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> ListTopicReviewedAnswersOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, ListTopicReviewedAnswers, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/accounts/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetAwsAccountId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/topics/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetTopicId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/reviewed-answers"); + return ListTopicReviewedAnswersOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_GET, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + ListTopicsOutcome QuickSightClient::ListTopics(const ListTopicsRequest& request) const { AWS_OPERATION_GUARD(ListTopics); diff --git a/generated/src/aws-cpp-sdk-quicksight/source/QuickSightErrors.cpp b/generated/src/aws-cpp-sdk-quicksight/source/QuickSightErrors.cpp index 7bcd28c06ac..d1f04c73175 100644 --- a/generated/src/aws-cpp-sdk-quicksight/source/QuickSightErrors.cpp +++ b/generated/src/aws-cpp-sdk-quicksight/source/QuickSightErrors.cpp @@ -6,8 +6,8 @@ #include #include #include -#include #include +#include #include #include #include @@ -35,18 +35,18 @@ namespace Aws { namespace QuickSight { -template<> AWS_QUICKSIGHT_API ResourceExistsException QuickSightError::GetModeledError() -{ - assert(this->GetErrorType() == QuickSightErrors::RESOURCE_EXISTS); - return ResourceExistsException(this->GetJsonPayload().View()); -} - template<> AWS_QUICKSIGHT_API ConflictException QuickSightError::GetModeledError() { assert(this->GetErrorType() == QuickSightErrors::CONFLICT); return ConflictException(this->GetJsonPayload().View()); } +template<> AWS_QUICKSIGHT_API ResourceExistsException QuickSightError::GetModeledError() +{ + assert(this->GetErrorType() == QuickSightErrors::RESOURCE_EXISTS); + return ResourceExistsException(this->GetJsonPayload().View()); +} + template<> AWS_QUICKSIGHT_API ResourceNotFoundException QuickSightError::GetModeledError() { assert(this->GetErrorType() == QuickSightErrors::RESOURCE_NOT_FOUND); @@ -152,8 +152,8 @@ template<> AWS_QUICKSIGHT_API InvalidRequestException QuickSightError::GetModele namespace QuickSightErrorMapper { -static const int RESOURCE_EXISTS_HASH = HashingUtils::HashString("ResourceExistsException"); static const int CONFLICT_HASH = HashingUtils::HashString("ConflictException"); +static const int RESOURCE_EXISTS_HASH = HashingUtils::HashString("ResourceExistsException"); static const int LIMIT_EXCEEDED_HASH = HashingUtils::HashString("LimitExceededException"); static const int QUICK_SIGHT_USER_NOT_FOUND_HASH = HashingUtils::HashString("QuickSightUserNotFoundException"); static const int IDENTITY_TYPE_NOT_SUPPORTED_HASH = HashingUtils::HashString("IdentityTypeNotSupportedException"); @@ -172,13 +172,13 @@ AWSError GetErrorForName(const char* errorName) { int hashCode = HashingUtils::HashString(errorName); - if (hashCode == RESOURCE_EXISTS_HASH) + if (hashCode == CONFLICT_HASH) { - return AWSError(static_cast(QuickSightErrors::RESOURCE_EXISTS), RetryableType::NOT_RETRYABLE); + return AWSError(static_cast(QuickSightErrors::CONFLICT), RetryableType::NOT_RETRYABLE); } - else if (hashCode == CONFLICT_HASH) + else if (hashCode == RESOURCE_EXISTS_HASH) { - return AWSError(static_cast(QuickSightErrors::CONFLICT), RetryableType::NOT_RETRYABLE); + return AWSError(static_cast(QuickSightErrors::RESOURCE_EXISTS), RetryableType::NOT_RETRYABLE); } else if (hashCode == LIMIT_EXCEEDED_HASH) { diff --git a/generated/src/aws-cpp-sdk-quicksight/source/model/AggFunction.cpp b/generated/src/aws-cpp-sdk-quicksight/source/model/AggFunction.cpp new file mode 100644 index 00000000000..9b6c249f2d7 --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/source/model/AggFunction.cpp @@ -0,0 +1,109 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace QuickSight +{ +namespace Model +{ + +AggFunction::AggFunction() : + m_aggregation(AggType::NOT_SET), + m_aggregationHasBeenSet(false), + m_aggregationFunctionParametersHasBeenSet(false), + m_period(TopicTimeGranularity::NOT_SET), + m_periodHasBeenSet(false), + m_periodFieldHasBeenSet(false) +{ +} + +AggFunction::AggFunction(JsonView jsonValue) + : AggFunction() +{ + *this = jsonValue; +} + +AggFunction& AggFunction::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("Aggregation")) + { + m_aggregation = AggTypeMapper::GetAggTypeForName(jsonValue.GetString("Aggregation")); + + m_aggregationHasBeenSet = true; + } + + if(jsonValue.ValueExists("AggregationFunctionParameters")) + { + Aws::Map aggregationFunctionParametersJsonMap = jsonValue.GetObject("AggregationFunctionParameters").GetAllObjects(); + for(auto& aggregationFunctionParametersItem : aggregationFunctionParametersJsonMap) + { + m_aggregationFunctionParameters[aggregationFunctionParametersItem.first] = aggregationFunctionParametersItem.second.AsString(); + } + m_aggregationFunctionParametersHasBeenSet = true; + } + + if(jsonValue.ValueExists("Period")) + { + m_period = TopicTimeGranularityMapper::GetTopicTimeGranularityForName(jsonValue.GetString("Period")); + + m_periodHasBeenSet = true; + } + + if(jsonValue.ValueExists("PeriodField")) + { + m_periodField = jsonValue.GetString("PeriodField"); + + m_periodFieldHasBeenSet = true; + } + + return *this; +} + +JsonValue AggFunction::Jsonize() const +{ + JsonValue payload; + + if(m_aggregationHasBeenSet) + { + payload.WithString("Aggregation", AggTypeMapper::GetNameForAggType(m_aggregation)); + } + + if(m_aggregationFunctionParametersHasBeenSet) + { + JsonValue aggregationFunctionParametersJsonMap; + for(auto& aggregationFunctionParametersItem : m_aggregationFunctionParameters) + { + aggregationFunctionParametersJsonMap.WithString(aggregationFunctionParametersItem.first, aggregationFunctionParametersItem.second); + } + payload.WithObject("AggregationFunctionParameters", std::move(aggregationFunctionParametersJsonMap)); + + } + + if(m_periodHasBeenSet) + { + payload.WithString("Period", TopicTimeGranularityMapper::GetNameForTopicTimeGranularity(m_period)); + } + + if(m_periodFieldHasBeenSet) + { + payload.WithString("PeriodField", m_periodField); + + } + + return payload; +} + +} // namespace Model +} // namespace QuickSight +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-quicksight/source/model/AggType.cpp b/generated/src/aws-cpp-sdk-quicksight/source/model/AggType.cpp new file mode 100644 index 00000000000..8006e08b24d --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/source/model/AggType.cpp @@ -0,0 +1,198 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace QuickSight + { + namespace Model + { + namespace AggTypeMapper + { + + static const int SUM_HASH = HashingUtils::HashString("SUM"); + static const int MIN_HASH = HashingUtils::HashString("MIN"); + static const int MAX_HASH = HashingUtils::HashString("MAX"); + static const int COUNT_HASH = HashingUtils::HashString("COUNT"); + static const int AVERAGE_HASH = HashingUtils::HashString("AVERAGE"); + static const int DISTINCT_COUNT_HASH = HashingUtils::HashString("DISTINCT_COUNT"); + static const int STDEV_HASH = HashingUtils::HashString("STDEV"); + static const int STDEVP_HASH = HashingUtils::HashString("STDEVP"); + static const int VAR_HASH = HashingUtils::HashString("VAR"); + static const int VARP_HASH = HashingUtils::HashString("VARP"); + static const int PERCENTILE_HASH = HashingUtils::HashString("PERCENTILE"); + static const int MEDIAN_HASH = HashingUtils::HashString("MEDIAN"); + static const int PTD_SUM_HASH = HashingUtils::HashString("PTD_SUM"); + static const int PTD_MIN_HASH = HashingUtils::HashString("PTD_MIN"); + static const int PTD_MAX_HASH = HashingUtils::HashString("PTD_MAX"); + static const int PTD_COUNT_HASH = HashingUtils::HashString("PTD_COUNT"); + static const int PTD_DISTINCT_COUNT_HASH = HashingUtils::HashString("PTD_DISTINCT_COUNT"); + static const int PTD_AVERAGE_HASH = HashingUtils::HashString("PTD_AVERAGE"); + static const int COLUMN_HASH = HashingUtils::HashString("COLUMN"); + static const int CUSTOM_HASH = HashingUtils::HashString("CUSTOM"); + + + AggType GetAggTypeForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == SUM_HASH) + { + return AggType::SUM; + } + else if (hashCode == MIN_HASH) + { + return AggType::MIN; + } + else if (hashCode == MAX_HASH) + { + return AggType::MAX; + } + else if (hashCode == COUNT_HASH) + { + return AggType::COUNT; + } + else if (hashCode == AVERAGE_HASH) + { + return AggType::AVERAGE; + } + else if (hashCode == DISTINCT_COUNT_HASH) + { + return AggType::DISTINCT_COUNT; + } + else if (hashCode == STDEV_HASH) + { + return AggType::STDEV; + } + else if (hashCode == STDEVP_HASH) + { + return AggType::STDEVP; + } + else if (hashCode == VAR_HASH) + { + return AggType::VAR; + } + else if (hashCode == VARP_HASH) + { + return AggType::VARP; + } + else if (hashCode == PERCENTILE_HASH) + { + return AggType::PERCENTILE; + } + else if (hashCode == MEDIAN_HASH) + { + return AggType::MEDIAN; + } + else if (hashCode == PTD_SUM_HASH) + { + return AggType::PTD_SUM; + } + else if (hashCode == PTD_MIN_HASH) + { + return AggType::PTD_MIN; + } + else if (hashCode == PTD_MAX_HASH) + { + return AggType::PTD_MAX; + } + else if (hashCode == PTD_COUNT_HASH) + { + return AggType::PTD_COUNT; + } + else if (hashCode == PTD_DISTINCT_COUNT_HASH) + { + return AggType::PTD_DISTINCT_COUNT; + } + else if (hashCode == PTD_AVERAGE_HASH) + { + return AggType::PTD_AVERAGE; + } + else if (hashCode == COLUMN_HASH) + { + return AggType::COLUMN; + } + else if (hashCode == CUSTOM_HASH) + { + return AggType::CUSTOM; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return AggType::NOT_SET; + } + + Aws::String GetNameForAggType(AggType enumValue) + { + switch(enumValue) + { + case AggType::NOT_SET: + return {}; + case AggType::SUM: + return "SUM"; + case AggType::MIN: + return "MIN"; + case AggType::MAX: + return "MAX"; + case AggType::COUNT: + return "COUNT"; + case AggType::AVERAGE: + return "AVERAGE"; + case AggType::DISTINCT_COUNT: + return "DISTINCT_COUNT"; + case AggType::STDEV: + return "STDEV"; + case AggType::STDEVP: + return "STDEVP"; + case AggType::VAR: + return "VAR"; + case AggType::VARP: + return "VARP"; + case AggType::PERCENTILE: + return "PERCENTILE"; + case AggType::MEDIAN: + return "MEDIAN"; + case AggType::PTD_SUM: + return "PTD_SUM"; + case AggType::PTD_MIN: + return "PTD_MIN"; + case AggType::PTD_MAX: + return "PTD_MAX"; + case AggType::PTD_COUNT: + return "PTD_COUNT"; + case AggType::PTD_DISTINCT_COUNT: + return "PTD_DISTINCT_COUNT"; + case AggType::PTD_AVERAGE: + return "PTD_AVERAGE"; + case AggType::COLUMN: + return "COLUMN"; + case AggType::CUSTOM: + return "CUSTOM"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace AggTypeMapper + } // namespace Model + } // namespace QuickSight +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-quicksight/source/model/AggregationPartitionBy.cpp b/generated/src/aws-cpp-sdk-quicksight/source/model/AggregationPartitionBy.cpp new file mode 100644 index 00000000000..81ee58ce0a3 --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/source/model/AggregationPartitionBy.cpp @@ -0,0 +1,73 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace QuickSight +{ +namespace Model +{ + +AggregationPartitionBy::AggregationPartitionBy() : + m_fieldNameHasBeenSet(false), + m_timeGranularity(TimeGranularity::NOT_SET), + m_timeGranularityHasBeenSet(false) +{ +} + +AggregationPartitionBy::AggregationPartitionBy(JsonView jsonValue) + : AggregationPartitionBy() +{ + *this = jsonValue; +} + +AggregationPartitionBy& AggregationPartitionBy::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("FieldName")) + { + m_fieldName = jsonValue.GetString("FieldName"); + + m_fieldNameHasBeenSet = true; + } + + if(jsonValue.ValueExists("TimeGranularity")) + { + m_timeGranularity = TimeGranularityMapper::GetTimeGranularityForName(jsonValue.GetString("TimeGranularity")); + + m_timeGranularityHasBeenSet = true; + } + + return *this; +} + +JsonValue AggregationPartitionBy::Jsonize() const +{ + JsonValue payload; + + if(m_fieldNameHasBeenSet) + { + payload.WithString("FieldName", m_fieldName); + + } + + if(m_timeGranularityHasBeenSet) + { + payload.WithString("TimeGranularity", TimeGranularityMapper::GetNameForTimeGranularity(m_timeGranularity)); + } + + return payload; +} + +} // namespace Model +} // namespace QuickSight +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-quicksight/source/model/Anchor.cpp b/generated/src/aws-cpp-sdk-quicksight/source/model/Anchor.cpp new file mode 100644 index 00000000000..4882daafb9f --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/source/model/Anchor.cpp @@ -0,0 +1,88 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace QuickSight +{ +namespace Model +{ + +Anchor::Anchor() : + m_anchorType(AnchorType::NOT_SET), + m_anchorTypeHasBeenSet(false), + m_timeGranularity(TimeGranularity::NOT_SET), + m_timeGranularityHasBeenSet(false), + m_offset(0), + m_offsetHasBeenSet(false) +{ +} + +Anchor::Anchor(JsonView jsonValue) + : Anchor() +{ + *this = jsonValue; +} + +Anchor& Anchor::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("AnchorType")) + { + m_anchorType = AnchorTypeMapper::GetAnchorTypeForName(jsonValue.GetString("AnchorType")); + + m_anchorTypeHasBeenSet = true; + } + + if(jsonValue.ValueExists("TimeGranularity")) + { + m_timeGranularity = TimeGranularityMapper::GetTimeGranularityForName(jsonValue.GetString("TimeGranularity")); + + m_timeGranularityHasBeenSet = true; + } + + if(jsonValue.ValueExists("Offset")) + { + m_offset = jsonValue.GetInteger("Offset"); + + m_offsetHasBeenSet = true; + } + + return *this; +} + +JsonValue Anchor::Jsonize() const +{ + JsonValue payload; + + if(m_anchorTypeHasBeenSet) + { + payload.WithString("AnchorType", AnchorTypeMapper::GetNameForAnchorType(m_anchorType)); + } + + if(m_timeGranularityHasBeenSet) + { + payload.WithString("TimeGranularity", TimeGranularityMapper::GetNameForTimeGranularity(m_timeGranularity)); + } + + if(m_offsetHasBeenSet) + { + payload.WithInteger("Offset", m_offset); + + } + + return payload; +} + +} // namespace Model +} // namespace QuickSight +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-quicksight/source/model/AnchorType.cpp b/generated/src/aws-cpp-sdk-quicksight/source/model/AnchorType.cpp new file mode 100644 index 00000000000..62180246d7e --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/source/model/AnchorType.cpp @@ -0,0 +1,65 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace QuickSight + { + namespace Model + { + namespace AnchorTypeMapper + { + + static const int TODAY_HASH = HashingUtils::HashString("TODAY"); + + + AnchorType GetAnchorTypeForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == TODAY_HASH) + { + return AnchorType::TODAY; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return AnchorType::NOT_SET; + } + + Aws::String GetNameForAnchorType(AnchorType enumValue) + { + switch(enumValue) + { + case AnchorType::NOT_SET: + return {}; + case AnchorType::TODAY: + return "TODAY"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace AnchorTypeMapper + } // namespace Model + } // namespace QuickSight +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-quicksight/source/model/BatchCreateTopicReviewedAnswerRequest.cpp b/generated/src/aws-cpp-sdk-quicksight/source/model/BatchCreateTopicReviewedAnswerRequest.cpp new file mode 100644 index 00000000000..c6aba6e4dd2 --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/source/model/BatchCreateTopicReviewedAnswerRequest.cpp @@ -0,0 +1,42 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::QuickSight::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +BatchCreateTopicReviewedAnswerRequest::BatchCreateTopicReviewedAnswerRequest() : + m_awsAccountIdHasBeenSet(false), + m_topicIdHasBeenSet(false), + m_answersHasBeenSet(false) +{ +} + +Aws::String BatchCreateTopicReviewedAnswerRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_answersHasBeenSet) + { + Aws::Utils::Array answersJsonList(m_answers.size()); + for(unsigned answersIndex = 0; answersIndex < answersJsonList.GetLength(); ++answersIndex) + { + answersJsonList[answersIndex].AsObject(m_answers[answersIndex].Jsonize()); + } + payload.WithArray("Answers", std::move(answersJsonList)); + + } + + return payload.View().WriteReadable(); +} + + + + diff --git a/generated/src/aws-cpp-sdk-quicksight/source/model/BatchCreateTopicReviewedAnswerResult.cpp b/generated/src/aws-cpp-sdk-quicksight/source/model/BatchCreateTopicReviewedAnswerResult.cpp new file mode 100644 index 00000000000..779e7f973a0 --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/source/model/BatchCreateTopicReviewedAnswerResult.cpp @@ -0,0 +1,76 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::QuickSight::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +BatchCreateTopicReviewedAnswerResult::BatchCreateTopicReviewedAnswerResult() : + m_status(0) +{ +} + +BatchCreateTopicReviewedAnswerResult::BatchCreateTopicReviewedAnswerResult(const Aws::AmazonWebServiceResult& result) + : BatchCreateTopicReviewedAnswerResult() +{ + *this = result; +} + +BatchCreateTopicReviewedAnswerResult& BatchCreateTopicReviewedAnswerResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("TopicId")) + { + m_topicId = jsonValue.GetString("TopicId"); + + } + + if(jsonValue.ValueExists("TopicArn")) + { + m_topicArn = jsonValue.GetString("TopicArn"); + + } + + if(jsonValue.ValueExists("SucceededAnswers")) + { + Aws::Utils::Array succeededAnswersJsonList = jsonValue.GetArray("SucceededAnswers"); + for(unsigned succeededAnswersIndex = 0; succeededAnswersIndex < succeededAnswersJsonList.GetLength(); ++succeededAnswersIndex) + { + m_succeededAnswers.push_back(succeededAnswersJsonList[succeededAnswersIndex].AsObject()); + } + } + + if(jsonValue.ValueExists("InvalidAnswers")) + { + Aws::Utils::Array invalidAnswersJsonList = jsonValue.GetArray("InvalidAnswers"); + for(unsigned invalidAnswersIndex = 0; invalidAnswersIndex < invalidAnswersJsonList.GetLength(); ++invalidAnswersIndex) + { + m_invalidAnswers.push_back(invalidAnswersJsonList[invalidAnswersIndex].AsObject()); + } + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + m_status = static_cast(result.GetResponseCode()); + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-quicksight/source/model/BatchDeleteTopicReviewedAnswerRequest.cpp b/generated/src/aws-cpp-sdk-quicksight/source/model/BatchDeleteTopicReviewedAnswerRequest.cpp new file mode 100644 index 00000000000..9d8281d5ed5 --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/source/model/BatchDeleteTopicReviewedAnswerRequest.cpp @@ -0,0 +1,42 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::QuickSight::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +BatchDeleteTopicReviewedAnswerRequest::BatchDeleteTopicReviewedAnswerRequest() : + m_awsAccountIdHasBeenSet(false), + m_topicIdHasBeenSet(false), + m_answerIdsHasBeenSet(false) +{ +} + +Aws::String BatchDeleteTopicReviewedAnswerRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_answerIdsHasBeenSet) + { + Aws::Utils::Array answerIdsJsonList(m_answerIds.size()); + for(unsigned answerIdsIndex = 0; answerIdsIndex < answerIdsJsonList.GetLength(); ++answerIdsIndex) + { + answerIdsJsonList[answerIdsIndex].AsString(m_answerIds[answerIdsIndex]); + } + payload.WithArray("AnswerIds", std::move(answerIdsJsonList)); + + } + + return payload.View().WriteReadable(); +} + + + + diff --git a/generated/src/aws-cpp-sdk-quicksight/source/model/BatchDeleteTopicReviewedAnswerResult.cpp b/generated/src/aws-cpp-sdk-quicksight/source/model/BatchDeleteTopicReviewedAnswerResult.cpp new file mode 100644 index 00000000000..1400ccfcf76 --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/source/model/BatchDeleteTopicReviewedAnswerResult.cpp @@ -0,0 +1,76 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::QuickSight::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +BatchDeleteTopicReviewedAnswerResult::BatchDeleteTopicReviewedAnswerResult() : + m_status(0) +{ +} + +BatchDeleteTopicReviewedAnswerResult::BatchDeleteTopicReviewedAnswerResult(const Aws::AmazonWebServiceResult& result) + : BatchDeleteTopicReviewedAnswerResult() +{ + *this = result; +} + +BatchDeleteTopicReviewedAnswerResult& BatchDeleteTopicReviewedAnswerResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("TopicId")) + { + m_topicId = jsonValue.GetString("TopicId"); + + } + + if(jsonValue.ValueExists("TopicArn")) + { + m_topicArn = jsonValue.GetString("TopicArn"); + + } + + if(jsonValue.ValueExists("SucceededAnswers")) + { + Aws::Utils::Array succeededAnswersJsonList = jsonValue.GetArray("SucceededAnswers"); + for(unsigned succeededAnswersIndex = 0; succeededAnswersIndex < succeededAnswersJsonList.GetLength(); ++succeededAnswersIndex) + { + m_succeededAnswers.push_back(succeededAnswersJsonList[succeededAnswersIndex].AsObject()); + } + } + + if(jsonValue.ValueExists("InvalidAnswers")) + { + Aws::Utils::Array invalidAnswersJsonList = jsonValue.GetArray("InvalidAnswers"); + for(unsigned invalidAnswersIndex = 0; invalidAnswersIndex < invalidAnswersJsonList.GetLength(); ++invalidAnswersIndex) + { + m_invalidAnswers.push_back(invalidAnswersJsonList[invalidAnswersIndex].AsObject()); + } + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + m_status = static_cast(result.GetResponseCode()); + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-quicksight/source/model/CollectiveConstantEntry.cpp b/generated/src/aws-cpp-sdk-quicksight/source/model/CollectiveConstantEntry.cpp new file mode 100644 index 00000000000..997b078b477 --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/source/model/CollectiveConstantEntry.cpp @@ -0,0 +1,73 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace QuickSight +{ +namespace Model +{ + +CollectiveConstantEntry::CollectiveConstantEntry() : + m_constantType(ConstantType::NOT_SET), + m_constantTypeHasBeenSet(false), + m_valueHasBeenSet(false) +{ +} + +CollectiveConstantEntry::CollectiveConstantEntry(JsonView jsonValue) + : CollectiveConstantEntry() +{ + *this = jsonValue; +} + +CollectiveConstantEntry& CollectiveConstantEntry::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("ConstantType")) + { + m_constantType = ConstantTypeMapper::GetConstantTypeForName(jsonValue.GetString("ConstantType")); + + m_constantTypeHasBeenSet = true; + } + + if(jsonValue.ValueExists("Value")) + { + m_value = jsonValue.GetString("Value"); + + m_valueHasBeenSet = true; + } + + return *this; +} + +JsonValue CollectiveConstantEntry::Jsonize() const +{ + JsonValue payload; + + if(m_constantTypeHasBeenSet) + { + payload.WithString("ConstantType", ConstantTypeMapper::GetNameForConstantType(m_constantType)); + } + + if(m_valueHasBeenSet) + { + payload.WithString("Value", m_value); + + } + + return payload; +} + +} // namespace Model +} // namespace QuickSight +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-quicksight/source/model/ComparisonMethodType.cpp b/generated/src/aws-cpp-sdk-quicksight/source/model/ComparisonMethodType.cpp new file mode 100644 index 00000000000..e4e672b9fd4 --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/source/model/ComparisonMethodType.cpp @@ -0,0 +1,128 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace QuickSight + { + namespace Model + { + namespace ComparisonMethodTypeMapper + { + + static const int DIFF_HASH = HashingUtils::HashString("DIFF"); + static const int PERC_DIFF_HASH = HashingUtils::HashString("PERC_DIFF"); + static const int DIFF_AS_PERC_HASH = HashingUtils::HashString("DIFF_AS_PERC"); + static const int POP_CURRENT_DIFF_AS_PERC_HASH = HashingUtils::HashString("POP_CURRENT_DIFF_AS_PERC"); + static const int POP_CURRENT_DIFF_HASH = HashingUtils::HashString("POP_CURRENT_DIFF"); + static const int POP_OVERTIME_DIFF_AS_PERC_HASH = HashingUtils::HashString("POP_OVERTIME_DIFF_AS_PERC"); + static const int POP_OVERTIME_DIFF_HASH = HashingUtils::HashString("POP_OVERTIME_DIFF"); + static const int PERCENT_OF_TOTAL_HASH = HashingUtils::HashString("PERCENT_OF_TOTAL"); + static const int RUNNING_SUM_HASH = HashingUtils::HashString("RUNNING_SUM"); + static const int MOVING_AVERAGE_HASH = HashingUtils::HashString("MOVING_AVERAGE"); + + + ComparisonMethodType GetComparisonMethodTypeForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == DIFF_HASH) + { + return ComparisonMethodType::DIFF; + } + else if (hashCode == PERC_DIFF_HASH) + { + return ComparisonMethodType::PERC_DIFF; + } + else if (hashCode == DIFF_AS_PERC_HASH) + { + return ComparisonMethodType::DIFF_AS_PERC; + } + else if (hashCode == POP_CURRENT_DIFF_AS_PERC_HASH) + { + return ComparisonMethodType::POP_CURRENT_DIFF_AS_PERC; + } + else if (hashCode == POP_CURRENT_DIFF_HASH) + { + return ComparisonMethodType::POP_CURRENT_DIFF; + } + else if (hashCode == POP_OVERTIME_DIFF_AS_PERC_HASH) + { + return ComparisonMethodType::POP_OVERTIME_DIFF_AS_PERC; + } + else if (hashCode == POP_OVERTIME_DIFF_HASH) + { + return ComparisonMethodType::POP_OVERTIME_DIFF; + } + else if (hashCode == PERCENT_OF_TOTAL_HASH) + { + return ComparisonMethodType::PERCENT_OF_TOTAL; + } + else if (hashCode == RUNNING_SUM_HASH) + { + return ComparisonMethodType::RUNNING_SUM; + } + else if (hashCode == MOVING_AVERAGE_HASH) + { + return ComparisonMethodType::MOVING_AVERAGE; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return ComparisonMethodType::NOT_SET; + } + + Aws::String GetNameForComparisonMethodType(ComparisonMethodType enumValue) + { + switch(enumValue) + { + case ComparisonMethodType::NOT_SET: + return {}; + case ComparisonMethodType::DIFF: + return "DIFF"; + case ComparisonMethodType::PERC_DIFF: + return "PERC_DIFF"; + case ComparisonMethodType::DIFF_AS_PERC: + return "DIFF_AS_PERC"; + case ComparisonMethodType::POP_CURRENT_DIFF_AS_PERC: + return "POP_CURRENT_DIFF_AS_PERC"; + case ComparisonMethodType::POP_CURRENT_DIFF: + return "POP_CURRENT_DIFF"; + case ComparisonMethodType::POP_OVERTIME_DIFF_AS_PERC: + return "POP_OVERTIME_DIFF_AS_PERC"; + case ComparisonMethodType::POP_OVERTIME_DIFF: + return "POP_OVERTIME_DIFF"; + case ComparisonMethodType::PERCENT_OF_TOTAL: + return "PERCENT_OF_TOTAL"; + case ComparisonMethodType::RUNNING_SUM: + return "RUNNING_SUM"; + case ComparisonMethodType::MOVING_AVERAGE: + return "MOVING_AVERAGE"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace ComparisonMethodTypeMapper + } // namespace Model + } // namespace QuickSight +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-quicksight/source/model/ContributionAnalysisDirection.cpp b/generated/src/aws-cpp-sdk-quicksight/source/model/ContributionAnalysisDirection.cpp new file mode 100644 index 00000000000..2755f9481d7 --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/source/model/ContributionAnalysisDirection.cpp @@ -0,0 +1,79 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace QuickSight + { + namespace Model + { + namespace ContributionAnalysisDirectionMapper + { + + static const int INCREASE_HASH = HashingUtils::HashString("INCREASE"); + static const int DECREASE_HASH = HashingUtils::HashString("DECREASE"); + static const int NEUTRAL_HASH = HashingUtils::HashString("NEUTRAL"); + + + ContributionAnalysisDirection GetContributionAnalysisDirectionForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == INCREASE_HASH) + { + return ContributionAnalysisDirection::INCREASE; + } + else if (hashCode == DECREASE_HASH) + { + return ContributionAnalysisDirection::DECREASE; + } + else if (hashCode == NEUTRAL_HASH) + { + return ContributionAnalysisDirection::NEUTRAL; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return ContributionAnalysisDirection::NOT_SET; + } + + Aws::String GetNameForContributionAnalysisDirection(ContributionAnalysisDirection enumValue) + { + switch(enumValue) + { + case ContributionAnalysisDirection::NOT_SET: + return {}; + case ContributionAnalysisDirection::INCREASE: + return "INCREASE"; + case ContributionAnalysisDirection::DECREASE: + return "DECREASE"; + case ContributionAnalysisDirection::NEUTRAL: + return "NEUTRAL"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace ContributionAnalysisDirectionMapper + } // namespace Model + } // namespace QuickSight +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-quicksight/source/model/ContributionAnalysisFactor.cpp b/generated/src/aws-cpp-sdk-quicksight/source/model/ContributionAnalysisFactor.cpp new file mode 100644 index 00000000000..e55ddf7cbad --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/source/model/ContributionAnalysisFactor.cpp @@ -0,0 +1,59 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace QuickSight +{ +namespace Model +{ + +ContributionAnalysisFactor::ContributionAnalysisFactor() : + m_fieldNameHasBeenSet(false) +{ +} + +ContributionAnalysisFactor::ContributionAnalysisFactor(JsonView jsonValue) + : ContributionAnalysisFactor() +{ + *this = jsonValue; +} + +ContributionAnalysisFactor& ContributionAnalysisFactor::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("FieldName")) + { + m_fieldName = jsonValue.GetString("FieldName"); + + m_fieldNameHasBeenSet = true; + } + + return *this; +} + +JsonValue ContributionAnalysisFactor::Jsonize() const +{ + JsonValue payload; + + if(m_fieldNameHasBeenSet) + { + payload.WithString("FieldName", m_fieldName); + + } + + return payload; +} + +} // namespace Model +} // namespace QuickSight +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-quicksight/source/model/ContributionAnalysisSortType.cpp b/generated/src/aws-cpp-sdk-quicksight/source/model/ContributionAnalysisSortType.cpp new file mode 100644 index 00000000000..f11b57aa441 --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/source/model/ContributionAnalysisSortType.cpp @@ -0,0 +1,86 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace QuickSight + { + namespace Model + { + namespace ContributionAnalysisSortTypeMapper + { + + static const int ABSOLUTE_DIFFERENCE_HASH = HashingUtils::HashString("ABSOLUTE_DIFFERENCE"); + static const int CONTRIBUTION_PERCENTAGE_HASH = HashingUtils::HashString("CONTRIBUTION_PERCENTAGE"); + static const int DEVIATION_FROM_EXPECTED_HASH = HashingUtils::HashString("DEVIATION_FROM_EXPECTED"); + static const int PERCENTAGE_DIFFERENCE_HASH = HashingUtils::HashString("PERCENTAGE_DIFFERENCE"); + + + ContributionAnalysisSortType GetContributionAnalysisSortTypeForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == ABSOLUTE_DIFFERENCE_HASH) + { + return ContributionAnalysisSortType::ABSOLUTE_DIFFERENCE; + } + else if (hashCode == CONTRIBUTION_PERCENTAGE_HASH) + { + return ContributionAnalysisSortType::CONTRIBUTION_PERCENTAGE; + } + else if (hashCode == DEVIATION_FROM_EXPECTED_HASH) + { + return ContributionAnalysisSortType::DEVIATION_FROM_EXPECTED; + } + else if (hashCode == PERCENTAGE_DIFFERENCE_HASH) + { + return ContributionAnalysisSortType::PERCENTAGE_DIFFERENCE; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return ContributionAnalysisSortType::NOT_SET; + } + + Aws::String GetNameForContributionAnalysisSortType(ContributionAnalysisSortType enumValue) + { + switch(enumValue) + { + case ContributionAnalysisSortType::NOT_SET: + return {}; + case ContributionAnalysisSortType::ABSOLUTE_DIFFERENCE: + return "ABSOLUTE_DIFFERENCE"; + case ContributionAnalysisSortType::CONTRIBUTION_PERCENTAGE: + return "CONTRIBUTION_PERCENTAGE"; + case ContributionAnalysisSortType::DEVIATION_FROM_EXPECTED: + return "DEVIATION_FROM_EXPECTED"; + case ContributionAnalysisSortType::PERCENTAGE_DIFFERENCE: + return "PERCENTAGE_DIFFERENCE"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace ContributionAnalysisSortTypeMapper + } // namespace Model + } // namespace QuickSight +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-quicksight/source/model/ContributionAnalysisTimeRanges.cpp b/generated/src/aws-cpp-sdk-quicksight/source/model/ContributionAnalysisTimeRanges.cpp new file mode 100644 index 00000000000..969c50ff01b --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/source/model/ContributionAnalysisTimeRanges.cpp @@ -0,0 +1,73 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace QuickSight +{ +namespace Model +{ + +ContributionAnalysisTimeRanges::ContributionAnalysisTimeRanges() : + m_startRangeHasBeenSet(false), + m_endRangeHasBeenSet(false) +{ +} + +ContributionAnalysisTimeRanges::ContributionAnalysisTimeRanges(JsonView jsonValue) + : ContributionAnalysisTimeRanges() +{ + *this = jsonValue; +} + +ContributionAnalysisTimeRanges& ContributionAnalysisTimeRanges::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("StartRange")) + { + m_startRange = jsonValue.GetObject("StartRange"); + + m_startRangeHasBeenSet = true; + } + + if(jsonValue.ValueExists("EndRange")) + { + m_endRange = jsonValue.GetObject("EndRange"); + + m_endRangeHasBeenSet = true; + } + + return *this; +} + +JsonValue ContributionAnalysisTimeRanges::Jsonize() const +{ + JsonValue payload; + + if(m_startRangeHasBeenSet) + { + payload.WithObject("StartRange", m_startRange.Jsonize()); + + } + + if(m_endRangeHasBeenSet) + { + payload.WithObject("EndRange", m_endRange.Jsonize()); + + } + + return payload; +} + +} // namespace Model +} // namespace QuickSight +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-quicksight/source/model/CreateTopicReviewedAnswer.cpp b/generated/src/aws-cpp-sdk-quicksight/source/model/CreateTopicReviewedAnswer.cpp new file mode 100644 index 00000000000..85eb2f640f7 --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/source/model/CreateTopicReviewedAnswer.cpp @@ -0,0 +1,129 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace QuickSight +{ +namespace Model +{ + +CreateTopicReviewedAnswer::CreateTopicReviewedAnswer() : + m_answerIdHasBeenSet(false), + m_datasetArnHasBeenSet(false), + m_questionHasBeenSet(false), + m_mirHasBeenSet(false), + m_primaryVisualHasBeenSet(false), + m_templateHasBeenSet(false) +{ +} + +CreateTopicReviewedAnswer::CreateTopicReviewedAnswer(JsonView jsonValue) + : CreateTopicReviewedAnswer() +{ + *this = jsonValue; +} + +CreateTopicReviewedAnswer& CreateTopicReviewedAnswer::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("AnswerId")) + { + m_answerId = jsonValue.GetString("AnswerId"); + + m_answerIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("DatasetArn")) + { + m_datasetArn = jsonValue.GetString("DatasetArn"); + + m_datasetArnHasBeenSet = true; + } + + if(jsonValue.ValueExists("Question")) + { + m_question = jsonValue.GetString("Question"); + + m_questionHasBeenSet = true; + } + + if(jsonValue.ValueExists("Mir")) + { + m_mir = jsonValue.GetObject("Mir"); + + m_mirHasBeenSet = true; + } + + if(jsonValue.ValueExists("PrimaryVisual")) + { + m_primaryVisual = jsonValue.GetObject("PrimaryVisual"); + + m_primaryVisualHasBeenSet = true; + } + + if(jsonValue.ValueExists("Template")) + { + m_template = jsonValue.GetObject("Template"); + + m_templateHasBeenSet = true; + } + + return *this; +} + +JsonValue CreateTopicReviewedAnswer::Jsonize() const +{ + JsonValue payload; + + if(m_answerIdHasBeenSet) + { + payload.WithString("AnswerId", m_answerId); + + } + + if(m_datasetArnHasBeenSet) + { + payload.WithString("DatasetArn", m_datasetArn); + + } + + if(m_questionHasBeenSet) + { + payload.WithString("Question", m_question); + + } + + if(m_mirHasBeenSet) + { + payload.WithObject("Mir", m_mir.Jsonize()); + + } + + if(m_primaryVisualHasBeenSet) + { + payload.WithObject("PrimaryVisual", m_primaryVisual.Jsonize()); + + } + + if(m_templateHasBeenSet) + { + payload.WithObject("Template", m_template.Jsonize()); + + } + + return payload; +} + +} // namespace Model +} // namespace QuickSight +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-quicksight/source/model/DateTimePickerControlDisplayOptions.cpp b/generated/src/aws-cpp-sdk-quicksight/source/model/DateTimePickerControlDisplayOptions.cpp index 3ed97ccf4ff..45d6d777de6 100644 --- a/generated/src/aws-cpp-sdk-quicksight/source/model/DateTimePickerControlDisplayOptions.cpp +++ b/generated/src/aws-cpp-sdk-quicksight/source/model/DateTimePickerControlDisplayOptions.cpp @@ -21,7 +21,11 @@ namespace Model DateTimePickerControlDisplayOptions::DateTimePickerControlDisplayOptions() : m_titleOptionsHasBeenSet(false), m_dateTimeFormatHasBeenSet(false), - m_infoIconLabelOptionsHasBeenSet(false) + m_infoIconLabelOptionsHasBeenSet(false), + m_helperTextVisibility(Visibility::NOT_SET), + m_helperTextVisibilityHasBeenSet(false), + m_dateIconVisibility(Visibility::NOT_SET), + m_dateIconVisibilityHasBeenSet(false) { } @@ -54,6 +58,20 @@ DateTimePickerControlDisplayOptions& DateTimePickerControlDisplayOptions::operat m_infoIconLabelOptionsHasBeenSet = true; } + if(jsonValue.ValueExists("HelperTextVisibility")) + { + m_helperTextVisibility = VisibilityMapper::GetVisibilityForName(jsonValue.GetString("HelperTextVisibility")); + + m_helperTextVisibilityHasBeenSet = true; + } + + if(jsonValue.ValueExists("DateIconVisibility")) + { + m_dateIconVisibility = VisibilityMapper::GetVisibilityForName(jsonValue.GetString("DateIconVisibility")); + + m_dateIconVisibilityHasBeenSet = true; + } + return *this; } @@ -79,6 +97,16 @@ JsonValue DateTimePickerControlDisplayOptions::Jsonize() const } + if(m_helperTextVisibilityHasBeenSet) + { + payload.WithString("HelperTextVisibility", VisibilityMapper::GetNameForVisibility(m_helperTextVisibility)); + } + + if(m_dateIconVisibilityHasBeenSet) + { + payload.WithString("DateIconVisibility", VisibilityMapper::GetNameForVisibility(m_dateIconVisibility)); + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-quicksight/source/model/FilterAggMetrics.cpp b/generated/src/aws-cpp-sdk-quicksight/source/model/FilterAggMetrics.cpp new file mode 100644 index 00000000000..dafd02c7884 --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/source/model/FilterAggMetrics.cpp @@ -0,0 +1,87 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace QuickSight +{ +namespace Model +{ + +FilterAggMetrics::FilterAggMetrics() : + m_metricOperandHasBeenSet(false), + m_function(AggType::NOT_SET), + m_functionHasBeenSet(false), + m_sortDirection(TopicSortDirection::NOT_SET), + m_sortDirectionHasBeenSet(false) +{ +} + +FilterAggMetrics::FilterAggMetrics(JsonView jsonValue) + : FilterAggMetrics() +{ + *this = jsonValue; +} + +FilterAggMetrics& FilterAggMetrics::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("MetricOperand")) + { + m_metricOperand = jsonValue.GetObject("MetricOperand"); + + m_metricOperandHasBeenSet = true; + } + + if(jsonValue.ValueExists("Function")) + { + m_function = AggTypeMapper::GetAggTypeForName(jsonValue.GetString("Function")); + + m_functionHasBeenSet = true; + } + + if(jsonValue.ValueExists("SortDirection")) + { + m_sortDirection = TopicSortDirectionMapper::GetTopicSortDirectionForName(jsonValue.GetString("SortDirection")); + + m_sortDirectionHasBeenSet = true; + } + + return *this; +} + +JsonValue FilterAggMetrics::Jsonize() const +{ + JsonValue payload; + + if(m_metricOperandHasBeenSet) + { + payload.WithObject("MetricOperand", m_metricOperand.Jsonize()); + + } + + if(m_functionHasBeenSet) + { + payload.WithString("Function", AggTypeMapper::GetNameForAggType(m_function)); + } + + if(m_sortDirectionHasBeenSet) + { + payload.WithString("SortDirection", TopicSortDirectionMapper::GetNameForTopicSortDirection(m_sortDirection)); + } + + return payload; +} + +} // namespace Model +} // namespace QuickSight +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-quicksight/source/model/Identifier.cpp b/generated/src/aws-cpp-sdk-quicksight/source/model/Identifier.cpp new file mode 100644 index 00000000000..249558d9de1 --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/source/model/Identifier.cpp @@ -0,0 +1,59 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace QuickSight +{ +namespace Model +{ + +Identifier::Identifier() : + m_identityHasBeenSet(false) +{ +} + +Identifier::Identifier(JsonView jsonValue) + : Identifier() +{ + *this = jsonValue; +} + +Identifier& Identifier::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("Identity")) + { + m_identity = jsonValue.GetString("Identity"); + + m_identityHasBeenSet = true; + } + + return *this; +} + +JsonValue Identifier::Jsonize() const +{ + JsonValue payload; + + if(m_identityHasBeenSet) + { + payload.WithString("Identity", m_identity); + + } + + return payload; +} + +} // namespace Model +} // namespace QuickSight +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-quicksight/source/model/InvalidTopicReviewedAnswer.cpp b/generated/src/aws-cpp-sdk-quicksight/source/model/InvalidTopicReviewedAnswer.cpp new file mode 100644 index 00000000000..dbb4b7a3df4 --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/source/model/InvalidTopicReviewedAnswer.cpp @@ -0,0 +1,73 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace QuickSight +{ +namespace Model +{ + +InvalidTopicReviewedAnswer::InvalidTopicReviewedAnswer() : + m_answerIdHasBeenSet(false), + m_error(ReviewedAnswerErrorCode::NOT_SET), + m_errorHasBeenSet(false) +{ +} + +InvalidTopicReviewedAnswer::InvalidTopicReviewedAnswer(JsonView jsonValue) + : InvalidTopicReviewedAnswer() +{ + *this = jsonValue; +} + +InvalidTopicReviewedAnswer& InvalidTopicReviewedAnswer::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("AnswerId")) + { + m_answerId = jsonValue.GetString("AnswerId"); + + m_answerIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("Error")) + { + m_error = ReviewedAnswerErrorCodeMapper::GetReviewedAnswerErrorCodeForName(jsonValue.GetString("Error")); + + m_errorHasBeenSet = true; + } + + return *this; +} + +JsonValue InvalidTopicReviewedAnswer::Jsonize() const +{ + JsonValue payload; + + if(m_answerIdHasBeenSet) + { + payload.WithString("AnswerId", m_answerId); + + } + + if(m_errorHasBeenSet) + { + payload.WithString("Error", ReviewedAnswerErrorCodeMapper::GetNameForReviewedAnswerErrorCode(m_error)); + } + + return payload; +} + +} // namespace Model +} // namespace QuickSight +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-quicksight/source/model/ListTopicReviewedAnswersRequest.cpp b/generated/src/aws-cpp-sdk-quicksight/source/model/ListTopicReviewedAnswersRequest.cpp new file mode 100644 index 00000000000..563b0068386 --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/source/model/ListTopicReviewedAnswersRequest.cpp @@ -0,0 +1,28 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::QuickSight::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +ListTopicReviewedAnswersRequest::ListTopicReviewedAnswersRequest() : + m_awsAccountIdHasBeenSet(false), + m_topicIdHasBeenSet(false) +{ +} + +Aws::String ListTopicReviewedAnswersRequest::SerializePayload() const +{ + return {}; +} + + + + diff --git a/generated/src/aws-cpp-sdk-quicksight/source/model/ListTopicReviewedAnswersResult.cpp b/generated/src/aws-cpp-sdk-quicksight/source/model/ListTopicReviewedAnswersResult.cpp new file mode 100644 index 00000000000..939f0dfefbf --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/source/model/ListTopicReviewedAnswersResult.cpp @@ -0,0 +1,67 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::QuickSight::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +ListTopicReviewedAnswersResult::ListTopicReviewedAnswersResult() : + m_status(0) +{ +} + +ListTopicReviewedAnswersResult::ListTopicReviewedAnswersResult(const Aws::AmazonWebServiceResult& result) + : ListTopicReviewedAnswersResult() +{ + *this = result; +} + +ListTopicReviewedAnswersResult& ListTopicReviewedAnswersResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("TopicId")) + { + m_topicId = jsonValue.GetString("TopicId"); + + } + + if(jsonValue.ValueExists("TopicArn")) + { + m_topicArn = jsonValue.GetString("TopicArn"); + + } + + if(jsonValue.ValueExists("Answers")) + { + Aws::Utils::Array answersJsonList = jsonValue.GetArray("Answers"); + for(unsigned answersIndex = 0; answersIndex < answersJsonList.GetLength(); ++answersIndex) + { + m_answers.push_back(answersJsonList[answersIndex].AsObject()); + } + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + m_status = static_cast(result.GetResponseCode()); + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-quicksight/source/model/NamedEntityRef.cpp b/generated/src/aws-cpp-sdk-quicksight/source/model/NamedEntityRef.cpp new file mode 100644 index 00000000000..14a7b0eface --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/source/model/NamedEntityRef.cpp @@ -0,0 +1,59 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace QuickSight +{ +namespace Model +{ + +NamedEntityRef::NamedEntityRef() : + m_namedEntityNameHasBeenSet(false) +{ +} + +NamedEntityRef::NamedEntityRef(JsonView jsonValue) + : NamedEntityRef() +{ + *this = jsonValue; +} + +NamedEntityRef& NamedEntityRef::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("NamedEntityName")) + { + m_namedEntityName = jsonValue.GetString("NamedEntityName"); + + m_namedEntityNameHasBeenSet = true; + } + + return *this; +} + +JsonValue NamedEntityRef::Jsonize() const +{ + JsonValue payload; + + if(m_namedEntityNameHasBeenSet) + { + payload.WithString("NamedEntityName", m_namedEntityName); + + } + + return payload; +} + +} // namespace Model +} // namespace QuickSight +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-quicksight/source/model/NullFilterOption.cpp b/generated/src/aws-cpp-sdk-quicksight/source/model/NullFilterOption.cpp new file mode 100644 index 00000000000..4af6bb4d5dc --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/source/model/NullFilterOption.cpp @@ -0,0 +1,79 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace QuickSight + { + namespace Model + { + namespace NullFilterOptionMapper + { + + static const int ALL_VALUES_HASH = HashingUtils::HashString("ALL_VALUES"); + static const int NON_NULLS_ONLY_HASH = HashingUtils::HashString("NON_NULLS_ONLY"); + static const int NULLS_ONLY_HASH = HashingUtils::HashString("NULLS_ONLY"); + + + NullFilterOption GetNullFilterOptionForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == ALL_VALUES_HASH) + { + return NullFilterOption::ALL_VALUES; + } + else if (hashCode == NON_NULLS_ONLY_HASH) + { + return NullFilterOption::NON_NULLS_ONLY; + } + else if (hashCode == NULLS_ONLY_HASH) + { + return NullFilterOption::NULLS_ONLY; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return NullFilterOption::NOT_SET; + } + + Aws::String GetNameForNullFilterOption(NullFilterOption enumValue) + { + switch(enumValue) + { + case NullFilterOption::NOT_SET: + return {}; + case NullFilterOption::ALL_VALUES: + return "ALL_VALUES"; + case NullFilterOption::NON_NULLS_ONLY: + return "NON_NULLS_ONLY"; + case NullFilterOption::NULLS_ONLY: + return "NULLS_ONLY"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace NullFilterOptionMapper + } // namespace Model + } // namespace QuickSight +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-quicksight/source/model/ReviewedAnswerErrorCode.cpp b/generated/src/aws-cpp-sdk-quicksight/source/model/ReviewedAnswerErrorCode.cpp new file mode 100644 index 00000000000..7f32dd51f04 --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/source/model/ReviewedAnswerErrorCode.cpp @@ -0,0 +1,107 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace QuickSight + { + namespace Model + { + namespace ReviewedAnswerErrorCodeMapper + { + + static const int INTERNAL_ERROR_HASH = HashingUtils::HashString("INTERNAL_ERROR"); + static const int MISSING_ANSWER_HASH = HashingUtils::HashString("MISSING_ANSWER"); + static const int DATASET_DOES_NOT_EXIST_HASH = HashingUtils::HashString("DATASET_DOES_NOT_EXIST"); + static const int INVALID_DATASET_ARN_HASH = HashingUtils::HashString("INVALID_DATASET_ARN"); + static const int DUPLICATED_ANSWER_HASH = HashingUtils::HashString("DUPLICATED_ANSWER"); + static const int INVALID_DATA_HASH = HashingUtils::HashString("INVALID_DATA"); + static const int MISSING_REQUIRED_FIELDS_HASH = HashingUtils::HashString("MISSING_REQUIRED_FIELDS"); + + + ReviewedAnswerErrorCode GetReviewedAnswerErrorCodeForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == INTERNAL_ERROR_HASH) + { + return ReviewedAnswerErrorCode::INTERNAL_ERROR; + } + else if (hashCode == MISSING_ANSWER_HASH) + { + return ReviewedAnswerErrorCode::MISSING_ANSWER; + } + else if (hashCode == DATASET_DOES_NOT_EXIST_HASH) + { + return ReviewedAnswerErrorCode::DATASET_DOES_NOT_EXIST; + } + else if (hashCode == INVALID_DATASET_ARN_HASH) + { + return ReviewedAnswerErrorCode::INVALID_DATASET_ARN; + } + else if (hashCode == DUPLICATED_ANSWER_HASH) + { + return ReviewedAnswerErrorCode::DUPLICATED_ANSWER; + } + else if (hashCode == INVALID_DATA_HASH) + { + return ReviewedAnswerErrorCode::INVALID_DATA; + } + else if (hashCode == MISSING_REQUIRED_FIELDS_HASH) + { + return ReviewedAnswerErrorCode::MISSING_REQUIRED_FIELDS; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return ReviewedAnswerErrorCode::NOT_SET; + } + + Aws::String GetNameForReviewedAnswerErrorCode(ReviewedAnswerErrorCode enumValue) + { + switch(enumValue) + { + case ReviewedAnswerErrorCode::NOT_SET: + return {}; + case ReviewedAnswerErrorCode::INTERNAL_ERROR: + return "INTERNAL_ERROR"; + case ReviewedAnswerErrorCode::MISSING_ANSWER: + return "MISSING_ANSWER"; + case ReviewedAnswerErrorCode::DATASET_DOES_NOT_EXIST: + return "DATASET_DOES_NOT_EXIST"; + case ReviewedAnswerErrorCode::INVALID_DATASET_ARN: + return "INVALID_DATASET_ARN"; + case ReviewedAnswerErrorCode::DUPLICATED_ANSWER: + return "DUPLICATED_ANSWER"; + case ReviewedAnswerErrorCode::INVALID_DATA: + return "INVALID_DATA"; + case ReviewedAnswerErrorCode::MISSING_REQUIRED_FIELDS: + return "MISSING_REQUIRED_FIELDS"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace ReviewedAnswerErrorCodeMapper + } // namespace Model + } // namespace QuickSight +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-quicksight/source/model/Slot.cpp b/generated/src/aws-cpp-sdk-quicksight/source/model/Slot.cpp new file mode 100644 index 00000000000..65219860724 --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/source/model/Slot.cpp @@ -0,0 +1,73 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace QuickSight +{ +namespace Model +{ + +Slot::Slot() : + m_slotIdHasBeenSet(false), + m_visualIdHasBeenSet(false) +{ +} + +Slot::Slot(JsonView jsonValue) + : Slot() +{ + *this = jsonValue; +} + +Slot& Slot::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("SlotId")) + { + m_slotId = jsonValue.GetString("SlotId"); + + m_slotIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("VisualId")) + { + m_visualId = jsonValue.GetString("VisualId"); + + m_visualIdHasBeenSet = true; + } + + return *this; +} + +JsonValue Slot::Jsonize() const +{ + JsonValue payload; + + if(m_slotIdHasBeenSet) + { + payload.WithString("SlotId", m_slotId); + + } + + if(m_visualIdHasBeenSet) + { + payload.WithString("VisualId", m_visualId); + + } + + return payload; +} + +} // namespace Model +} // namespace QuickSight +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-quicksight/source/model/SucceededTopicReviewedAnswer.cpp b/generated/src/aws-cpp-sdk-quicksight/source/model/SucceededTopicReviewedAnswer.cpp new file mode 100644 index 00000000000..18284833fc1 --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/source/model/SucceededTopicReviewedAnswer.cpp @@ -0,0 +1,59 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace QuickSight +{ +namespace Model +{ + +SucceededTopicReviewedAnswer::SucceededTopicReviewedAnswer() : + m_answerIdHasBeenSet(false) +{ +} + +SucceededTopicReviewedAnswer::SucceededTopicReviewedAnswer(JsonView jsonValue) + : SucceededTopicReviewedAnswer() +{ + *this = jsonValue; +} + +SucceededTopicReviewedAnswer& SucceededTopicReviewedAnswer::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("AnswerId")) + { + m_answerId = jsonValue.GetString("AnswerId"); + + m_answerIdHasBeenSet = true; + } + + return *this; +} + +JsonValue SucceededTopicReviewedAnswer::Jsonize() const +{ + JsonValue payload; + + if(m_answerIdHasBeenSet) + { + payload.WithString("AnswerId", m_answerId); + + } + + return payload; +} + +} // namespace Model +} // namespace QuickSight +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-quicksight/source/model/TopicConstantValue.cpp b/generated/src/aws-cpp-sdk-quicksight/source/model/TopicConstantValue.cpp new file mode 100644 index 00000000000..e44420de59e --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/source/model/TopicConstantValue.cpp @@ -0,0 +1,123 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace QuickSight +{ +namespace Model +{ + +TopicConstantValue::TopicConstantValue() : + m_constantType(ConstantType::NOT_SET), + m_constantTypeHasBeenSet(false), + m_valueHasBeenSet(false), + m_minimumHasBeenSet(false), + m_maximumHasBeenSet(false), + m_valueListHasBeenSet(false) +{ +} + +TopicConstantValue::TopicConstantValue(JsonView jsonValue) + : TopicConstantValue() +{ + *this = jsonValue; +} + +TopicConstantValue& TopicConstantValue::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("ConstantType")) + { + m_constantType = ConstantTypeMapper::GetConstantTypeForName(jsonValue.GetString("ConstantType")); + + m_constantTypeHasBeenSet = true; + } + + if(jsonValue.ValueExists("Value")) + { + m_value = jsonValue.GetString("Value"); + + m_valueHasBeenSet = true; + } + + if(jsonValue.ValueExists("Minimum")) + { + m_minimum = jsonValue.GetString("Minimum"); + + m_minimumHasBeenSet = true; + } + + if(jsonValue.ValueExists("Maximum")) + { + m_maximum = jsonValue.GetString("Maximum"); + + m_maximumHasBeenSet = true; + } + + if(jsonValue.ValueExists("ValueList")) + { + Aws::Utils::Array valueListJsonList = jsonValue.GetArray("ValueList"); + for(unsigned valueListIndex = 0; valueListIndex < valueListJsonList.GetLength(); ++valueListIndex) + { + m_valueList.push_back(valueListJsonList[valueListIndex].AsObject()); + } + m_valueListHasBeenSet = true; + } + + return *this; +} + +JsonValue TopicConstantValue::Jsonize() const +{ + JsonValue payload; + + if(m_constantTypeHasBeenSet) + { + payload.WithString("ConstantType", ConstantTypeMapper::GetNameForConstantType(m_constantType)); + } + + if(m_valueHasBeenSet) + { + payload.WithString("Value", m_value); + + } + + if(m_minimumHasBeenSet) + { + payload.WithString("Minimum", m_minimum); + + } + + if(m_maximumHasBeenSet) + { + payload.WithString("Maximum", m_maximum); + + } + + if(m_valueListHasBeenSet) + { + Aws::Utils::Array valueListJsonList(m_valueList.size()); + for(unsigned valueListIndex = 0; valueListIndex < valueListJsonList.GetLength(); ++valueListIndex) + { + valueListJsonList[valueListIndex].AsObject(m_valueList[valueListIndex].Jsonize()); + } + payload.WithArray("ValueList", std::move(valueListJsonList)); + + } + + return payload; +} + +} // namespace Model +} // namespace QuickSight +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-quicksight/source/model/TopicIR.cpp b/generated/src/aws-cpp-sdk-quicksight/source/model/TopicIR.cpp new file mode 100644 index 00000000000..6e5044e1445 --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/source/model/TopicIR.cpp @@ -0,0 +1,165 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace QuickSight +{ +namespace Model +{ + +TopicIR::TopicIR() : + m_metricsHasBeenSet(false), + m_groupByListHasBeenSet(false), + m_filtersHasBeenSet(false), + m_sortHasBeenSet(false), + m_contributionAnalysisHasBeenSet(false), + m_visualHasBeenSet(false) +{ +} + +TopicIR::TopicIR(JsonView jsonValue) + : TopicIR() +{ + *this = jsonValue; +} + +TopicIR& TopicIR::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("Metrics")) + { + Aws::Utils::Array metricsJsonList = jsonValue.GetArray("Metrics"); + for(unsigned metricsIndex = 0; metricsIndex < metricsJsonList.GetLength(); ++metricsIndex) + { + m_metrics.push_back(metricsJsonList[metricsIndex].AsObject()); + } + m_metricsHasBeenSet = true; + } + + if(jsonValue.ValueExists("GroupByList")) + { + Aws::Utils::Array groupByListJsonList = jsonValue.GetArray("GroupByList"); + for(unsigned groupByListIndex = 0; groupByListIndex < groupByListJsonList.GetLength(); ++groupByListIndex) + { + m_groupByList.push_back(groupByListJsonList[groupByListIndex].AsObject()); + } + m_groupByListHasBeenSet = true; + } + + if(jsonValue.ValueExists("Filters")) + { + Aws::Utils::Array filtersJsonList = jsonValue.GetArray("Filters"); + for(unsigned filtersIndex = 0; filtersIndex < filtersJsonList.GetLength(); ++filtersIndex) + { + Aws::Utils::Array topicIRFilterEntryJsonList = filtersJsonList[filtersIndex].AsArray(); + Aws::Vector topicIRFilterEntryList; + topicIRFilterEntryList.reserve((size_t)topicIRFilterEntryJsonList.GetLength()); + for(unsigned topicIRFilterEntryIndex = 0; topicIRFilterEntryIndex < topicIRFilterEntryJsonList.GetLength(); ++topicIRFilterEntryIndex) + { + topicIRFilterEntryList.push_back(topicIRFilterEntryJsonList[topicIRFilterEntryIndex].AsObject()); + } + m_filters.push_back(std::move(topicIRFilterEntryList)); + } + m_filtersHasBeenSet = true; + } + + if(jsonValue.ValueExists("Sort")) + { + m_sort = jsonValue.GetObject("Sort"); + + m_sortHasBeenSet = true; + } + + if(jsonValue.ValueExists("ContributionAnalysis")) + { + m_contributionAnalysis = jsonValue.GetObject("ContributionAnalysis"); + + m_contributionAnalysisHasBeenSet = true; + } + + if(jsonValue.ValueExists("Visual")) + { + m_visual = jsonValue.GetObject("Visual"); + + m_visualHasBeenSet = true; + } + + return *this; +} + +JsonValue TopicIR::Jsonize() const +{ + JsonValue payload; + + if(m_metricsHasBeenSet) + { + Aws::Utils::Array metricsJsonList(m_metrics.size()); + for(unsigned metricsIndex = 0; metricsIndex < metricsJsonList.GetLength(); ++metricsIndex) + { + metricsJsonList[metricsIndex].AsObject(m_metrics[metricsIndex].Jsonize()); + } + payload.WithArray("Metrics", std::move(metricsJsonList)); + + } + + if(m_groupByListHasBeenSet) + { + Aws::Utils::Array groupByListJsonList(m_groupByList.size()); + for(unsigned groupByListIndex = 0; groupByListIndex < groupByListJsonList.GetLength(); ++groupByListIndex) + { + groupByListJsonList[groupByListIndex].AsObject(m_groupByList[groupByListIndex].Jsonize()); + } + payload.WithArray("GroupByList", std::move(groupByListJsonList)); + + } + + if(m_filtersHasBeenSet) + { + Aws::Utils::Array filtersJsonList(m_filters.size()); + for(unsigned filtersIndex = 0; filtersIndex < filtersJsonList.GetLength(); ++filtersIndex) + { + Aws::Utils::Array topicIRFilterEntryJsonList(m_filters[filtersIndex].size()); + for(unsigned topicIRFilterEntryIndex = 0; topicIRFilterEntryIndex < topicIRFilterEntryJsonList.GetLength(); ++topicIRFilterEntryIndex) + { + topicIRFilterEntryJsonList[topicIRFilterEntryIndex].AsObject(m_filters[filtersIndex][topicIRFilterEntryIndex].Jsonize()); + } + filtersJsonList[filtersIndex].AsArray(std::move(topicIRFilterEntryJsonList)); + } + payload.WithArray("Filters", std::move(filtersJsonList)); + + } + + if(m_sortHasBeenSet) + { + payload.WithObject("Sort", m_sort.Jsonize()); + + } + + if(m_contributionAnalysisHasBeenSet) + { + payload.WithObject("ContributionAnalysis", m_contributionAnalysis.Jsonize()); + + } + + if(m_visualHasBeenSet) + { + payload.WithObject("Visual", m_visual.Jsonize()); + + } + + return payload; +} + +} // namespace Model +} // namespace QuickSight +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-quicksight/source/model/TopicIRComparisonMethod.cpp b/generated/src/aws-cpp-sdk-quicksight/source/model/TopicIRComparisonMethod.cpp new file mode 100644 index 00000000000..a0a8e22c1e3 --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/source/model/TopicIRComparisonMethod.cpp @@ -0,0 +1,88 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace QuickSight +{ +namespace Model +{ + +TopicIRComparisonMethod::TopicIRComparisonMethod() : + m_type(ComparisonMethodType::NOT_SET), + m_typeHasBeenSet(false), + m_period(TopicTimeGranularity::NOT_SET), + m_periodHasBeenSet(false), + m_windowSize(0), + m_windowSizeHasBeenSet(false) +{ +} + +TopicIRComparisonMethod::TopicIRComparisonMethod(JsonView jsonValue) + : TopicIRComparisonMethod() +{ + *this = jsonValue; +} + +TopicIRComparisonMethod& TopicIRComparisonMethod::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("Type")) + { + m_type = ComparisonMethodTypeMapper::GetComparisonMethodTypeForName(jsonValue.GetString("Type")); + + m_typeHasBeenSet = true; + } + + if(jsonValue.ValueExists("Period")) + { + m_period = TopicTimeGranularityMapper::GetTopicTimeGranularityForName(jsonValue.GetString("Period")); + + m_periodHasBeenSet = true; + } + + if(jsonValue.ValueExists("WindowSize")) + { + m_windowSize = jsonValue.GetInteger("WindowSize"); + + m_windowSizeHasBeenSet = true; + } + + return *this; +} + +JsonValue TopicIRComparisonMethod::Jsonize() const +{ + JsonValue payload; + + if(m_typeHasBeenSet) + { + payload.WithString("Type", ComparisonMethodTypeMapper::GetNameForComparisonMethodType(m_type)); + } + + if(m_periodHasBeenSet) + { + payload.WithString("Period", TopicTimeGranularityMapper::GetNameForTopicTimeGranularity(m_period)); + } + + if(m_windowSizeHasBeenSet) + { + payload.WithInteger("WindowSize", m_windowSize); + + } + + return payload; +} + +} // namespace Model +} // namespace QuickSight +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-quicksight/source/model/TopicIRContributionAnalysis.cpp b/generated/src/aws-cpp-sdk-quicksight/source/model/TopicIRContributionAnalysis.cpp new file mode 100644 index 00000000000..9e12932978e --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/source/model/TopicIRContributionAnalysis.cpp @@ -0,0 +1,109 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace QuickSight +{ +namespace Model +{ + +TopicIRContributionAnalysis::TopicIRContributionAnalysis() : + m_factorsHasBeenSet(false), + m_timeRangesHasBeenSet(false), + m_direction(ContributionAnalysisDirection::NOT_SET), + m_directionHasBeenSet(false), + m_sortType(ContributionAnalysisSortType::NOT_SET), + m_sortTypeHasBeenSet(false) +{ +} + +TopicIRContributionAnalysis::TopicIRContributionAnalysis(JsonView jsonValue) + : TopicIRContributionAnalysis() +{ + *this = jsonValue; +} + +TopicIRContributionAnalysis& TopicIRContributionAnalysis::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("Factors")) + { + Aws::Utils::Array factorsJsonList = jsonValue.GetArray("Factors"); + for(unsigned factorsIndex = 0; factorsIndex < factorsJsonList.GetLength(); ++factorsIndex) + { + m_factors.push_back(factorsJsonList[factorsIndex].AsObject()); + } + m_factorsHasBeenSet = true; + } + + if(jsonValue.ValueExists("TimeRanges")) + { + m_timeRanges = jsonValue.GetObject("TimeRanges"); + + m_timeRangesHasBeenSet = true; + } + + if(jsonValue.ValueExists("Direction")) + { + m_direction = ContributionAnalysisDirectionMapper::GetContributionAnalysisDirectionForName(jsonValue.GetString("Direction")); + + m_directionHasBeenSet = true; + } + + if(jsonValue.ValueExists("SortType")) + { + m_sortType = ContributionAnalysisSortTypeMapper::GetContributionAnalysisSortTypeForName(jsonValue.GetString("SortType")); + + m_sortTypeHasBeenSet = true; + } + + return *this; +} + +JsonValue TopicIRContributionAnalysis::Jsonize() const +{ + JsonValue payload; + + if(m_factorsHasBeenSet) + { + Aws::Utils::Array factorsJsonList(m_factors.size()); + for(unsigned factorsIndex = 0; factorsIndex < factorsJsonList.GetLength(); ++factorsIndex) + { + factorsJsonList[factorsIndex].AsObject(m_factors[factorsIndex].Jsonize()); + } + payload.WithArray("Factors", std::move(factorsJsonList)); + + } + + if(m_timeRangesHasBeenSet) + { + payload.WithObject("TimeRanges", m_timeRanges.Jsonize()); + + } + + if(m_directionHasBeenSet) + { + payload.WithString("Direction", ContributionAnalysisDirectionMapper::GetNameForContributionAnalysisDirection(m_direction)); + } + + if(m_sortTypeHasBeenSet) + { + payload.WithString("SortType", ContributionAnalysisSortTypeMapper::GetNameForContributionAnalysisSortType(m_sortType)); + } + + return payload; +} + +} // namespace Model +} // namespace QuickSight +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-quicksight/source/model/TopicIRFilterFunction.cpp b/generated/src/aws-cpp-sdk-quicksight/source/model/TopicIRFilterFunction.cpp new file mode 100644 index 00000000000..d799d642473 --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/source/model/TopicIRFilterFunction.cpp @@ -0,0 +1,128 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace QuickSight + { + namespace Model + { + namespace TopicIRFilterFunctionMapper + { + + static const int CONTAINS_HASH = HashingUtils::HashString("CONTAINS"); + static const int EXACT_HASH = HashingUtils::HashString("EXACT"); + static const int STARTS_WITH_HASH = HashingUtils::HashString("STARTS_WITH"); + static const int ENDS_WITH_HASH = HashingUtils::HashString("ENDS_WITH"); + static const int CONTAINS_STRING_HASH = HashingUtils::HashString("CONTAINS_STRING"); + static const int PREVIOUS_HASH = HashingUtils::HashString("PREVIOUS"); + static const int THIS_HASH = HashingUtils::HashString("THIS"); + static const int LAST_HASH = HashingUtils::HashString("LAST"); + static const int NEXT_HASH = HashingUtils::HashString("NEXT"); + static const int NOW_HASH = HashingUtils::HashString("NOW"); + + + TopicIRFilterFunction GetTopicIRFilterFunctionForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == CONTAINS_HASH) + { + return TopicIRFilterFunction::CONTAINS; + } + else if (hashCode == EXACT_HASH) + { + return TopicIRFilterFunction::EXACT; + } + else if (hashCode == STARTS_WITH_HASH) + { + return TopicIRFilterFunction::STARTS_WITH; + } + else if (hashCode == ENDS_WITH_HASH) + { + return TopicIRFilterFunction::ENDS_WITH; + } + else if (hashCode == CONTAINS_STRING_HASH) + { + return TopicIRFilterFunction::CONTAINS_STRING; + } + else if (hashCode == PREVIOUS_HASH) + { + return TopicIRFilterFunction::PREVIOUS; + } + else if (hashCode == THIS_HASH) + { + return TopicIRFilterFunction::THIS; + } + else if (hashCode == LAST_HASH) + { + return TopicIRFilterFunction::LAST; + } + else if (hashCode == NEXT_HASH) + { + return TopicIRFilterFunction::NEXT; + } + else if (hashCode == NOW_HASH) + { + return TopicIRFilterFunction::NOW; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return TopicIRFilterFunction::NOT_SET; + } + + Aws::String GetNameForTopicIRFilterFunction(TopicIRFilterFunction enumValue) + { + switch(enumValue) + { + case TopicIRFilterFunction::NOT_SET: + return {}; + case TopicIRFilterFunction::CONTAINS: + return "CONTAINS"; + case TopicIRFilterFunction::EXACT: + return "EXACT"; + case TopicIRFilterFunction::STARTS_WITH: + return "STARTS_WITH"; + case TopicIRFilterFunction::ENDS_WITH: + return "ENDS_WITH"; + case TopicIRFilterFunction::CONTAINS_STRING: + return "CONTAINS_STRING"; + case TopicIRFilterFunction::PREVIOUS: + return "PREVIOUS"; + case TopicIRFilterFunction::THIS: + return "THIS"; + case TopicIRFilterFunction::LAST: + return "LAST"; + case TopicIRFilterFunction::NEXT: + return "NEXT"; + case TopicIRFilterFunction::NOW: + return "NOW"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace TopicIRFilterFunctionMapper + } // namespace Model + } // namespace QuickSight +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-quicksight/source/model/TopicIRFilterOption.cpp b/generated/src/aws-cpp-sdk-quicksight/source/model/TopicIRFilterOption.cpp new file mode 100644 index 00000000000..f04f0b75d10 --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/source/model/TopicIRFilterOption.cpp @@ -0,0 +1,323 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace QuickSight +{ +namespace Model +{ + +TopicIRFilterOption::TopicIRFilterOption() : + m_filterType(TopicIRFilterType::NOT_SET), + m_filterTypeHasBeenSet(false), + m_filterClass(FilterClass::NOT_SET), + m_filterClassHasBeenSet(false), + m_operandFieldHasBeenSet(false), + m_function(TopicIRFilterFunction::NOT_SET), + m_functionHasBeenSet(false), + m_constantHasBeenSet(false), + m_inverse(false), + m_inverseHasBeenSet(false), + m_nullFilter(NullFilterOption::NOT_SET), + m_nullFilterHasBeenSet(false), + m_aggregation(AggType::NOT_SET), + m_aggregationHasBeenSet(false), + m_aggregationFunctionParametersHasBeenSet(false), + m_aggregationPartitionByHasBeenSet(false), + m_rangeHasBeenSet(false), + m_inclusive(false), + m_inclusiveHasBeenSet(false), + m_timeGranularity(TimeGranularity::NOT_SET), + m_timeGranularityHasBeenSet(false), + m_lastNextOffsetHasBeenSet(false), + m_aggMetricsHasBeenSet(false), + m_topBottomLimitHasBeenSet(false), + m_sortDirection(TopicSortDirection::NOT_SET), + m_sortDirectionHasBeenSet(false), + m_anchorHasBeenSet(false) +{ +} + +TopicIRFilterOption::TopicIRFilterOption(JsonView jsonValue) + : TopicIRFilterOption() +{ + *this = jsonValue; +} + +TopicIRFilterOption& TopicIRFilterOption::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("FilterType")) + { + m_filterType = TopicIRFilterTypeMapper::GetTopicIRFilterTypeForName(jsonValue.GetString("FilterType")); + + m_filterTypeHasBeenSet = true; + } + + if(jsonValue.ValueExists("FilterClass")) + { + m_filterClass = FilterClassMapper::GetFilterClassForName(jsonValue.GetString("FilterClass")); + + m_filterClassHasBeenSet = true; + } + + if(jsonValue.ValueExists("OperandField")) + { + m_operandField = jsonValue.GetObject("OperandField"); + + m_operandFieldHasBeenSet = true; + } + + if(jsonValue.ValueExists("Function")) + { + m_function = TopicIRFilterFunctionMapper::GetTopicIRFilterFunctionForName(jsonValue.GetString("Function")); + + m_functionHasBeenSet = true; + } + + if(jsonValue.ValueExists("Constant")) + { + m_constant = jsonValue.GetObject("Constant"); + + m_constantHasBeenSet = true; + } + + if(jsonValue.ValueExists("Inverse")) + { + m_inverse = jsonValue.GetBool("Inverse"); + + m_inverseHasBeenSet = true; + } + + if(jsonValue.ValueExists("NullFilter")) + { + m_nullFilter = NullFilterOptionMapper::GetNullFilterOptionForName(jsonValue.GetString("NullFilter")); + + m_nullFilterHasBeenSet = true; + } + + if(jsonValue.ValueExists("Aggregation")) + { + m_aggregation = AggTypeMapper::GetAggTypeForName(jsonValue.GetString("Aggregation")); + + m_aggregationHasBeenSet = true; + } + + if(jsonValue.ValueExists("AggregationFunctionParameters")) + { + Aws::Map aggregationFunctionParametersJsonMap = jsonValue.GetObject("AggregationFunctionParameters").GetAllObjects(); + for(auto& aggregationFunctionParametersItem : aggregationFunctionParametersJsonMap) + { + m_aggregationFunctionParameters[aggregationFunctionParametersItem.first] = aggregationFunctionParametersItem.second.AsString(); + } + m_aggregationFunctionParametersHasBeenSet = true; + } + + if(jsonValue.ValueExists("AggregationPartitionBy")) + { + Aws::Utils::Array aggregationPartitionByJsonList = jsonValue.GetArray("AggregationPartitionBy"); + for(unsigned aggregationPartitionByIndex = 0; aggregationPartitionByIndex < aggregationPartitionByJsonList.GetLength(); ++aggregationPartitionByIndex) + { + m_aggregationPartitionBy.push_back(aggregationPartitionByJsonList[aggregationPartitionByIndex].AsObject()); + } + m_aggregationPartitionByHasBeenSet = true; + } + + if(jsonValue.ValueExists("Range")) + { + m_range = jsonValue.GetObject("Range"); + + m_rangeHasBeenSet = true; + } + + if(jsonValue.ValueExists("Inclusive")) + { + m_inclusive = jsonValue.GetBool("Inclusive"); + + m_inclusiveHasBeenSet = true; + } + + if(jsonValue.ValueExists("TimeGranularity")) + { + m_timeGranularity = TimeGranularityMapper::GetTimeGranularityForName(jsonValue.GetString("TimeGranularity")); + + m_timeGranularityHasBeenSet = true; + } + + if(jsonValue.ValueExists("LastNextOffset")) + { + m_lastNextOffset = jsonValue.GetObject("LastNextOffset"); + + m_lastNextOffsetHasBeenSet = true; + } + + if(jsonValue.ValueExists("AggMetrics")) + { + Aws::Utils::Array aggMetricsJsonList = jsonValue.GetArray("AggMetrics"); + for(unsigned aggMetricsIndex = 0; aggMetricsIndex < aggMetricsJsonList.GetLength(); ++aggMetricsIndex) + { + m_aggMetrics.push_back(aggMetricsJsonList[aggMetricsIndex].AsObject()); + } + m_aggMetricsHasBeenSet = true; + } + + if(jsonValue.ValueExists("TopBottomLimit")) + { + m_topBottomLimit = jsonValue.GetObject("TopBottomLimit"); + + m_topBottomLimitHasBeenSet = true; + } + + if(jsonValue.ValueExists("SortDirection")) + { + m_sortDirection = TopicSortDirectionMapper::GetTopicSortDirectionForName(jsonValue.GetString("SortDirection")); + + m_sortDirectionHasBeenSet = true; + } + + if(jsonValue.ValueExists("Anchor")) + { + m_anchor = jsonValue.GetObject("Anchor"); + + m_anchorHasBeenSet = true; + } + + return *this; +} + +JsonValue TopicIRFilterOption::Jsonize() const +{ + JsonValue payload; + + if(m_filterTypeHasBeenSet) + { + payload.WithString("FilterType", TopicIRFilterTypeMapper::GetNameForTopicIRFilterType(m_filterType)); + } + + if(m_filterClassHasBeenSet) + { + payload.WithString("FilterClass", FilterClassMapper::GetNameForFilterClass(m_filterClass)); + } + + if(m_operandFieldHasBeenSet) + { + payload.WithObject("OperandField", m_operandField.Jsonize()); + + } + + if(m_functionHasBeenSet) + { + payload.WithString("Function", TopicIRFilterFunctionMapper::GetNameForTopicIRFilterFunction(m_function)); + } + + if(m_constantHasBeenSet) + { + payload.WithObject("Constant", m_constant.Jsonize()); + + } + + if(m_inverseHasBeenSet) + { + payload.WithBool("Inverse", m_inverse); + + } + + if(m_nullFilterHasBeenSet) + { + payload.WithString("NullFilter", NullFilterOptionMapper::GetNameForNullFilterOption(m_nullFilter)); + } + + if(m_aggregationHasBeenSet) + { + payload.WithString("Aggregation", AggTypeMapper::GetNameForAggType(m_aggregation)); + } + + if(m_aggregationFunctionParametersHasBeenSet) + { + JsonValue aggregationFunctionParametersJsonMap; + for(auto& aggregationFunctionParametersItem : m_aggregationFunctionParameters) + { + aggregationFunctionParametersJsonMap.WithString(aggregationFunctionParametersItem.first, aggregationFunctionParametersItem.second); + } + payload.WithObject("AggregationFunctionParameters", std::move(aggregationFunctionParametersJsonMap)); + + } + + if(m_aggregationPartitionByHasBeenSet) + { + Aws::Utils::Array aggregationPartitionByJsonList(m_aggregationPartitionBy.size()); + for(unsigned aggregationPartitionByIndex = 0; aggregationPartitionByIndex < aggregationPartitionByJsonList.GetLength(); ++aggregationPartitionByIndex) + { + aggregationPartitionByJsonList[aggregationPartitionByIndex].AsObject(m_aggregationPartitionBy[aggregationPartitionByIndex].Jsonize()); + } + payload.WithArray("AggregationPartitionBy", std::move(aggregationPartitionByJsonList)); + + } + + if(m_rangeHasBeenSet) + { + payload.WithObject("Range", m_range.Jsonize()); + + } + + if(m_inclusiveHasBeenSet) + { + payload.WithBool("Inclusive", m_inclusive); + + } + + if(m_timeGranularityHasBeenSet) + { + payload.WithString("TimeGranularity", TimeGranularityMapper::GetNameForTimeGranularity(m_timeGranularity)); + } + + if(m_lastNextOffsetHasBeenSet) + { + payload.WithObject("LastNextOffset", m_lastNextOffset.Jsonize()); + + } + + if(m_aggMetricsHasBeenSet) + { + Aws::Utils::Array aggMetricsJsonList(m_aggMetrics.size()); + for(unsigned aggMetricsIndex = 0; aggMetricsIndex < aggMetricsJsonList.GetLength(); ++aggMetricsIndex) + { + aggMetricsJsonList[aggMetricsIndex].AsObject(m_aggMetrics[aggMetricsIndex].Jsonize()); + } + payload.WithArray("AggMetrics", std::move(aggMetricsJsonList)); + + } + + if(m_topBottomLimitHasBeenSet) + { + payload.WithObject("TopBottomLimit", m_topBottomLimit.Jsonize()); + + } + + if(m_sortDirectionHasBeenSet) + { + payload.WithString("SortDirection", TopicSortDirectionMapper::GetNameForTopicSortDirection(m_sortDirection)); + } + + if(m_anchorHasBeenSet) + { + payload.WithObject("Anchor", m_anchor.Jsonize()); + + } + + return payload; +} + +} // namespace Model +} // namespace QuickSight +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-quicksight/source/model/TopicIRFilterType.cpp b/generated/src/aws-cpp-sdk-quicksight/source/model/TopicIRFilterType.cpp new file mode 100644 index 00000000000..999953bd142 --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/source/model/TopicIRFilterType.cpp @@ -0,0 +1,121 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace QuickSight + { + namespace Model + { + namespace TopicIRFilterTypeMapper + { + + static const int CATEGORY_FILTER_HASH = HashingUtils::HashString("CATEGORY_FILTER"); + static const int NUMERIC_EQUALITY_FILTER_HASH = HashingUtils::HashString("NUMERIC_EQUALITY_FILTER"); + static const int NUMERIC_RANGE_FILTER_HASH = HashingUtils::HashString("NUMERIC_RANGE_FILTER"); + static const int DATE_RANGE_FILTER_HASH = HashingUtils::HashString("DATE_RANGE_FILTER"); + static const int RELATIVE_DATE_FILTER_HASH = HashingUtils::HashString("RELATIVE_DATE_FILTER"); + static const int TOP_BOTTOM_FILTER_HASH = HashingUtils::HashString("TOP_BOTTOM_FILTER"); + static const int EQUALS_HASH = HashingUtils::HashString("EQUALS"); + static const int RANK_LIMIT_FILTER_HASH = HashingUtils::HashString("RANK_LIMIT_FILTER"); + static const int ACCEPT_ALL_FILTER_HASH = HashingUtils::HashString("ACCEPT_ALL_FILTER"); + + + TopicIRFilterType GetTopicIRFilterTypeForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == CATEGORY_FILTER_HASH) + { + return TopicIRFilterType::CATEGORY_FILTER; + } + else if (hashCode == NUMERIC_EQUALITY_FILTER_HASH) + { + return TopicIRFilterType::NUMERIC_EQUALITY_FILTER; + } + else if (hashCode == NUMERIC_RANGE_FILTER_HASH) + { + return TopicIRFilterType::NUMERIC_RANGE_FILTER; + } + else if (hashCode == DATE_RANGE_FILTER_HASH) + { + return TopicIRFilterType::DATE_RANGE_FILTER; + } + else if (hashCode == RELATIVE_DATE_FILTER_HASH) + { + return TopicIRFilterType::RELATIVE_DATE_FILTER; + } + else if (hashCode == TOP_BOTTOM_FILTER_HASH) + { + return TopicIRFilterType::TOP_BOTTOM_FILTER; + } + else if (hashCode == EQUALS_HASH) + { + return TopicIRFilterType::EQUALS; + } + else if (hashCode == RANK_LIMIT_FILTER_HASH) + { + return TopicIRFilterType::RANK_LIMIT_FILTER; + } + else if (hashCode == ACCEPT_ALL_FILTER_HASH) + { + return TopicIRFilterType::ACCEPT_ALL_FILTER; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return TopicIRFilterType::NOT_SET; + } + + Aws::String GetNameForTopicIRFilterType(TopicIRFilterType enumValue) + { + switch(enumValue) + { + case TopicIRFilterType::NOT_SET: + return {}; + case TopicIRFilterType::CATEGORY_FILTER: + return "CATEGORY_FILTER"; + case TopicIRFilterType::NUMERIC_EQUALITY_FILTER: + return "NUMERIC_EQUALITY_FILTER"; + case TopicIRFilterType::NUMERIC_RANGE_FILTER: + return "NUMERIC_RANGE_FILTER"; + case TopicIRFilterType::DATE_RANGE_FILTER: + return "DATE_RANGE_FILTER"; + case TopicIRFilterType::RELATIVE_DATE_FILTER: + return "RELATIVE_DATE_FILTER"; + case TopicIRFilterType::TOP_BOTTOM_FILTER: + return "TOP_BOTTOM_FILTER"; + case TopicIRFilterType::EQUALS: + return "EQUALS"; + case TopicIRFilterType::RANK_LIMIT_FILTER: + return "RANK_LIMIT_FILTER"; + case TopicIRFilterType::ACCEPT_ALL_FILTER: + return "ACCEPT_ALL_FILTER"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace TopicIRFilterTypeMapper + } // namespace Model + } // namespace QuickSight +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-quicksight/source/model/TopicIRGroupBy.cpp b/generated/src/aws-cpp-sdk-quicksight/source/model/TopicIRGroupBy.cpp new file mode 100644 index 00000000000..bc78e4949f8 --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/source/model/TopicIRGroupBy.cpp @@ -0,0 +1,129 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace QuickSight +{ +namespace Model +{ + +TopicIRGroupBy::TopicIRGroupBy() : + m_fieldNameHasBeenSet(false), + m_timeGranularity(TopicTimeGranularity::NOT_SET), + m_timeGranularityHasBeenSet(false), + m_sortHasBeenSet(false), + m_displayFormat(DisplayFormat::NOT_SET), + m_displayFormatHasBeenSet(false), + m_displayFormatOptionsHasBeenSet(false), + m_namedEntityHasBeenSet(false) +{ +} + +TopicIRGroupBy::TopicIRGroupBy(JsonView jsonValue) + : TopicIRGroupBy() +{ + *this = jsonValue; +} + +TopicIRGroupBy& TopicIRGroupBy::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("FieldName")) + { + m_fieldName = jsonValue.GetObject("FieldName"); + + m_fieldNameHasBeenSet = true; + } + + if(jsonValue.ValueExists("TimeGranularity")) + { + m_timeGranularity = TopicTimeGranularityMapper::GetTopicTimeGranularityForName(jsonValue.GetString("TimeGranularity")); + + m_timeGranularityHasBeenSet = true; + } + + if(jsonValue.ValueExists("Sort")) + { + m_sort = jsonValue.GetObject("Sort"); + + m_sortHasBeenSet = true; + } + + if(jsonValue.ValueExists("DisplayFormat")) + { + m_displayFormat = DisplayFormatMapper::GetDisplayFormatForName(jsonValue.GetString("DisplayFormat")); + + m_displayFormatHasBeenSet = true; + } + + if(jsonValue.ValueExists("DisplayFormatOptions")) + { + m_displayFormatOptions = jsonValue.GetObject("DisplayFormatOptions"); + + m_displayFormatOptionsHasBeenSet = true; + } + + if(jsonValue.ValueExists("NamedEntity")) + { + m_namedEntity = jsonValue.GetObject("NamedEntity"); + + m_namedEntityHasBeenSet = true; + } + + return *this; +} + +JsonValue TopicIRGroupBy::Jsonize() const +{ + JsonValue payload; + + if(m_fieldNameHasBeenSet) + { + payload.WithObject("FieldName", m_fieldName.Jsonize()); + + } + + if(m_timeGranularityHasBeenSet) + { + payload.WithString("TimeGranularity", TopicTimeGranularityMapper::GetNameForTopicTimeGranularity(m_timeGranularity)); + } + + if(m_sortHasBeenSet) + { + payload.WithObject("Sort", m_sort.Jsonize()); + + } + + if(m_displayFormatHasBeenSet) + { + payload.WithString("DisplayFormat", DisplayFormatMapper::GetNameForDisplayFormat(m_displayFormat)); + } + + if(m_displayFormatOptionsHasBeenSet) + { + payload.WithObject("DisplayFormatOptions", m_displayFormatOptions.Jsonize()); + + } + + if(m_namedEntityHasBeenSet) + { + payload.WithObject("NamedEntity", m_namedEntity.Jsonize()); + + } + + return payload; +} + +} // namespace Model +} // namespace QuickSight +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-quicksight/source/model/TopicIRMetric.cpp b/generated/src/aws-cpp-sdk-quicksight/source/model/TopicIRMetric.cpp new file mode 100644 index 00000000000..e426c7ac77c --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/source/model/TopicIRMetric.cpp @@ -0,0 +1,187 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace QuickSight +{ +namespace Model +{ + +TopicIRMetric::TopicIRMetric() : + m_metricIdHasBeenSet(false), + m_functionHasBeenSet(false), + m_operandsHasBeenSet(false), + m_comparisonMethodHasBeenSet(false), + m_expressionHasBeenSet(false), + m_calculatedFieldReferencesHasBeenSet(false), + m_displayFormat(DisplayFormat::NOT_SET), + m_displayFormatHasBeenSet(false), + m_displayFormatOptionsHasBeenSet(false), + m_namedEntityHasBeenSet(false) +{ +} + +TopicIRMetric::TopicIRMetric(JsonView jsonValue) + : TopicIRMetric() +{ + *this = jsonValue; +} + +TopicIRMetric& TopicIRMetric::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("MetricId")) + { + m_metricId = jsonValue.GetObject("MetricId"); + + m_metricIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("Function")) + { + m_function = jsonValue.GetObject("Function"); + + m_functionHasBeenSet = true; + } + + if(jsonValue.ValueExists("Operands")) + { + Aws::Utils::Array operandsJsonList = jsonValue.GetArray("Operands"); + for(unsigned operandsIndex = 0; operandsIndex < operandsJsonList.GetLength(); ++operandsIndex) + { + m_operands.push_back(operandsJsonList[operandsIndex].AsObject()); + } + m_operandsHasBeenSet = true; + } + + if(jsonValue.ValueExists("ComparisonMethod")) + { + m_comparisonMethod = jsonValue.GetObject("ComparisonMethod"); + + m_comparisonMethodHasBeenSet = true; + } + + if(jsonValue.ValueExists("Expression")) + { + m_expression = jsonValue.GetString("Expression"); + + m_expressionHasBeenSet = true; + } + + if(jsonValue.ValueExists("CalculatedFieldReferences")) + { + Aws::Utils::Array calculatedFieldReferencesJsonList = jsonValue.GetArray("CalculatedFieldReferences"); + for(unsigned calculatedFieldReferencesIndex = 0; calculatedFieldReferencesIndex < calculatedFieldReferencesJsonList.GetLength(); ++calculatedFieldReferencesIndex) + { + m_calculatedFieldReferences.push_back(calculatedFieldReferencesJsonList[calculatedFieldReferencesIndex].AsObject()); + } + m_calculatedFieldReferencesHasBeenSet = true; + } + + if(jsonValue.ValueExists("DisplayFormat")) + { + m_displayFormat = DisplayFormatMapper::GetDisplayFormatForName(jsonValue.GetString("DisplayFormat")); + + m_displayFormatHasBeenSet = true; + } + + if(jsonValue.ValueExists("DisplayFormatOptions")) + { + m_displayFormatOptions = jsonValue.GetObject("DisplayFormatOptions"); + + m_displayFormatOptionsHasBeenSet = true; + } + + if(jsonValue.ValueExists("NamedEntity")) + { + m_namedEntity = jsonValue.GetObject("NamedEntity"); + + m_namedEntityHasBeenSet = true; + } + + return *this; +} + +JsonValue TopicIRMetric::Jsonize() const +{ + JsonValue payload; + + if(m_metricIdHasBeenSet) + { + payload.WithObject("MetricId", m_metricId.Jsonize()); + + } + + if(m_functionHasBeenSet) + { + payload.WithObject("Function", m_function.Jsonize()); + + } + + if(m_operandsHasBeenSet) + { + Aws::Utils::Array operandsJsonList(m_operands.size()); + for(unsigned operandsIndex = 0; operandsIndex < operandsJsonList.GetLength(); ++operandsIndex) + { + operandsJsonList[operandsIndex].AsObject(m_operands[operandsIndex].Jsonize()); + } + payload.WithArray("Operands", std::move(operandsJsonList)); + + } + + if(m_comparisonMethodHasBeenSet) + { + payload.WithObject("ComparisonMethod", m_comparisonMethod.Jsonize()); + + } + + if(m_expressionHasBeenSet) + { + payload.WithString("Expression", m_expression); + + } + + if(m_calculatedFieldReferencesHasBeenSet) + { + Aws::Utils::Array calculatedFieldReferencesJsonList(m_calculatedFieldReferences.size()); + for(unsigned calculatedFieldReferencesIndex = 0; calculatedFieldReferencesIndex < calculatedFieldReferencesJsonList.GetLength(); ++calculatedFieldReferencesIndex) + { + calculatedFieldReferencesJsonList[calculatedFieldReferencesIndex].AsObject(m_calculatedFieldReferences[calculatedFieldReferencesIndex].Jsonize()); + } + payload.WithArray("CalculatedFieldReferences", std::move(calculatedFieldReferencesJsonList)); + + } + + if(m_displayFormatHasBeenSet) + { + payload.WithString("DisplayFormat", DisplayFormatMapper::GetNameForDisplayFormat(m_displayFormat)); + } + + if(m_displayFormatOptionsHasBeenSet) + { + payload.WithObject("DisplayFormatOptions", m_displayFormatOptions.Jsonize()); + + } + + if(m_namedEntityHasBeenSet) + { + payload.WithObject("NamedEntity", m_namedEntity.Jsonize()); + + } + + return payload; +} + +} // namespace Model +} // namespace QuickSight +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-quicksight/source/model/TopicReviewedAnswer.cpp b/generated/src/aws-cpp-sdk-quicksight/source/model/TopicReviewedAnswer.cpp new file mode 100644 index 00000000000..57985ab3522 --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/source/model/TopicReviewedAnswer.cpp @@ -0,0 +1,143 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace QuickSight +{ +namespace Model +{ + +TopicReviewedAnswer::TopicReviewedAnswer() : + m_arnHasBeenSet(false), + m_answerIdHasBeenSet(false), + m_datasetArnHasBeenSet(false), + m_questionHasBeenSet(false), + m_mirHasBeenSet(false), + m_primaryVisualHasBeenSet(false), + m_templateHasBeenSet(false) +{ +} + +TopicReviewedAnswer::TopicReviewedAnswer(JsonView jsonValue) + : TopicReviewedAnswer() +{ + *this = jsonValue; +} + +TopicReviewedAnswer& TopicReviewedAnswer::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("Arn")) + { + m_arn = jsonValue.GetString("Arn"); + + m_arnHasBeenSet = true; + } + + if(jsonValue.ValueExists("AnswerId")) + { + m_answerId = jsonValue.GetString("AnswerId"); + + m_answerIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("DatasetArn")) + { + m_datasetArn = jsonValue.GetString("DatasetArn"); + + m_datasetArnHasBeenSet = true; + } + + if(jsonValue.ValueExists("Question")) + { + m_question = jsonValue.GetString("Question"); + + m_questionHasBeenSet = true; + } + + if(jsonValue.ValueExists("Mir")) + { + m_mir = jsonValue.GetObject("Mir"); + + m_mirHasBeenSet = true; + } + + if(jsonValue.ValueExists("PrimaryVisual")) + { + m_primaryVisual = jsonValue.GetObject("PrimaryVisual"); + + m_primaryVisualHasBeenSet = true; + } + + if(jsonValue.ValueExists("Template")) + { + m_template = jsonValue.GetObject("Template"); + + m_templateHasBeenSet = true; + } + + return *this; +} + +JsonValue TopicReviewedAnswer::Jsonize() const +{ + JsonValue payload; + + if(m_arnHasBeenSet) + { + payload.WithString("Arn", m_arn); + + } + + if(m_answerIdHasBeenSet) + { + payload.WithString("AnswerId", m_answerId); + + } + + if(m_datasetArnHasBeenSet) + { + payload.WithString("DatasetArn", m_datasetArn); + + } + + if(m_questionHasBeenSet) + { + payload.WithString("Question", m_question); + + } + + if(m_mirHasBeenSet) + { + payload.WithObject("Mir", m_mir.Jsonize()); + + } + + if(m_primaryVisualHasBeenSet) + { + payload.WithObject("PrimaryVisual", m_primaryVisual.Jsonize()); + + } + + if(m_templateHasBeenSet) + { + payload.WithObject("Template", m_template.Jsonize()); + + } + + return payload; +} + +} // namespace Model +} // namespace QuickSight +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-quicksight/source/model/TopicSortClause.cpp b/generated/src/aws-cpp-sdk-quicksight/source/model/TopicSortClause.cpp new file mode 100644 index 00000000000..a8e653d81a8 --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/source/model/TopicSortClause.cpp @@ -0,0 +1,73 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace QuickSight +{ +namespace Model +{ + +TopicSortClause::TopicSortClause() : + m_operandHasBeenSet(false), + m_sortDirection(TopicSortDirection::NOT_SET), + m_sortDirectionHasBeenSet(false) +{ +} + +TopicSortClause::TopicSortClause(JsonView jsonValue) + : TopicSortClause() +{ + *this = jsonValue; +} + +TopicSortClause& TopicSortClause::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("Operand")) + { + m_operand = jsonValue.GetObject("Operand"); + + m_operandHasBeenSet = true; + } + + if(jsonValue.ValueExists("SortDirection")) + { + m_sortDirection = TopicSortDirectionMapper::GetTopicSortDirectionForName(jsonValue.GetString("SortDirection")); + + m_sortDirectionHasBeenSet = true; + } + + return *this; +} + +JsonValue TopicSortClause::Jsonize() const +{ + JsonValue payload; + + if(m_operandHasBeenSet) + { + payload.WithObject("Operand", m_operand.Jsonize()); + + } + + if(m_sortDirectionHasBeenSet) + { + payload.WithString("SortDirection", TopicSortDirectionMapper::GetNameForTopicSortDirection(m_sortDirection)); + } + + return payload; +} + +} // namespace Model +} // namespace QuickSight +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-quicksight/source/model/TopicSortDirection.cpp b/generated/src/aws-cpp-sdk-quicksight/source/model/TopicSortDirection.cpp new file mode 100644 index 00000000000..ef8200e5e38 --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/source/model/TopicSortDirection.cpp @@ -0,0 +1,72 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace QuickSight + { + namespace Model + { + namespace TopicSortDirectionMapper + { + + static const int ASCENDING_HASH = HashingUtils::HashString("ASCENDING"); + static const int DESCENDING_HASH = HashingUtils::HashString("DESCENDING"); + + + TopicSortDirection GetTopicSortDirectionForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == ASCENDING_HASH) + { + return TopicSortDirection::ASCENDING; + } + else if (hashCode == DESCENDING_HASH) + { + return TopicSortDirection::DESCENDING; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return TopicSortDirection::NOT_SET; + } + + Aws::String GetNameForTopicSortDirection(TopicSortDirection enumValue) + { + switch(enumValue) + { + case TopicSortDirection::NOT_SET: + return {}; + case TopicSortDirection::ASCENDING: + return "ASCENDING"; + case TopicSortDirection::DESCENDING: + return "DESCENDING"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace TopicSortDirectionMapper + } // namespace Model + } // namespace QuickSight +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-quicksight/source/model/TopicTemplate.cpp b/generated/src/aws-cpp-sdk-quicksight/source/model/TopicTemplate.cpp new file mode 100644 index 00000000000..fa6e574d587 --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/source/model/TopicTemplate.cpp @@ -0,0 +1,81 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace QuickSight +{ +namespace Model +{ + +TopicTemplate::TopicTemplate() : + m_templateTypeHasBeenSet(false), + m_slotsHasBeenSet(false) +{ +} + +TopicTemplate::TopicTemplate(JsonView jsonValue) + : TopicTemplate() +{ + *this = jsonValue; +} + +TopicTemplate& TopicTemplate::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("TemplateType")) + { + m_templateType = jsonValue.GetString("TemplateType"); + + m_templateTypeHasBeenSet = true; + } + + if(jsonValue.ValueExists("Slots")) + { + Aws::Utils::Array slotsJsonList = jsonValue.GetArray("Slots"); + for(unsigned slotsIndex = 0; slotsIndex < slotsJsonList.GetLength(); ++slotsIndex) + { + m_slots.push_back(slotsJsonList[slotsIndex].AsObject()); + } + m_slotsHasBeenSet = true; + } + + return *this; +} + +JsonValue TopicTemplate::Jsonize() const +{ + JsonValue payload; + + if(m_templateTypeHasBeenSet) + { + payload.WithString("TemplateType", m_templateType); + + } + + if(m_slotsHasBeenSet) + { + Aws::Utils::Array slotsJsonList(m_slots.size()); + for(unsigned slotsIndex = 0; slotsIndex < slotsJsonList.GetLength(); ++slotsIndex) + { + slotsJsonList[slotsIndex].AsObject(m_slots[slotsIndex].Jsonize()); + } + payload.WithArray("Slots", std::move(slotsJsonList)); + + } + + return payload; +} + +} // namespace Model +} // namespace QuickSight +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-quicksight/source/model/TopicVisual.cpp b/generated/src/aws-cpp-sdk-quicksight/source/model/TopicVisual.cpp new file mode 100644 index 00000000000..d0897780359 --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/source/model/TopicVisual.cpp @@ -0,0 +1,109 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace QuickSight +{ +namespace Model +{ + +TopicVisual::TopicVisual() : + m_visualIdHasBeenSet(false), + m_role(VisualRole::NOT_SET), + m_roleHasBeenSet(false), + m_irHasBeenSet(false), + m_supportingVisualsHasBeenSet(false) +{ +} + +TopicVisual::TopicVisual(JsonView jsonValue) + : TopicVisual() +{ + *this = jsonValue; +} + +TopicVisual& TopicVisual::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("VisualId")) + { + m_visualId = jsonValue.GetString("VisualId"); + + m_visualIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("Role")) + { + m_role = VisualRoleMapper::GetVisualRoleForName(jsonValue.GetString("Role")); + + m_roleHasBeenSet = true; + } + + if(jsonValue.ValueExists("Ir")) + { + m_ir = jsonValue.GetObject("Ir"); + + m_irHasBeenSet = true; + } + + if(jsonValue.ValueExists("SupportingVisuals")) + { + Aws::Utils::Array supportingVisualsJsonList = jsonValue.GetArray("SupportingVisuals"); + for(unsigned supportingVisualsIndex = 0; supportingVisualsIndex < supportingVisualsJsonList.GetLength(); ++supportingVisualsIndex) + { + m_supportingVisuals.push_back(supportingVisualsJsonList[supportingVisualsIndex].AsObject()); + } + m_supportingVisualsHasBeenSet = true; + } + + return *this; +} + +JsonValue TopicVisual::Jsonize() const +{ + JsonValue payload; + + if(m_visualIdHasBeenSet) + { + payload.WithString("VisualId", m_visualId); + + } + + if(m_roleHasBeenSet) + { + payload.WithString("Role", VisualRoleMapper::GetNameForVisualRole(m_role)); + } + + if(m_irHasBeenSet) + { + payload.WithObject("Ir", m_ir.Jsonize()); + + } + + if(m_supportingVisualsHasBeenSet) + { + Aws::Utils::Array supportingVisualsJsonList(m_supportingVisuals.size()); + for(unsigned supportingVisualsIndex = 0; supportingVisualsIndex < supportingVisualsJsonList.GetLength(); ++supportingVisualsIndex) + { + supportingVisualsJsonList[supportingVisualsIndex].AsObject(m_supportingVisuals[supportingVisualsIndex].Jsonize()); + } + payload.WithArray("SupportingVisuals", std::move(supportingVisualsJsonList)); + + } + + return payload; +} + +} // namespace Model +} // namespace QuickSight +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-quicksight/source/model/VisualOptions.cpp b/generated/src/aws-cpp-sdk-quicksight/source/model/VisualOptions.cpp new file mode 100644 index 00000000000..f62507d6c4f --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/source/model/VisualOptions.cpp @@ -0,0 +1,59 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace QuickSight +{ +namespace Model +{ + +VisualOptions::VisualOptions() : + m_typeHasBeenSet(false) +{ +} + +VisualOptions::VisualOptions(JsonView jsonValue) + : VisualOptions() +{ + *this = jsonValue; +} + +VisualOptions& VisualOptions::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("type")) + { + m_type = jsonValue.GetString("type"); + + m_typeHasBeenSet = true; + } + + return *this; +} + +JsonValue VisualOptions::Jsonize() const +{ + JsonValue payload; + + if(m_typeHasBeenSet) + { + payload.WithString("type", m_type); + + } + + return payload; +} + +} // namespace Model +} // namespace QuickSight +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-quicksight/source/model/VisualRole.cpp b/generated/src/aws-cpp-sdk-quicksight/source/model/VisualRole.cpp new file mode 100644 index 00000000000..09632d9cad0 --- /dev/null +++ b/generated/src/aws-cpp-sdk-quicksight/source/model/VisualRole.cpp @@ -0,0 +1,93 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace QuickSight + { + namespace Model + { + namespace VisualRoleMapper + { + + static const int PRIMARY_HASH = HashingUtils::HashString("PRIMARY"); + static const int COMPLIMENTARY_HASH = HashingUtils::HashString("COMPLIMENTARY"); + static const int MULTI_INTENT_HASH = HashingUtils::HashString("MULTI_INTENT"); + static const int FALLBACK_HASH = HashingUtils::HashString("FALLBACK"); + static const int FRAGMENT_HASH = HashingUtils::HashString("FRAGMENT"); + + + VisualRole GetVisualRoleForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == PRIMARY_HASH) + { + return VisualRole::PRIMARY; + } + else if (hashCode == COMPLIMENTARY_HASH) + { + return VisualRole::COMPLIMENTARY; + } + else if (hashCode == MULTI_INTENT_HASH) + { + return VisualRole::MULTI_INTENT; + } + else if (hashCode == FALLBACK_HASH) + { + return VisualRole::FALLBACK; + } + else if (hashCode == FRAGMENT_HASH) + { + return VisualRole::FRAGMENT; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return VisualRole::NOT_SET; + } + + Aws::String GetNameForVisualRole(VisualRole enumValue) + { + switch(enumValue) + { + case VisualRole::NOT_SET: + return {}; + case VisualRole::PRIMARY: + return "PRIMARY"; + case VisualRole::COMPLIMENTARY: + return "COMPLIMENTARY"; + case VisualRole::MULTI_INTENT: + return "MULTI_INTENT"; + case VisualRole::FALLBACK: + return "FALLBACK"; + case VisualRole::FRAGMENT: + return "FRAGMENT"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace VisualRoleMapper + } // namespace Model + } // namespace QuickSight +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-route53/source/model/ActivateKeySigningKeyRequest.cpp b/generated/src/aws-cpp-sdk-route53/source/model/ActivateKeySigningKeyRequest.cpp index d6fc5eafc7a..3793cc0caa0 100644 --- a/generated/src/aws-cpp-sdk-route53/source/model/ActivateKeySigningKeyRequest.cpp +++ b/generated/src/aws-cpp-sdk-route53/source/model/ActivateKeySigningKeyRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include diff --git a/generated/src/aws-cpp-sdk-route53/source/model/AssociateVPCWithHostedZoneRequest.cpp b/generated/src/aws-cpp-sdk-route53/source/model/AssociateVPCWithHostedZoneRequest.cpp index fe20ad1f52d..5e06b058a71 100644 --- a/generated/src/aws-cpp-sdk-route53/source/model/AssociateVPCWithHostedZoneRequest.cpp +++ b/generated/src/aws-cpp-sdk-route53/source/model/AssociateVPCWithHostedZoneRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include diff --git a/generated/src/aws-cpp-sdk-route53/source/model/ChangeCidrCollectionRequest.cpp b/generated/src/aws-cpp-sdk-route53/source/model/ChangeCidrCollectionRequest.cpp index e38bd0f087f..1fce24439c0 100644 --- a/generated/src/aws-cpp-sdk-route53/source/model/ChangeCidrCollectionRequest.cpp +++ b/generated/src/aws-cpp-sdk-route53/source/model/ChangeCidrCollectionRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include diff --git a/generated/src/aws-cpp-sdk-route53/source/model/ChangeResourceRecordSetsRequest.cpp b/generated/src/aws-cpp-sdk-route53/source/model/ChangeResourceRecordSetsRequest.cpp index 8061b3c54ef..aef8c991ed6 100644 --- a/generated/src/aws-cpp-sdk-route53/source/model/ChangeResourceRecordSetsRequest.cpp +++ b/generated/src/aws-cpp-sdk-route53/source/model/ChangeResourceRecordSetsRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include diff --git a/generated/src/aws-cpp-sdk-route53/source/model/ChangeTagsForResourceRequest.cpp b/generated/src/aws-cpp-sdk-route53/source/model/ChangeTagsForResourceRequest.cpp index 445ee4776d0..e6fb4546f5a 100644 --- a/generated/src/aws-cpp-sdk-route53/source/model/ChangeTagsForResourceRequest.cpp +++ b/generated/src/aws-cpp-sdk-route53/source/model/ChangeTagsForResourceRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include diff --git a/generated/src/aws-cpp-sdk-route53/source/model/CreateCidrCollectionRequest.cpp b/generated/src/aws-cpp-sdk-route53/source/model/CreateCidrCollectionRequest.cpp index ed6da96e63d..862c38ad44e 100644 --- a/generated/src/aws-cpp-sdk-route53/source/model/CreateCidrCollectionRequest.cpp +++ b/generated/src/aws-cpp-sdk-route53/source/model/CreateCidrCollectionRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include diff --git a/generated/src/aws-cpp-sdk-route53/source/model/CreateHealthCheckRequest.cpp b/generated/src/aws-cpp-sdk-route53/source/model/CreateHealthCheckRequest.cpp index 1d6ecf7e103..7b0d0de5f64 100644 --- a/generated/src/aws-cpp-sdk-route53/source/model/CreateHealthCheckRequest.cpp +++ b/generated/src/aws-cpp-sdk-route53/source/model/CreateHealthCheckRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include diff --git a/generated/src/aws-cpp-sdk-route53/source/model/CreateHostedZoneRequest.cpp b/generated/src/aws-cpp-sdk-route53/source/model/CreateHostedZoneRequest.cpp index c4be456abd0..fdc26c57d8c 100644 --- a/generated/src/aws-cpp-sdk-route53/source/model/CreateHostedZoneRequest.cpp +++ b/generated/src/aws-cpp-sdk-route53/source/model/CreateHostedZoneRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include diff --git a/generated/src/aws-cpp-sdk-route53/source/model/CreateKeySigningKeyRequest.cpp b/generated/src/aws-cpp-sdk-route53/source/model/CreateKeySigningKeyRequest.cpp index 00e3242d261..eb3bfd1f49b 100644 --- a/generated/src/aws-cpp-sdk-route53/source/model/CreateKeySigningKeyRequest.cpp +++ b/generated/src/aws-cpp-sdk-route53/source/model/CreateKeySigningKeyRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include diff --git a/generated/src/aws-cpp-sdk-route53/source/model/CreateQueryLoggingConfigRequest.cpp b/generated/src/aws-cpp-sdk-route53/source/model/CreateQueryLoggingConfigRequest.cpp index d0d2828f38d..d22c55444a8 100644 --- a/generated/src/aws-cpp-sdk-route53/source/model/CreateQueryLoggingConfigRequest.cpp +++ b/generated/src/aws-cpp-sdk-route53/source/model/CreateQueryLoggingConfigRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include diff --git a/generated/src/aws-cpp-sdk-route53/source/model/CreateReusableDelegationSetRequest.cpp b/generated/src/aws-cpp-sdk-route53/source/model/CreateReusableDelegationSetRequest.cpp index 84a5c5b1c82..a619a4c9f94 100644 --- a/generated/src/aws-cpp-sdk-route53/source/model/CreateReusableDelegationSetRequest.cpp +++ b/generated/src/aws-cpp-sdk-route53/source/model/CreateReusableDelegationSetRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include diff --git a/generated/src/aws-cpp-sdk-route53/source/model/CreateTrafficPolicyInstanceRequest.cpp b/generated/src/aws-cpp-sdk-route53/source/model/CreateTrafficPolicyInstanceRequest.cpp index f5dcbb320ec..d98bac8316c 100644 --- a/generated/src/aws-cpp-sdk-route53/source/model/CreateTrafficPolicyInstanceRequest.cpp +++ b/generated/src/aws-cpp-sdk-route53/source/model/CreateTrafficPolicyInstanceRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include diff --git a/generated/src/aws-cpp-sdk-route53/source/model/CreateTrafficPolicyRequest.cpp b/generated/src/aws-cpp-sdk-route53/source/model/CreateTrafficPolicyRequest.cpp index 86eef90f766..cd489011fd9 100644 --- a/generated/src/aws-cpp-sdk-route53/source/model/CreateTrafficPolicyRequest.cpp +++ b/generated/src/aws-cpp-sdk-route53/source/model/CreateTrafficPolicyRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include diff --git a/generated/src/aws-cpp-sdk-route53/source/model/CreateTrafficPolicyVersionRequest.cpp b/generated/src/aws-cpp-sdk-route53/source/model/CreateTrafficPolicyVersionRequest.cpp index 2c8630e2d85..43ae5d94bc6 100644 --- a/generated/src/aws-cpp-sdk-route53/source/model/CreateTrafficPolicyVersionRequest.cpp +++ b/generated/src/aws-cpp-sdk-route53/source/model/CreateTrafficPolicyVersionRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include diff --git a/generated/src/aws-cpp-sdk-route53/source/model/CreateVPCAssociationAuthorizationRequest.cpp b/generated/src/aws-cpp-sdk-route53/source/model/CreateVPCAssociationAuthorizationRequest.cpp index aec68b89cff..0c0fbe4fcbd 100644 --- a/generated/src/aws-cpp-sdk-route53/source/model/CreateVPCAssociationAuthorizationRequest.cpp +++ b/generated/src/aws-cpp-sdk-route53/source/model/CreateVPCAssociationAuthorizationRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include diff --git a/generated/src/aws-cpp-sdk-route53/source/model/DeactivateKeySigningKeyRequest.cpp b/generated/src/aws-cpp-sdk-route53/source/model/DeactivateKeySigningKeyRequest.cpp index 5c06316764e..4146bef93eb 100644 --- a/generated/src/aws-cpp-sdk-route53/source/model/DeactivateKeySigningKeyRequest.cpp +++ b/generated/src/aws-cpp-sdk-route53/source/model/DeactivateKeySigningKeyRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include diff --git a/generated/src/aws-cpp-sdk-route53/source/model/DeleteCidrCollectionRequest.cpp b/generated/src/aws-cpp-sdk-route53/source/model/DeleteCidrCollectionRequest.cpp index 5f2f3288503..99c5239c7d2 100644 --- a/generated/src/aws-cpp-sdk-route53/source/model/DeleteCidrCollectionRequest.cpp +++ b/generated/src/aws-cpp-sdk-route53/source/model/DeleteCidrCollectionRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include diff --git a/generated/src/aws-cpp-sdk-route53/source/model/DeleteHealthCheckRequest.cpp b/generated/src/aws-cpp-sdk-route53/source/model/DeleteHealthCheckRequest.cpp index 6599ae32dda..c3cd2c1c81e 100644 --- a/generated/src/aws-cpp-sdk-route53/source/model/DeleteHealthCheckRequest.cpp +++ b/generated/src/aws-cpp-sdk-route53/source/model/DeleteHealthCheckRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include diff --git a/generated/src/aws-cpp-sdk-route53/source/model/DeleteHostedZoneRequest.cpp b/generated/src/aws-cpp-sdk-route53/source/model/DeleteHostedZoneRequest.cpp index 024ce0da770..0f61ca6b6eb 100644 --- a/generated/src/aws-cpp-sdk-route53/source/model/DeleteHostedZoneRequest.cpp +++ b/generated/src/aws-cpp-sdk-route53/source/model/DeleteHostedZoneRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include diff --git a/generated/src/aws-cpp-sdk-route53/source/model/DeleteKeySigningKeyRequest.cpp b/generated/src/aws-cpp-sdk-route53/source/model/DeleteKeySigningKeyRequest.cpp index fa747bf1b7e..64722e56724 100644 --- a/generated/src/aws-cpp-sdk-route53/source/model/DeleteKeySigningKeyRequest.cpp +++ b/generated/src/aws-cpp-sdk-route53/source/model/DeleteKeySigningKeyRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include diff --git a/generated/src/aws-cpp-sdk-route53/source/model/DeleteQueryLoggingConfigRequest.cpp b/generated/src/aws-cpp-sdk-route53/source/model/DeleteQueryLoggingConfigRequest.cpp index 56e8432d38e..40eafc82e16 100644 --- a/generated/src/aws-cpp-sdk-route53/source/model/DeleteQueryLoggingConfigRequest.cpp +++ b/generated/src/aws-cpp-sdk-route53/source/model/DeleteQueryLoggingConfigRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include diff --git a/generated/src/aws-cpp-sdk-route53/source/model/DeleteReusableDelegationSetRequest.cpp b/generated/src/aws-cpp-sdk-route53/source/model/DeleteReusableDelegationSetRequest.cpp index c53e4744610..3aa3db6c59d 100644 --- a/generated/src/aws-cpp-sdk-route53/source/model/DeleteReusableDelegationSetRequest.cpp +++ b/generated/src/aws-cpp-sdk-route53/source/model/DeleteReusableDelegationSetRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include diff --git a/generated/src/aws-cpp-sdk-route53/source/model/DeleteTrafficPolicyInstanceRequest.cpp b/generated/src/aws-cpp-sdk-route53/source/model/DeleteTrafficPolicyInstanceRequest.cpp index 116303d2cc8..d026c1b74e4 100644 --- a/generated/src/aws-cpp-sdk-route53/source/model/DeleteTrafficPolicyInstanceRequest.cpp +++ b/generated/src/aws-cpp-sdk-route53/source/model/DeleteTrafficPolicyInstanceRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include diff --git a/generated/src/aws-cpp-sdk-route53/source/model/DeleteTrafficPolicyRequest.cpp b/generated/src/aws-cpp-sdk-route53/source/model/DeleteTrafficPolicyRequest.cpp index c53ce323b05..f11b37b8d8f 100644 --- a/generated/src/aws-cpp-sdk-route53/source/model/DeleteTrafficPolicyRequest.cpp +++ b/generated/src/aws-cpp-sdk-route53/source/model/DeleteTrafficPolicyRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include diff --git a/generated/src/aws-cpp-sdk-route53/source/model/DeleteVPCAssociationAuthorizationRequest.cpp b/generated/src/aws-cpp-sdk-route53/source/model/DeleteVPCAssociationAuthorizationRequest.cpp index cdc4fa8f2f1..1222a405634 100644 --- a/generated/src/aws-cpp-sdk-route53/source/model/DeleteVPCAssociationAuthorizationRequest.cpp +++ b/generated/src/aws-cpp-sdk-route53/source/model/DeleteVPCAssociationAuthorizationRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include diff --git a/generated/src/aws-cpp-sdk-route53/source/model/DisableHostedZoneDNSSECRequest.cpp b/generated/src/aws-cpp-sdk-route53/source/model/DisableHostedZoneDNSSECRequest.cpp index ad4170a4a4c..cfbd3e64fed 100644 --- a/generated/src/aws-cpp-sdk-route53/source/model/DisableHostedZoneDNSSECRequest.cpp +++ b/generated/src/aws-cpp-sdk-route53/source/model/DisableHostedZoneDNSSECRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include diff --git a/generated/src/aws-cpp-sdk-route53/source/model/DisassociateVPCFromHostedZoneRequest.cpp b/generated/src/aws-cpp-sdk-route53/source/model/DisassociateVPCFromHostedZoneRequest.cpp index 4d28243dfa0..3a3fdf6e602 100644 --- a/generated/src/aws-cpp-sdk-route53/source/model/DisassociateVPCFromHostedZoneRequest.cpp +++ b/generated/src/aws-cpp-sdk-route53/source/model/DisassociateVPCFromHostedZoneRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include diff --git a/generated/src/aws-cpp-sdk-route53/source/model/EnableHostedZoneDNSSECRequest.cpp b/generated/src/aws-cpp-sdk-route53/source/model/EnableHostedZoneDNSSECRequest.cpp index bfcbca2acf4..fac3f6de51b 100644 --- a/generated/src/aws-cpp-sdk-route53/source/model/EnableHostedZoneDNSSECRequest.cpp +++ b/generated/src/aws-cpp-sdk-route53/source/model/EnableHostedZoneDNSSECRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include diff --git a/generated/src/aws-cpp-sdk-route53/source/model/GetAccountLimitRequest.cpp b/generated/src/aws-cpp-sdk-route53/source/model/GetAccountLimitRequest.cpp index 119a859d48e..5d9b6d3c396 100644 --- a/generated/src/aws-cpp-sdk-route53/source/model/GetAccountLimitRequest.cpp +++ b/generated/src/aws-cpp-sdk-route53/source/model/GetAccountLimitRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include diff --git a/generated/src/aws-cpp-sdk-route53/source/model/GetChangeRequest.cpp b/generated/src/aws-cpp-sdk-route53/source/model/GetChangeRequest.cpp index e5edde4f69e..f45e979d0e8 100644 --- a/generated/src/aws-cpp-sdk-route53/source/model/GetChangeRequest.cpp +++ b/generated/src/aws-cpp-sdk-route53/source/model/GetChangeRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include diff --git a/generated/src/aws-cpp-sdk-route53/source/model/GetCheckerIpRangesRequest.cpp b/generated/src/aws-cpp-sdk-route53/source/model/GetCheckerIpRangesRequest.cpp index cdf8c340d68..e048556da68 100644 --- a/generated/src/aws-cpp-sdk-route53/source/model/GetCheckerIpRangesRequest.cpp +++ b/generated/src/aws-cpp-sdk-route53/source/model/GetCheckerIpRangesRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include diff --git a/generated/src/aws-cpp-sdk-route53/source/model/GetDNSSECRequest.cpp b/generated/src/aws-cpp-sdk-route53/source/model/GetDNSSECRequest.cpp index fba2d0de9c5..99d9d3b293a 100644 --- a/generated/src/aws-cpp-sdk-route53/source/model/GetDNSSECRequest.cpp +++ b/generated/src/aws-cpp-sdk-route53/source/model/GetDNSSECRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include diff --git a/generated/src/aws-cpp-sdk-route53/source/model/GetGeoLocationRequest.cpp b/generated/src/aws-cpp-sdk-route53/source/model/GetGeoLocationRequest.cpp index 1b8aed12307..b4226fb3b22 100644 --- a/generated/src/aws-cpp-sdk-route53/source/model/GetGeoLocationRequest.cpp +++ b/generated/src/aws-cpp-sdk-route53/source/model/GetGeoLocationRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-route53/source/model/GetHealthCheckCountRequest.cpp b/generated/src/aws-cpp-sdk-route53/source/model/GetHealthCheckCountRequest.cpp index 89965b14cf0..b4c3b6c2fff 100644 --- a/generated/src/aws-cpp-sdk-route53/source/model/GetHealthCheckCountRequest.cpp +++ b/generated/src/aws-cpp-sdk-route53/source/model/GetHealthCheckCountRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include diff --git a/generated/src/aws-cpp-sdk-route53/source/model/GetHealthCheckLastFailureReasonRequest.cpp b/generated/src/aws-cpp-sdk-route53/source/model/GetHealthCheckLastFailureReasonRequest.cpp index d31cf45b67c..f626dc55e7c 100644 --- a/generated/src/aws-cpp-sdk-route53/source/model/GetHealthCheckLastFailureReasonRequest.cpp +++ b/generated/src/aws-cpp-sdk-route53/source/model/GetHealthCheckLastFailureReasonRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include diff --git a/generated/src/aws-cpp-sdk-route53/source/model/GetHealthCheckRequest.cpp b/generated/src/aws-cpp-sdk-route53/source/model/GetHealthCheckRequest.cpp index 01408a9b51d..8d364278bf5 100644 --- a/generated/src/aws-cpp-sdk-route53/source/model/GetHealthCheckRequest.cpp +++ b/generated/src/aws-cpp-sdk-route53/source/model/GetHealthCheckRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include diff --git a/generated/src/aws-cpp-sdk-route53/source/model/GetHealthCheckStatusRequest.cpp b/generated/src/aws-cpp-sdk-route53/source/model/GetHealthCheckStatusRequest.cpp index 9eb8506540d..c2ff27641c3 100644 --- a/generated/src/aws-cpp-sdk-route53/source/model/GetHealthCheckStatusRequest.cpp +++ b/generated/src/aws-cpp-sdk-route53/source/model/GetHealthCheckStatusRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include diff --git a/generated/src/aws-cpp-sdk-route53/source/model/GetHostedZoneCountRequest.cpp b/generated/src/aws-cpp-sdk-route53/source/model/GetHostedZoneCountRequest.cpp index e6df854799f..69cac80efb3 100644 --- a/generated/src/aws-cpp-sdk-route53/source/model/GetHostedZoneCountRequest.cpp +++ b/generated/src/aws-cpp-sdk-route53/source/model/GetHostedZoneCountRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include diff --git a/generated/src/aws-cpp-sdk-route53/source/model/GetHostedZoneLimitRequest.cpp b/generated/src/aws-cpp-sdk-route53/source/model/GetHostedZoneLimitRequest.cpp index bb416a1afb6..6d0675c6be8 100644 --- a/generated/src/aws-cpp-sdk-route53/source/model/GetHostedZoneLimitRequest.cpp +++ b/generated/src/aws-cpp-sdk-route53/source/model/GetHostedZoneLimitRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include diff --git a/generated/src/aws-cpp-sdk-route53/source/model/GetHostedZoneRequest.cpp b/generated/src/aws-cpp-sdk-route53/source/model/GetHostedZoneRequest.cpp index 5d7708d0d30..1f1e10b2551 100644 --- a/generated/src/aws-cpp-sdk-route53/source/model/GetHostedZoneRequest.cpp +++ b/generated/src/aws-cpp-sdk-route53/source/model/GetHostedZoneRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include diff --git a/generated/src/aws-cpp-sdk-route53/source/model/GetQueryLoggingConfigRequest.cpp b/generated/src/aws-cpp-sdk-route53/source/model/GetQueryLoggingConfigRequest.cpp index c15a09821be..be276c54ccd 100644 --- a/generated/src/aws-cpp-sdk-route53/source/model/GetQueryLoggingConfigRequest.cpp +++ b/generated/src/aws-cpp-sdk-route53/source/model/GetQueryLoggingConfigRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include diff --git a/generated/src/aws-cpp-sdk-route53/source/model/GetReusableDelegationSetLimitRequest.cpp b/generated/src/aws-cpp-sdk-route53/source/model/GetReusableDelegationSetLimitRequest.cpp index 82341b057a8..fd03fd49e87 100644 --- a/generated/src/aws-cpp-sdk-route53/source/model/GetReusableDelegationSetLimitRequest.cpp +++ b/generated/src/aws-cpp-sdk-route53/source/model/GetReusableDelegationSetLimitRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include diff --git a/generated/src/aws-cpp-sdk-route53/source/model/GetReusableDelegationSetRequest.cpp b/generated/src/aws-cpp-sdk-route53/source/model/GetReusableDelegationSetRequest.cpp index c95e6299083..8735b247525 100644 --- a/generated/src/aws-cpp-sdk-route53/source/model/GetReusableDelegationSetRequest.cpp +++ b/generated/src/aws-cpp-sdk-route53/source/model/GetReusableDelegationSetRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include diff --git a/generated/src/aws-cpp-sdk-route53/source/model/GetTrafficPolicyInstanceCountRequest.cpp b/generated/src/aws-cpp-sdk-route53/source/model/GetTrafficPolicyInstanceCountRequest.cpp index c0490af0a15..ebe39255831 100644 --- a/generated/src/aws-cpp-sdk-route53/source/model/GetTrafficPolicyInstanceCountRequest.cpp +++ b/generated/src/aws-cpp-sdk-route53/source/model/GetTrafficPolicyInstanceCountRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include diff --git a/generated/src/aws-cpp-sdk-route53/source/model/GetTrafficPolicyInstanceRequest.cpp b/generated/src/aws-cpp-sdk-route53/source/model/GetTrafficPolicyInstanceRequest.cpp index 35f8174c244..0c9893f5f04 100644 --- a/generated/src/aws-cpp-sdk-route53/source/model/GetTrafficPolicyInstanceRequest.cpp +++ b/generated/src/aws-cpp-sdk-route53/source/model/GetTrafficPolicyInstanceRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include diff --git a/generated/src/aws-cpp-sdk-route53/source/model/GetTrafficPolicyRequest.cpp b/generated/src/aws-cpp-sdk-route53/source/model/GetTrafficPolicyRequest.cpp index e8f4fdc5408..8903def72df 100644 --- a/generated/src/aws-cpp-sdk-route53/source/model/GetTrafficPolicyRequest.cpp +++ b/generated/src/aws-cpp-sdk-route53/source/model/GetTrafficPolicyRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include diff --git a/generated/src/aws-cpp-sdk-route53/source/model/ListCidrBlocksRequest.cpp b/generated/src/aws-cpp-sdk-route53/source/model/ListCidrBlocksRequest.cpp index 7c81a64e75d..0b850f54e14 100644 --- a/generated/src/aws-cpp-sdk-route53/source/model/ListCidrBlocksRequest.cpp +++ b/generated/src/aws-cpp-sdk-route53/source/model/ListCidrBlocksRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-route53/source/model/ListCidrCollectionsRequest.cpp b/generated/src/aws-cpp-sdk-route53/source/model/ListCidrCollectionsRequest.cpp index 0be1a5d2ebf..95fde6a65b4 100644 --- a/generated/src/aws-cpp-sdk-route53/source/model/ListCidrCollectionsRequest.cpp +++ b/generated/src/aws-cpp-sdk-route53/source/model/ListCidrCollectionsRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-route53/source/model/ListCidrLocationsRequest.cpp b/generated/src/aws-cpp-sdk-route53/source/model/ListCidrLocationsRequest.cpp index 4d62b0d48e3..9c6438c3b75 100644 --- a/generated/src/aws-cpp-sdk-route53/source/model/ListCidrLocationsRequest.cpp +++ b/generated/src/aws-cpp-sdk-route53/source/model/ListCidrLocationsRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-route53/source/model/ListGeoLocationsRequest.cpp b/generated/src/aws-cpp-sdk-route53/source/model/ListGeoLocationsRequest.cpp index 60eafae01fd..72b8d699170 100644 --- a/generated/src/aws-cpp-sdk-route53/source/model/ListGeoLocationsRequest.cpp +++ b/generated/src/aws-cpp-sdk-route53/source/model/ListGeoLocationsRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-route53/source/model/ListHealthChecksRequest.cpp b/generated/src/aws-cpp-sdk-route53/source/model/ListHealthChecksRequest.cpp index 7c182bc5f8a..af4cd89c598 100644 --- a/generated/src/aws-cpp-sdk-route53/source/model/ListHealthChecksRequest.cpp +++ b/generated/src/aws-cpp-sdk-route53/source/model/ListHealthChecksRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-route53/source/model/ListHostedZonesByNameRequest.cpp b/generated/src/aws-cpp-sdk-route53/source/model/ListHostedZonesByNameRequest.cpp index 797ad70699a..2c49ee18c90 100644 --- a/generated/src/aws-cpp-sdk-route53/source/model/ListHostedZonesByNameRequest.cpp +++ b/generated/src/aws-cpp-sdk-route53/source/model/ListHostedZonesByNameRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-route53/source/model/ListHostedZonesByVPCRequest.cpp b/generated/src/aws-cpp-sdk-route53/source/model/ListHostedZonesByVPCRequest.cpp index b738eb2d98a..02d1e804ca4 100644 --- a/generated/src/aws-cpp-sdk-route53/source/model/ListHostedZonesByVPCRequest.cpp +++ b/generated/src/aws-cpp-sdk-route53/source/model/ListHostedZonesByVPCRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-route53/source/model/ListHostedZonesRequest.cpp b/generated/src/aws-cpp-sdk-route53/source/model/ListHostedZonesRequest.cpp index 95f11411cc1..b6df41e2948 100644 --- a/generated/src/aws-cpp-sdk-route53/source/model/ListHostedZonesRequest.cpp +++ b/generated/src/aws-cpp-sdk-route53/source/model/ListHostedZonesRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-route53/source/model/ListQueryLoggingConfigsRequest.cpp b/generated/src/aws-cpp-sdk-route53/source/model/ListQueryLoggingConfigsRequest.cpp index 5141be3d149..4e509869804 100644 --- a/generated/src/aws-cpp-sdk-route53/source/model/ListQueryLoggingConfigsRequest.cpp +++ b/generated/src/aws-cpp-sdk-route53/source/model/ListQueryLoggingConfigsRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-route53/source/model/ListResourceRecordSetsRequest.cpp b/generated/src/aws-cpp-sdk-route53/source/model/ListResourceRecordSetsRequest.cpp index a4e67c3d072..070dd424a21 100644 --- a/generated/src/aws-cpp-sdk-route53/source/model/ListResourceRecordSetsRequest.cpp +++ b/generated/src/aws-cpp-sdk-route53/source/model/ListResourceRecordSetsRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-route53/source/model/ListReusableDelegationSetsRequest.cpp b/generated/src/aws-cpp-sdk-route53/source/model/ListReusableDelegationSetsRequest.cpp index 9a4d2388894..66d2f106580 100644 --- a/generated/src/aws-cpp-sdk-route53/source/model/ListReusableDelegationSetsRequest.cpp +++ b/generated/src/aws-cpp-sdk-route53/source/model/ListReusableDelegationSetsRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-route53/source/model/ListTagsForResourceRequest.cpp b/generated/src/aws-cpp-sdk-route53/source/model/ListTagsForResourceRequest.cpp index d119eb902ec..335cc427410 100644 --- a/generated/src/aws-cpp-sdk-route53/source/model/ListTagsForResourceRequest.cpp +++ b/generated/src/aws-cpp-sdk-route53/source/model/ListTagsForResourceRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include diff --git a/generated/src/aws-cpp-sdk-route53/source/model/ListTagsForResourcesRequest.cpp b/generated/src/aws-cpp-sdk-route53/source/model/ListTagsForResourcesRequest.cpp index 9d3d4a7ad93..71b32df3991 100644 --- a/generated/src/aws-cpp-sdk-route53/source/model/ListTagsForResourcesRequest.cpp +++ b/generated/src/aws-cpp-sdk-route53/source/model/ListTagsForResourcesRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include diff --git a/generated/src/aws-cpp-sdk-route53/source/model/ListTrafficPoliciesRequest.cpp b/generated/src/aws-cpp-sdk-route53/source/model/ListTrafficPoliciesRequest.cpp index a08f8021b42..c7a72f3ee78 100644 --- a/generated/src/aws-cpp-sdk-route53/source/model/ListTrafficPoliciesRequest.cpp +++ b/generated/src/aws-cpp-sdk-route53/source/model/ListTrafficPoliciesRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-route53/source/model/ListTrafficPolicyInstancesByHostedZoneRequest.cpp b/generated/src/aws-cpp-sdk-route53/source/model/ListTrafficPolicyInstancesByHostedZoneRequest.cpp index 86f72eee11c..ba436be0b90 100644 --- a/generated/src/aws-cpp-sdk-route53/source/model/ListTrafficPolicyInstancesByHostedZoneRequest.cpp +++ b/generated/src/aws-cpp-sdk-route53/source/model/ListTrafficPolicyInstancesByHostedZoneRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-route53/source/model/ListTrafficPolicyInstancesByPolicyRequest.cpp b/generated/src/aws-cpp-sdk-route53/source/model/ListTrafficPolicyInstancesByPolicyRequest.cpp index edccc3cfae1..326671e76e7 100644 --- a/generated/src/aws-cpp-sdk-route53/source/model/ListTrafficPolicyInstancesByPolicyRequest.cpp +++ b/generated/src/aws-cpp-sdk-route53/source/model/ListTrafficPolicyInstancesByPolicyRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-route53/source/model/ListTrafficPolicyInstancesRequest.cpp b/generated/src/aws-cpp-sdk-route53/source/model/ListTrafficPolicyInstancesRequest.cpp index ab64c854b58..884fbaec6a1 100644 --- a/generated/src/aws-cpp-sdk-route53/source/model/ListTrafficPolicyInstancesRequest.cpp +++ b/generated/src/aws-cpp-sdk-route53/source/model/ListTrafficPolicyInstancesRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-route53/source/model/ListTrafficPolicyVersionsRequest.cpp b/generated/src/aws-cpp-sdk-route53/source/model/ListTrafficPolicyVersionsRequest.cpp index 1a3441bf051..306c32bf4e9 100644 --- a/generated/src/aws-cpp-sdk-route53/source/model/ListTrafficPolicyVersionsRequest.cpp +++ b/generated/src/aws-cpp-sdk-route53/source/model/ListTrafficPolicyVersionsRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-route53/source/model/ListVPCAssociationAuthorizationsRequest.cpp b/generated/src/aws-cpp-sdk-route53/source/model/ListVPCAssociationAuthorizationsRequest.cpp index 779e87231a8..278b227eb3a 100644 --- a/generated/src/aws-cpp-sdk-route53/source/model/ListVPCAssociationAuthorizationsRequest.cpp +++ b/generated/src/aws-cpp-sdk-route53/source/model/ListVPCAssociationAuthorizationsRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-route53/source/model/TestDNSAnswerRequest.cpp b/generated/src/aws-cpp-sdk-route53/source/model/TestDNSAnswerRequest.cpp index 10d6ba500a2..8089b5fa5ad 100644 --- a/generated/src/aws-cpp-sdk-route53/source/model/TestDNSAnswerRequest.cpp +++ b/generated/src/aws-cpp-sdk-route53/source/model/TestDNSAnswerRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-route53/source/model/UpdateHealthCheckRequest.cpp b/generated/src/aws-cpp-sdk-route53/source/model/UpdateHealthCheckRequest.cpp index 4882f6c445b..9455465b5ff 100644 --- a/generated/src/aws-cpp-sdk-route53/source/model/UpdateHealthCheckRequest.cpp +++ b/generated/src/aws-cpp-sdk-route53/source/model/UpdateHealthCheckRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include diff --git a/generated/src/aws-cpp-sdk-route53/source/model/UpdateHostedZoneCommentRequest.cpp b/generated/src/aws-cpp-sdk-route53/source/model/UpdateHostedZoneCommentRequest.cpp index da5ebed2729..7f73404ea0a 100644 --- a/generated/src/aws-cpp-sdk-route53/source/model/UpdateHostedZoneCommentRequest.cpp +++ b/generated/src/aws-cpp-sdk-route53/source/model/UpdateHostedZoneCommentRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include diff --git a/generated/src/aws-cpp-sdk-route53/source/model/UpdateTrafficPolicyCommentRequest.cpp b/generated/src/aws-cpp-sdk-route53/source/model/UpdateTrafficPolicyCommentRequest.cpp index 6ca1fd369f4..57adeb7a3bb 100644 --- a/generated/src/aws-cpp-sdk-route53/source/model/UpdateTrafficPolicyCommentRequest.cpp +++ b/generated/src/aws-cpp-sdk-route53/source/model/UpdateTrafficPolicyCommentRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include diff --git a/generated/src/aws-cpp-sdk-route53/source/model/UpdateTrafficPolicyInstanceRequest.cpp b/generated/src/aws-cpp-sdk-route53/source/model/UpdateTrafficPolicyInstanceRequest.cpp index b65c46a9f97..0a5b1aadde8 100644 --- a/generated/src/aws-cpp-sdk-route53/source/model/UpdateTrafficPolicyInstanceRequest.cpp +++ b/generated/src/aws-cpp-sdk-route53/source/model/UpdateTrafficPolicyInstanceRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include diff --git a/generated/src/aws-cpp-sdk-s3control/source/model/AssociateAccessGrantsIdentityCenterRequest.cpp b/generated/src/aws-cpp-sdk-s3control/source/model/AssociateAccessGrantsIdentityCenterRequest.cpp index 6d745a5279d..3b0281e3139 100644 --- a/generated/src/aws-cpp-sdk-s3control/source/model/AssociateAccessGrantsIdentityCenterRequest.cpp +++ b/generated/src/aws-cpp-sdk-s3control/source/model/AssociateAccessGrantsIdentityCenterRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-s3control/source/model/CreateAccessGrantRequest.cpp b/generated/src/aws-cpp-sdk-s3control/source/model/CreateAccessGrantRequest.cpp index 25d58428e94..6d5aea0472c 100644 --- a/generated/src/aws-cpp-sdk-s3control/source/model/CreateAccessGrantRequest.cpp +++ b/generated/src/aws-cpp-sdk-s3control/source/model/CreateAccessGrantRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-s3control/source/model/CreateAccessGrantsInstanceRequest.cpp b/generated/src/aws-cpp-sdk-s3control/source/model/CreateAccessGrantsInstanceRequest.cpp index 1ea2e3e97e3..b6b6c32163e 100644 --- a/generated/src/aws-cpp-sdk-s3control/source/model/CreateAccessGrantsInstanceRequest.cpp +++ b/generated/src/aws-cpp-sdk-s3control/source/model/CreateAccessGrantsInstanceRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-s3control/source/model/CreateAccessGrantsLocationRequest.cpp b/generated/src/aws-cpp-sdk-s3control/source/model/CreateAccessGrantsLocationRequest.cpp index 461bf6ce028..1981ea4e03e 100644 --- a/generated/src/aws-cpp-sdk-s3control/source/model/CreateAccessGrantsLocationRequest.cpp +++ b/generated/src/aws-cpp-sdk-s3control/source/model/CreateAccessGrantsLocationRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-s3control/source/model/CreateAccessPointForObjectLambdaRequest.cpp b/generated/src/aws-cpp-sdk-s3control/source/model/CreateAccessPointForObjectLambdaRequest.cpp index df731900c59..3e69acfa106 100644 --- a/generated/src/aws-cpp-sdk-s3control/source/model/CreateAccessPointForObjectLambdaRequest.cpp +++ b/generated/src/aws-cpp-sdk-s3control/source/model/CreateAccessPointForObjectLambdaRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-s3control/source/model/CreateAccessPointRequest.cpp b/generated/src/aws-cpp-sdk-s3control/source/model/CreateAccessPointRequest.cpp index c8ac56b702e..0c9c73a2513 100644 --- a/generated/src/aws-cpp-sdk-s3control/source/model/CreateAccessPointRequest.cpp +++ b/generated/src/aws-cpp-sdk-s3control/source/model/CreateAccessPointRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-s3control/source/model/CreateBucketRequest.cpp b/generated/src/aws-cpp-sdk-s3control/source/model/CreateBucketRequest.cpp index ca3027b7230..125ccc68dcf 100644 --- a/generated/src/aws-cpp-sdk-s3control/source/model/CreateBucketRequest.cpp +++ b/generated/src/aws-cpp-sdk-s3control/source/model/CreateBucketRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-s3control/source/model/CreateJobRequest.cpp b/generated/src/aws-cpp-sdk-s3control/source/model/CreateJobRequest.cpp index f06e0616292..383bf3f6379 100644 --- a/generated/src/aws-cpp-sdk-s3control/source/model/CreateJobRequest.cpp +++ b/generated/src/aws-cpp-sdk-s3control/source/model/CreateJobRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-s3control/source/model/CreateMultiRegionAccessPointRequest.cpp b/generated/src/aws-cpp-sdk-s3control/source/model/CreateMultiRegionAccessPointRequest.cpp index 715f3464542..122796ad3e1 100644 --- a/generated/src/aws-cpp-sdk-s3control/source/model/CreateMultiRegionAccessPointRequest.cpp +++ b/generated/src/aws-cpp-sdk-s3control/source/model/CreateMultiRegionAccessPointRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-s3control/source/model/CreateStorageLensGroupRequest.cpp b/generated/src/aws-cpp-sdk-s3control/source/model/CreateStorageLensGroupRequest.cpp index 8dafc6242f9..a76bd391377 100644 --- a/generated/src/aws-cpp-sdk-s3control/source/model/CreateStorageLensGroupRequest.cpp +++ b/generated/src/aws-cpp-sdk-s3control/source/model/CreateStorageLensGroupRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-s3control/source/model/DeleteAccessGrantRequest.cpp b/generated/src/aws-cpp-sdk-s3control/source/model/DeleteAccessGrantRequest.cpp index c722421e174..99c3db72c25 100644 --- a/generated/src/aws-cpp-sdk-s3control/source/model/DeleteAccessGrantRequest.cpp +++ b/generated/src/aws-cpp-sdk-s3control/source/model/DeleteAccessGrantRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-s3control/source/model/DeleteAccessGrantsInstanceRequest.cpp b/generated/src/aws-cpp-sdk-s3control/source/model/DeleteAccessGrantsInstanceRequest.cpp index adf618b294e..a7594ab840f 100644 --- a/generated/src/aws-cpp-sdk-s3control/source/model/DeleteAccessGrantsInstanceRequest.cpp +++ b/generated/src/aws-cpp-sdk-s3control/source/model/DeleteAccessGrantsInstanceRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-s3control/source/model/DeleteAccessGrantsInstanceResourcePolicyRequest.cpp b/generated/src/aws-cpp-sdk-s3control/source/model/DeleteAccessGrantsInstanceResourcePolicyRequest.cpp index c5dddda92d0..c81c454fa6c 100644 --- a/generated/src/aws-cpp-sdk-s3control/source/model/DeleteAccessGrantsInstanceResourcePolicyRequest.cpp +++ b/generated/src/aws-cpp-sdk-s3control/source/model/DeleteAccessGrantsInstanceResourcePolicyRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-s3control/source/model/DeleteAccessGrantsLocationRequest.cpp b/generated/src/aws-cpp-sdk-s3control/source/model/DeleteAccessGrantsLocationRequest.cpp index 94e5e33d8e3..980cd9d39b8 100644 --- a/generated/src/aws-cpp-sdk-s3control/source/model/DeleteAccessGrantsLocationRequest.cpp +++ b/generated/src/aws-cpp-sdk-s3control/source/model/DeleteAccessGrantsLocationRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-s3control/source/model/DeleteAccessPointForObjectLambdaRequest.cpp b/generated/src/aws-cpp-sdk-s3control/source/model/DeleteAccessPointForObjectLambdaRequest.cpp index 5444d2a26b1..8662e1dd2d8 100644 --- a/generated/src/aws-cpp-sdk-s3control/source/model/DeleteAccessPointForObjectLambdaRequest.cpp +++ b/generated/src/aws-cpp-sdk-s3control/source/model/DeleteAccessPointForObjectLambdaRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-s3control/source/model/DeleteAccessPointPolicyForObjectLambdaRequest.cpp b/generated/src/aws-cpp-sdk-s3control/source/model/DeleteAccessPointPolicyForObjectLambdaRequest.cpp index 96b162a8ed1..1ede552d6c2 100644 --- a/generated/src/aws-cpp-sdk-s3control/source/model/DeleteAccessPointPolicyForObjectLambdaRequest.cpp +++ b/generated/src/aws-cpp-sdk-s3control/source/model/DeleteAccessPointPolicyForObjectLambdaRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-s3control/source/model/DeleteAccessPointPolicyRequest.cpp b/generated/src/aws-cpp-sdk-s3control/source/model/DeleteAccessPointPolicyRequest.cpp index d6085d4785d..4b6c37e9abe 100644 --- a/generated/src/aws-cpp-sdk-s3control/source/model/DeleteAccessPointPolicyRequest.cpp +++ b/generated/src/aws-cpp-sdk-s3control/source/model/DeleteAccessPointPolicyRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-s3control/source/model/DeleteAccessPointRequest.cpp b/generated/src/aws-cpp-sdk-s3control/source/model/DeleteAccessPointRequest.cpp index 17f1db0ffd2..6b2d06bdae3 100644 --- a/generated/src/aws-cpp-sdk-s3control/source/model/DeleteAccessPointRequest.cpp +++ b/generated/src/aws-cpp-sdk-s3control/source/model/DeleteAccessPointRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-s3control/source/model/DeleteBucketLifecycleConfigurationRequest.cpp b/generated/src/aws-cpp-sdk-s3control/source/model/DeleteBucketLifecycleConfigurationRequest.cpp index 9c89fe312fb..4b38344c345 100644 --- a/generated/src/aws-cpp-sdk-s3control/source/model/DeleteBucketLifecycleConfigurationRequest.cpp +++ b/generated/src/aws-cpp-sdk-s3control/source/model/DeleteBucketLifecycleConfigurationRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-s3control/source/model/DeleteBucketPolicyRequest.cpp b/generated/src/aws-cpp-sdk-s3control/source/model/DeleteBucketPolicyRequest.cpp index 6843f69fc77..b0407c6b10e 100644 --- a/generated/src/aws-cpp-sdk-s3control/source/model/DeleteBucketPolicyRequest.cpp +++ b/generated/src/aws-cpp-sdk-s3control/source/model/DeleteBucketPolicyRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-s3control/source/model/DeleteBucketReplicationRequest.cpp b/generated/src/aws-cpp-sdk-s3control/source/model/DeleteBucketReplicationRequest.cpp index 4850f07a176..2bb63a66ebb 100644 --- a/generated/src/aws-cpp-sdk-s3control/source/model/DeleteBucketReplicationRequest.cpp +++ b/generated/src/aws-cpp-sdk-s3control/source/model/DeleteBucketReplicationRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-s3control/source/model/DeleteBucketRequest.cpp b/generated/src/aws-cpp-sdk-s3control/source/model/DeleteBucketRequest.cpp index 961796e8184..b500e4f767f 100644 --- a/generated/src/aws-cpp-sdk-s3control/source/model/DeleteBucketRequest.cpp +++ b/generated/src/aws-cpp-sdk-s3control/source/model/DeleteBucketRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-s3control/source/model/DeleteBucketTaggingRequest.cpp b/generated/src/aws-cpp-sdk-s3control/source/model/DeleteBucketTaggingRequest.cpp index ac00cd9eb24..e2f9c861c4e 100644 --- a/generated/src/aws-cpp-sdk-s3control/source/model/DeleteBucketTaggingRequest.cpp +++ b/generated/src/aws-cpp-sdk-s3control/source/model/DeleteBucketTaggingRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-s3control/source/model/DeleteJobTaggingRequest.cpp b/generated/src/aws-cpp-sdk-s3control/source/model/DeleteJobTaggingRequest.cpp index 3c3786f2fe8..1b08e823c71 100644 --- a/generated/src/aws-cpp-sdk-s3control/source/model/DeleteJobTaggingRequest.cpp +++ b/generated/src/aws-cpp-sdk-s3control/source/model/DeleteJobTaggingRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-s3control/source/model/DeleteMultiRegionAccessPointRequest.cpp b/generated/src/aws-cpp-sdk-s3control/source/model/DeleteMultiRegionAccessPointRequest.cpp index 2e640bca1f9..2d05f80f962 100644 --- a/generated/src/aws-cpp-sdk-s3control/source/model/DeleteMultiRegionAccessPointRequest.cpp +++ b/generated/src/aws-cpp-sdk-s3control/source/model/DeleteMultiRegionAccessPointRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-s3control/source/model/DeletePublicAccessBlockRequest.cpp b/generated/src/aws-cpp-sdk-s3control/source/model/DeletePublicAccessBlockRequest.cpp index e2139414f71..a55152ff30a 100644 --- a/generated/src/aws-cpp-sdk-s3control/source/model/DeletePublicAccessBlockRequest.cpp +++ b/generated/src/aws-cpp-sdk-s3control/source/model/DeletePublicAccessBlockRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-s3control/source/model/DeleteStorageLensConfigurationRequest.cpp b/generated/src/aws-cpp-sdk-s3control/source/model/DeleteStorageLensConfigurationRequest.cpp index 64d37eadfb9..6a7f1832d1f 100644 --- a/generated/src/aws-cpp-sdk-s3control/source/model/DeleteStorageLensConfigurationRequest.cpp +++ b/generated/src/aws-cpp-sdk-s3control/source/model/DeleteStorageLensConfigurationRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-s3control/source/model/DeleteStorageLensConfigurationTaggingRequest.cpp b/generated/src/aws-cpp-sdk-s3control/source/model/DeleteStorageLensConfigurationTaggingRequest.cpp index 76503469565..a980f559609 100644 --- a/generated/src/aws-cpp-sdk-s3control/source/model/DeleteStorageLensConfigurationTaggingRequest.cpp +++ b/generated/src/aws-cpp-sdk-s3control/source/model/DeleteStorageLensConfigurationTaggingRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-s3control/source/model/DeleteStorageLensGroupRequest.cpp b/generated/src/aws-cpp-sdk-s3control/source/model/DeleteStorageLensGroupRequest.cpp index 8fe76fbcdfa..9fc79a29210 100644 --- a/generated/src/aws-cpp-sdk-s3control/source/model/DeleteStorageLensGroupRequest.cpp +++ b/generated/src/aws-cpp-sdk-s3control/source/model/DeleteStorageLensGroupRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-s3control/source/model/DescribeJobRequest.cpp b/generated/src/aws-cpp-sdk-s3control/source/model/DescribeJobRequest.cpp index 4f54fe5af06..0869b3af82d 100644 --- a/generated/src/aws-cpp-sdk-s3control/source/model/DescribeJobRequest.cpp +++ b/generated/src/aws-cpp-sdk-s3control/source/model/DescribeJobRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-s3control/source/model/DescribeMultiRegionAccessPointOperationRequest.cpp b/generated/src/aws-cpp-sdk-s3control/source/model/DescribeMultiRegionAccessPointOperationRequest.cpp index f0387dbf25c..c78f0760b52 100644 --- a/generated/src/aws-cpp-sdk-s3control/source/model/DescribeMultiRegionAccessPointOperationRequest.cpp +++ b/generated/src/aws-cpp-sdk-s3control/source/model/DescribeMultiRegionAccessPointOperationRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-s3control/source/model/DissociateAccessGrantsIdentityCenterRequest.cpp b/generated/src/aws-cpp-sdk-s3control/source/model/DissociateAccessGrantsIdentityCenterRequest.cpp index df6b781ebe7..9f1bb0444e1 100644 --- a/generated/src/aws-cpp-sdk-s3control/source/model/DissociateAccessGrantsIdentityCenterRequest.cpp +++ b/generated/src/aws-cpp-sdk-s3control/source/model/DissociateAccessGrantsIdentityCenterRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-s3control/source/model/GetAccessGrantRequest.cpp b/generated/src/aws-cpp-sdk-s3control/source/model/GetAccessGrantRequest.cpp index eeccab16772..90eb7e14f97 100644 --- a/generated/src/aws-cpp-sdk-s3control/source/model/GetAccessGrantRequest.cpp +++ b/generated/src/aws-cpp-sdk-s3control/source/model/GetAccessGrantRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-s3control/source/model/GetAccessGrantsInstanceForPrefixRequest.cpp b/generated/src/aws-cpp-sdk-s3control/source/model/GetAccessGrantsInstanceForPrefixRequest.cpp index 6bfd608cd85..0407c7248f2 100644 --- a/generated/src/aws-cpp-sdk-s3control/source/model/GetAccessGrantsInstanceForPrefixRequest.cpp +++ b/generated/src/aws-cpp-sdk-s3control/source/model/GetAccessGrantsInstanceForPrefixRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-s3control/source/model/GetAccessGrantsInstanceRequest.cpp b/generated/src/aws-cpp-sdk-s3control/source/model/GetAccessGrantsInstanceRequest.cpp index bcba50c8b47..663cb9adedc 100644 --- a/generated/src/aws-cpp-sdk-s3control/source/model/GetAccessGrantsInstanceRequest.cpp +++ b/generated/src/aws-cpp-sdk-s3control/source/model/GetAccessGrantsInstanceRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-s3control/source/model/GetAccessGrantsInstanceResourcePolicyRequest.cpp b/generated/src/aws-cpp-sdk-s3control/source/model/GetAccessGrantsInstanceResourcePolicyRequest.cpp index 5eda1b22b80..b5050a19155 100644 --- a/generated/src/aws-cpp-sdk-s3control/source/model/GetAccessGrantsInstanceResourcePolicyRequest.cpp +++ b/generated/src/aws-cpp-sdk-s3control/source/model/GetAccessGrantsInstanceResourcePolicyRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-s3control/source/model/GetAccessGrantsLocationRequest.cpp b/generated/src/aws-cpp-sdk-s3control/source/model/GetAccessGrantsLocationRequest.cpp index 94a03670306..92315aa7779 100644 --- a/generated/src/aws-cpp-sdk-s3control/source/model/GetAccessGrantsLocationRequest.cpp +++ b/generated/src/aws-cpp-sdk-s3control/source/model/GetAccessGrantsLocationRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-s3control/source/model/GetAccessPointConfigurationForObjectLambdaRequest.cpp b/generated/src/aws-cpp-sdk-s3control/source/model/GetAccessPointConfigurationForObjectLambdaRequest.cpp index f6fb8800e31..395b901a663 100644 --- a/generated/src/aws-cpp-sdk-s3control/source/model/GetAccessPointConfigurationForObjectLambdaRequest.cpp +++ b/generated/src/aws-cpp-sdk-s3control/source/model/GetAccessPointConfigurationForObjectLambdaRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-s3control/source/model/GetAccessPointForObjectLambdaRequest.cpp b/generated/src/aws-cpp-sdk-s3control/source/model/GetAccessPointForObjectLambdaRequest.cpp index 50096770b03..be1292bec8f 100644 --- a/generated/src/aws-cpp-sdk-s3control/source/model/GetAccessPointForObjectLambdaRequest.cpp +++ b/generated/src/aws-cpp-sdk-s3control/source/model/GetAccessPointForObjectLambdaRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-s3control/source/model/GetAccessPointPolicyForObjectLambdaRequest.cpp b/generated/src/aws-cpp-sdk-s3control/source/model/GetAccessPointPolicyForObjectLambdaRequest.cpp index 8e4125c5a2c..c5e4bf86331 100644 --- a/generated/src/aws-cpp-sdk-s3control/source/model/GetAccessPointPolicyForObjectLambdaRequest.cpp +++ b/generated/src/aws-cpp-sdk-s3control/source/model/GetAccessPointPolicyForObjectLambdaRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-s3control/source/model/GetAccessPointPolicyRequest.cpp b/generated/src/aws-cpp-sdk-s3control/source/model/GetAccessPointPolicyRequest.cpp index d05c58a6e9f..6f877a6b5d8 100644 --- a/generated/src/aws-cpp-sdk-s3control/source/model/GetAccessPointPolicyRequest.cpp +++ b/generated/src/aws-cpp-sdk-s3control/source/model/GetAccessPointPolicyRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-s3control/source/model/GetAccessPointPolicyStatusForObjectLambdaRequest.cpp b/generated/src/aws-cpp-sdk-s3control/source/model/GetAccessPointPolicyStatusForObjectLambdaRequest.cpp index e49c3133b30..c9349822da0 100644 --- a/generated/src/aws-cpp-sdk-s3control/source/model/GetAccessPointPolicyStatusForObjectLambdaRequest.cpp +++ b/generated/src/aws-cpp-sdk-s3control/source/model/GetAccessPointPolicyStatusForObjectLambdaRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-s3control/source/model/GetAccessPointPolicyStatusRequest.cpp b/generated/src/aws-cpp-sdk-s3control/source/model/GetAccessPointPolicyStatusRequest.cpp index 4eea3f3dfe2..468443a7321 100644 --- a/generated/src/aws-cpp-sdk-s3control/source/model/GetAccessPointPolicyStatusRequest.cpp +++ b/generated/src/aws-cpp-sdk-s3control/source/model/GetAccessPointPolicyStatusRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-s3control/source/model/GetAccessPointRequest.cpp b/generated/src/aws-cpp-sdk-s3control/source/model/GetAccessPointRequest.cpp index efdfe598f10..5479695f287 100644 --- a/generated/src/aws-cpp-sdk-s3control/source/model/GetAccessPointRequest.cpp +++ b/generated/src/aws-cpp-sdk-s3control/source/model/GetAccessPointRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-s3control/source/model/GetBucketLifecycleConfigurationRequest.cpp b/generated/src/aws-cpp-sdk-s3control/source/model/GetBucketLifecycleConfigurationRequest.cpp index 15371aac927..3bf82234914 100644 --- a/generated/src/aws-cpp-sdk-s3control/source/model/GetBucketLifecycleConfigurationRequest.cpp +++ b/generated/src/aws-cpp-sdk-s3control/source/model/GetBucketLifecycleConfigurationRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-s3control/source/model/GetBucketPolicyRequest.cpp b/generated/src/aws-cpp-sdk-s3control/source/model/GetBucketPolicyRequest.cpp index 9d18494cb2a..12c8b41e68a 100644 --- a/generated/src/aws-cpp-sdk-s3control/source/model/GetBucketPolicyRequest.cpp +++ b/generated/src/aws-cpp-sdk-s3control/source/model/GetBucketPolicyRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-s3control/source/model/GetBucketReplicationRequest.cpp b/generated/src/aws-cpp-sdk-s3control/source/model/GetBucketReplicationRequest.cpp index 1053ffbef60..67d56762154 100644 --- a/generated/src/aws-cpp-sdk-s3control/source/model/GetBucketReplicationRequest.cpp +++ b/generated/src/aws-cpp-sdk-s3control/source/model/GetBucketReplicationRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-s3control/source/model/GetBucketRequest.cpp b/generated/src/aws-cpp-sdk-s3control/source/model/GetBucketRequest.cpp index 90ca165ca7d..531c3fd0b93 100644 --- a/generated/src/aws-cpp-sdk-s3control/source/model/GetBucketRequest.cpp +++ b/generated/src/aws-cpp-sdk-s3control/source/model/GetBucketRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-s3control/source/model/GetBucketTaggingRequest.cpp b/generated/src/aws-cpp-sdk-s3control/source/model/GetBucketTaggingRequest.cpp index 27da41eb923..f19ab7e7a5b 100644 --- a/generated/src/aws-cpp-sdk-s3control/source/model/GetBucketTaggingRequest.cpp +++ b/generated/src/aws-cpp-sdk-s3control/source/model/GetBucketTaggingRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-s3control/source/model/GetBucketVersioningRequest.cpp b/generated/src/aws-cpp-sdk-s3control/source/model/GetBucketVersioningRequest.cpp index 360a7659cec..3dd0e2a77f6 100644 --- a/generated/src/aws-cpp-sdk-s3control/source/model/GetBucketVersioningRequest.cpp +++ b/generated/src/aws-cpp-sdk-s3control/source/model/GetBucketVersioningRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-s3control/source/model/GetDataAccessRequest.cpp b/generated/src/aws-cpp-sdk-s3control/source/model/GetDataAccessRequest.cpp index 2d9d96669dc..0850d966fc3 100644 --- a/generated/src/aws-cpp-sdk-s3control/source/model/GetDataAccessRequest.cpp +++ b/generated/src/aws-cpp-sdk-s3control/source/model/GetDataAccessRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-s3control/source/model/GetJobTaggingRequest.cpp b/generated/src/aws-cpp-sdk-s3control/source/model/GetJobTaggingRequest.cpp index 97a90eef7c4..71771943b5a 100644 --- a/generated/src/aws-cpp-sdk-s3control/source/model/GetJobTaggingRequest.cpp +++ b/generated/src/aws-cpp-sdk-s3control/source/model/GetJobTaggingRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-s3control/source/model/GetMultiRegionAccessPointPolicyRequest.cpp b/generated/src/aws-cpp-sdk-s3control/source/model/GetMultiRegionAccessPointPolicyRequest.cpp index 2748a66f66c..51d399eb3c1 100644 --- a/generated/src/aws-cpp-sdk-s3control/source/model/GetMultiRegionAccessPointPolicyRequest.cpp +++ b/generated/src/aws-cpp-sdk-s3control/source/model/GetMultiRegionAccessPointPolicyRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-s3control/source/model/GetMultiRegionAccessPointPolicyStatusRequest.cpp b/generated/src/aws-cpp-sdk-s3control/source/model/GetMultiRegionAccessPointPolicyStatusRequest.cpp index 3882db9dc33..7d832b6b126 100644 --- a/generated/src/aws-cpp-sdk-s3control/source/model/GetMultiRegionAccessPointPolicyStatusRequest.cpp +++ b/generated/src/aws-cpp-sdk-s3control/source/model/GetMultiRegionAccessPointPolicyStatusRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-s3control/source/model/GetMultiRegionAccessPointRequest.cpp b/generated/src/aws-cpp-sdk-s3control/source/model/GetMultiRegionAccessPointRequest.cpp index 905df9091a8..edfe2270c00 100644 --- a/generated/src/aws-cpp-sdk-s3control/source/model/GetMultiRegionAccessPointRequest.cpp +++ b/generated/src/aws-cpp-sdk-s3control/source/model/GetMultiRegionAccessPointRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-s3control/source/model/GetMultiRegionAccessPointRoutesRequest.cpp b/generated/src/aws-cpp-sdk-s3control/source/model/GetMultiRegionAccessPointRoutesRequest.cpp index 4ba92bac2ba..c43c52b0c16 100644 --- a/generated/src/aws-cpp-sdk-s3control/source/model/GetMultiRegionAccessPointRoutesRequest.cpp +++ b/generated/src/aws-cpp-sdk-s3control/source/model/GetMultiRegionAccessPointRoutesRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-s3control/source/model/GetPublicAccessBlockRequest.cpp b/generated/src/aws-cpp-sdk-s3control/source/model/GetPublicAccessBlockRequest.cpp index bbf8a860454..49058eb82bd 100644 --- a/generated/src/aws-cpp-sdk-s3control/source/model/GetPublicAccessBlockRequest.cpp +++ b/generated/src/aws-cpp-sdk-s3control/source/model/GetPublicAccessBlockRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-s3control/source/model/GetStorageLensConfigurationRequest.cpp b/generated/src/aws-cpp-sdk-s3control/source/model/GetStorageLensConfigurationRequest.cpp index 5d0232bc761..fce0ac77377 100644 --- a/generated/src/aws-cpp-sdk-s3control/source/model/GetStorageLensConfigurationRequest.cpp +++ b/generated/src/aws-cpp-sdk-s3control/source/model/GetStorageLensConfigurationRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-s3control/source/model/GetStorageLensConfigurationTaggingRequest.cpp b/generated/src/aws-cpp-sdk-s3control/source/model/GetStorageLensConfigurationTaggingRequest.cpp index 36b03907aff..c7782984fab 100644 --- a/generated/src/aws-cpp-sdk-s3control/source/model/GetStorageLensConfigurationTaggingRequest.cpp +++ b/generated/src/aws-cpp-sdk-s3control/source/model/GetStorageLensConfigurationTaggingRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-s3control/source/model/GetStorageLensGroupRequest.cpp b/generated/src/aws-cpp-sdk-s3control/source/model/GetStorageLensGroupRequest.cpp index 68b162dfe03..18d95f86062 100644 --- a/generated/src/aws-cpp-sdk-s3control/source/model/GetStorageLensGroupRequest.cpp +++ b/generated/src/aws-cpp-sdk-s3control/source/model/GetStorageLensGroupRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-s3control/source/model/ListAccessGrantsInstancesRequest.cpp b/generated/src/aws-cpp-sdk-s3control/source/model/ListAccessGrantsInstancesRequest.cpp index 14e6ce43828..818db2373bf 100644 --- a/generated/src/aws-cpp-sdk-s3control/source/model/ListAccessGrantsInstancesRequest.cpp +++ b/generated/src/aws-cpp-sdk-s3control/source/model/ListAccessGrantsInstancesRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-s3control/source/model/ListAccessGrantsLocationsRequest.cpp b/generated/src/aws-cpp-sdk-s3control/source/model/ListAccessGrantsLocationsRequest.cpp index f99406e1aa3..dd1b5b4b0e7 100644 --- a/generated/src/aws-cpp-sdk-s3control/source/model/ListAccessGrantsLocationsRequest.cpp +++ b/generated/src/aws-cpp-sdk-s3control/source/model/ListAccessGrantsLocationsRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-s3control/source/model/ListAccessGrantsRequest.cpp b/generated/src/aws-cpp-sdk-s3control/source/model/ListAccessGrantsRequest.cpp index 55de4fa701d..e8802317a8c 100644 --- a/generated/src/aws-cpp-sdk-s3control/source/model/ListAccessGrantsRequest.cpp +++ b/generated/src/aws-cpp-sdk-s3control/source/model/ListAccessGrantsRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-s3control/source/model/ListAccessPointsForObjectLambdaRequest.cpp b/generated/src/aws-cpp-sdk-s3control/source/model/ListAccessPointsForObjectLambdaRequest.cpp index 1deba7ec5a9..759fef630ad 100644 --- a/generated/src/aws-cpp-sdk-s3control/source/model/ListAccessPointsForObjectLambdaRequest.cpp +++ b/generated/src/aws-cpp-sdk-s3control/source/model/ListAccessPointsForObjectLambdaRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-s3control/source/model/ListAccessPointsRequest.cpp b/generated/src/aws-cpp-sdk-s3control/source/model/ListAccessPointsRequest.cpp index 9634e326e00..2a2e0590e6f 100644 --- a/generated/src/aws-cpp-sdk-s3control/source/model/ListAccessPointsRequest.cpp +++ b/generated/src/aws-cpp-sdk-s3control/source/model/ListAccessPointsRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-s3control/source/model/ListJobsRequest.cpp b/generated/src/aws-cpp-sdk-s3control/source/model/ListJobsRequest.cpp index ecc8ac4c685..493c48175f5 100644 --- a/generated/src/aws-cpp-sdk-s3control/source/model/ListJobsRequest.cpp +++ b/generated/src/aws-cpp-sdk-s3control/source/model/ListJobsRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-s3control/source/model/ListMultiRegionAccessPointsRequest.cpp b/generated/src/aws-cpp-sdk-s3control/source/model/ListMultiRegionAccessPointsRequest.cpp index 8c2ea5cd317..71b35849a9f 100644 --- a/generated/src/aws-cpp-sdk-s3control/source/model/ListMultiRegionAccessPointsRequest.cpp +++ b/generated/src/aws-cpp-sdk-s3control/source/model/ListMultiRegionAccessPointsRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-s3control/source/model/ListRegionalBucketsRequest.cpp b/generated/src/aws-cpp-sdk-s3control/source/model/ListRegionalBucketsRequest.cpp index 643f74e252c..ca1ea3ca96b 100644 --- a/generated/src/aws-cpp-sdk-s3control/source/model/ListRegionalBucketsRequest.cpp +++ b/generated/src/aws-cpp-sdk-s3control/source/model/ListRegionalBucketsRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-s3control/source/model/ListStorageLensConfigurationsRequest.cpp b/generated/src/aws-cpp-sdk-s3control/source/model/ListStorageLensConfigurationsRequest.cpp index e0be29316d6..70de5b9fe27 100644 --- a/generated/src/aws-cpp-sdk-s3control/source/model/ListStorageLensConfigurationsRequest.cpp +++ b/generated/src/aws-cpp-sdk-s3control/source/model/ListStorageLensConfigurationsRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-s3control/source/model/ListStorageLensGroupsRequest.cpp b/generated/src/aws-cpp-sdk-s3control/source/model/ListStorageLensGroupsRequest.cpp index b09164e9124..ad692b160ae 100644 --- a/generated/src/aws-cpp-sdk-s3control/source/model/ListStorageLensGroupsRequest.cpp +++ b/generated/src/aws-cpp-sdk-s3control/source/model/ListStorageLensGroupsRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-s3control/source/model/ListTagsForResourceRequest.cpp b/generated/src/aws-cpp-sdk-s3control/source/model/ListTagsForResourceRequest.cpp index bd1a9fb6ac7..19f88b4074d 100644 --- a/generated/src/aws-cpp-sdk-s3control/source/model/ListTagsForResourceRequest.cpp +++ b/generated/src/aws-cpp-sdk-s3control/source/model/ListTagsForResourceRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-s3control/source/model/PutAccessGrantsInstanceResourcePolicyRequest.cpp b/generated/src/aws-cpp-sdk-s3control/source/model/PutAccessGrantsInstanceResourcePolicyRequest.cpp index 9167cf97381..42c77201eb0 100644 --- a/generated/src/aws-cpp-sdk-s3control/source/model/PutAccessGrantsInstanceResourcePolicyRequest.cpp +++ b/generated/src/aws-cpp-sdk-s3control/source/model/PutAccessGrantsInstanceResourcePolicyRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-s3control/source/model/PutAccessPointConfigurationForObjectLambdaRequest.cpp b/generated/src/aws-cpp-sdk-s3control/source/model/PutAccessPointConfigurationForObjectLambdaRequest.cpp index c4ba377ea2f..96288187f7e 100644 --- a/generated/src/aws-cpp-sdk-s3control/source/model/PutAccessPointConfigurationForObjectLambdaRequest.cpp +++ b/generated/src/aws-cpp-sdk-s3control/source/model/PutAccessPointConfigurationForObjectLambdaRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-s3control/source/model/PutAccessPointPolicyForObjectLambdaRequest.cpp b/generated/src/aws-cpp-sdk-s3control/source/model/PutAccessPointPolicyForObjectLambdaRequest.cpp index 90859d29a75..2446c8f77f7 100644 --- a/generated/src/aws-cpp-sdk-s3control/source/model/PutAccessPointPolicyForObjectLambdaRequest.cpp +++ b/generated/src/aws-cpp-sdk-s3control/source/model/PutAccessPointPolicyForObjectLambdaRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-s3control/source/model/PutAccessPointPolicyRequest.cpp b/generated/src/aws-cpp-sdk-s3control/source/model/PutAccessPointPolicyRequest.cpp index b3d1a11b3ee..0d19d61a4a3 100644 --- a/generated/src/aws-cpp-sdk-s3control/source/model/PutAccessPointPolicyRequest.cpp +++ b/generated/src/aws-cpp-sdk-s3control/source/model/PutAccessPointPolicyRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-s3control/source/model/PutBucketLifecycleConfigurationRequest.cpp b/generated/src/aws-cpp-sdk-s3control/source/model/PutBucketLifecycleConfigurationRequest.cpp index 0b0357def3f..90b184424a0 100644 --- a/generated/src/aws-cpp-sdk-s3control/source/model/PutBucketLifecycleConfigurationRequest.cpp +++ b/generated/src/aws-cpp-sdk-s3control/source/model/PutBucketLifecycleConfigurationRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-s3control/source/model/PutBucketPolicyRequest.cpp b/generated/src/aws-cpp-sdk-s3control/source/model/PutBucketPolicyRequest.cpp index e0f5128ed04..9edecfd512d 100644 --- a/generated/src/aws-cpp-sdk-s3control/source/model/PutBucketPolicyRequest.cpp +++ b/generated/src/aws-cpp-sdk-s3control/source/model/PutBucketPolicyRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-s3control/source/model/PutBucketReplicationRequest.cpp b/generated/src/aws-cpp-sdk-s3control/source/model/PutBucketReplicationRequest.cpp index 20c78f1bee0..f26751959a1 100644 --- a/generated/src/aws-cpp-sdk-s3control/source/model/PutBucketReplicationRequest.cpp +++ b/generated/src/aws-cpp-sdk-s3control/source/model/PutBucketReplicationRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-s3control/source/model/PutBucketTaggingRequest.cpp b/generated/src/aws-cpp-sdk-s3control/source/model/PutBucketTaggingRequest.cpp index 3f34c1183f7..c2a87012068 100644 --- a/generated/src/aws-cpp-sdk-s3control/source/model/PutBucketTaggingRequest.cpp +++ b/generated/src/aws-cpp-sdk-s3control/source/model/PutBucketTaggingRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-s3control/source/model/PutBucketVersioningRequest.cpp b/generated/src/aws-cpp-sdk-s3control/source/model/PutBucketVersioningRequest.cpp index c48889b17d6..1e480a28141 100644 --- a/generated/src/aws-cpp-sdk-s3control/source/model/PutBucketVersioningRequest.cpp +++ b/generated/src/aws-cpp-sdk-s3control/source/model/PutBucketVersioningRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-s3control/source/model/PutJobTaggingRequest.cpp b/generated/src/aws-cpp-sdk-s3control/source/model/PutJobTaggingRequest.cpp index f23a5f96bef..009308cc8c5 100644 --- a/generated/src/aws-cpp-sdk-s3control/source/model/PutJobTaggingRequest.cpp +++ b/generated/src/aws-cpp-sdk-s3control/source/model/PutJobTaggingRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-s3control/source/model/PutMultiRegionAccessPointPolicyRequest.cpp b/generated/src/aws-cpp-sdk-s3control/source/model/PutMultiRegionAccessPointPolicyRequest.cpp index 45421751ba0..ed25c91caa7 100644 --- a/generated/src/aws-cpp-sdk-s3control/source/model/PutMultiRegionAccessPointPolicyRequest.cpp +++ b/generated/src/aws-cpp-sdk-s3control/source/model/PutMultiRegionAccessPointPolicyRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-s3control/source/model/PutPublicAccessBlockRequest.cpp b/generated/src/aws-cpp-sdk-s3control/source/model/PutPublicAccessBlockRequest.cpp index 6a7f66f98b2..3bc8edcec26 100644 --- a/generated/src/aws-cpp-sdk-s3control/source/model/PutPublicAccessBlockRequest.cpp +++ b/generated/src/aws-cpp-sdk-s3control/source/model/PutPublicAccessBlockRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-s3control/source/model/PutStorageLensConfigurationRequest.cpp b/generated/src/aws-cpp-sdk-s3control/source/model/PutStorageLensConfigurationRequest.cpp index 89f2dfd4ebf..12cec9c60d2 100644 --- a/generated/src/aws-cpp-sdk-s3control/source/model/PutStorageLensConfigurationRequest.cpp +++ b/generated/src/aws-cpp-sdk-s3control/source/model/PutStorageLensConfigurationRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-s3control/source/model/PutStorageLensConfigurationTaggingRequest.cpp b/generated/src/aws-cpp-sdk-s3control/source/model/PutStorageLensConfigurationTaggingRequest.cpp index 9253e4032b2..cd547db0089 100644 --- a/generated/src/aws-cpp-sdk-s3control/source/model/PutStorageLensConfigurationTaggingRequest.cpp +++ b/generated/src/aws-cpp-sdk-s3control/source/model/PutStorageLensConfigurationTaggingRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-s3control/source/model/SubmitMultiRegionAccessPointRoutesRequest.cpp b/generated/src/aws-cpp-sdk-s3control/source/model/SubmitMultiRegionAccessPointRoutesRequest.cpp index db3d65349df..3a3bf3b751b 100644 --- a/generated/src/aws-cpp-sdk-s3control/source/model/SubmitMultiRegionAccessPointRoutesRequest.cpp +++ b/generated/src/aws-cpp-sdk-s3control/source/model/SubmitMultiRegionAccessPointRoutesRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-s3control/source/model/TagResourceRequest.cpp b/generated/src/aws-cpp-sdk-s3control/source/model/TagResourceRequest.cpp index 4e4ed6278a1..d80ae4efe28 100644 --- a/generated/src/aws-cpp-sdk-s3control/source/model/TagResourceRequest.cpp +++ b/generated/src/aws-cpp-sdk-s3control/source/model/TagResourceRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-s3control/source/model/UntagResourceRequest.cpp b/generated/src/aws-cpp-sdk-s3control/source/model/UntagResourceRequest.cpp index 2071704db24..c3430a621bc 100644 --- a/generated/src/aws-cpp-sdk-s3control/source/model/UntagResourceRequest.cpp +++ b/generated/src/aws-cpp-sdk-s3control/source/model/UntagResourceRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-s3control/source/model/UpdateAccessGrantsLocationRequest.cpp b/generated/src/aws-cpp-sdk-s3control/source/model/UpdateAccessGrantsLocationRequest.cpp index bc5e0d7b960..411d388d82c 100644 --- a/generated/src/aws-cpp-sdk-s3control/source/model/UpdateAccessGrantsLocationRequest.cpp +++ b/generated/src/aws-cpp-sdk-s3control/source/model/UpdateAccessGrantsLocationRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-s3control/source/model/UpdateJobPriorityRequest.cpp b/generated/src/aws-cpp-sdk-s3control/source/model/UpdateJobPriorityRequest.cpp index 300f6c09ea2..2b9010e8db7 100644 --- a/generated/src/aws-cpp-sdk-s3control/source/model/UpdateJobPriorityRequest.cpp +++ b/generated/src/aws-cpp-sdk-s3control/source/model/UpdateJobPriorityRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-s3control/source/model/UpdateJobStatusRequest.cpp b/generated/src/aws-cpp-sdk-s3control/source/model/UpdateJobStatusRequest.cpp index 30b6741272f..f6eade9d64e 100644 --- a/generated/src/aws-cpp-sdk-s3control/source/model/UpdateJobStatusRequest.cpp +++ b/generated/src/aws-cpp-sdk-s3control/source/model/UpdateJobStatusRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/generated/src/aws-cpp-sdk-s3control/source/model/UpdateStorageLensGroupRequest.cpp b/generated/src/aws-cpp-sdk-s3control/source/model/UpdateStorageLensGroupRequest.cpp index aa21112de1d..15070e71e15 100644 --- a/generated/src/aws-cpp-sdk-s3control/source/model/UpdateStorageLensGroupRequest.cpp +++ b/generated/src/aws-cpp-sdk-s3control/source/model/UpdateStorageLensGroupRequest.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/src/aws-cpp-sdk-core/include/aws/core/VersionConfig.h b/src/aws-cpp-sdk-core/include/aws/core/VersionConfig.h index e169063d28f..32df4e28788 100644 --- a/src/aws-cpp-sdk-core/include/aws/core/VersionConfig.h +++ b/src/aws-cpp-sdk-core/include/aws/core/VersionConfig.h @@ -4,7 +4,7 @@ */ #pragma once -#define AWS_SDK_VERSION_STRING "1.11.366" +#define AWS_SDK_VERSION_STRING "1.11.367" #define AWS_SDK_VERSION_MAJOR 1 #define AWS_SDK_VERSION_MINOR 11 -#define AWS_SDK_VERSION_PATCH 366 +#define AWS_SDK_VERSION_PATCH 367 diff --git a/tools/code-generation/api-descriptions/acm-pca-2017-08-22.normal.json b/tools/code-generation/api-descriptions/acm-pca-2017-08-22.normal.json index fc3392c8d73..548bea2067c 100644 --- a/tools/code-generation/api-descriptions/acm-pca-2017-08-22.normal.json +++ b/tools/code-generation/api-descriptions/acm-pca-2017-08-22.normal.json @@ -2,6 +2,7 @@ "version":"2.0", "metadata":{ "apiVersion":"2017-08-22", + "auth":["aws.auth#sigv4"], "endpointPrefix":"acm-pca", "jsonVersion":"1.1", "protocol":"json", @@ -10,9 +11,9 @@ "serviceFullName":"AWS Certificate Manager Private Certificate Authority", "serviceId":"ACM PCA", "signatureVersion":"v4", + "signingName":"acm-pca", "targetPrefix":"ACMPrivateCA", - "uid":"acm-pca-2017-08-22", - "auth":["aws.auth#sigv4"] + "uid":"acm-pca-2017-08-22" }, "operations":{ "CreateCertificateAuthority":{ @@ -24,10 +25,10 @@ "input":{"shape":"CreateCertificateAuthorityRequest"}, "output":{"shape":"CreateCertificateAuthorityResponse"}, "errors":[ + {"shape":"LimitExceededException"}, {"shape":"InvalidArgsException"}, - {"shape":"InvalidPolicyException"}, {"shape":"InvalidTagException"}, - {"shape":"LimitExceededException"} + {"shape":"InvalidPolicyException"} ], "documentation":"

Creates a root or subordinate private certificate authority (CA). You must specify the CA configuration, an optional configuration for Online Certificate Status Protocol (OCSP) and/or a certificate revocation list (CRL), the CA type, and an optional idempotency token to avoid accidental creation of multiple CAs. The CA configuration specifies the name of the algorithm and key size to be used to create the CA private key, the type of signing algorithm that the CA uses, and X.500 subject information. The OCSP configuration can optionally specify a custom URL for the OCSP responder. The CRL configuration specifies the CRL expiration period in days (the validity period of the CRL), the Amazon S3 bucket that will contain the CRL, and a CNAME alias for the S3 bucket that is included in certificates issued by the CA. If successful, this action returns the Amazon Resource Name (ARN) of the CA.

Both Amazon Web Services Private CA and the IAM principal must have permission to write to the S3 bucket that you specify. If the IAM principal making the call does not have permission to write to the bucket, then an exception is thrown. For more information, see Access policies for CRLs in Amazon S3.

Amazon Web Services Private CA assets that are stored in Amazon S3 can be protected with encryption. For more information, see Encrypting Your CRLs.

", "idempotent":true @@ -41,12 +42,12 @@ "input":{"shape":"CreateCertificateAuthorityAuditReportRequest"}, "output":{"shape":"CreateCertificateAuthorityAuditReportResponse"}, "errors":[ - {"shape":"RequestInProgressException"}, - {"shape":"RequestFailedException"}, {"shape":"ResourceNotFoundException"}, {"shape":"InvalidArnException"}, {"shape":"InvalidArgsException"}, - {"shape":"InvalidStateException"} + {"shape":"RequestFailedException"}, + {"shape":"InvalidStateException"}, + {"shape":"RequestInProgressException"} ], "documentation":"

Creates an audit report that lists every time that your CA private key is used. The report is saved in the Amazon S3 bucket that you specify on input. The IssueCertificate and RevokeCertificate actions use the private key.

Both Amazon Web Services Private CA and the IAM principal must have permission to write to the S3 bucket that you specify. If the IAM principal making the call does not have permission to write to the bucket, then an exception is thrown. For more information, see Access policies for CRLs in Amazon S3.

Amazon Web Services Private CA assets that are stored in Amazon S3 can be protected with encryption. For more information, see Encrypting Your Audit Reports.

You can generate a maximum of one report every 30 minutes.

", "idempotent":true @@ -59,12 +60,12 @@ }, "input":{"shape":"CreatePermissionRequest"}, "errors":[ + {"shape":"LimitExceededException"}, + {"shape":"PermissionAlreadyExistsException"}, {"shape":"ResourceNotFoundException"}, {"shape":"InvalidArnException"}, - {"shape":"PermissionAlreadyExistsException"}, - {"shape":"LimitExceededException"}, - {"shape":"InvalidStateException"}, - {"shape":"RequestFailedException"} + {"shape":"RequestFailedException"}, + {"shape":"InvalidStateException"} ], "documentation":"

Grants one or more permissions on a private CA to the Certificate Manager (ACM) service principal (acm.amazonaws.com). These permissions allow ACM to issue and renew ACM certificates that reside in the same Amazon Web Services account as the CA.

You can list current permissions with the ListPermissions action and revoke them with the DeletePermission action.

About Permissions

  • If the private CA and the certificates it issues reside in the same account, you can use CreatePermission to grant permissions for ACM to carry out automatic certificate renewals.

  • For automatic certificate renewal to succeed, the ACM service principal needs permissions to create, retrieve, and list certificates.

  • If the private CA and the ACM certificates reside in different accounts, then permissions cannot be used to enable automatic renewals. Instead, the ACM certificate owner must set up a resource-based policy to enable cross-account issuance and renewals. For more information, see Using a Resource Based Policy with Amazon Web Services Private CA.

" }, @@ -76,10 +77,10 @@ }, "input":{"shape":"DeleteCertificateAuthorityRequest"}, "errors":[ - {"shape":"ConcurrentModificationException"}, {"shape":"ResourceNotFoundException"}, {"shape":"InvalidArnException"}, - {"shape":"InvalidStateException"} + {"shape":"InvalidStateException"}, + {"shape":"ConcurrentModificationException"} ], "documentation":"

Deletes a private certificate authority (CA). You must provide the Amazon Resource Name (ARN) of the private CA that you want to delete. You can find the ARN by calling the ListCertificateAuthorities action.

Deleting a CA will invalidate other CAs and certificates below it in your CA hierarchy.

Before you can delete a CA that you have created and activated, you must disable it. To do this, call the UpdateCertificateAuthority action and set the CertificateAuthorityStatus parameter to DISABLED.

Additionally, you can delete a CA if you are waiting for it to be created (that is, the status of the CA is CREATING). You can also delete it if the CA has been created but you haven't yet imported the signed certificate into Amazon Web Services Private CA (that is, the status of the CA is PENDING_CERTIFICATE).

When you successfully call DeleteCertificateAuthority, the CA's status changes to DELETED. However, the CA won't be permanently deleted until the restoration period has passed. By default, if you do not set the PermanentDeletionTimeInDays parameter, the CA remains restorable for 30 days. You can set the parameter from 7 to 30 days. The DescribeCertificateAuthority action returns the time remaining in the restoration window of a private CA in the DELETED state. To restore an eligible CA, call the RestoreCertificateAuthority action.

" }, @@ -93,8 +94,8 @@ "errors":[ {"shape":"ResourceNotFoundException"}, {"shape":"InvalidArnException"}, - {"shape":"InvalidStateException"}, - {"shape":"RequestFailedException"} + {"shape":"RequestFailedException"}, + {"shape":"InvalidStateException"} ], "documentation":"

Revokes permissions on a private CA granted to the Certificate Manager (ACM) service principal (acm.amazonaws.com).

These permissions allow ACM to issue and renew ACM certificates that reside in the same Amazon Web Services account as the CA. If you revoke these permissions, ACM will no longer renew the affected certificates automatically.

Permissions can be granted with the CreatePermission action and listed with the ListPermissions action.

About Permissions

  • If the private CA and the certificates it issues reside in the same account, you can use CreatePermission to grant permissions for ACM to carry out automatic certificate renewals.

  • For automatic certificate renewal to succeed, the ACM service principal needs permissions to create, retrieve, and list certificates.

  • If the private CA and the ACM certificates reside in different accounts, then permissions cannot be used to enable automatic renewals. Instead, the ACM certificate owner must set up a resource-based policy to enable cross-account issuance and renewals. For more information, see Using a Resource Based Policy with Amazon Web Services Private CA.

" }, @@ -106,12 +107,12 @@ }, "input":{"shape":"DeletePolicyRequest"}, "errors":[ - {"shape":"ConcurrentModificationException"}, - {"shape":"InvalidArnException"}, - {"shape":"InvalidStateException"}, {"shape":"LockoutPreventedException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"InvalidArnException"}, {"shape":"RequestFailedException"}, - {"shape":"ResourceNotFoundException"} + {"shape":"InvalidStateException"}, + {"shape":"ConcurrentModificationException"} ], "documentation":"

Deletes the resource-based policy attached to a private CA. Deletion will remove any access that the policy has granted. If there is no policy attached to the private CA, this action will return successful.

If you delete a policy that was applied through Amazon Web Services Resource Access Manager (RAM), the CA will be removed from all shares in which it was included.

The Certificate Manager Service Linked Role that the policy supports is not affected when you delete the policy.

The current policy can be shown with GetPolicy and updated with PutPolicy.

About Policies

  • A policy grants access on a private CA to an Amazon Web Services customer account, to Amazon Web Services Organizations, or to an Amazon Web Services Organizations unit. Policies are under the control of a CA administrator. For more information, see Using a Resource Based Policy with Amazon Web Services Private CA.

  • A policy permits a user of Certificate Manager (ACM) to issue ACM certificates signed by a CA in another account.

  • For ACM to manage automatic renewal of these certificates, the ACM user must configure a Service Linked Role (SLR). The SLR allows the ACM service to assume the identity of the user, subject to confirmation against the Amazon Web Services Private CA policy. For more information, see Using a Service Linked Role with ACM.

  • Updates made in Amazon Web Services Resource Manager (RAM) are reflected in policies. For more information, see Attach a Policy for Cross-Account Access.

" }, @@ -153,11 +154,11 @@ "input":{"shape":"GetCertificateRequest"}, "output":{"shape":"GetCertificateResponse"}, "errors":[ - {"shape":"RequestInProgressException"}, - {"shape":"RequestFailedException"}, {"shape":"ResourceNotFoundException"}, {"shape":"InvalidArnException"}, - {"shape":"InvalidStateException"} + {"shape":"RequestFailedException"}, + {"shape":"InvalidStateException"}, + {"shape":"RequestInProgressException"} ], "documentation":"

Retrieves a certificate from your private CA or one that has been shared with you. The ARN of the certificate is returned when you call the IssueCertificate action. You must specify both the ARN of your private CA and the ARN of the issued certificate when calling the GetCertificate action. You can retrieve the certificate if it is in the ISSUED state. You can call the CreateCertificateAuthorityAuditReport action to create a report that contains information about all of the certificates issued and revoked by your private CA.

" }, @@ -171,8 +172,8 @@ "output":{"shape":"GetCertificateAuthorityCertificateResponse"}, "errors":[ {"shape":"ResourceNotFoundException"}, - {"shape":"InvalidStateException"}, - {"shape":"InvalidArnException"} + {"shape":"InvalidArnException"}, + {"shape":"InvalidStateException"} ], "documentation":"

Retrieves the certificate and certificate chain for your private certificate authority (CA) or one that has been shared with you. Both the certificate and the chain are base64 PEM-encoded. The chain does not include the CA certificate. Each certificate in the chain signs the one before it.

" }, @@ -185,11 +186,11 @@ "input":{"shape":"GetCertificateAuthorityCsrRequest"}, "output":{"shape":"GetCertificateAuthorityCsrResponse"}, "errors":[ - {"shape":"RequestInProgressException"}, - {"shape":"RequestFailedException"}, {"shape":"ResourceNotFoundException"}, {"shape":"InvalidArnException"}, - {"shape":"InvalidStateException"} + {"shape":"RequestFailedException"}, + {"shape":"InvalidStateException"}, + {"shape":"RequestInProgressException"} ], "documentation":"

Retrieves the certificate signing request (CSR) for your private certificate authority (CA). The CSR is created when you call the CreateCertificateAuthority action. Sign the CSR with your Amazon Web Services Private CA-hosted or on-premises root or subordinate CA. Then import the signed certificate back into Amazon Web Services Private CA by calling the ImportCertificateAuthorityCertificate action. The CSR is returned as a base64 PEM-encoded string.

" }, @@ -202,10 +203,10 @@ "input":{"shape":"GetPolicyRequest"}, "output":{"shape":"GetPolicyResponse"}, "errors":[ + {"shape":"ResourceNotFoundException"}, {"shape":"InvalidArnException"}, - {"shape":"InvalidStateException"}, {"shape":"RequestFailedException"}, - {"shape":"ResourceNotFoundException"} + {"shape":"InvalidStateException"} ], "documentation":"

Retrieves the resource-based policy attached to a private CA. If either the private CA resource or the policy cannot be found, this action returns a ResourceNotFoundException.

The policy can be attached or updated with PutPolicy and removed with DeletePolicy.

About Policies

  • A policy grants access on a private CA to an Amazon Web Services customer account, to Amazon Web Services Organizations, or to an Amazon Web Services Organizations unit. Policies are under the control of a CA administrator. For more information, see Using a Resource Based Policy with Amazon Web Services Private CA.

  • A policy permits a user of Certificate Manager (ACM) to issue ACM certificates signed by a CA in another account.

  • For ACM to manage automatic renewal of these certificates, the ACM user must configure a Service Linked Role (SLR). The SLR allows the ACM service to assume the identity of the user, subject to confirmation against the Amazon Web Services Private CA policy. For more information, see Using a Service Linked Role with ACM.

  • Updates made in Amazon Web Services Resource Manager (RAM) are reflected in policies. For more information, see Attach a Policy for Cross-Account Access.

" }, @@ -217,17 +218,17 @@ }, "input":{"shape":"ImportCertificateAuthorityCertificateRequest"}, "errors":[ - {"shape":"ConcurrentModificationException"}, - {"shape":"RequestInProgressException"}, - {"shape":"RequestFailedException"}, + {"shape":"CertificateMismatchException"}, + {"shape":"MalformedCertificateException"}, {"shape":"ResourceNotFoundException"}, {"shape":"InvalidArnException"}, {"shape":"InvalidRequestException"}, + {"shape":"RequestFailedException"}, {"shape":"InvalidStateException"}, - {"shape":"MalformedCertificateException"}, - {"shape":"CertificateMismatchException"} + {"shape":"ConcurrentModificationException"}, + {"shape":"RequestInProgressException"} ], - "documentation":"

Imports a signed private CA certificate into Amazon Web Services Private CA. This action is used when you are using a chain of trust whose root is located outside Amazon Web Services Private CA. Before you can call this action, the following preparations must in place:

  1. In Amazon Web Services Private CA, call the CreateCertificateAuthority action to create the private CA that you plan to back with the imported certificate.

  2. Call the GetCertificateAuthorityCsr action to generate a certificate signing request (CSR).

  3. Sign the CSR using a root or intermediate CA hosted by either an on-premises PKI hierarchy or by a commercial CA.

  4. Create a certificate chain and copy the signed certificate and the certificate chain to your working directory.

Amazon Web Services Private CA supports three scenarios for installing a CA certificate:

  • Installing a certificate for a root CA hosted by Amazon Web Services Private CA.

  • Installing a subordinate CA certificate whose parent authority is hosted by Amazon Web Services Private CA.

  • Installing a subordinate CA certificate whose parent authority is externally hosted.

The following additional requirements apply when you import a CA certificate.

  • Only a self-signed certificate can be imported as a root CA.

  • A self-signed certificate cannot be imported as a subordinate CA.

  • Your certificate chain must not include the private CA certificate that you are importing.

  • Your root CA must be the last certificate in your chain. The subordinate certificate, if any, that your root CA signed must be next to last. The subordinate certificate signed by the preceding subordinate CA must come next, and so on until your chain is built.

  • The chain must be PEM-encoded.

  • The maximum allowed size of a certificate is 32 KB.

  • The maximum allowed size of a certificate chain is 2 MB.

Enforcement of Critical Constraints

Amazon Web Services Private CA allows the following extensions to be marked critical in the imported CA certificate or chain.

  • Authority key identifier

  • Basic constraints (must be marked critical)

  • Certificate policies

  • Extended key usage

  • Inhibit anyPolicy

  • Issuer alternative name

  • Key usage

  • Name constraints

  • Policy mappings

  • Subject alternative name

  • Subject directory attributes

  • Subject key identifier

  • Subject information access

Amazon Web Services Private CA rejects the following extensions when they are marked critical in an imported CA certificate or chain.

  • Authority information access

  • CRL distribution points

  • Freshest CRL

  • Policy constraints

Amazon Web Services Private Certificate Authority will also reject any other extension marked as critical not contained on the preceding list of allowed extensions.

" + "documentation":"

Imports a signed private CA certificate into Amazon Web Services Private CA. This action is used when you are using a chain of trust whose root is located outside Amazon Web Services Private CA. Before you can call this action, the following preparations must in place:

  1. In Amazon Web Services Private CA, call the CreateCertificateAuthority action to create the private CA that you plan to back with the imported certificate.

  2. Call the GetCertificateAuthorityCsr action to generate a certificate signing request (CSR).

  3. Sign the CSR using a root or intermediate CA hosted by either an on-premises PKI hierarchy or by a commercial CA.

  4. Create a certificate chain and copy the signed certificate and the certificate chain to your working directory.

Amazon Web Services Private CA supports three scenarios for installing a CA certificate:

  • Installing a certificate for a root CA hosted by Amazon Web Services Private CA.

  • Installing a subordinate CA certificate whose parent authority is hosted by Amazon Web Services Private CA.

  • Installing a subordinate CA certificate whose parent authority is externally hosted.

The following additional requirements apply when you import a CA certificate.

  • Only a self-signed certificate can be imported as a root CA.

  • A self-signed certificate cannot be imported as a subordinate CA.

  • Your certificate chain must not include the private CA certificate that you are importing.

  • Your root CA must be the last certificate in your chain. The subordinate certificate, if any, that your root CA signed must be next to last. The subordinate certificate signed by the preceding subordinate CA must come next, and so on until your chain is built.

  • The chain must be PEM-encoded.

  • The maximum allowed size of a certificate is 32 KB.

  • The maximum allowed size of a certificate chain is 2 MB.

Enforcement of Critical Constraints

Amazon Web Services Private CA allows the following extensions to be marked critical in the imported CA certificate or chain.

  • Basic constraints (must be marked critical)

  • Subject alternative names

  • Key usage

  • Extended key usage

  • Authority key identifier

  • Subject key identifier

  • Issuer alternative name

  • Subject directory attributes

  • Subject information access

  • Certificate policies

  • Policy mappings

  • Inhibit anyPolicy

Amazon Web Services Private CA rejects the following extensions when they are marked critical in an imported CA certificate or chain.

  • Name constraints

  • Policy constraints

  • CRL distribution points

  • Authority information access

  • Freshest CRL

  • Any other extension

" }, "IssueCertificate":{ "name":"IssueCertificate", @@ -240,9 +241,9 @@ "errors":[ {"shape":"LimitExceededException"}, {"shape":"ResourceNotFoundException"}, - {"shape":"InvalidStateException"}, {"shape":"InvalidArnException"}, {"shape":"InvalidArgsException"}, + {"shape":"InvalidStateException"}, {"shape":"MalformedCSRException"} ], "documentation":"

Uses your private certificate authority (CA), or one that has been shared with you, to issue a client certificate. This action returns the Amazon Resource Name (ARN) of the certificate. You can retrieve the certificate by calling the GetCertificate action and specifying the ARN.

You cannot use the ACM ListCertificateAuthorities action to retrieve the ARNs of the certificates that you issue by using Amazon Web Services Private CA.

", @@ -272,9 +273,9 @@ "errors":[ {"shape":"ResourceNotFoundException"}, {"shape":"InvalidArnException"}, - {"shape":"InvalidNextTokenException"}, + {"shape":"RequestFailedException"}, {"shape":"InvalidStateException"}, - {"shape":"RequestFailedException"} + {"shape":"InvalidNextTokenException"} ], "documentation":"

List all permissions on a private CA, if any, granted to the Certificate Manager (ACM) service principal (acm.amazonaws.com).

These permissions allow ACM to issue and renew ACM certificates that reside in the same Amazon Web Services account as the CA.

Permissions can be granted with the CreatePermission action and revoked with the DeletePermission action.

About Permissions

  • If the private CA and the certificates it issues reside in the same account, you can use CreatePermission to grant permissions for ACM to carry out automatic certificate renewals.

  • For automatic certificate renewal to succeed, the ACM service principal needs permissions to create, retrieve, and list certificates.

  • If the private CA and the ACM certificates reside in different accounts, then permissions cannot be used to enable automatic renewals. Instead, the ACM certificate owner must set up a resource-based policy to enable cross-account issuance and renewals. For more information, see Using a Resource Based Policy with Amazon Web Services Private CA.

" }, @@ -301,13 +302,13 @@ }, "input":{"shape":"PutPolicyRequest"}, "errors":[ - {"shape":"ConcurrentModificationException"}, - {"shape":"InvalidArnException"}, - {"shape":"InvalidStateException"}, - {"shape":"InvalidPolicyException"}, {"shape":"LockoutPreventedException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"InvalidArnException"}, {"shape":"RequestFailedException"}, - {"shape":"ResourceNotFoundException"} + {"shape":"InvalidStateException"}, + {"shape":"ConcurrentModificationException"}, + {"shape":"InvalidPolicyException"} ], "documentation":"

Attaches a resource-based policy to a private CA.

A policy can also be applied by sharing a private CA through Amazon Web Services Resource Access Manager (RAM). For more information, see Attach a Policy for Cross-Account Access.

The policy can be displayed with GetPolicy and removed with DeletePolicy.

About Policies

  • A policy grants access on a private CA to an Amazon Web Services customer account, to Amazon Web Services Organizations, or to an Amazon Web Services Organizations unit. Policies are under the control of a CA administrator. For more information, see Using a Resource Based Policy with Amazon Web Services Private CA.

  • A policy permits a user of Certificate Manager (ACM) to issue ACM certificates signed by a CA in another account.

  • For ACM to manage automatic renewal of these certificates, the ACM user must configure a Service Linked Role (SLR). The SLR allows the ACM service to assume the identity of the user, subject to confirmation against the Amazon Web Services Private CA policy. For more information, see Using a Service Linked Role with ACM.

  • Updates made in Amazon Web Services Resource Manager (RAM) are reflected in policies. For more information, see Attach a Policy for Cross-Account Access.

" }, @@ -320,8 +321,8 @@ "input":{"shape":"RestoreCertificateAuthorityRequest"}, "errors":[ {"shape":"ResourceNotFoundException"}, - {"shape":"InvalidStateException"}, - {"shape":"InvalidArnException"} + {"shape":"InvalidArnException"}, + {"shape":"InvalidStateException"} ], "documentation":"

Restores a certificate authority (CA) that is in the DELETED state. You can restore a CA during the period that you defined in the PermanentDeletionTimeInDays parameter of the DeleteCertificateAuthority action. Currently, you can specify 7 to 30 days. If you did not specify a PermanentDeletionTimeInDays value, by default you can restore the CA at any time in a 30 day period. You can check the time remaining in the restoration period of a private CA in the DELETED state by calling the DescribeCertificateAuthority or ListCertificateAuthorities actions. The status of a restored CA is set to its pre-deletion status when the RestoreCertificateAuthority action returns. To change its status to ACTIVE, call the UpdateCertificateAuthority action. If the private CA was in the PENDING_CERTIFICATE state at deletion, you must use the ImportCertificateAuthorityCertificate action to import a certificate authority into the private CA before it can be activated. You cannot restore a CA after the restoration period has ended.

" }, @@ -333,15 +334,15 @@ }, "input":{"shape":"RevokeCertificateRequest"}, "errors":[ - {"shape":"ConcurrentModificationException"}, + {"shape":"RequestAlreadyProcessedException"}, + {"shape":"LimitExceededException"}, + {"shape":"ResourceNotFoundException"}, {"shape":"InvalidArnException"}, {"shape":"InvalidRequestException"}, + {"shape":"RequestFailedException"}, {"shape":"InvalidStateException"}, - {"shape":"LimitExceededException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"RequestAlreadyProcessedException"}, - {"shape":"RequestInProgressException"}, - {"shape":"RequestFailedException"} + {"shape":"ConcurrentModificationException"}, + {"shape":"RequestInProgressException"} ], "documentation":"

Revokes a certificate that was issued inside Amazon Web Services Private CA. If you enable a certificate revocation list (CRL) when you create or update your private CA, information about the revoked certificates will be included in the CRL. Amazon Web Services Private CA writes the CRL to an S3 bucket that you specify. A CRL is typically updated approximately 30 minutes after a certificate is revoked. If for any reason the CRL update fails, Amazon Web Services Private CA attempts makes further attempts every 15 minutes. With Amazon CloudWatch, you can create alarms for the metrics CRLGenerated and MisconfiguredCRLBucket. For more information, see Supported CloudWatch Metrics.

Both Amazon Web Services Private CA and the IAM principal must have permission to write to the S3 bucket that you specify. If the IAM principal making the call does not have permission to write to the bucket, then an exception is thrown. For more information, see Access policies for CRLs in Amazon S3.

Amazon Web Services Private CA also writes revocation information to the audit report. For more information, see CreateCertificateAuthorityAuditReport.

You cannot revoke a root CA self-signed certificate.

" }, @@ -384,11 +385,11 @@ }, "input":{"shape":"UpdateCertificateAuthorityRequest"}, "errors":[ - {"shape":"ConcurrentModificationException"}, {"shape":"ResourceNotFoundException"}, - {"shape":"InvalidArgsException"}, {"shape":"InvalidArnException"}, + {"shape":"InvalidArgsException"}, {"shape":"InvalidStateException"}, + {"shape":"ConcurrentModificationException"}, {"shape":"InvalidPolicyException"} ], "documentation":"

Updates the status or configuration of a private certificate authority (CA). Your private CA must be in the ACTIVE or DISABLED state before you can update it. You can disable a private CA that is in the ACTIVE state or make a CA that is in the DISABLED state active again.

Both Amazon Web Services Private CA and the IAM principal must have permission to write to the S3 bucket that you specify. If the IAM principal making the call does not have permission to write to the bucket, then an exception is thrown. For more information, see Access policies for CRLs in Amazon S3.

" @@ -489,8 +490,7 @@ "documentation":"

The location of AccessDescription information.

" } }, - "documentation":"

Provides access information used by the authorityInfoAccess and subjectInfoAccess extensions described in RFC 5280.

", - "box":true + "documentation":"

Provides access information used by the authorityInfoAccess and subjectInfoAccess extensions described in RFC 5280.

" }, "AccessDescriptionList":{ "type":"list", @@ -580,7 +580,7 @@ "type":"string", "max":4096, "min":1, - "pattern":"^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$" + "pattern":"(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?" }, "Boolean":{"type":"boolean"}, "CertificateAuthorities":{ @@ -736,7 +736,7 @@ "type":"string", "max":253, "min":0, - "pattern":"^[-a-zA-Z0-9;/?:@&=+$,%_.!~*()']*$" + "pattern":"[-a-zA-Z0-9;/?:@&=+$,%_.!~*()']*" }, "ConcurrentModificationException":{ "type":"structure", @@ -870,8 +870,7 @@ }, "ExpirationInDays":{ "shape":"Integer1To5000", - "documentation":"

Validity period of the CRL in days.

", - "box":true + "documentation":"

Validity period of the CRL in days.

" }, "CustomCname":{ "shape":"CnameString", @@ -981,7 +980,7 @@ "type":"string", "max":64, "min":0, - "pattern":"^([0-2])\\.([0-9]|([0-3][0-9]))((\\.([0-9]+)){0,126})$" + "pattern":"([0-2])\\.([0-9]|([0-3][0-9]))((\\.([0-9]+)){0,126})" }, "DeleteCertificateAuthorityRequest":{ "type":"structure", @@ -1284,7 +1283,7 @@ "members":{ "ResourceArn":{ "shape":"Arn", - "documentation":"

The Amazon Resource Number (ARN) of the private CA that will have its policy retrieved. You can find the CA's ARN by calling the ListCertificateAuthorities action.

" + "documentation":"

The Amazon Resource Number (ARN) of the private CA that will have its policy retrieved. You can find the CA's ARN by calling the ListCertificateAuthorities action.

 </p> 
" } } }, @@ -1326,6 +1325,7 @@ }, "Integer1To5000":{ "type":"integer", + "box":true, "max":5000, "min":1 }, @@ -1508,14 +1508,14 @@ "ListCertificateAuthoritiesRequest":{ "type":"structure", "members":{ - "NextToken":{ - "shape":"NextToken", - "documentation":"

Use this parameter when paginating results in a subsequent request after you receive a response with truncated results. Set it to the value of the NextToken parameter from the response you just received.

" - }, "MaxResults":{ "shape":"MaxResults", "documentation":"

Use this parameter when paginating results to specify the maximum number of items to return in the response on each page. If additional items exist beyond the number you specify, the NextToken element is sent in the response. Use this NextToken value in a subsequent request to retrieve additional items.

Although the maximum value is 1000, the action only returns a maximum of 100 items.

" }, + "NextToken":{ + "shape":"NextToken", + "documentation":"

Use this parameter when paginating results in a subsequent request after you receive a response with truncated results. Set it to the value of the NextToken parameter from the response you just received.

" + }, "ResourceOwner":{ "shape":"ResourceOwner", "documentation":"

Use this parameter to filter the returned set of certificate authorities based on their owner. The default is SELF.

" @@ -1525,13 +1525,13 @@ "ListCertificateAuthoritiesResponse":{ "type":"structure", "members":{ - "CertificateAuthorities":{ - "shape":"CertificateAuthorities", - "documentation":"

Summary information about each certificate authority you have created.

" - }, "NextToken":{ "shape":"NextToken", "documentation":"

When the list is truncated, this value is present and should be used for the NextToken parameter in a subsequent pagination request.

" + }, + "CertificateAuthorities":{ + "shape":"CertificateAuthorities", + "documentation":"

Summary information about each certificate authority you have created.

" } } }, @@ -1539,30 +1539,30 @@ "type":"structure", "required":["CertificateAuthorityArn"], "members":{ - "CertificateAuthorityArn":{ - "shape":"Arn", - "documentation":"

The Amazon Resource Number (ARN) of the private CA to inspect. You can find the ARN by calling the ListCertificateAuthorities action. This must be of the form: arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012 You can get a private CA's ARN by running the ListCertificateAuthorities action.

" + "MaxResults":{ + "shape":"MaxResults", + "documentation":"

When paginating results, use this parameter to specify the maximum number of items to return in the response. If additional items exist beyond the number you specify, the NextToken element is sent in the response. Use this NextToken value in a subsequent request to retrieve additional items.

" }, "NextToken":{ "shape":"NextToken", "documentation":"

When paginating results, use this parameter in a subsequent request after you receive a response with truncated results. Set it to the value of NextToken from the response you just received.

" }, - "MaxResults":{ - "shape":"MaxResults", - "documentation":"

When paginating results, use this parameter to specify the maximum number of items to return in the response. If additional items exist beyond the number you specify, the NextToken element is sent in the response. Use this NextToken value in a subsequent request to retrieve additional items.

" + "CertificateAuthorityArn":{ + "shape":"Arn", + "documentation":"

The Amazon Resource Number (ARN) of the private CA to inspect. You can find the ARN by calling the ListCertificateAuthorities action. This must be of the form: arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012 You can get a private CA's ARN by running the ListCertificateAuthorities action.

" } } }, "ListPermissionsResponse":{ "type":"structure", "members":{ - "Permissions":{ - "shape":"PermissionList", - "documentation":"

Summary information about each permission assigned by the specified private CA, including the action enabled, the policy provided, and the time of creation.

" - }, "NextToken":{ "shape":"NextToken", "documentation":"

When the list is truncated, this value is present and should be used for the NextToken parameter in a subsequent pagination request.

" + }, + "Permissions":{ + "shape":"PermissionList", + "documentation":"

Summary information about each permission assigned by the specified private CA, including the action enabled, the policy provided, and the time of creation.

" } } }, @@ -1570,30 +1570,30 @@ "type":"structure", "required":["CertificateAuthorityArn"], "members":{ - "CertificateAuthorityArn":{ - "shape":"Arn", - "documentation":"

The Amazon Resource Name (ARN) that was returned when you called the CreateCertificateAuthority action. This must be of the form:

arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012

" + "MaxResults":{ + "shape":"MaxResults", + "documentation":"

Use this parameter when paginating results to specify the maximum number of items to return in the response. If additional items exist beyond the number you specify, the NextToken element is sent in the response. Use this NextToken value in a subsequent request to retrieve additional items.

" }, "NextToken":{ "shape":"NextToken", "documentation":"

Use this parameter when paginating results in a subsequent request after you receive a response with truncated results. Set it to the value of NextToken from the response you just received.

" }, - "MaxResults":{ - "shape":"MaxResults", - "documentation":"

Use this parameter when paginating results to specify the maximum number of items to return in the response. If additional items exist beyond the number you specify, the NextToken element is sent in the response. Use this NextToken value in a subsequent request to retrieve additional items.

" + "CertificateAuthorityArn":{ + "shape":"Arn", + "documentation":"

The Amazon Resource Name (ARN) that was returned when you called the CreateCertificateAuthority action. This must be of the form:

arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012

" } } }, "ListTagsResponse":{ "type":"structure", "members":{ - "Tags":{ - "shape":"TagList", - "documentation":"

The tags associated with your private CA.

" - }, "NextToken":{ "shape":"NextToken", "documentation":"

When the list is truncated, this value is present and should be used for the NextToken parameter in a subsequent pagination request.

" + }, + "Tags":{ + "shape":"TagList", + "documentation":"

The tags associated with your private CA.

" } } }, @@ -1623,6 +1623,7 @@ }, "MaxResults":{ "type":"integer", + "box":true, "max":1000, "min":1 }, @@ -1667,6 +1668,7 @@ }, "PermanentDeletionTimeInDays":{ "type":"integer", + "box":true, "max":30, "min":7 }, @@ -1758,13 +1760,14 @@ }, "PositiveLong":{ "type":"long", + "box":true, "min":1 }, "Principal":{ "type":"string", "max":128, "min":0, - "pattern":"^[^*]+$" + "pattern":"[^*]+" }, "PutPolicyRequest":{ "type":"structure", @@ -1901,11 +1904,12 @@ "type":"string", "max":255, "min":3, - "pattern":"^[-a-zA-Z0-9._/]+$" + "pattern":"[-a-zA-Z0-9._/]+" }, "S3Key":{ "type":"string", - "max":1024 + "max":1024, + "min":0 }, "S3ObjectAcl":{ "type":"string", @@ -2014,7 +2018,7 @@ "type":"string", "max":128, "min":1, - "pattern":"^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$" + "pattern":"([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)" }, "TagList":{ "type":"list", @@ -2026,7 +2030,7 @@ "type":"string", "max":256, "min":0, - "pattern":"^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$" + "pattern":"([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)" }, "TooManyTagsException":{ "type":"structure", @@ -2080,8 +2084,7 @@ "members":{ "Value":{ "shape":"PositiveLong", - "documentation":"

A long integer interpreted according to the value of Type, below.

", - "box":true + "documentation":"

A long integer interpreted according to the value of Type, below.

" }, "Type":{ "shape":"ValidityPeriodType", diff --git a/tools/code-generation/api-descriptions/arc-zonal-shift-2022-10-30.normal.json b/tools/code-generation/api-descriptions/arc-zonal-shift-2022-10-30.normal.json index c04fb3b03b2..4e90fa14514 100644 --- a/tools/code-generation/api-descriptions/arc-zonal-shift-2022-10-30.normal.json +++ b/tools/code-generation/api-descriptions/arc-zonal-shift-2022-10-30.normal.json @@ -5,11 +5,13 @@ "endpointPrefix":"arc-zonal-shift", "jsonVersion":"1.1", "protocol":"rest-json", + "protocols":["rest-json"], "serviceFullName":"AWS ARC - Zonal Shift", "serviceId":"ARC Zonal Shift", "signatureVersion":"v4", "signingName":"arc-zonal-shift", - "uid":"arc-zonal-shift-2022-10-30" + "uid":"arc-zonal-shift-2022-10-30", + "auth":["aws.auth#sigv4"] }, "operations":{ "CancelZonalShift":{ @@ -48,7 +50,7 @@ {"shape":"ValidationException"}, {"shape":"AccessDeniedException"} ], - "documentation":"

A practice run configuration for zonal autoshift is required when you enable zonal autoshift. A practice run configuration includes specifications for blocked dates and blocked time windows, and for Amazon CloudWatch alarms that you create to use with practice runs. The alarms that you specify are an outcome alarm, to monitor application health during practice runs and, optionally, a blocking alarm, to block practice runs from starting.

For more information, see Considerations when you configure zonal autoshift in the Amazon Route 53 Application Recovery Controller Developer Guide.

" + "documentation":"

A practice run configuration for zonal autoshift is required when you enable zonal autoshift. A practice run configuration includes specifications for blocked dates and blocked time windows, and for Amazon CloudWatch alarms that you create to use with practice runs. The alarms that you specify are an outcome alarm, to monitor application health during practice runs and, optionally, a blocking alarm, to block practice runs from starting.

When a resource has a practice run configuration, Route 53 ARC starts zonal shifts for the resource weekly, to shift traffic for practice runs. Practice runs help you to ensure that shifting away traffic from an Availability Zone during an autoshift is safe for your application.

For more information, see Considerations when you configure zonal autoshift in the Amazon Route 53 Application Recovery Controller Developer Guide.

" }, "DeletePracticeRunConfiguration":{ "name":"DeletePracticeRunConfiguration", @@ -70,6 +72,22 @@ "documentation":"

Deletes the practice run configuration for a resource. Before you can delete a practice run configuration for a resource., you must disable zonal autoshift for the resource. Practice runs must be configured for zonal autoshift to be enabled.

", "idempotent":true }, + "GetAutoshiftObserverNotificationStatus":{ + "name":"GetAutoshiftObserverNotificationStatus", + "http":{ + "method":"GET", + "requestUri":"/autoshift-observer-notification", + "responseCode":200 + }, + "input":{"shape":"GetAutoshiftObserverNotificationStatusRequest"}, + "output":{"shape":"GetAutoshiftObserverNotificationStatusResponse"}, + "errors":[ + {"shape":"InternalServerException"}, + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"} + ], + "documentation":"

Returns the status of autoshift observer notification. Autoshift observer notification enables you to be notified, through Amazon EventBridge, when there is an autoshift event for zonal autoshift.

If the status is ENABLED, Route 53 ARC includes all autoshift events when you use the EventBridge pattern Autoshift In Progress. When the status is DISABLED, Route 53 ARC includes only autoshift events for autoshifts when one or more of your resources is included in the autoshift.

For more information, see Notifications for practice runs and autoshifts in the Amazon Route 53 Application Recovery Controller Developer Guide.

" + }, "GetManagedResource":{ "name":"GetManagedResource", "http":{ @@ -103,7 +121,7 @@ {"shape":"ValidationException"}, {"shape":"AccessDeniedException"} ], - "documentation":"

Returns the active autoshifts for a specified resource.

" + "documentation":"

Returns a list of autoshifts for an Amazon Web Services Region. By default, the call returns only ACTIVE autoshifts. Optionally, you can specify the status parameter to return COMPLETED autoshifts.

" }, "ListManagedResources":{ "name":"ListManagedResources", @@ -137,7 +155,7 @@ {"shape":"ValidationException"}, {"shape":"AccessDeniedException"} ], - "documentation":"

Lists all active and completed zonal shifts in Amazon Route 53 Application Recovery Controller in your Amazon Web Services account in this Amazon Web Services Region. ListZonalShifts returns customer-started zonal shifts, as well as practice run zonal shifts that Route 53 ARC started on your behalf for zonal autoshift.

The ListZonalShifts operation does not list autoshifts. For more information about listing autoshifts, see \">ListAutoshifts.

" + "documentation":"

Lists all active and completed zonal shifts in Amazon Route 53 Application Recovery Controller in your Amazon Web Services account in this Amazon Web Services Region. ListZonalShifts returns customer-initiated zonal shifts, as well as practice run zonal shifts that Route 53 ARC started on your behalf for zonal autoshift.

The ListZonalShifts operation does not list autoshifts. For more information about listing autoshifts, see \">ListAutoshifts.

" }, "StartZonalShift":{ "name":"StartZonalShift", @@ -158,6 +176,24 @@ ], "documentation":"

You start a zonal shift to temporarily move load balancer traffic away from an Availability Zone in an Amazon Web Services Region, to help your application recover immediately, for example, from a developer's bad code deployment or from an Amazon Web Services infrastructure failure in a single Availability Zone. You can start a zonal shift in Route 53 ARC only for managed resources in your Amazon Web Services account in an Amazon Web Services Region. Resources are automatically registered with Route 53 ARC by Amazon Web Services services.

At this time, you can only start a zonal shift for Network Load Balancers and Application Load Balancers with cross-zone load balancing turned off.

When you start a zonal shift, traffic for the resource is no longer routed to the Availability Zone. The zonal shift is created immediately in Route 53 ARC. However, it can take a short time, typically up to a few minutes, for existing, in-progress connections in the Availability Zone to complete.

For more information, see Zonal shift in the Amazon Route 53 Application Recovery Controller Developer Guide.

" }, + "UpdateAutoshiftObserverNotificationStatus":{ + "name":"UpdateAutoshiftObserverNotificationStatus", + "http":{ + "method":"PUT", + "requestUri":"/autoshift-observer-notification", + "responseCode":200 + }, + "input":{"shape":"UpdateAutoshiftObserverNotificationStatusRequest"}, + "output":{"shape":"UpdateAutoshiftObserverNotificationStatusResponse"}, + "errors":[ + {"shape":"InternalServerException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"}, + {"shape":"AccessDeniedException"} + ], + "documentation":"

Update the status of autoshift observer notification. Autoshift observer notification enables you to be notified, through Amazon EventBridge, when there is an autoshift event for zonal autoshift.

If the status is ENABLED, Route 53 ARC includes all autoshift events when you use the EventBridge pattern Autoshift In Progress. When the status is DISABLED, Route 53 ARC includes only autoshift events for autoshifts when one or more of your resources is included in the autoshift.

For more information, see Notifications for practice runs and autoshifts in the Amazon Route 53 Application Recovery Controller Developer Guide.

", + "idempotent":true + }, "UpdatePracticeRunConfiguration":{ "name":"UpdatePracticeRunConfiguration", "http":{ @@ -194,7 +230,7 @@ {"shape":"ValidationException"}, {"shape":"AccessDeniedException"} ], - "documentation":"

You can update the zonal autoshift status for a resource, to enable or disable zonal autoshift. When zonal autoshift is ENABLED, Amazon Web Services shifts away resource traffic from an Availability Zone, on your behalf, when Amazon Web Services determines that there's an issue in the Availability Zone that could potentially affect customers.

", + "documentation":"

The zonal autoshift configuration for a resource includes the practice run configuration and the status for running autoshifts, zonal autoshift status. When a resource has a practice run configuation, Route 53 ARC starts weekly zonal shifts for the resource, to shift traffic away from an Availability Zone. Weekly practice runs help you to make sure that your application can continue to operate normally with the loss of one Availability Zone.

You can update the zonal autoshift autoshift status to enable or disable zonal autoshift. When zonal autoshift is ENABLED, you authorize Amazon Web Services to shift away resource traffic for an application from an Availability Zone during events, on your behalf, to help reduce time to recovery. Traffic is also shifted away for the required weekly practice runs.

", "idempotent":true }, "UpdateZonalShift":{ @@ -266,11 +302,11 @@ "members":{ "appliedStatus":{ "shape":"AutoshiftAppliedStatus", - "documentation":"

The appliedStatus field specifies which application traffic shift is in effect for a resource when there is more than one traffic shift active. There can be more than one application traffic shift in progress at the same time - that is, practice run zonal shifts, customer-started zonal shifts, or an autoshift. The appliedStatus field for an autoshift for a resource can have one of two values: APPLIED or NOT_APPLIED. The zonal shift or autoshift that is currently in effect for the resource has an applied status set to APPLIED.

The overall principle for precedence is that zonal shifts that you start as a customer take precedence autoshifts, which take precedence over practice runs. That is, customer-started zonal shifts > autoshifts > practice run zonal shifts.

For more information, see How zonal autoshift and practice runs work in the Amazon Route 53 Application Recovery Controller Developer Guide.

" + "documentation":"

The appliedStatus field specifies which application traffic shift is in effect for a resource when there is more than one active traffic shift. There can be more than one application traffic shift in progress at the same time - that is, practice run zonal shifts, customer-initiated zonal shifts, or an autoshift. The appliedStatus field for a shift that is in progress for a resource can have one of two values: APPLIED or NOT_APPLIED. The zonal shift or autoshift that is currently in effect for the resource has an appliedStatus set to APPLIED.

The overall principle for precedence is that zonal shifts that you start as a customer take precedence autoshifts, which take precedence over practice runs. That is, customer-initiated zonal shifts > autoshifts > practice run zonal shifts.

For more information, see How zonal autoshift and practice runs work in the Amazon Route 53 Application Recovery Controller Developer Guide.

" }, "awayFrom":{ "shape":"AvailabilityZone", - "documentation":"

The Availability Zone that traffic is shifted away from for a resource, when Amazon Web Services starts an autoshift. Until the autoshift ends, traffic for the resource is instead directed to other Availability Zones in the Amazon Web Services Region. An autoshift can end for a resource, for example, when Amazon Web Services ends the autoshift for the Availability Zone or when you disable zonal autoshift for the resource.

" + "documentation":"

The Availability Zone (for example, use1-az1) that traffic is shifted away from for a resource, when Amazon Web Services starts an autoshift. Until the autoshift ends, traffic for the resource is instead directed to other Availability Zones in the Amazon Web Services Region. An autoshift can end for a resource, for example, when Amazon Web Services ends the autoshift for the Availability Zone or when you disable zonal autoshift for the resource.

" }, "startTime":{ "shape":"StartTime", @@ -279,6 +315,13 @@ }, "documentation":"

A complex structure that lists an autoshift that is currently active for a managed resource and information about the autoshift.

For more information, see How zonal autoshift and practice runs work in the Amazon Route 53 Application Recovery Controller Developer Guide.

" }, + "AutoshiftObserverNotificationStatus":{ + "type":"string", + "enum":[ + "ENABLED", + "DISABLED" + ] + }, "AutoshiftSummaries":{ "type":"list", "member":{"shape":"AutoshiftSummary"} @@ -294,7 +337,7 @@ "members":{ "awayFrom":{ "shape":"AvailabilityZone", - "documentation":"

The Availability Zone that traffic is shifted away from for a resource when Amazon Web Services starts an autoshift. Until the autoshift ends, traffic for the resource is instead directed to other Availability Zones in the Amazon Web Services Region. An autoshift can end for a resource, for example, when Amazon Web Services ends the autoshift for the Availability Zone or when you disable zonal autoshift for the resource.

" + "documentation":"

The Availability Zone (for example, use1-az1) that traffic is shifted away from for a resource when Amazon Web Services starts an autoshift. Until the autoshift ends, traffic for the resource is instead directed to other Availability Zones in the Amazon Web Services Region. An autoshift can end for a resource, for example, when Amazon Web Services ends the autoshift for the Availability Zone or when you disable zonal autoshift for the resource.

" }, "endTime":{ "shape":"ExpiryTime", @@ -404,14 +447,14 @@ "members":{ "alarmIdentifier":{ "shape":"ResourceArn", - "documentation":"

The Amazon Resource Name (ARN) for the Amazon CloudWatch alarm that you specify as a control condition for a practice run.

" + "documentation":"

The Amazon Resource Name (ARN) for an Amazon CloudWatch alarm that you specify as a control condition for a practice run.

" }, "type":{ "shape":"ControlConditionType", - "documentation":"

The type of alarm specified for a practice run. The only valid value is CLOUDWATCH.

" + "documentation":"

The type of alarm specified for a practice run. You can only specify Amazon CloudWatch alarms for practice runs, so the only valid value is CLOUDWATCH.

" } }, - "documentation":"

A control condition is an alarm that you specify for a practice run. When you configure practice runs with zonal autoshift for a resource, you specify Amazon CloudWatch alarms, which you create in CloudWatch to use with the practice run. The alarms that you specify are an outcome alarm, to monitor application health during practice runs and, optionally, a blocking alarm, to block practice runs from starting.

Control condition alarms do not apply for autoshifts.

For more information, see Considerations when you configure zonal autoshift in the Amazon Route 53 Application Recovery Controller Developer Guide.

" + "documentation":"

A control condition is an alarm that you specify for a practice run. When you configure practice runs with zonal autoshift for a resource, you specify Amazon CloudWatch alarms, which you create in CloudWatch to use with the practice run. The alarms that you specify are an outcome alarm, to monitor application health during practice runs and, optionally, a blocking alarm, to block practice runs from starting or to interrupt a practice run in progress.

Control condition alarms do not apply for autoshifts.

For more information, see Considerations when you configure zonal autoshift in the Amazon Route 53 Application Recovery Controller Developer Guide.

" }, "ControlConditionType":{ "type":"string", @@ -448,7 +491,7 @@ }, "resourceIdentifier":{ "shape":"ResourceIdentifier", - "documentation":"

The identifier of the resource to shift away traffic for when a practice run starts a zonal shift. The identifier is the Amazon Resource Name (ARN) for the resource.

At this time, supported resources are Network Load Balancers and Application Load Balancers with cross-zone load balancing turned off.

" + "documentation":"

The identifier of the resource that Amazon Web Services shifts traffic for with a practice run zonal shift. The identifier is the Amazon Resource Name (ARN) for the resource.

At this time, supported resources are Network Load Balancers and Application Load Balancers with cross-zone load balancing turned off.

" } } }, @@ -475,7 +518,7 @@ }, "zonalAutoshiftStatus":{ "shape":"ZonalAutoshiftStatus", - "documentation":"

The status for zonal autoshift for a resource. When you specify the autoshift status as ENABLED, Amazon Web Services shifts traffic away from shifts away application resource traffic from an Availability Zone, on your behalf, when Amazon Web Services determines that there's an issue in the Availability Zone that could potentially affect customers.

When you enable zonal autoshift, you must also configure practice runs for the resource.

" + "documentation":"

The status for zonal autoshift for a resource. When you specify ENABLED for the autoshift status, Amazon Web Services shifts traffic away from shifts away application resource traffic from an Availability Zone, on your behalf, when internal telemetry indicates that there is an Availability Zone impairment that could potentially impact customers.

When you enable zonal autoshift, you must also configure practice runs for the resource.

" } } }, @@ -520,13 +563,28 @@ "pattern":"^([1-9][0-9]*)(m|h)$" }, "ExpiryTime":{"type":"timestamp"}, + "GetAutoshiftObserverNotificationStatusRequest":{ + "type":"structure", + "members":{ + } + }, + "GetAutoshiftObserverNotificationStatusResponse":{ + "type":"structure", + "required":["status"], + "members":{ + "status":{ + "shape":"AutoshiftObserverNotificationStatus", + "documentation":"

The status of autoshift observer notification. If the status is ENABLED, Route 53 ARC includes all autoshift events when you use the Amazon EventBridge pattern Autoshift In Progress. When the status is DISABLED, Route 53 ARC includes only autoshift events for autoshifts when one or more of your resources is included in the autoshift.

" + } + } + }, "GetManagedResourceRequest":{ "type":"structure", "required":["resourceIdentifier"], "members":{ "resourceIdentifier":{ "shape":"ResourceIdentifier", - "documentation":"

The identifier for the resource to shift away traffic for. The identifier is the Amazon Resource Name (ARN) for the resource.

At this time, supported resources are Network Load Balancers and Application Load Balancers with cross-zone load balancing turned off.

", + "documentation":"

The identifier for the resource that Amazon Web Services shifts traffic for. The identifier is the Amazon Resource Name (ARN) for the resource.

At this time, supported resources are Network Load Balancers and Application Load Balancers with cross-zone load balancing turned off.

", "location":"uri", "locationName":"resourceIdentifier" } @@ -758,7 +816,7 @@ "documentation":"

The outcome alarm for practice runs is an alarm that you specify that ends a practice run when the alarm is in an ALARM state.

" } }, - "documentation":"

A practice run configuration for a resource includes the Amazon CloudWatch alarms that you've specified for a practice run, as well as any blocked dates or blocked windows for the practice run.

You can update or delete a practice run configuration. Before you delete a practice run configuration, you must disable zonal autoshift for the resource. A practice run configuration is required when zonal autoshift is enabled.

" + "documentation":"

A practice run configuration for a resource includes the Amazon CloudWatch alarms that you've specified for a practice run, as well as any blocked dates or blocked windows for the practice run. When a resource has a practice run configuration, Route 53 ARC shifts traffic for the resource weekly for practice runs.

Practice runs are required for zonal autoshift. The zonal shifts that Route 53 ARC starts for practice runs help you to ensure that shifting away traffic from an Availability Zone during an autoshift is safe for your application.

You can update or delete a practice run configuration. Before you delete a practice run configuration, you must disable zonal autoshift for the resource. A practice run configuration is required when zonal autoshift is enabled.

" }, "PracticeRunOutcome":{ "type":"string", @@ -810,7 +868,7 @@ "members":{ "awayFrom":{ "shape":"AvailabilityZone", - "documentation":"

The Availability Zone that traffic is moved away from for a resource when you start a zonal shift. Until the zonal shift expires or you cancel it, traffic for the resource is instead moved to other Availability Zones in the Amazon Web Services Region.

" + "documentation":"

The Availability Zone (for example, use1-az1) that traffic is moved away from for a resource when you start a zonal shift. Until the zonal shift expires or you cancel it, traffic for the resource is instead moved to other Availability Zones in the Amazon Web Services Region.

" }, "comment":{ "shape":"ZonalShiftComment", @@ -822,7 +880,7 @@ }, "resourceIdentifier":{ "shape":"ResourceIdentifier", - "documentation":"

The identifier for the resource to shift away traffic for. The identifier is the Amazon Resource Name (ARN) for the resource.

At this time, supported resources are Network Load Balancers and Application Load Balancers with cross-zone load balancing turned off.

" + "documentation":"

The identifier for the resource that Amazon Web Services shifts traffic for. The identifier is the Amazon Resource Name (ARN) for the resource.

At this time, supported resources are Network Load Balancers and Application Load Balancers with cross-zone load balancing turned off.

" } } }, @@ -839,6 +897,26 @@ }, "exception":true }, + "UpdateAutoshiftObserverNotificationStatusRequest":{ + "type":"structure", + "required":["status"], + "members":{ + "status":{ + "shape":"AutoshiftObserverNotificationStatus", + "documentation":"

The status to set for autoshift observer notification. If the status is ENABLED, Route 53 ARC includes all autoshift events when you use the Amazon EventBridge pattern Autoshift In Progress. When the status is DISABLED, Route 53 ARC includes only autoshift events for autoshifts when one or more of your resources is included in the autoshift.

" + } + } + }, + "UpdateAutoshiftObserverNotificationStatusResponse":{ + "type":"structure", + "required":["status"], + "members":{ + "status":{ + "shape":"AutoshiftObserverNotificationStatus", + "documentation":"

The status for autoshift observer notification.

" + } + } + }, "UpdatePracticeRunConfigurationRequest":{ "type":"structure", "required":["resourceIdentifier"], @@ -909,7 +987,7 @@ }, "zonalAutoshiftStatus":{ "shape":"ZonalAutoshiftStatus", - "documentation":"

The zonal autoshift status for the resource that you want to update the zonal autoshift configuration for.

" + "documentation":"

The zonal autoshift status for the resource that you want to update the zonal autoshift configuration for. Choose ENABLED to authorize Amazon Web Services to shift away resource traffic for an application from an Availability Zone during events, on your behalf, to help reduce time to recovery.

" } } }, @@ -926,7 +1004,7 @@ }, "zonalAutoshiftStatus":{ "shape":"ZonalAutoshiftStatus", - "documentation":"

The zonal autoshift status for the resource that you updated the zonal autoshift configuration for.

" + "documentation":"

The updated zonal autoshift status for the resource.

" } } }, @@ -1012,7 +1090,7 @@ "members":{ "awayFrom":{ "shape":"AvailabilityZone", - "documentation":"

The Availability Zone that traffic is moved away from for a resource when you start a zonal shift. Until the zonal shift expires or you cancel it, traffic for the resource is instead moved to other Availability Zones in the Amazon Web Services Region.

" + "documentation":"

The Availability Zone (for example, use1-az1) that traffic is moved away from for a resource when you start a zonal shift. Until the zonal shift expires or you cancel it, traffic for the resource is instead moved to other Availability Zones in the Amazon Web Services Region.

" }, "comment":{ "shape":"ZonalShiftComment", @@ -1020,11 +1098,11 @@ }, "expiryTime":{ "shape":"ExpiryTime", - "documentation":"

The expiry time (expiration time) for a customer-started zonal shift. A zonal shift is temporary and must be set to expire when you start the zonal shift. You can initially set a zonal shift to expire in a maximum of three days (72 hours). However, you can update a zonal shift to set a new expiration at any time.

When you start a zonal shift, you specify how long you want it to be active, which Route 53 ARC converts to an expiry time (expiration time). You can cancel a zonal shift when you're ready to restore traffic to the Availability Zone, or just wait for it to expire. Or you can update the zonal shift to specify another length of time to expire in.

" + "documentation":"

The expiry time (expiration time) for a customer-initiated zonal shift. A zonal shift is temporary and must be set to expire when you start the zonal shift. You can initially set a zonal shift to expire in a maximum of three days (72 hours). However, you can update a zonal shift to set a new expiration at any time.

When you start a zonal shift, you specify how long you want it to be active, which Route 53 ARC converts to an expiry time (expiration time). You can cancel a zonal shift when you're ready to restore traffic to the Availability Zone, or just wait for it to expire. Or you can update the zonal shift to specify another length of time to expire in.

" }, "resourceIdentifier":{ "shape":"ResourceIdentifier", - "documentation":"

The identifier for the resource to shift away traffic for. The identifier is the Amazon Resource Name (ARN) for the resource.

At this time, supported resources are Network Load Balancers and Application Load Balancers with cross-zone load balancing turned off.

" + "documentation":"

The identifier for the resource that Amazon Web Services shifts traffic for. The identifier is the Amazon Resource Name (ARN) for the resource.

At this time, supported resources are Network Load Balancers and Application Load Balancers with cross-zone load balancing turned off.

" }, "startTime":{ "shape":"StartTime", @@ -1065,19 +1143,19 @@ "members":{ "appliedStatus":{ "shape":"AppliedStatus", - "documentation":"

The appliedStatus field specifies which application traffic shift is in effect for a resource when there is more than one traffic shift active. There can be more than one application traffic shift in progress at the same time - that is, practice run zonal shifts, customer-started zonal shifts, or an autoshift. The appliedStatus field for an autoshift for a resource can have one of two values: APPLIED or NOT_APPLIED. The zonal shift or autoshift that is currently in effect for the resource has an applied status set to APPLIED.

The overall principle for precedence is that zonal shifts that you start as a customer take precedence autoshifts, which take precedence over practice runs. That is, customer-started zonal shifts > autoshifts > practice run zonal shifts.

For more information, see How zonal autoshift and practice runs work in the Amazon Route 53 Application Recovery Controller Developer Guide.

" + "documentation":"

The appliedStatus field specifies which application traffic shift is in effect for a resource when there is more than one active traffic shift. There can be more than one application traffic shift in progress at the same time - that is, practice run zonal shifts, customer-initiated zonal shifts, or an autoshift. The appliedStatus field for a shift that is in progress for a resource can have one of two values: APPLIED or NOT_APPLIED. The zonal shift or autoshift that is currently in effect for the resource has an appliedStatus set to APPLIED.

The overall principle for precedence is that zonal shifts that you start as a customer take precedence autoshifts, which take precedence over practice runs. That is, customer-initiated zonal shifts > autoshifts > practice run zonal shifts.

For more information, see How zonal autoshift and practice runs work in the Amazon Route 53 Application Recovery Controller Developer Guide.

" }, "awayFrom":{ "shape":"AvailabilityZone", - "documentation":"

The Availability Zone that traffic is moved away from for a resource when you start a zonal shift. Until the zonal shift expires or you cancel it, traffic for the resource is instead moved to other Availability Zones in the Amazon Web Services Region.

" + "documentation":"

The Availability Zone (for example, use1-az1) that traffic is moved away from for a resource when you start a zonal shift. Until the zonal shift expires or you cancel it, traffic for the resource is instead moved to other Availability Zones in the Amazon Web Services Region.

" }, "comment":{ "shape":"ZonalShiftComment", - "documentation":"

A comment that you enter about the zonal shift. Only the latest comment is retained; no comment history is maintained. That is, a new comment overwrites any existing comment string.

" + "documentation":"

A comment that you enter for a customer-initiated zonal shift. Only the latest comment is retained; no comment history is maintained. That is, a new comment overwrites any existing comment string.

" }, "expiryTime":{ "shape":"ExpiryTime", - "documentation":"

The expiry time (expiration time) for a customer-started zonal shift. A zonal shift is temporary and must be set to expire when you start the zonal shift. You can initially set a zonal shift to expire in a maximum of three days (72 hours). However, you can update a zonal shift to set a new expiration at any time.

When you start a zonal shift, you specify how long you want it to be active, which Route 53 ARC converts to an expiry time (expiration time). You can cancel a zonal shift when you're ready to restore traffic to the Availability Zone, or just wait for it to expire. Or you can update the zonal shift to specify another length of time to expire in.

" + "documentation":"

The expiry time (expiration time) for a customer-initiated zonal shift. A zonal shift is temporary and must be set to expire when you start the zonal shift. You can initially set a zonal shift to expire in a maximum of three days (72 hours). However, you can update a zonal shift to set a new expiration at any time.

When you start a zonal shift, you specify how long you want it to be active, which Route 53 ARC converts to an expiry time (expiration time). You can cancel a zonal shift when you're ready to restore traffic to the Availability Zone, or just wait for it to expire. Or you can update the zonal shift to specify another length of time to expire in.

" }, "practiceRunOutcome":{ "shape":"PracticeRunOutcome", @@ -1124,7 +1202,7 @@ "members":{ "awayFrom":{ "shape":"AvailabilityZone", - "documentation":"

The Availability Zone that traffic is moved away from for a resource when you start a zonal shift. Until the zonal shift expires or you cancel it, traffic for the resource is instead moved to other Availability Zones in the Amazon Web Services Region.

" + "documentation":"

The Availability Zone (for example, use1-az1) that traffic is moved away from for a resource when you start a zonal shift. Until the zonal shift expires or you cancel it, traffic for the resource is instead moved to other Availability Zones in the Amazon Web Services Region.

" }, "comment":{ "shape":"ZonalShiftComment", @@ -1132,7 +1210,7 @@ }, "expiryTime":{ "shape":"ExpiryTime", - "documentation":"

The expiry time (expiration time) for a customer-started zonal shift. A zonal shift is temporary and must be set to expire when you start the zonal shift. You can initially set a zonal shift to expire in a maximum of three days (72 hours). However, you can update a zonal shift to set a new expiration at any time.

When you start a zonal shift, you specify how long you want it to be active, which Route 53 ARC converts to an expiry time (expiration time). You can cancel a zonal shift when you're ready to restore traffic to the Availability Zone, or just wait for it to expire. Or you can update the zonal shift to specify another length of time to expire in.

" + "documentation":"

The expiry time (expiration time) for a customer-initiated zonal shift. A zonal shift is temporary and must be set to expire when you start the zonal shift. You can initially set a zonal shift to expire in a maximum of three days (72 hours). However, you can update a zonal shift to set a new expiration at any time.

When you start a zonal shift, you specify how long you want it to be active, which Route 53 ARC converts to an expiry time (expiration time). You can cancel a zonal shift when you're ready to restore traffic to the Availability Zone, or just wait for it to expire. Or you can update the zonal shift to specify another length of time to expire in.

" }, "practiceRunOutcome":{ "shape":"PracticeRunOutcome", @@ -1155,12 +1233,12 @@ "documentation":"

The identifier of a zonal shift.

" } }, - "documentation":"

Lists information about zonal shifts in Amazon Route 53 Application Recovery Controller, including zonal shifts that you start yourself and zonal shifts that Route 53 ARC starts on your behalf for practice runs with zonal autoshift.

Zonal shifts are temporary, including customer-started zonal shifts and the zonal autoshift practice run zonal shifts that Route 53 ARC starts weekly, on your behalf. A zonal shift that a customer starts can be active for up to three days (72 hours). A practice run zonal shift has a 30 minute duration.

" + "documentation":"

Lists information about zonal shifts in Amazon Route 53 Application Recovery Controller, including zonal shifts that you start yourself and zonal shifts that Route 53 ARC starts on your behalf for practice runs with zonal autoshift.

Zonal shifts are temporary, including customer-initiated zonal shifts and the zonal autoshift practice run zonal shifts that Route 53 ARC starts weekly, on your behalf. A zonal shift that a customer starts can be active for up to three days (72 hours). A practice run zonal shift has a 30 minute duration.

" }, "ZonalShiftsInResource":{ "type":"list", "member":{"shape":"ZonalShiftInResource"} } }, - "documentation":"

Welcome to the Zonal Shift API Reference Guide for Amazon Route 53 Application Recovery Controller (Route 53 ARC).

You can start a zonal shift to move traffic for a load balancer resource away from an Availability Zone to help your application recover quickly from an impairment in an Availability Zone. For example, you can recover your application from a developer's bad code deployment or from an Amazon Web Services infrastructure failure in a single Availability Zone.

You can also configure zonal autoshift for a load balancer resource. Zonal autoshift is a capability in Route 53 ARC where Amazon Web Services shifts away application resource traffic from an Availability Zone, on your behalf, to help reduce your time to recovery during events. Amazon Web Services shifts away traffic for resources that are enabled for zonal autoshift whenever Amazon Web Services determines that there's an issue in the Availability Zone that could potentially affect customers.

To ensure that zonal autoshift is safe for your application, you must also configure practice runs when you enable zonal autoshift for a resource. Practice runs start weekly zonal shifts for a resource, to shift traffic for the resource out of an Availability Zone. Practice runs make sure, on a regular basis, that you have enough capacity in all the Availability Zones in an Amazon Web Services Region for your application to continue to operate normally when traffic for a resource is shifted away from one Availability Zone.

You must prescale resource capacity in all Availability Zones in the Region where your application is deployed, before you configure practice runs or enable zonal autoshift for a resource. You should not rely on scaling on demand when an autoshift or practice run starts.

For more information about using zonal shift and zonal autoshift, see the Amazon Route 53 Application Recovery Controller Developer Guide.

" + "documentation":"

Welcome to the API Reference Guide for zonal shift and zonal autoshift in Amazon Route 53 Application Recovery Controller (Route 53 ARC).

You can start a zonal shift to move traffic for a load balancer resource away from an Availability Zone to help your application recover quickly from an impairment in an Availability Zone. For example, you can recover your application from a developer's bad code deployment or from an Amazon Web Services infrastructure failure in a single Availability Zone.

You can also configure zonal autoshift for supported load balancer resources. Zonal autoshift is a capability in Route 53 ARC where you authorize Amazon Web Services to shift away application resource traffic from an Availability Zone during events, on your behalf, to help reduce your time to recovery. Amazon Web Services starts an autoshift when internal telemetry indicates that there is an Availability Zone impairment that could potentially impact customers.

To help make sure that zonal autoshift is safe for your application, you must also configure practice runs when you enable zonal autoshift for a resource. Practice runs start weekly zonal shifts for a resource, to shift traffic for the resource away from an Availability Zone. Practice runs help you to make sure, on a regular basis, that you have enough capacity in all the Availability Zones in an Amazon Web Services Region for your application to continue to operate normally when traffic for a resource is shifted away from one Availability Zone.

Before you configure practice runs or enable zonal autoshift, we strongly recommend that you prescale your application resource capacity in all Availability Zones in the Region where your application resources are deployed. You should not rely on scaling on demand when an autoshift or practice run starts. Zonal autoshift, including practice runs, works independently, and does not wait for auto scaling actions to complete. Relying on auto scaling, instead of pre-scaling, can result in loss of availability.

If you use auto scaling to handle regular cycles of traffic, we strongly recommend that you configure the minimum capacity of your auto scaling to continue operating normally with the loss of an Availability Zone.

Be aware that Route 53 ARC does not inspect the health of individual resources. Amazon Web Services only starts an autoshift when Amazon Web Services telemetry detects that there is an Availability Zone impairment that could potentially impact customers. In some cases, resources might be shifted away that are not experiencing impact.

For more information about using zonal shift and zonal autoshift, see the Amazon Route 53 Application Recovery Controller Developer Guide.

" } diff --git a/tools/code-generation/api-descriptions/globalaccelerator-2018-08-08.normal.json b/tools/code-generation/api-descriptions/globalaccelerator-2018-08-08.normal.json index 0f8f1811cc2..518a7cbd9f6 100644 --- a/tools/code-generation/api-descriptions/globalaccelerator-2018-08-08.normal.json +++ b/tools/code-generation/api-descriptions/globalaccelerator-2018-08-08.normal.json @@ -94,7 +94,9 @@ "errors":[ {"shape":"InternalServiceErrorException"}, {"shape":"InvalidArgumentException"}, - {"shape":"LimitExceededException"} + {"shape":"LimitExceededException"}, + {"shape":"AccessDeniedException"}, + {"shape":"TransactionInProgressException"} ], "documentation":"

Create an accelerator. An accelerator includes one or more listeners that process inbound connections and direct traffic to one or more endpoint groups, each of which includes endpoints, such as Network Load Balancers.

Global Accelerator is a global service that supports endpoints in multiple Amazon Web Services Regions but you must specify the US West (Oregon) Region to create, update, or otherwise work with accelerators. That is, for example, specify --region us-west-2 on Amazon Web Services CLI commands.

" }, @@ -127,7 +129,8 @@ {"shape":"InternalServiceErrorException"}, {"shape":"InvalidArgumentException"}, {"shape":"LimitExceededException"}, - {"shape":"AccessDeniedException"} + {"shape":"AccessDeniedException"}, + {"shape":"TransactionInProgressException"} ], "documentation":"

Create a custom routing accelerator. A custom routing accelerator directs traffic to one of possibly thousands of Amazon EC2 instance destinations running in a single or multiple virtual private clouds (VPC) subnet endpoints.

Be aware that, by default, all destination EC2 instances in a VPC subnet endpoint cannot receive traffic. To enable all destinations to receive traffic, or to specify individual port mappings that can receive traffic, see the AllowCustomRoutingTraffic operation.

Global Accelerator is a global service that supports endpoints in multiple Amazon Web Services Regions but you must specify the US West (Oregon) Region to create, update, or otherwise work with accelerators. That is, for example, specify --region us-west-2 on Amazon Web Services CLI commands.

" }, @@ -216,7 +219,8 @@ {"shape":"AcceleratorNotDisabledException"}, {"shape":"AssociatedListenerFoundException"}, {"shape":"InternalServiceErrorException"}, - {"shape":"InvalidArgumentException"} + {"shape":"InvalidArgumentException"}, + {"shape":"TransactionInProgressException"} ], "documentation":"

Delete an accelerator. Before you can delete an accelerator, you must disable it and remove all dependent resources (listeners and endpoint groups). To disable the accelerator, update the accelerator to set Enabled to false.

When you create an accelerator, by default, Global Accelerator provides you with a set of two static IP addresses. Alternatively, you can bring your own IP address ranges to Global Accelerator and assign IP addresses from those ranges.

The IP addresses are assigned to your accelerator for as long as it exists, even if you disable the accelerator and it no longer accepts or routes traffic. However, when you delete an accelerator, you lose the static IP addresses that are assigned to the accelerator, so you can no longer route traffic by using them. As a best practice, ensure that you have permissions in place to avoid inadvertently deleting accelerators. You can use IAM policies with Global Accelerator to limit the users who have permissions to delete an accelerator. For more information, see Identity and access management in the Global Accelerator Developer Guide.

" }, @@ -248,7 +252,8 @@ {"shape":"AcceleratorNotDisabledException"}, {"shape":"AssociatedListenerFoundException"}, {"shape":"InternalServiceErrorException"}, - {"shape":"InvalidArgumentException"} + {"shape":"InvalidArgumentException"}, + {"shape":"TransactionInProgressException"} ], "documentation":"

Delete a custom routing accelerator. Before you can delete an accelerator, you must disable it and remove all dependent resources (listeners and endpoint groups). To disable the accelerator, update the accelerator to set Enabled to false.

When you create a custom routing accelerator, by default, Global Accelerator provides you with a set of two static IP addresses.

The IP addresses are assigned to your accelerator for as long as it exists, even if you disable the accelerator and it no longer accepts or routes traffic. However, when you delete an accelerator, you lose the static IP addresses that are assigned to the accelerator, so you can no longer route traffic by using them. As a best practice, ensure that you have permissions in place to avoid inadvertently deleting accelerators. You can use IAM policies with Global Accelerator to limit the users who have permissions to delete an accelerator. For more information, see Identity and access management in the Global Accelerator Developer Guide.

" }, @@ -677,6 +682,9 @@ "output":{"shape":"ListTagsForResourceResponse"}, "errors":[ {"shape":"AcceleratorNotFoundException"}, + {"shape":"AttachmentNotFoundException"}, + {"shape":"EndpointGroupNotFoundException"}, + {"shape":"ListenerNotFoundException"}, {"shape":"InternalServiceErrorException"}, {"shape":"InvalidArgumentException"} ], @@ -774,7 +782,9 @@ {"shape":"AcceleratorNotFoundException"}, {"shape":"AccessDeniedException"}, {"shape":"InternalServiceErrorException"}, - {"shape":"InvalidArgumentException"} + {"shape":"InvalidArgumentException"}, + {"shape":"TransactionInProgressException"}, + {"shape":"ConflictException"} ], "documentation":"

Update an accelerator to make changes, such as the following:

  • Change the name of the accelerator.

  • Disable the accelerator so that it no longer accepts or routes traffic, or so that you can delete it.

  • Enable the accelerator, if it is disabled.

  • Change the IP address type to dual-stack if it is IPv4, or change the IP address type to IPv4 if it's dual-stack.

Be aware that static IP addresses remain assigned to your accelerator for as long as it exists, even if you disable the accelerator and it no longer accepts or routes traffic. However, when you delete the accelerator, you lose the static IP addresses that are assigned to it, so you can no longer route traffic by using them.

Global Accelerator is a global service that supports endpoints in multiple Amazon Web Services Regions but you must specify the US West (Oregon) Region to create, update, or otherwise work with accelerators. That is, for example, specify --region us-west-2 on Amazon Web Services CLI commands.

" }, @@ -790,7 +800,8 @@ {"shape":"AcceleratorNotFoundException"}, {"shape":"InternalServiceErrorException"}, {"shape":"InvalidArgumentException"}, - {"shape":"AccessDeniedException"} + {"shape":"AccessDeniedException"}, + {"shape":"TransactionInProgressException"} ], "documentation":"

Update the attributes for an accelerator.

" }, @@ -823,7 +834,9 @@ "errors":[ {"shape":"AcceleratorNotFoundException"}, {"shape":"InternalServiceErrorException"}, - {"shape":"InvalidArgumentException"} + {"shape":"InvalidArgumentException"}, + {"shape":"TransactionInProgressException"}, + {"shape":"ConflictException"} ], "documentation":"

Update a custom routing accelerator.

" }, @@ -839,7 +852,8 @@ {"shape":"AcceleratorNotFoundException"}, {"shape":"InternalServiceErrorException"}, {"shape":"InvalidArgumentException"}, - {"shape":"AccessDeniedException"} + {"shape":"AccessDeniedException"}, + {"shape":"TransactionInProgressException"} ], "documentation":"

Update the attributes for a custom routing accelerator.

" }, diff --git a/tools/code-generation/api-descriptions/pinpoint-2016-12-01.normal.json b/tools/code-generation/api-descriptions/pinpoint-2016-12-01.normal.json index 51061c10c38..883510339b5 100644 --- a/tools/code-generation/api-descriptions/pinpoint-2016-12-01.normal.json +++ b/tools/code-generation/api-descriptions/pinpoint-2016-12-01.normal.json @@ -8,7 +8,10 @@ "protocol": "rest-json", "jsonVersion": "1.1", "uid": "pinpoint-2016-12-01", - "signatureVersion": "v4" + "signatureVersion": "v4", + "auth": [ + "aws.auth#sigv4" + ] }, "documentation": "

Doc Engage API - Amazon Pinpoint API

", "operations": { @@ -3896,7 +3899,9 @@ "shape": "ListTagsForResourceResponse", "documentation": "

The request succeeded.

" }, - "errors": [], + "errors": [ + + ], "documentation": "

Retrieves all the tags (keys and values) that are associated with an application, campaign, message template, or segment.

" }, "ListTemplateVersions": { @@ -4315,7 +4320,9 @@ "input": { "shape": "TagResourceRequest" }, - "errors": [], + "errors": [ + + ], "documentation": "

Adds one or more tags (keys and values) to an application, campaign, message template, or segment.

" }, "UntagResource": { @@ -4328,7 +4335,9 @@ "input": { "shape": "UntagResourceRequest" }, - "errors": [], + "errors": [ + + ], "documentation": "

Removes one or more tags (keys and values) from an application, campaign, message template, or segment.

" }, "UpdateAdmChannel": { @@ -6768,8 +6777,8 @@ "documentation": "

The verified email address to send the email from. The default address is the FromAddress specified for the email channel for the application.

" }, "Headers": { - "shape": "ListOfMessageHeader", - "documentation": "

The list of MessageHeaders for the email. You can have up to 15 MessageHeaders for each email.

" + "shape": "ListOfMessageHeader", + "documentation": "

The list of MessageHeaders for the email. You can have up to 15 MessageHeaders for each email.

" }, "HtmlBody": { "shape": "__string", @@ -8698,8 +8707,8 @@ "documentation": "

The subject line, or title, to use in email messages that are based on the message template.

" }, "Headers": { - "shape": "ListOfMessageHeader", - "documentation": "

The list of MessageHeaders for the email. You can have up to 15 Headers.

" + "shape": "ListOfMessageHeader", + "documentation": "

The list of MessageHeaders for the email. You can have up to 15 Headers.

" }, "tags": { "shape": "MapOf__string", @@ -8749,8 +8758,8 @@ "documentation": "

The subject line, or title, that's used in email messages that are based on the message template.

" }, "Headers": { - "shape": "ListOfMessageHeader", - "documentation": "

The list of MessageHeaders for the email. You can have up to 15 Headers.

" + "shape": "ListOfMessageHeader", + "documentation": "

The list of MessageHeaders for the email. You can have up to 15 Headers.

" }, "tags": { "shape": "MapOf__string", @@ -14389,31 +14398,31 @@ "documentation": "

The body of the email message, in plain text format. We recommend using plain text format for email clients that don't render HTML content and clients that are connected to high-latency networks, such as mobile devices.

" }, "Headers": { - "shape": "ListOfMessageHeader", - "documentation": "

The list of MessageHeaders for the email. You can have up to 15 Headers.

" + "shape": "ListOfMessageHeader", + "documentation": "

The list of MessageHeaders for the email. You can have up to 15 Headers.

" } }, "documentation": "

Specifies the contents of an email message, composed of a subject, a text part, and an HTML part.

" }, "ListOfMessageHeader": { - "type": "list", - "member": { - "shape": "MessageHeader" - } + "type": "list", + "member": { + "shape": "MessageHeader" + } }, "MessageHeader": { - "type": "structure", - "members": { - "Name": { - "shape": "__string", - "documentation": "

The name of the message header. The header name can contain up to 126 characters.

" - }, - "Value": { - "shape": "__string", - "documentation": "

The value of the message header. The header value can contain up to 870 characters, including the length of any rendered attributes. For example if you add the {CreationDate} attribute, it renders as YYYY-MM-DDTHH:MM:SS.SSSZ and is 24 characters in length.

" - } - }, - "documentation": "

Contains the name and value pair of an email header to add to your email. You can have up to 15 MessageHeaders. A header can contain information such as the sender, receiver, route, or timestamp.

" + "type": "structure", + "members": { + "Name": { + "shape": "__string", + "documentation": "

The name of the message header. The header name can contain up to 126 characters.

" + }, + "Value": { + "shape": "__string", + "documentation": "

The value of the message header. The header value can contain up to 870 characters, including the length of any rendered attributes. For example if you add the {CreationDate} attribute, it renders as YYYY-MM-DDTHH:MM:SS.SSSZ and is 24 characters in length.

" + } + }, + "documentation": "

Contains the name and value pair of an email header to add to your email. You can have up to 15 MessageHeaders. A header can contain information such as the sender, receiver, route, or timestamp.

" }, "SimpleEmailPart": { "type": "structure", @@ -16729,4 +16738,4 @@ } } } -} +} \ No newline at end of file diff --git a/tools/code-generation/api-descriptions/quicksight-2018-04-01.normal.json b/tools/code-generation/api-descriptions/quicksight-2018-04-01.normal.json index 60efac1c8bc..becd2890a89 100644 --- a/tools/code-generation/api-descriptions/quicksight-2018-04-01.normal.json +++ b/tools/code-generation/api-descriptions/quicksight-2018-04-01.normal.json @@ -13,6 +13,41 @@ "auth":["aws.auth#sigv4"] }, "operations":{ + "BatchCreateTopicReviewedAnswer":{ + "name":"BatchCreateTopicReviewedAnswer", + "http":{ + "method":"POST", + "requestUri":"/accounts/{AwsAccountId}/topics/{TopicId}/batch-create-reviewed-answers" + }, + "input":{"shape":"BatchCreateTopicReviewedAnswerRequest"}, + "output":{"shape":"BatchCreateTopicReviewedAnswerResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InvalidParameterValueException"}, + {"shape":"ThrottlingException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"InternalFailureException"} + ], + "documentation":"

Creates new reviewed answers for a Q Topic.

" + }, + "BatchDeleteTopicReviewedAnswer":{ + "name":"BatchDeleteTopicReviewedAnswer", + "http":{ + "method":"POST", + "requestUri":"/accounts/{AwsAccountId}/topics/{TopicId}/batch-delete-reviewed-answers" + }, + "input":{"shape":"BatchDeleteTopicReviewedAnswerRequest"}, + "output":{"shape":"BatchDeleteTopicReviewedAnswerResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InvalidParameterValueException"}, + {"shape":"ThrottlingException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ConflictException"}, + {"shape":"InternalFailureException"} + ], + "documentation":"

Deletes reviewed answers for Q Topic.

" + }, "CancelIngestion":{ "name":"CancelIngestion", "http":{ @@ -2291,6 +2326,23 @@ ], "documentation":"

Lists all of the refresh schedules for a topic.

" }, + "ListTopicReviewedAnswers":{ + "name":"ListTopicReviewedAnswers", + "http":{ + "method":"GET", + "requestUri":"/accounts/{AwsAccountId}/topics/{TopicId}/reviewed-answers" + }, + "input":{"shape":"ListTopicReviewedAnswersRequest"}, + "output":{"shape":"ListTopicReviewedAnswersResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InvalidParameterValueException"}, + {"shape":"ThrottlingException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"InternalFailureException"} + ], + "documentation":"

Lists all reviewed answers for a Q Topic.

" + }, "ListTopics":{ "name":"ListTopics", "http":{ @@ -3404,6 +3456,67 @@ "max":20, "min":1 }, + "AggFunction":{ + "type":"structure", + "members":{ + "Aggregation":{ + "shape":"AggType", + "documentation":"

The aggregation of an Agg function.

" + }, + "AggregationFunctionParameters":{ + "shape":"AggFunctionParamMap", + "documentation":"

The aggregation parameters for an Agg function.

" + }, + "Period":{ + "shape":"TopicTimeGranularity", + "documentation":"

The period of an Agg function.

" + }, + "PeriodField":{ + "shape":"LimitedString", + "documentation":"

The period field for an Agg function.

" + } + }, + "documentation":"

The definition of an Agg function.

" + }, + "AggFunctionParamKey":{ + "type":"string", + "max":256, + "min":1 + }, + "AggFunctionParamMap":{ + "type":"map", + "key":{"shape":"AggFunctionParamKey"}, + "value":{"shape":"AggFunctionParamValue"} + }, + "AggFunctionParamValue":{ + "type":"string", + "max":1024 + }, + "AggType":{ + "type":"string", + "enum":[ + "SUM", + "MIN", + "MAX", + "COUNT", + "AVERAGE", + "DISTINCT_COUNT", + "STDEV", + "STDEVP", + "VAR", + "VARP", + "PERCENTILE", + "MEDIAN", + "PTD_SUM", + "PTD_MIN", + "PTD_MAX", + "PTD_COUNT", + "PTD_DISTINCT_COUNT", + "PTD_AVERAGE", + "COLUMN", + "CUSTOM" + ] + }, "AggregationFunction":{ "type":"structure", "members":{ @@ -3431,6 +3544,25 @@ "key":{"shape":"LimitedString"}, "value":{"shape":"LimitedString"} }, + "AggregationPartitionBy":{ + "type":"structure", + "members":{ + "FieldName":{ + "shape":"LimitedString", + "documentation":"

The field Name for an AggregationPartitionBy.

" + }, + "TimeGranularity":{ + "shape":"TimeGranularity", + "documentation":"

The TimeGranularity for an AggregationPartitionBy.

" + } + }, + "documentation":"

The definition of an AggregationPartitionBy.

" + }, + "AggregationPartitionByList":{ + "type":"list", + "member":{"shape":"AggregationPartitionBy"}, + "max":50 + }, "AggregationSortConfiguration":{ "type":"structure", "required":[ @@ -3727,6 +3859,24 @@ "member":{"shape":"AnalysisSummary"}, "max":100 }, + "Anchor":{ + "type":"structure", + "members":{ + "AnchorType":{ + "shape":"AnchorType", + "documentation":"

The AnchorType for the Anchor.

" + }, + "TimeGranularity":{ + "shape":"TimeGranularity", + "documentation":"

The TimeGranularity of the Anchor.

" + }, + "Offset":{ + "shape":"Integer", + "documentation":"

The offset of the Anchor.

" + } + }, + "documentation":"

The definition of the Anchor.

" + }, "AnchorDateConfiguration":{ "type":"structure", "members":{ @@ -3745,6 +3895,10 @@ "type":"string", "enum":["NOW"] }, + "AnchorType":{ + "type":"string", + "enum":["TODAY"] + }, "AnonymousUserDashboardEmbeddingConfiguration":{ "type":"structure", "required":["InitialDashboardId"], @@ -3825,6 +3979,15 @@ "type":"list", "member":{"shape":"AnonymousUserSnapshotJobResult"} }, + "AnswerId":{ + "type":"string", + "max":256, + "pattern":"^[A-Za-z0-9-_.\\\\+]*$" + }, + "AnswerIds":{ + "type":"list", + "member":{"shape":"AnswerId"} + }, "ArcAxisConfiguration":{ "type":"structure", "members":{ @@ -5625,6 +5788,117 @@ "IMAGERY" ] }, + "BatchCreateTopicReviewedAnswerRequest":{ + "type":"structure", + "required":[ + "AwsAccountId", + "TopicId", + "Answers" + ], + "members":{ + "AwsAccountId":{ + "shape":"AwsAccountId", + "documentation":"

The ID of the Amazon Web Services account that you want to create a reviewed answer in.

", + "location":"uri", + "locationName":"AwsAccountId" + }, + "TopicId":{ + "shape":"TopicId", + "documentation":"

The ID for the topic reviewed answer that you want to create. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.

", + "location":"uri", + "locationName":"TopicId" + }, + "Answers":{ + "shape":"CreateTopicReviewedAnswers", + "documentation":"

The definition of the Answers to be created.

" + } + } + }, + "BatchCreateTopicReviewedAnswerResponse":{ + "type":"structure", + "members":{ + "TopicId":{ + "shape":"TopicId", + "documentation":"

The ID for the topic reviewed answer that you want to create. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.

" + }, + "TopicArn":{ + "shape":"Arn", + "documentation":"

The Amazon Resource Name (ARN) of the topic.

" + }, + "SucceededAnswers":{ + "shape":"SucceededTopicReviewedAnswers", + "documentation":"

The definition of Answers that are successfully created.

" + }, + "InvalidAnswers":{ + "shape":"InvalidTopicReviewedAnswers", + "documentation":"

The definition of Answers that are invalid and not created.

" + }, + "Status":{ + "shape":"StatusCode", + "documentation":"

The HTTP status of the request.

", + "location":"statusCode" + }, + "RequestId":{ + "shape":"String", + "documentation":"

The Amazon Web Services request ID for this operation.

" + } + } + }, + "BatchDeleteTopicReviewedAnswerRequest":{ + "type":"structure", + "required":[ + "AwsAccountId", + "TopicId" + ], + "members":{ + "AwsAccountId":{ + "shape":"AwsAccountId", + "documentation":"

The ID of the Amazon Web Services account that you want to delete a reviewed answers in.

", + "location":"uri", + "locationName":"AwsAccountId" + }, + "TopicId":{ + "shape":"TopicId", + "documentation":"

The ID for the topic reviewed answer that you want to delete. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.

", + "location":"uri", + "locationName":"TopicId" + }, + "AnswerIds":{ + "shape":"AnswerIds", + "documentation":"

The Answer IDs of the Answers to be deleted.

" + } + } + }, + "BatchDeleteTopicReviewedAnswerResponse":{ + "type":"structure", + "members":{ + "TopicId":{ + "shape":"TopicId", + "documentation":"

The ID of the topic reviewed answer that you want to delete. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.

" + }, + "TopicArn":{ + "shape":"Arn", + "documentation":"

The Amazon Resource Name (ARN) of the topic.

" + }, + "SucceededAnswers":{ + "shape":"SucceededTopicReviewedAnswers", + "documentation":"

The definition of Answers that are successfully deleted.

" + }, + "InvalidAnswers":{ + "shape":"InvalidTopicReviewedAnswers", + "documentation":"

The definition of Answers that are invalid and not deleted.

" + }, + "RequestId":{ + "shape":"String", + "documentation":"

The Amazon Web Services request ID for this operation.

" + }, + "Status":{ + "shape":"StatusCode", + "documentation":"

The HTTP status of the request.

", + "location":"statusCode" + } + } + }, "BigQueryParameters":{ "type":"structure", "required":["ProjectId"], @@ -6061,6 +6335,11 @@ "min":1, "sensitive":true }, + "CalculatedFieldReferenceList":{ + "type":"list", + "member":{"shape":"Identifier"}, + "max":250 + }, "CalculatedFields":{ "type":"list", "member":{"shape":"CalculatedField"}, @@ -6438,6 +6717,25 @@ }, "documentation":"

A structure that represents a collective constant.

" }, + "CollectiveConstantEntry":{ + "type":"structure", + "members":{ + "ConstantType":{ + "shape":"ConstantType", + "documentation":"

The ConstantType of a CollectiveConstantEntry.

" + }, + "Value":{ + "shape":"ConstantValueString", + "documentation":"

The value of a CollectiveConstantEntry.

" + } + }, + "documentation":"

The definition for a CollectiveConstantEntry.

" + }, + "CollectiveConstantEntryList":{ + "type":"list", + "member":{"shape":"CollectiveConstantEntry"}, + "max":2000 + }, "ColorFillType":{ "type":"string", "enum":[ @@ -7019,6 +7317,21 @@ "PERCENT" ] }, + "ComparisonMethodType":{ + "type":"string", + "enum":[ + "DIFF", + "PERC_DIFF", + "DIFF_AS_PERC", + "POP_CURRENT_DIFF_AS_PERC", + "POP_CURRENT_DIFF", + "POP_OVERTIME_DIFF_AS_PERC", + "POP_OVERTIME_DIFF", + "PERCENT_OF_TOTAL", + "RUNNING_SUM", + "MOVING_AVERAGE" + ] + }, "Computation":{ "type":"structure", "members":{ @@ -7247,6 +7560,10 @@ "COLLECTIVE" ] }, + "ConstantValueString":{ + "type":"string", + "max":1024 + }, "ContextMenuOption":{ "type":"structure", "members":{ @@ -7281,6 +7598,52 @@ "max":200, "min":1 }, + "ContributionAnalysisDirection":{ + "type":"string", + "enum":[ + "INCREASE", + "DECREASE", + "NEUTRAL" + ] + }, + "ContributionAnalysisFactor":{ + "type":"structure", + "members":{ + "FieldName":{ + "shape":"LimitedString", + "documentation":"

The field name of the ContributionAnalysisFactor.

" + } + }, + "documentation":"

The definition for the ContributionAnalysisFactor.

" + }, + "ContributionAnalysisFactorsList":{ + "type":"list", + "member":{"shape":"ContributionAnalysisFactor"}, + "max":50 + }, + "ContributionAnalysisSortType":{ + "type":"string", + "enum":[ + "ABSOLUTE_DIFFERENCE", + "CONTRIBUTION_PERCENTAGE", + "DEVIATION_FROM_EXPECTED", + "PERCENTAGE_DIFFERENCE" + ] + }, + "ContributionAnalysisTimeRanges":{ + "type":"structure", + "members":{ + "StartRange":{ + "shape":"TopicIRFilterOption", + "documentation":"

The start range for the ContributionAnalysisTimeRanges.

" + }, + "EndRange":{ + "shape":"TopicIRFilterOption", + "documentation":"

The end range for the ContributionAnalysisTimeRanges.

" + } + }, + "documentation":"

The definition for the ContributionAnalysisTimeRanges.

" + }, "ContributorDimensionList":{ "type":"list", "member":{"shape":"ColumnIdentifier"}, @@ -8730,6 +9093,47 @@ } } }, + "CreateTopicReviewedAnswer":{ + "type":"structure", + "required":[ + "AnswerId", + "DatasetArn", + "Question" + ], + "members":{ + "AnswerId":{ + "shape":"AnswerId", + "documentation":"

The answer ID for the CreateTopicReviewedAnswer.

" + }, + "DatasetArn":{ + "shape":"Arn", + "documentation":"

The Dataset arn for the CreateTopicReviewedAnswer.

" + }, + "Question":{ + "shape":"LimitedString", + "documentation":"

The Question to be created.

" + }, + "Mir":{ + "shape":"TopicIR", + "documentation":"

The Mir for the CreateTopicReviewedAnswer.

" + }, + "PrimaryVisual":{ + "shape":"TopicVisual", + "documentation":"

The PrimaryVisual for the CreateTopicReviewedAnswer.

" + }, + "Template":{ + "shape":"TopicTemplate", + "documentation":"

The template for the CreateTopicReviewedAnswer.

" + } + }, + "documentation":"

The definition for a CreateTopicReviewedAnswer.

" + }, + "CreateTopicReviewedAnswers":{ + "type":"list", + "member":{"shape":"CreateTopicReviewedAnswer"}, + "max":100, + "min":0 + }, "CreateVPCConnectionRequest":{ "type":"structure", "required":[ @@ -10901,6 +11305,14 @@ "InfoIconLabelOptions":{ "shape":"SheetControlInfoIconLabelOptions", "documentation":"

The configuration of info icon label options.

" + }, + "HelperTextVisibility":{ + "shape":"Visibility", + "documentation":"

The helper text visibility of the DateTimePickerControlDisplayOptions.

" + }, + "DateIconVisibility":{ + "shape":"Visibility", + "documentation":"

The date icon visibility of the DateTimePickerControlDisplayOptions.

" } }, "documentation":"

The display options of a control.

" @@ -15556,6 +15968,29 @@ }, "documentation":"

With a Filter, you can remove portions of data from a particular visual or view.

This is a union type structure. For this structure to be valid, only one of the attributes can be defined.

" }, + "FilterAggMetrics":{ + "type":"structure", + "members":{ + "MetricOperand":{ + "shape":"Identifier", + "documentation":"

The metric operand of the FilterAggMetrics.

" + }, + "Function":{ + "shape":"AggType", + "documentation":"

The function for the FilterAggMetrics.

" + }, + "SortDirection":{ + "shape":"TopicSortDirection", + "documentation":"

The sort direction for FilterAggMetrics.

" + } + }, + "documentation":"

The definition for the FilterAggMetrics.

" + }, + "FilterAggMetricsList":{ + "type":"list", + "member":{"shape":"FilterAggMetrics"}, + "max":100 + }, "FilterClass":{ "type":"string", "enum":[ @@ -18049,6 +18484,17 @@ "X" ] }, + "Identifier":{ + "type":"structure", + "required":["Identity"], + "members":{ + "Identity":{ + "shape":"LimitedString", + "documentation":"

The identity of the identifier.

" + } + }, + "documentation":"

The definition for the identifier.

" + }, "IdentityCenterConfiguration":{ "type":"structure", "members":{ @@ -18554,6 +19000,24 @@ "error":{"httpStatusCode":400}, "exception":true }, + "InvalidTopicReviewedAnswer":{ + "type":"structure", + "members":{ + "AnswerId":{ + "shape":"AnswerId", + "documentation":"

The answer ID for the InvalidTopicReviewedAnswer.

" + }, + "Error":{ + "shape":"ReviewedAnswerErrorCode", + "documentation":"

The error that is returned for the InvalidTopicReviewedAnswer.

" + } + }, + "documentation":"

The definition for a InvalidTopicReviewedAnswer.

" + }, + "InvalidTopicReviewedAnswers":{ + "type":"list", + "member":{"shape":"InvalidTopicReviewedAnswer"} + }, "IpRestrictionRuleDescription":{ "type":"string", "max":150, @@ -20757,6 +21221,53 @@ } } }, + "ListTopicReviewedAnswersRequest":{ + "type":"structure", + "required":[ + "AwsAccountId", + "TopicId" + ], + "members":{ + "AwsAccountId":{ + "shape":"AwsAccountId", + "documentation":"

The ID of the Amazon Web Services account that containd the reviewed answers that you want listed.

", + "location":"uri", + "locationName":"AwsAccountId" + }, + "TopicId":{ + "shape":"TopicId", + "documentation":"

The ID for the topic that contains the reviewed answer that you want to list. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.

", + "location":"uri", + "locationName":"TopicId" + } + } + }, + "ListTopicReviewedAnswersResponse":{ + "type":"structure", + "members":{ + "TopicId":{ + "shape":"TopicId", + "documentation":"

The ID for the topic that contains the reviewed answer that you want to list. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.

" + }, + "TopicArn":{ + "shape":"Arn", + "documentation":"

The Amazon Resource Name (ARN) of the topic.

" + }, + "Answers":{ + "shape":"TopicReviewedAnswers", + "documentation":"

The definition of all Answers in the topic.

" + }, + "Status":{ + "shape":"StatusCode", + "documentation":"

The HTTP status of the request.

", + "location":"statusCode" + }, + "RequestId":{ + "shape":"String", + "documentation":"

The Amazon Web Services request ID for this operation.

" + } + } + }, "ListTopicsRequest":{ "type":"structure", "required":["AwsAccountId"], @@ -21443,6 +21954,16 @@ "type":"list", "member":{"shape":"NamedEntityDefinition"} }, + "NamedEntityRef":{ + "type":"structure", + "members":{ + "NamedEntityName":{ + "shape":"LimitedString", + "documentation":"

The NamedEntityName for the NamedEntityRef.

" + } + }, + "documentation":"

The definition for a NamedEntityRef.

" + }, "NamedFilterAggType":{ "type":"string", "enum":[ @@ -21685,6 +22206,14 @@ "member":{"shape":"ShortRestrictiveResourceId"}, "max":20 }, + "NullFilterOption":{ + "type":"string", + "enum":[ + "ALL_VALUES", + "NON_NULLS_ONLY", + "NULLS_ONLY" + ] + }, "NullString":{ "type":"string", "max":128, @@ -22031,6 +22560,11 @@ "max":512, "min":1 }, + "OperandList":{ + "type":"list", + "member":{"shape":"Identifier"}, + "max":25 + }, "OptionalPort":{ "type":"integer", "max":65535, @@ -24735,6 +25269,18 @@ "min":1, "pattern":"[\\w\\-]+" }, + "ReviewedAnswerErrorCode":{ + "type":"string", + "enum":[ + "INTERNAL_ERROR", + "MISSING_ANSWER", + "DATASET_DOES_NOT_EXIST", + "INVALID_DATASET_ARN", + "DUPLICATED_ANSWER", + "INVALID_DATA", + "MISSING_REQUIRED_FIELDS" + ] + }, "Role":{ "type":"string", "enum":[ @@ -26433,6 +26979,24 @@ }, "documentation":"

The display options of a control.

" }, + "Slot":{ + "type":"structure", + "members":{ + "SlotId":{ + "shape":"LimitedString", + "documentation":"

The slot ID of the slot.

" + }, + "VisualId":{ + "shape":"LimitedString", + "documentation":"

The visual ID for the slot.

" + } + }, + "documentation":"

The definition for the slot.

" + }, + "Slots":{ + "type":"list", + "member":{"shape":"Slot"} + }, "SmallMultiplesAxisPlacement":{ "type":"string", "enum":[ @@ -27345,6 +27909,20 @@ }, "documentation":"

The subtotal options.

" }, + "SucceededTopicReviewedAnswer":{ + "type":"structure", + "members":{ + "AnswerId":{ + "shape":"AnswerId", + "documentation":"

The answer ID for the SucceededTopicReviewedAnswer.

" + } + }, + "documentation":"

The definition for a SucceededTopicReviewedAnswer.

" + }, + "SucceededTopicReviewedAnswers":{ + "type":"list", + "member":{"shape":"SucceededTopicReviewedAnswer"} + }, "SuccessfulKeyRegistrationEntries":{ "type":"list", "member":{"shape":"SuccessfulKeyRegistrationEntry"} @@ -29247,6 +29825,32 @@ "type":"list", "member":{"shape":"TopicColumn"} }, + "TopicConstantValue":{ + "type":"structure", + "members":{ + "ConstantType":{ + "shape":"ConstantType", + "documentation":"

The constant type of a TopicConstantValue.

" + }, + "Value":{ + "shape":"ConstantValueString", + "documentation":"

The value of the TopicConstantValue.

" + }, + "Minimum":{ + "shape":"ConstantValueString", + "documentation":"

The minimum for the TopicConstantValue.

" + }, + "Maximum":{ + "shape":"ConstantValueString", + "documentation":"

The maximum for the TopicConstantValue.

" + }, + "ValueList":{ + "shape":"CollectiveConstantEntryList", + "documentation":"

The value list of the TopicConstantValue.

" + } + }, + "documentation":"

The definition for a TopicConstantValue.

" + }, "TopicDateRangeFilter":{ "type":"structure", "members":{ @@ -29341,6 +29945,269 @@ "type":"list", "member":{"shape":"TopicFilter"} }, + "TopicIR":{ + "type":"structure", + "members":{ + "Metrics":{ + "shape":"TopicIRMetricList", + "documentation":"

The metrics for the TopicIR.

" + }, + "GroupByList":{ + "shape":"TopicIRGroupByList", + "documentation":"

The GroupBy list for the TopicIR.

" + }, + "Filters":{ + "shape":"TopicIRFilterList", + "documentation":"

The filters for the TopicIR.

" + }, + "Sort":{ + "shape":"TopicSortClause", + "documentation":"

The sort for the TopicIR.

" + }, + "ContributionAnalysis":{ + "shape":"TopicIRContributionAnalysis", + "documentation":"

The contribution analysis for the TopicIR.

" + }, + "Visual":{ + "shape":"VisualOptions", + "documentation":"

The visual for the TopicIR.

" + } + }, + "documentation":"

The definition for a TopicIR.

" + }, + "TopicIRComparisonMethod":{ + "type":"structure", + "members":{ + "Type":{ + "shape":"ComparisonMethodType", + "documentation":"

The type for the TopicIRComparisonMethod.

" + }, + "Period":{ + "shape":"TopicTimeGranularity", + "documentation":"

The period for the TopicIRComparisonMethod.

" + }, + "WindowSize":{ + "shape":"Integer", + "documentation":"

The window size for the TopicIRComparisonMethod.

" + } + }, + "documentation":"

The definition of a TopicIRComparisonMethod.

" + }, + "TopicIRContributionAnalysis":{ + "type":"structure", + "members":{ + "Factors":{ + "shape":"ContributionAnalysisFactorsList", + "documentation":"

The factors for a TopicIRContributionAnalysis.

" + }, + "TimeRanges":{ + "shape":"ContributionAnalysisTimeRanges", + "documentation":"

The time ranges for the TopicIRContributionAnalysis.

" + }, + "Direction":{ + "shape":"ContributionAnalysisDirection", + "documentation":"

The direction for the TopicIRContributionAnalysis.

" + }, + "SortType":{ + "shape":"ContributionAnalysisSortType", + "documentation":"

The sort type for the TopicIRContributionAnalysis.

" + } + }, + "documentation":"

The definition for a TopicIRContributionAnalysis.

" + }, + "TopicIRFilterEntry":{ + "type":"list", + "member":{"shape":"TopicIRFilterOption"}, + "max":2000 + }, + "TopicIRFilterFunction":{ + "type":"string", + "enum":[ + "CONTAINS", + "EXACT", + "STARTS_WITH", + "ENDS_WITH", + "CONTAINS_STRING", + "PREVIOUS", + "THIS", + "LAST", + "NEXT", + "NOW" + ] + }, + "TopicIRFilterList":{ + "type":"list", + "member":{"shape":"TopicIRFilterEntry"}, + "max":2000 + }, + "TopicIRFilterOption":{ + "type":"structure", + "members":{ + "FilterType":{ + "shape":"TopicIRFilterType", + "documentation":"

The filter type for the TopicIRFilterOption.

" + }, + "FilterClass":{ + "shape":"FilterClass", + "documentation":"

The filter class for the TopicIRFilterOption.

" + }, + "OperandField":{ + "shape":"Identifier", + "documentation":"

The operand field for the TopicIRFilterOption.

" + }, + "Function":{ + "shape":"TopicIRFilterFunction", + "documentation":"

The function for the TopicIRFilterOption.

" + }, + "Constant":{ + "shape":"TopicConstantValue", + "documentation":"

The constant for the TopicIRFilterOption.

" + }, + "Inverse":{ + "shape":"Boolean", + "documentation":"

The inverse for the TopicIRFilterOption.

" + }, + "NullFilter":{ + "shape":"NullFilterOption", + "documentation":"

The null filter for the TopicIRFilterOption.

" + }, + "Aggregation":{ + "shape":"AggType", + "documentation":"

The aggregation for the TopicIRFilterOption.

" + }, + "AggregationFunctionParameters":{ + "shape":"AggFunctionParamMap", + "documentation":"

The aggregation function parameters for the TopicIRFilterOption.

" + }, + "AggregationPartitionBy":{ + "shape":"AggregationPartitionByList", + "documentation":"

The AggregationPartitionBy for the TopicIRFilterOption.

" + }, + "Range":{ + "shape":"TopicConstantValue", + "documentation":"

The range for the TopicIRFilterOption.

" + }, + "Inclusive":{ + "shape":"Boolean", + "documentation":"

The inclusive for the TopicIRFilterOption.

" + }, + "TimeGranularity":{ + "shape":"TimeGranularity", + "documentation":"

The time granularity for the TopicIRFilterOption.

" + }, + "LastNextOffset":{ + "shape":"TopicConstantValue", + "documentation":"

The last next offset for the TopicIRFilterOption.

" + }, + "AggMetrics":{ + "shape":"FilterAggMetricsList", + "documentation":"

The agg metrics for the TopicIRFilterOption.

" + }, + "TopBottomLimit":{ + "shape":"TopicConstantValue", + "documentation":"

The TopBottomLimit for the TopicIRFilterOption.

" + }, + "SortDirection":{ + "shape":"TopicSortDirection", + "documentation":"

The sort direction for the TopicIRFilterOption.

" + }, + "Anchor":{ + "shape":"Anchor", + "documentation":"

The anchor for the TopicIRFilterOption.

" + } + }, + "documentation":"

The definition for a TopicIRFilterOption.

" + }, + "TopicIRFilterType":{ + "type":"string", + "enum":[ + "CATEGORY_FILTER", + "NUMERIC_EQUALITY_FILTER", + "NUMERIC_RANGE_FILTER", + "DATE_RANGE_FILTER", + "RELATIVE_DATE_FILTER", + "TOP_BOTTOM_FILTER", + "EQUALS", + "RANK_LIMIT_FILTER", + "ACCEPT_ALL_FILTER" + ] + }, + "TopicIRGroupBy":{ + "type":"structure", + "members":{ + "FieldName":{ + "shape":"Identifier", + "documentation":"

The field name for the TopicIRGroupBy.

" + }, + "TimeGranularity":{ + "shape":"TopicTimeGranularity", + "documentation":"

The time granularity for the TopicIRGroupBy.

" + }, + "Sort":{ + "shape":"TopicSortClause", + "documentation":"

The sort for the TopicIRGroupBy.

" + }, + "DisplayFormat":{ + "shape":"DisplayFormat", + "documentation":"

The display format for the TopicIRGroupBy.

" + }, + "DisplayFormatOptions":{"shape":"DisplayFormatOptions"}, + "NamedEntity":{ + "shape":"NamedEntityRef", + "documentation":"

The named entity for the TopicIRGroupBy.

" + } + }, + "documentation":"

The definition for a TopicIRGroupBy.

" + }, + "TopicIRGroupByList":{ + "type":"list", + "member":{"shape":"TopicIRGroupBy"}, + "max":2000 + }, + "TopicIRMetric":{ + "type":"structure", + "members":{ + "MetricId":{ + "shape":"Identifier", + "documentation":"

The metric ID for the TopicIRMetric.

" + }, + "Function":{ + "shape":"AggFunction", + "documentation":"

The function for the TopicIRMetric.

" + }, + "Operands":{ + "shape":"OperandList", + "documentation":"

The operands for the TopicIRMetric.

" + }, + "ComparisonMethod":{ + "shape":"TopicIRComparisonMethod", + "documentation":"

The comparison method for the TopicIRMetric.

" + }, + "Expression":{ + "shape":"Expression", + "documentation":"

The expression for the TopicIRMetric.

" + }, + "CalculatedFieldReferences":{ + "shape":"CalculatedFieldReferenceList", + "documentation":"

The calculated field references for the TopicIRMetric.

" + }, + "DisplayFormat":{ + "shape":"DisplayFormat", + "documentation":"

The display format for the TopicIRMetric.

" + }, + "DisplayFormatOptions":{"shape":"DisplayFormatOptions"}, + "NamedEntity":{ + "shape":"NamedEntityRef", + "documentation":"

The named entity for the TopicIRMetric.

" + } + }, + "documentation":"

The definition for a TopicIRMetric.

" + }, + "TopicIRMetricList":{ + "type":"list", + "member":{"shape":"TopicIRMetric"}, + "max":2000 + }, "TopicId":{ "type":"string", "max":256, @@ -29547,6 +30414,49 @@ "NOW" ] }, + "TopicReviewedAnswer":{ + "type":"structure", + "required":[ + "AnswerId", + "DatasetArn", + "Question" + ], + "members":{ + "Arn":{ + "shape":"Arn", + "documentation":"

The Amazon Resource Name (ARN) of the reviewed answer.

" + }, + "AnswerId":{ + "shape":"AnswerId", + "documentation":"

The answer ID of the reviewed answer.

" + }, + "DatasetArn":{ + "shape":"Arn", + "documentation":"

The Dataset ARN for the TopicReviewedAnswer.

" + }, + "Question":{ + "shape":"LimitedString", + "documentation":"

The question for the TopicReviewedAnswer.

" + }, + "Mir":{ + "shape":"TopicIR", + "documentation":"

The mir for the TopicReviewedAnswer.

" + }, + "PrimaryVisual":{ + "shape":"TopicVisual", + "documentation":"

The primary visual for the TopicReviewedAnswer.

" + }, + "Template":{ + "shape":"TopicTemplate", + "documentation":"

The template for the TopicReviewedAnswer.

" + } + }, + "documentation":"

The deinition for a TopicReviewedAnswer.

" + }, + "TopicReviewedAnswers":{ + "type":"list", + "member":{"shape":"TopicReviewedAnswer"} + }, "TopicScheduleType":{ "type":"string", "enum":[ @@ -29571,6 +30481,27 @@ "documentation":"

A structure that represents a singular filter constant, used in filters to specify a single value to match against.

", "sensitive":true }, + "TopicSortClause":{ + "type":"structure", + "members":{ + "Operand":{ + "shape":"Identifier", + "documentation":"

The operand for a TopicSortClause.

" + }, + "SortDirection":{ + "shape":"TopicSortDirection", + "documentation":"

The sort direction for the TopicSortClause.

" + } + }, + "documentation":"

The definition for a TopicSortClause.

" + }, + "TopicSortDirection":{ + "type":"string", + "enum":[ + "ASCENDING", + "DESCENDING" + ] + }, "TopicSummaries":{ "type":"list", "member":{"shape":"TopicSummary"} @@ -29597,6 +30528,20 @@ }, "documentation":"

A topic summary.

" }, + "TopicTemplate":{ + "type":"structure", + "members":{ + "TemplateType":{ + "shape":"LimitedString", + "documentation":"

The template type for the TopicTemplate.

" + }, + "Slots":{ + "shape":"Slots", + "documentation":"

The slots for the TopicTemplate.

" + } + }, + "documentation":"

The definition for a TopicTemplate.

" + }, "TopicTimeGranularity":{ "type":"string", "enum":[ @@ -29617,6 +30562,32 @@ "NEW_READER_EXPERIENCE" ] }, + "TopicVisual":{ + "type":"structure", + "members":{ + "VisualId":{ + "shape":"LimitedString", + "documentation":"

The visual ID for the TopicVisual.

" + }, + "Role":{ + "shape":"VisualRole", + "documentation":"

The role for the TopicVisual.

" + }, + "Ir":{ + "shape":"TopicIR", + "documentation":"

The ir for the TopicVisual.

" + }, + "SupportingVisuals":{ + "shape":"TopicVisuals", + "documentation":"

The supporting visuals for the TopicVisual.

" + } + }, + "documentation":"

The definition for a TopicVisual.

" + }, + "TopicVisuals":{ + "type":"list", + "member":{"shape":"TopicVisual"} + }, "TotalAggregationComputation":{ "type":"structure", "required":["ComputationId"], @@ -32606,6 +33577,16 @@ }, "documentation":"

The menu options for a visual.

" }, + "VisualOptions":{ + "type":"structure", + "members":{ + "type":{ + "shape":"LimitedString", + "documentation":"

The type for a VisualOptions.

" + } + }, + "documentation":"

The definition for a VisualOptions.

" + }, "VisualPalette":{ "type":"structure", "members":{ @@ -32620,6 +33601,16 @@ }, "documentation":"

The visual display options for the visual palette.

" }, + "VisualRole":{ + "type":"string", + "enum":[ + "PRIMARY", + "COMPLIMENTARY", + "MULTI_INTENT", + "FALLBACK", + "FRAGMENT" + ] + }, "VisualSubtitleLabelOptions":{ "type":"structure", "members":{