AWS SDK for C++

AWS SDK for C++ Version 1.11.771

Loading...
Searching...
No Matches
StartDomainExportRequest.h
1
6#pragma once
7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/simpledbv2/SimpleDBv2Request.h>
10#include <aws/simpledbv2/SimpleDBv2_EXPORTS.h>
11#include <aws/simpledbv2/model/S3SseAlgorithm.h>
12
13#include <utility>
14
15namespace Aws {
16namespace SimpleDBv2 {
17namespace Model {
18
22 public:
23 AWS_SIMPLEDBV2_API StartDomainExportRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "StartDomainExport"; }
30
31 AWS_SIMPLEDBV2_API Aws::String SerializePayload() const override;
32
34
44 inline const Aws::String& GetClientToken() const { return m_clientToken; }
45 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
46 template <typename ClientTokenT = Aws::String>
47 void SetClientToken(ClientTokenT&& value) {
48 m_clientTokenHasBeenSet = true;
49 m_clientToken = std::forward<ClientTokenT>(value);
50 }
51 template <typename ClientTokenT = Aws::String>
53 SetClientToken(std::forward<ClientTokenT>(value));
54 return *this;
55 }
57
59
62 inline const Aws::String& GetDomainName() const { return m_domainName; }
63 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
64 template <typename DomainNameT = Aws::String>
65 void SetDomainName(DomainNameT&& value) {
66 m_domainNameHasBeenSet = true;
67 m_domainName = std::forward<DomainNameT>(value);
68 }
69 template <typename DomainNameT = Aws::String>
71 SetDomainName(std::forward<DomainNameT>(value));
72 return *this;
73 }
75
77
80 inline const Aws::String& GetS3Bucket() const { return m_s3Bucket; }
81 inline bool S3BucketHasBeenSet() const { return m_s3BucketHasBeenSet; }
82 template <typename S3BucketT = Aws::String>
83 void SetS3Bucket(S3BucketT&& value) {
84 m_s3BucketHasBeenSet = true;
85 m_s3Bucket = std::forward<S3BucketT>(value);
86 }
87 template <typename S3BucketT = Aws::String>
89 SetS3Bucket(std::forward<S3BucketT>(value));
90 return *this;
91 }
93
95
99 inline const Aws::String& GetS3KeyPrefix() const { return m_s3KeyPrefix; }
100 inline bool S3KeyPrefixHasBeenSet() const { return m_s3KeyPrefixHasBeenSet; }
101 template <typename S3KeyPrefixT = Aws::String>
102 void SetS3KeyPrefix(S3KeyPrefixT&& value) {
103 m_s3KeyPrefixHasBeenSet = true;
104 m_s3KeyPrefix = std::forward<S3KeyPrefixT>(value);
105 }
106 template <typename S3KeyPrefixT = Aws::String>
108 SetS3KeyPrefix(std::forward<S3KeyPrefixT>(value));
109 return *this;
110 }
112
114
119 inline S3SseAlgorithm GetS3SseAlgorithm() const { return m_s3SseAlgorithm; }
120 inline bool S3SseAlgorithmHasBeenSet() const { return m_s3SseAlgorithmHasBeenSet; }
122 m_s3SseAlgorithmHasBeenSet = true;
123 m_s3SseAlgorithm = value;
124 }
126 SetS3SseAlgorithm(value);
127 return *this;
128 }
130
132
136 inline const Aws::String& GetS3SseKmsKeyId() const { return m_s3SseKmsKeyId; }
137 inline bool S3SseKmsKeyIdHasBeenSet() const { return m_s3SseKmsKeyIdHasBeenSet; }
138 template <typename S3SseKmsKeyIdT = Aws::String>
139 void SetS3SseKmsKeyId(S3SseKmsKeyIdT&& value) {
140 m_s3SseKmsKeyIdHasBeenSet = true;
141 m_s3SseKmsKeyId = std::forward<S3SseKmsKeyIdT>(value);
142 }
143 template <typename S3SseKmsKeyIdT = Aws::String>
145 SetS3SseKmsKeyId(std::forward<S3SseKmsKeyIdT>(value));
146 return *this;
147 }
149
151
155 inline const Aws::String& GetS3BucketOwner() const { return m_s3BucketOwner; }
156 inline bool S3BucketOwnerHasBeenSet() const { return m_s3BucketOwnerHasBeenSet; }
157 template <typename S3BucketOwnerT = Aws::String>
158 void SetS3BucketOwner(S3BucketOwnerT&& value) {
159 m_s3BucketOwnerHasBeenSet = true;
160 m_s3BucketOwner = std::forward<S3BucketOwnerT>(value);
161 }
162 template <typename S3BucketOwnerT = Aws::String>
164 SetS3BucketOwner(std::forward<S3BucketOwnerT>(value));
165 return *this;
166 }
168 private:
170
171 Aws::String m_domainName;
172
173 Aws::String m_s3Bucket;
174
175 Aws::String m_s3KeyPrefix;
176
177 S3SseAlgorithm m_s3SseAlgorithm{S3SseAlgorithm::NOT_SET};
178
179 Aws::String m_s3SseKmsKeyId;
180
181 Aws::String m_s3BucketOwner;
182 bool m_clientTokenHasBeenSet = true;
183 bool m_domainNameHasBeenSet = false;
184 bool m_s3BucketHasBeenSet = false;
185 bool m_s3KeyPrefixHasBeenSet = false;
186 bool m_s3SseAlgorithmHasBeenSet = false;
187 bool m_s3SseKmsKeyIdHasBeenSet = false;
188 bool m_s3BucketOwnerHasBeenSet = false;
189};
190
191} // namespace Model
192} // namespace SimpleDBv2
193} // namespace Aws
StartDomainExportRequest & WithS3KeyPrefix(S3KeyPrefixT &&value)
AWS_SIMPLEDBV2_API Aws::String SerializePayload() const override
StartDomainExportRequest & WithS3SseAlgorithm(S3SseAlgorithm value)
AWS_SIMPLEDBV2_API StartDomainExportRequest()=default
StartDomainExportRequest & WithDomainName(DomainNameT &&value)
StartDomainExportRequest & WithS3BucketOwner(S3BucketOwnerT &&value)
virtual const char * GetServiceRequestName() const override
StartDomainExportRequest & WithClientToken(ClientTokenT &&value)
StartDomainExportRequest & WithS3SseKmsKeyId(S3SseKmsKeyIdT &&value)
StartDomainExportRequest & WithS3Bucket(S3BucketT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String