AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreateLocationAzureBlobRequest.h
1
6#pragma once
7#include <aws/datasync/DataSync_EXPORTS.h>
8#include <aws/datasync/DataSyncRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/datasync/model/AzureBlobAuthenticationType.h>
11#include <aws/datasync/model/AzureBlobSasConfiguration.h>
12#include <aws/datasync/model/AzureBlobType.h>
13#include <aws/datasync/model/AzureAccessTier.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
15#include <aws/datasync/model/CmkSecretConfig.h>
16#include <aws/datasync/model/CustomSecretConfig.h>
17#include <aws/datasync/model/TagListEntry.h>
18#include <utility>
19
20namespace Aws
21{
22namespace DataSync
23{
24namespace Model
25{
26
30 {
31 public:
32 AWS_DATASYNC_API CreateLocationAzureBlobRequest() = default;
33
34 // Service request name is the Operation name which will send this request out,
35 // each operation should has unique request name, so that we can get operation's name from this request.
36 // Note: this is not true for response, multiple operations may have the same response name,
37 // so we can not get operation's name from response.
38 inline virtual const char* GetServiceRequestName() const override { return "CreateLocationAzureBlob"; }
39
40 AWS_DATASYNC_API Aws::String SerializePayload() const override;
41
43
44
46
50 inline const Aws::String& GetContainerUrl() const { return m_containerUrl; }
51 inline bool ContainerUrlHasBeenSet() const { return m_containerUrlHasBeenSet; }
52 template<typename ContainerUrlT = Aws::String>
53 void SetContainerUrl(ContainerUrlT&& value) { m_containerUrlHasBeenSet = true; m_containerUrl = std::forward<ContainerUrlT>(value); }
54 template<typename ContainerUrlT = Aws::String>
55 CreateLocationAzureBlobRequest& WithContainerUrl(ContainerUrlT&& value) { SetContainerUrl(std::forward<ContainerUrlT>(value)); return *this;}
57
59
64 inline AzureBlobAuthenticationType GetAuthenticationType() const { return m_authenticationType; }
65 inline bool AuthenticationTypeHasBeenSet() const { return m_authenticationTypeHasBeenSet; }
66 inline void SetAuthenticationType(AzureBlobAuthenticationType value) { m_authenticationTypeHasBeenSet = true; m_authenticationType = value; }
69
71
79 inline const AzureBlobSasConfiguration& GetSasConfiguration() const { return m_sasConfiguration; }
80 inline bool SasConfigurationHasBeenSet() const { return m_sasConfigurationHasBeenSet; }
81 template<typename SasConfigurationT = AzureBlobSasConfiguration>
82 void SetSasConfiguration(SasConfigurationT&& value) { m_sasConfigurationHasBeenSet = true; m_sasConfiguration = std::forward<SasConfigurationT>(value); }
83 template<typename SasConfigurationT = AzureBlobSasConfiguration>
84 CreateLocationAzureBlobRequest& WithSasConfiguration(SasConfigurationT&& value) { SetSasConfiguration(std::forward<SasConfigurationT>(value)); return *this;}
86
88
96 inline AzureBlobType GetBlobType() const { return m_blobType; }
97 inline bool BlobTypeHasBeenSet() const { return m_blobTypeHasBeenSet; }
98 inline void SetBlobType(AzureBlobType value) { m_blobTypeHasBeenSet = true; m_blobType = value; }
101
103
110 inline AzureAccessTier GetAccessTier() const { return m_accessTier; }
111 inline bool AccessTierHasBeenSet() const { return m_accessTierHasBeenSet; }
112 inline void SetAccessTier(AzureAccessTier value) { m_accessTierHasBeenSet = true; m_accessTier = value; }
115
117
121 inline const Aws::String& GetSubdirectory() const { return m_subdirectory; }
122 inline bool SubdirectoryHasBeenSet() const { return m_subdirectoryHasBeenSet; }
123 template<typename SubdirectoryT = Aws::String>
124 void SetSubdirectory(SubdirectoryT&& value) { m_subdirectoryHasBeenSet = true; m_subdirectory = std::forward<SubdirectoryT>(value); }
125 template<typename SubdirectoryT = Aws::String>
126 CreateLocationAzureBlobRequest& WithSubdirectory(SubdirectoryT&& value) { SetSubdirectory(std::forward<SubdirectoryT>(value)); return *this;}
128
130
141 inline const Aws::Vector<Aws::String>& GetAgentArns() const { return m_agentArns; }
142 inline bool AgentArnsHasBeenSet() const { return m_agentArnsHasBeenSet; }
143 template<typename AgentArnsT = Aws::Vector<Aws::String>>
144 void SetAgentArns(AgentArnsT&& value) { m_agentArnsHasBeenSet = true; m_agentArns = std::forward<AgentArnsT>(value); }
145 template<typename AgentArnsT = Aws::Vector<Aws::String>>
146 CreateLocationAzureBlobRequest& WithAgentArns(AgentArnsT&& value) { SetAgentArns(std::forward<AgentArnsT>(value)); return *this;}
147 template<typename AgentArnsT = Aws::String>
148 CreateLocationAzureBlobRequest& AddAgentArns(AgentArnsT&& value) { m_agentArnsHasBeenSet = true; m_agentArns.emplace_back(std::forward<AgentArnsT>(value)); return *this; }
150
152
157 inline const Aws::Vector<TagListEntry>& GetTags() const { return m_tags; }
158 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
159 template<typename TagsT = Aws::Vector<TagListEntry>>
160 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
161 template<typename TagsT = Aws::Vector<TagListEntry>>
162 CreateLocationAzureBlobRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
163 template<typename TagsT = TagListEntry>
164 CreateLocationAzureBlobRequest& AddTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags.emplace_back(std::forward<TagsT>(value)); return *this; }
166
168
183 inline const CmkSecretConfig& GetCmkSecretConfig() const { return m_cmkSecretConfig; }
184 inline bool CmkSecretConfigHasBeenSet() const { return m_cmkSecretConfigHasBeenSet; }
185 template<typename CmkSecretConfigT = CmkSecretConfig>
186 void SetCmkSecretConfig(CmkSecretConfigT&& value) { m_cmkSecretConfigHasBeenSet = true; m_cmkSecretConfig = std::forward<CmkSecretConfigT>(value); }
187 template<typename CmkSecretConfigT = CmkSecretConfig>
188 CreateLocationAzureBlobRequest& WithCmkSecretConfig(CmkSecretConfigT&& value) { SetCmkSecretConfig(std::forward<CmkSecretConfigT>(value)); return *this;}
190
192
202 inline const CustomSecretConfig& GetCustomSecretConfig() const { return m_customSecretConfig; }
203 inline bool CustomSecretConfigHasBeenSet() const { return m_customSecretConfigHasBeenSet; }
204 template<typename CustomSecretConfigT = CustomSecretConfig>
205 void SetCustomSecretConfig(CustomSecretConfigT&& value) { m_customSecretConfigHasBeenSet = true; m_customSecretConfig = std::forward<CustomSecretConfigT>(value); }
206 template<typename CustomSecretConfigT = CustomSecretConfig>
207 CreateLocationAzureBlobRequest& WithCustomSecretConfig(CustomSecretConfigT&& value) { SetCustomSecretConfig(std::forward<CustomSecretConfigT>(value)); return *this;}
209 private:
210
211 Aws::String m_containerUrl;
212 bool m_containerUrlHasBeenSet = false;
213
215 bool m_authenticationTypeHasBeenSet = false;
216
217 AzureBlobSasConfiguration m_sasConfiguration;
218 bool m_sasConfigurationHasBeenSet = false;
219
221 bool m_blobTypeHasBeenSet = false;
222
224 bool m_accessTierHasBeenSet = false;
225
226 Aws::String m_subdirectory;
227 bool m_subdirectoryHasBeenSet = false;
228
229 Aws::Vector<Aws::String> m_agentArns;
230 bool m_agentArnsHasBeenSet = false;
231
233 bool m_tagsHasBeenSet = false;
234
235 CmkSecretConfig m_cmkSecretConfig;
236 bool m_cmkSecretConfigHasBeenSet = false;
237
238 CustomSecretConfig m_customSecretConfig;
239 bool m_customSecretConfigHasBeenSet = false;
240 };
241
242} // namespace Model
243} // namespace DataSync
244} // 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