AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
CreateLocationAzureBlobRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/datasync/DataSyncRequest.h>
10#include <aws/datasync/DataSync_EXPORTS.h>
11#include <aws/datasync/model/AzureAccessTier.h>
12#include <aws/datasync/model/AzureBlobAuthenticationType.h>
13#include <aws/datasync/model/AzureBlobSasConfiguration.h>
14#include <aws/datasync/model/AzureBlobType.h>
15#include <aws/datasync/model/AzureFederatedIdentityConfig.h>
16#include <aws/datasync/model/CmkSecretConfig.h>
17#include <aws/datasync/model/CustomSecretConfig.h>
18#include <aws/datasync/model/TagListEntry.h>
19
20#include <utility>
21
22namespace Aws {
23namespace DataSync {
24namespace Model {
25
29 public:
30 AWS_DATASYNC_API CreateLocationAzureBlobRequest() = default;
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "CreateLocationAzureBlob"; }
37
38 AWS_DATASYNC_API Aws::String SerializePayload() const override;
39
41
43
47 inline const Aws::String& GetContainerUrl() const { return m_containerUrl; }
48 inline bool ContainerUrlHasBeenSet() const { return m_containerUrlHasBeenSet; }
49 template <typename ContainerUrlT = Aws::String>
50 void SetContainerUrl(ContainerUrlT&& value) {
51 m_containerUrlHasBeenSet = true;
52 m_containerUrl = std::forward<ContainerUrlT>(value);
53 }
54 template <typename ContainerUrlT = Aws::String>
56 SetContainerUrl(std::forward<ContainerUrlT>(value));
57 return *this;
58 }
60
62
67 inline AzureBlobAuthenticationType GetAuthenticationType() const { return m_authenticationType; }
68 inline bool AuthenticationTypeHasBeenSet() const { return m_authenticationTypeHasBeenSet; }
70 m_authenticationTypeHasBeenSet = true;
71 m_authenticationType = value;
72 }
78
80
88 inline const AzureBlobSasConfiguration& GetSasConfiguration() const { return m_sasConfiguration; }
89 inline bool SasConfigurationHasBeenSet() const { return m_sasConfigurationHasBeenSet; }
90 template <typename SasConfigurationT = AzureBlobSasConfiguration>
91 void SetSasConfiguration(SasConfigurationT&& value) {
92 m_sasConfigurationHasBeenSet = true;
93 m_sasConfiguration = std::forward<SasConfigurationT>(value);
94 }
95 template <typename SasConfigurationT = AzureBlobSasConfiguration>
97 SetSasConfiguration(std::forward<SasConfigurationT>(value));
98 return *this;
99 }
101
103
109 inline const AzureFederatedIdentityConfig& GetFederatedIdentity() const { return m_federatedIdentity; }
110 inline bool FederatedIdentityHasBeenSet() const { return m_federatedIdentityHasBeenSet; }
111 template <typename FederatedIdentityT = AzureFederatedIdentityConfig>
112 void SetFederatedIdentity(FederatedIdentityT&& value) {
113 m_federatedIdentityHasBeenSet = true;
114 m_federatedIdentity = std::forward<FederatedIdentityT>(value);
115 }
116 template <typename FederatedIdentityT = AzureFederatedIdentityConfig>
118 SetFederatedIdentity(std::forward<FederatedIdentityT>(value));
119 return *this;
120 }
122
124
132 inline AzureBlobType GetBlobType() const { return m_blobType; }
133 inline bool BlobTypeHasBeenSet() const { return m_blobTypeHasBeenSet; }
134 inline void SetBlobType(AzureBlobType value) {
135 m_blobTypeHasBeenSet = true;
136 m_blobType = value;
137 }
139 SetBlobType(value);
140 return *this;
141 }
143
145
152 inline AzureAccessTier GetAccessTier() const { return m_accessTier; }
153 inline bool AccessTierHasBeenSet() const { return m_accessTierHasBeenSet; }
154 inline void SetAccessTier(AzureAccessTier value) {
155 m_accessTierHasBeenSet = true;
156 m_accessTier = value;
157 }
159 SetAccessTier(value);
160 return *this;
161 }
163
165
169 inline const Aws::String& GetSubdirectory() const { return m_subdirectory; }
170 inline bool SubdirectoryHasBeenSet() const { return m_subdirectoryHasBeenSet; }
171 template <typename SubdirectoryT = Aws::String>
172 void SetSubdirectory(SubdirectoryT&& value) {
173 m_subdirectoryHasBeenSet = true;
174 m_subdirectory = std::forward<SubdirectoryT>(value);
175 }
176 template <typename SubdirectoryT = Aws::String>
178 SetSubdirectory(std::forward<SubdirectoryT>(value));
179 return *this;
180 }
182
184
195 inline const Aws::Vector<Aws::String>& GetAgentArns() const { return m_agentArns; }
196 inline bool AgentArnsHasBeenSet() const { return m_agentArnsHasBeenSet; }
197 template <typename AgentArnsT = Aws::Vector<Aws::String>>
198 void SetAgentArns(AgentArnsT&& value) {
199 m_agentArnsHasBeenSet = true;
200 m_agentArns = std::forward<AgentArnsT>(value);
201 }
202 template <typename AgentArnsT = Aws::Vector<Aws::String>>
204 SetAgentArns(std::forward<AgentArnsT>(value));
205 return *this;
206 }
207 template <typename AgentArnsT = Aws::String>
209 m_agentArnsHasBeenSet = true;
210 m_agentArns.emplace_back(std::forward<AgentArnsT>(value));
211 return *this;
212 }
214
216
221 inline const Aws::Vector<TagListEntry>& GetTags() const { return m_tags; }
222 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
223 template <typename TagsT = Aws::Vector<TagListEntry>>
224 void SetTags(TagsT&& value) {
225 m_tagsHasBeenSet = true;
226 m_tags = std::forward<TagsT>(value);
227 }
228 template <typename TagsT = Aws::Vector<TagListEntry>>
230 SetTags(std::forward<TagsT>(value));
231 return *this;
232 }
233 template <typename TagsT = TagListEntry>
235 m_tagsHasBeenSet = true;
236 m_tags.emplace_back(std::forward<TagsT>(value));
237 return *this;
238 }
240
242
260 inline const CmkSecretConfig& GetCmkSecretConfig() const { return m_cmkSecretConfig; }
261 inline bool CmkSecretConfigHasBeenSet() const { return m_cmkSecretConfigHasBeenSet; }
262 template <typename CmkSecretConfigT = CmkSecretConfig>
263 void SetCmkSecretConfig(CmkSecretConfigT&& value) {
264 m_cmkSecretConfigHasBeenSet = true;
265 m_cmkSecretConfig = std::forward<CmkSecretConfigT>(value);
266 }
267 template <typename CmkSecretConfigT = CmkSecretConfig>
269 SetCmkSecretConfig(std::forward<CmkSecretConfigT>(value));
270 return *this;
271 }
273
275
288 inline const CustomSecretConfig& GetCustomSecretConfig() const { return m_customSecretConfig; }
289 inline bool CustomSecretConfigHasBeenSet() const { return m_customSecretConfigHasBeenSet; }
290 template <typename CustomSecretConfigT = CustomSecretConfig>
291 void SetCustomSecretConfig(CustomSecretConfigT&& value) {
292 m_customSecretConfigHasBeenSet = true;
293 m_customSecretConfig = std::forward<CustomSecretConfigT>(value);
294 }
295 template <typename CustomSecretConfigT = CustomSecretConfig>
297 SetCustomSecretConfig(std::forward<CustomSecretConfigT>(value));
298 return *this;
299 }
301 private:
302 Aws::String m_containerUrl;
303
305
306 AzureBlobSasConfiguration m_sasConfiguration;
307
308 AzureFederatedIdentityConfig m_federatedIdentity;
309
311
313
314 Aws::String m_subdirectory;
315
316 Aws::Vector<Aws::String> m_agentArns;
317
319
320 CmkSecretConfig m_cmkSecretConfig;
321
322 CustomSecretConfig m_customSecretConfig;
323 bool m_containerUrlHasBeenSet = false;
324 bool m_authenticationTypeHasBeenSet = false;
325 bool m_sasConfigurationHasBeenSet = false;
326 bool m_federatedIdentityHasBeenSet = false;
327 bool m_blobTypeHasBeenSet = false;
328 bool m_accessTierHasBeenSet = false;
329 bool m_subdirectoryHasBeenSet = false;
330 bool m_agentArnsHasBeenSet = false;
331 bool m_tagsHasBeenSet = false;
332 bool m_cmkSecretConfigHasBeenSet = false;
333 bool m_customSecretConfigHasBeenSet = false;
334};
335
336} // namespace Model
337} // namespace DataSync
338} // namespace Aws
AWS_DATASYNC_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateLocationAzureBlobRequest & WithFederatedIdentity(FederatedIdentityT &&value)
const AzureBlobSasConfiguration & GetSasConfiguration() const
CreateLocationAzureBlobRequest & WithAgentArns(AgentArnsT &&value)
CreateLocationAzureBlobRequest & WithSasConfiguration(SasConfigurationT &&value)
const AzureFederatedIdentityConfig & GetFederatedIdentity() const
CreateLocationAzureBlobRequest & WithTags(TagsT &&value)
CreateLocationAzureBlobRequest & WithCmkSecretConfig(CmkSecretConfigT &&value)
CreateLocationAzureBlobRequest & WithAuthenticationType(AzureBlobAuthenticationType value)
CreateLocationAzureBlobRequest & WithCustomSecretConfig(CustomSecretConfigT &&value)
CreateLocationAzureBlobRequest & WithAccessTier(AzureAccessTier value)
AWS_DATASYNC_API CreateLocationAzureBlobRequest()=default
CreateLocationAzureBlobRequest & WithContainerUrl(ContainerUrlT &&value)
CreateLocationAzureBlobRequest & WithSubdirectory(SubdirectoryT &&value)
CreateLocationAzureBlobRequest & AddAgentArns(AgentArnsT &&value)
CreateLocationAzureBlobRequest & WithBlobType(AzureBlobType value)
AWS_DATASYNC_API Aws::String SerializePayload() const override
CreateLocationAzureBlobRequest & AddTags(TagsT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector