AWS SDK for C++

AWS SDK for C++ Version 1.11.717

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/CmkSecretConfig.h>
16#include <aws/datasync/model/CustomSecretConfig.h>
17#include <aws/datasync/model/TagListEntry.h>
18
19#include <utility>
20
21namespace Aws {
22namespace DataSync {
23namespace Model {
24
28 public:
29 AWS_DATASYNC_API CreateLocationAzureBlobRequest() = default;
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "CreateLocationAzureBlob"; }
36
37 AWS_DATASYNC_API Aws::String SerializePayload() const override;
38
40
42
46 inline const Aws::String& GetContainerUrl() const { return m_containerUrl; }
47 inline bool ContainerUrlHasBeenSet() const { return m_containerUrlHasBeenSet; }
48 template <typename ContainerUrlT = Aws::String>
49 void SetContainerUrl(ContainerUrlT&& value) {
50 m_containerUrlHasBeenSet = true;
51 m_containerUrl = std::forward<ContainerUrlT>(value);
52 }
53 template <typename ContainerUrlT = Aws::String>
55 SetContainerUrl(std::forward<ContainerUrlT>(value));
56 return *this;
57 }
59
61
66 inline AzureBlobAuthenticationType GetAuthenticationType() const { return m_authenticationType; }
67 inline bool AuthenticationTypeHasBeenSet() const { return m_authenticationTypeHasBeenSet; }
69 m_authenticationTypeHasBeenSet = true;
70 m_authenticationType = value;
71 }
74 return *this;
75 }
77
79
87 inline const AzureBlobSasConfiguration& GetSasConfiguration() const { return m_sasConfiguration; }
88 inline bool SasConfigurationHasBeenSet() const { return m_sasConfigurationHasBeenSet; }
89 template <typename SasConfigurationT = AzureBlobSasConfiguration>
90 void SetSasConfiguration(SasConfigurationT&& value) {
91 m_sasConfigurationHasBeenSet = true;
92 m_sasConfiguration = std::forward<SasConfigurationT>(value);
93 }
94 template <typename SasConfigurationT = AzureBlobSasConfiguration>
96 SetSasConfiguration(std::forward<SasConfigurationT>(value));
97 return *this;
98 }
100
102
110 inline AzureBlobType GetBlobType() const { return m_blobType; }
111 inline bool BlobTypeHasBeenSet() const { return m_blobTypeHasBeenSet; }
112 inline void SetBlobType(AzureBlobType value) {
113 m_blobTypeHasBeenSet = true;
114 m_blobType = value;
115 }
117 SetBlobType(value);
118 return *this;
119 }
121
123
130 inline AzureAccessTier GetAccessTier() const { return m_accessTier; }
131 inline bool AccessTierHasBeenSet() const { return m_accessTierHasBeenSet; }
132 inline void SetAccessTier(AzureAccessTier value) {
133 m_accessTierHasBeenSet = true;
134 m_accessTier = value;
135 }
137 SetAccessTier(value);
138 return *this;
139 }
141
143
147 inline const Aws::String& GetSubdirectory() const { return m_subdirectory; }
148 inline bool SubdirectoryHasBeenSet() const { return m_subdirectoryHasBeenSet; }
149 template <typename SubdirectoryT = Aws::String>
150 void SetSubdirectory(SubdirectoryT&& value) {
151 m_subdirectoryHasBeenSet = true;
152 m_subdirectory = std::forward<SubdirectoryT>(value);
153 }
154 template <typename SubdirectoryT = Aws::String>
156 SetSubdirectory(std::forward<SubdirectoryT>(value));
157 return *this;
158 }
160
162
173 inline const Aws::Vector<Aws::String>& GetAgentArns() const { return m_agentArns; }
174 inline bool AgentArnsHasBeenSet() const { return m_agentArnsHasBeenSet; }
175 template <typename AgentArnsT = Aws::Vector<Aws::String>>
176 void SetAgentArns(AgentArnsT&& value) {
177 m_agentArnsHasBeenSet = true;
178 m_agentArns = std::forward<AgentArnsT>(value);
179 }
180 template <typename AgentArnsT = Aws::Vector<Aws::String>>
182 SetAgentArns(std::forward<AgentArnsT>(value));
183 return *this;
184 }
185 template <typename AgentArnsT = Aws::String>
187 m_agentArnsHasBeenSet = true;
188 m_agentArns.emplace_back(std::forward<AgentArnsT>(value));
189 return *this;
190 }
192
194
199 inline const Aws::Vector<TagListEntry>& GetTags() const { return m_tags; }
200 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
201 template <typename TagsT = Aws::Vector<TagListEntry>>
202 void SetTags(TagsT&& value) {
203 m_tagsHasBeenSet = true;
204 m_tags = std::forward<TagsT>(value);
205 }
206 template <typename TagsT = Aws::Vector<TagListEntry>>
208 SetTags(std::forward<TagsT>(value));
209 return *this;
210 }
211 template <typename TagsT = TagListEntry>
213 m_tagsHasBeenSet = true;
214 m_tags.emplace_back(std::forward<TagsT>(value));
215 return *this;
216 }
218
220
235 inline const CmkSecretConfig& GetCmkSecretConfig() const { return m_cmkSecretConfig; }
236 inline bool CmkSecretConfigHasBeenSet() const { return m_cmkSecretConfigHasBeenSet; }
237 template <typename CmkSecretConfigT = CmkSecretConfig>
238 void SetCmkSecretConfig(CmkSecretConfigT&& value) {
239 m_cmkSecretConfigHasBeenSet = true;
240 m_cmkSecretConfig = std::forward<CmkSecretConfigT>(value);
241 }
242 template <typename CmkSecretConfigT = CmkSecretConfig>
244 SetCmkSecretConfig(std::forward<CmkSecretConfigT>(value));
245 return *this;
246 }
248
250
261 inline const CustomSecretConfig& GetCustomSecretConfig() const { return m_customSecretConfig; }
262 inline bool CustomSecretConfigHasBeenSet() const { return m_customSecretConfigHasBeenSet; }
263 template <typename CustomSecretConfigT = CustomSecretConfig>
264 void SetCustomSecretConfig(CustomSecretConfigT&& value) {
265 m_customSecretConfigHasBeenSet = true;
266 m_customSecretConfig = std::forward<CustomSecretConfigT>(value);
267 }
268 template <typename CustomSecretConfigT = CustomSecretConfig>
270 SetCustomSecretConfig(std::forward<CustomSecretConfigT>(value));
271 return *this;
272 }
274 private:
275 Aws::String m_containerUrl;
276
278
279 AzureBlobSasConfiguration m_sasConfiguration;
280
282
284
285 Aws::String m_subdirectory;
286
287 Aws::Vector<Aws::String> m_agentArns;
288
290
291 CmkSecretConfig m_cmkSecretConfig;
292
293 CustomSecretConfig m_customSecretConfig;
294 bool m_containerUrlHasBeenSet = false;
295 bool m_authenticationTypeHasBeenSet = false;
296 bool m_sasConfigurationHasBeenSet = false;
297 bool m_blobTypeHasBeenSet = false;
298 bool m_accessTierHasBeenSet = false;
299 bool m_subdirectoryHasBeenSet = false;
300 bool m_agentArnsHasBeenSet = false;
301 bool m_tagsHasBeenSet = false;
302 bool m_cmkSecretConfigHasBeenSet = false;
303 bool m_customSecretConfigHasBeenSet = false;
304};
305
306} // namespace Model
307} // namespace DataSync
308} // namespace Aws
AWS_DATASYNC_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const AzureBlobSasConfiguration & GetSasConfiguration() const
CreateLocationAzureBlobRequest & WithAgentArns(AgentArnsT &&value)
CreateLocationAzureBlobRequest & WithSasConfiguration(SasConfigurationT &&value)
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