AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
UpdateLocationAzureBlobRequest.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
18#include <utility>
19
20namespace Aws {
21namespace DataSync {
22namespace Model {
23
27 public:
28 AWS_DATASYNC_API UpdateLocationAzureBlobRequest() = default;
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "UpdateLocationAzureBlob"; }
35
36 AWS_DATASYNC_API Aws::String SerializePayload() const override;
37
39
41
45 inline const Aws::String& GetLocationArn() const { return m_locationArn; }
46 inline bool LocationArnHasBeenSet() const { return m_locationArnHasBeenSet; }
47 template <typename LocationArnT = Aws::String>
48 void SetLocationArn(LocationArnT&& value) {
49 m_locationArnHasBeenSet = true;
50 m_locationArn = std::forward<LocationArnT>(value);
51 }
52 template <typename LocationArnT = Aws::String>
54 SetLocationArn(std::forward<LocationArnT>(value));
55 return *this;
56 }
58
60
64 inline const Aws::String& GetSubdirectory() const { return m_subdirectory; }
65 inline bool SubdirectoryHasBeenSet() const { return m_subdirectoryHasBeenSet; }
66 template <typename SubdirectoryT = Aws::String>
67 void SetSubdirectory(SubdirectoryT&& value) {
68 m_subdirectoryHasBeenSet = true;
69 m_subdirectory = std::forward<SubdirectoryT>(value);
70 }
71 template <typename SubdirectoryT = Aws::String>
73 SetSubdirectory(std::forward<SubdirectoryT>(value));
74 return *this;
75 }
77
79
84 inline AzureBlobAuthenticationType GetAuthenticationType() const { return m_authenticationType; }
85 inline bool AuthenticationTypeHasBeenSet() const { return m_authenticationTypeHasBeenSet; }
87 m_authenticationTypeHasBeenSet = true;
88 m_authenticationType = value;
89 }
92 return *this;
93 }
95
97
101 inline const AzureBlobSasConfiguration& GetSasConfiguration() const { return m_sasConfiguration; }
102 inline bool SasConfigurationHasBeenSet() const { return m_sasConfigurationHasBeenSet; }
103 template <typename SasConfigurationT = AzureBlobSasConfiguration>
104 void SetSasConfiguration(SasConfigurationT&& value) {
105 m_sasConfigurationHasBeenSet = true;
106 m_sasConfiguration = std::forward<SasConfigurationT>(value);
107 }
108 template <typename SasConfigurationT = AzureBlobSasConfiguration>
110 SetSasConfiguration(std::forward<SasConfigurationT>(value));
111 return *this;
112 }
114
116
124 inline AzureBlobType GetBlobType() const { return m_blobType; }
125 inline bool BlobTypeHasBeenSet() const { return m_blobTypeHasBeenSet; }
126 inline void SetBlobType(AzureBlobType value) {
127 m_blobTypeHasBeenSet = true;
128 m_blobType = value;
129 }
131 SetBlobType(value);
132 return *this;
133 }
135
137
144 inline AzureAccessTier GetAccessTier() const { return m_accessTier; }
145 inline bool AccessTierHasBeenSet() const { return m_accessTierHasBeenSet; }
146 inline void SetAccessTier(AzureAccessTier value) {
147 m_accessTierHasBeenSet = true;
148 m_accessTier = value;
149 }
151 SetAccessTier(value);
152 return *this;
153 }
155
157
167 inline const Aws::Vector<Aws::String>& GetAgentArns() const { return m_agentArns; }
168 inline bool AgentArnsHasBeenSet() const { return m_agentArnsHasBeenSet; }
169 template <typename AgentArnsT = Aws::Vector<Aws::String>>
170 void SetAgentArns(AgentArnsT&& value) {
171 m_agentArnsHasBeenSet = true;
172 m_agentArns = std::forward<AgentArnsT>(value);
173 }
174 template <typename AgentArnsT = Aws::Vector<Aws::String>>
176 SetAgentArns(std::forward<AgentArnsT>(value));
177 return *this;
178 }
179 template <typename AgentArnsT = Aws::String>
181 m_agentArnsHasBeenSet = true;
182 m_agentArns.emplace_back(std::forward<AgentArnsT>(value));
183 return *this;
184 }
186
188
193 inline const CmkSecretConfig& GetCmkSecretConfig() const { return m_cmkSecretConfig; }
194 inline bool CmkSecretConfigHasBeenSet() const { return m_cmkSecretConfigHasBeenSet; }
195 template <typename CmkSecretConfigT = CmkSecretConfig>
196 void SetCmkSecretConfig(CmkSecretConfigT&& value) {
197 m_cmkSecretConfigHasBeenSet = true;
198 m_cmkSecretConfig = std::forward<CmkSecretConfigT>(value);
199 }
200 template <typename CmkSecretConfigT = CmkSecretConfig>
202 SetCmkSecretConfig(std::forward<CmkSecretConfigT>(value));
203 return *this;
204 }
206
208
213 inline const CustomSecretConfig& GetCustomSecretConfig() const { return m_customSecretConfig; }
214 inline bool CustomSecretConfigHasBeenSet() const { return m_customSecretConfigHasBeenSet; }
215 template <typename CustomSecretConfigT = CustomSecretConfig>
216 void SetCustomSecretConfig(CustomSecretConfigT&& value) {
217 m_customSecretConfigHasBeenSet = true;
218 m_customSecretConfig = std::forward<CustomSecretConfigT>(value);
219 }
220 template <typename CustomSecretConfigT = CustomSecretConfig>
222 SetCustomSecretConfig(std::forward<CustomSecretConfigT>(value));
223 return *this;
224 }
226 private:
227 Aws::String m_locationArn;
228
229 Aws::String m_subdirectory;
230
232
233 AzureBlobSasConfiguration m_sasConfiguration;
234
236
238
239 Aws::Vector<Aws::String> m_agentArns;
240
241 CmkSecretConfig m_cmkSecretConfig;
242
243 CustomSecretConfig m_customSecretConfig;
244 bool m_locationArnHasBeenSet = false;
245 bool m_subdirectoryHasBeenSet = false;
246 bool m_authenticationTypeHasBeenSet = false;
247 bool m_sasConfigurationHasBeenSet = false;
248 bool m_blobTypeHasBeenSet = false;
249 bool m_accessTierHasBeenSet = false;
250 bool m_agentArnsHasBeenSet = false;
251 bool m_cmkSecretConfigHasBeenSet = false;
252 bool m_customSecretConfigHasBeenSet = false;
253};
254
255} // namespace Model
256} // namespace DataSync
257} // namespace Aws
AWS_DATASYNC_API Aws::String SerializePayload() const override
AWS_DATASYNC_API UpdateLocationAzureBlobRequest()=default
UpdateLocationAzureBlobRequest & WithSasConfiguration(SasConfigurationT &&value)
UpdateLocationAzureBlobRequest & WithAuthenticationType(AzureBlobAuthenticationType value)
UpdateLocationAzureBlobRequest & WithAccessTier(AzureAccessTier value)
AWS_DATASYNC_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateLocationAzureBlobRequest & WithSubdirectory(SubdirectoryT &&value)
UpdateLocationAzureBlobRequest & WithBlobType(AzureBlobType value)
UpdateLocationAzureBlobRequest & WithLocationArn(LocationArnT &&value)
UpdateLocationAzureBlobRequest & AddAgentArns(AgentArnsT &&value)
UpdateLocationAzureBlobRequest & WithCmkSecretConfig(CmkSecretConfigT &&value)
UpdateLocationAzureBlobRequest & WithAgentArns(AgentArnsT &&value)
UpdateLocationAzureBlobRequest & WithCustomSecretConfig(CustomSecretConfigT &&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