AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateLocationAzureBlobRequest.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 <utility>
18
19namespace Aws
20{
21namespace DataSync
22{
23namespace Model
24{
25
29 {
30 public:
31 AWS_DATASYNC_API UpdateLocationAzureBlobRequest() = default;
32
33 // Service request name is the Operation name which will send this request out,
34 // each operation should has unique request name, so that we can get operation's name from this request.
35 // Note: this is not true for response, multiple operations may have the same response name,
36 // so we can not get operation's name from response.
37 inline virtual const char* GetServiceRequestName() const override { return "UpdateLocationAzureBlob"; }
38
39 AWS_DATASYNC_API Aws::String SerializePayload() const override;
40
42
43
45
49 inline const Aws::String& GetLocationArn() const { return m_locationArn; }
50 inline bool LocationArnHasBeenSet() const { return m_locationArnHasBeenSet; }
51 template<typename LocationArnT = Aws::String>
52 void SetLocationArn(LocationArnT&& value) { m_locationArnHasBeenSet = true; m_locationArn = std::forward<LocationArnT>(value); }
53 template<typename LocationArnT = Aws::String>
54 UpdateLocationAzureBlobRequest& WithLocationArn(LocationArnT&& value) { SetLocationArn(std::forward<LocationArnT>(value)); return *this;}
56
58
62 inline const Aws::String& GetSubdirectory() const { return m_subdirectory; }
63 inline bool SubdirectoryHasBeenSet() const { return m_subdirectoryHasBeenSet; }
64 template<typename SubdirectoryT = Aws::String>
65 void SetSubdirectory(SubdirectoryT&& value) { m_subdirectoryHasBeenSet = true; m_subdirectory = std::forward<SubdirectoryT>(value); }
66 template<typename SubdirectoryT = Aws::String>
67 UpdateLocationAzureBlobRequest& WithSubdirectory(SubdirectoryT&& value) { SetSubdirectory(std::forward<SubdirectoryT>(value)); return *this;}
69
71
76 inline AzureBlobAuthenticationType GetAuthenticationType() const { return m_authenticationType; }
77 inline bool AuthenticationTypeHasBeenSet() const { return m_authenticationTypeHasBeenSet; }
78 inline void SetAuthenticationType(AzureBlobAuthenticationType value) { m_authenticationTypeHasBeenSet = true; m_authenticationType = value; }
81
83
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) { m_sasConfigurationHasBeenSet = true; m_sasConfiguration = std::forward<SasConfigurationT>(value); }
91 template<typename SasConfigurationT = AzureBlobSasConfiguration>
92 UpdateLocationAzureBlobRequest& WithSasConfiguration(SasConfigurationT&& value) { SetSasConfiguration(std::forward<SasConfigurationT>(value)); return *this;}
94
96
104 inline AzureBlobType GetBlobType() const { return m_blobType; }
105 inline bool BlobTypeHasBeenSet() const { return m_blobTypeHasBeenSet; }
106 inline void SetBlobType(AzureBlobType value) { m_blobTypeHasBeenSet = true; m_blobType = value; }
109
111
118 inline AzureAccessTier GetAccessTier() const { return m_accessTier; }
119 inline bool AccessTierHasBeenSet() const { return m_accessTierHasBeenSet; }
120 inline void SetAccessTier(AzureAccessTier value) { m_accessTierHasBeenSet = true; m_accessTier = value; }
123
125
135 inline const Aws::Vector<Aws::String>& GetAgentArns() const { return m_agentArns; }
136 inline bool AgentArnsHasBeenSet() const { return m_agentArnsHasBeenSet; }
137 template<typename AgentArnsT = Aws::Vector<Aws::String>>
138 void SetAgentArns(AgentArnsT&& value) { m_agentArnsHasBeenSet = true; m_agentArns = std::forward<AgentArnsT>(value); }
139 template<typename AgentArnsT = Aws::Vector<Aws::String>>
140 UpdateLocationAzureBlobRequest& WithAgentArns(AgentArnsT&& value) { SetAgentArns(std::forward<AgentArnsT>(value)); return *this;}
141 template<typename AgentArnsT = Aws::String>
142 UpdateLocationAzureBlobRequest& AddAgentArns(AgentArnsT&& value) { m_agentArnsHasBeenSet = true; m_agentArns.emplace_back(std::forward<AgentArnsT>(value)); return *this; }
144
146
151 inline const CmkSecretConfig& GetCmkSecretConfig() const { return m_cmkSecretConfig; }
152 inline bool CmkSecretConfigHasBeenSet() const { return m_cmkSecretConfigHasBeenSet; }
153 template<typename CmkSecretConfigT = CmkSecretConfig>
154 void SetCmkSecretConfig(CmkSecretConfigT&& value) { m_cmkSecretConfigHasBeenSet = true; m_cmkSecretConfig = std::forward<CmkSecretConfigT>(value); }
155 template<typename CmkSecretConfigT = CmkSecretConfig>
156 UpdateLocationAzureBlobRequest& WithCmkSecretConfig(CmkSecretConfigT&& value) { SetCmkSecretConfig(std::forward<CmkSecretConfigT>(value)); return *this;}
158
160
165 inline const CustomSecretConfig& GetCustomSecretConfig() const { return m_customSecretConfig; }
166 inline bool CustomSecretConfigHasBeenSet() const { return m_customSecretConfigHasBeenSet; }
167 template<typename CustomSecretConfigT = CustomSecretConfig>
168 void SetCustomSecretConfig(CustomSecretConfigT&& value) { m_customSecretConfigHasBeenSet = true; m_customSecretConfig = std::forward<CustomSecretConfigT>(value); }
169 template<typename CustomSecretConfigT = CustomSecretConfig>
170 UpdateLocationAzureBlobRequest& WithCustomSecretConfig(CustomSecretConfigT&& value) { SetCustomSecretConfig(std::forward<CustomSecretConfigT>(value)); return *this;}
172 private:
173
174 Aws::String m_locationArn;
175 bool m_locationArnHasBeenSet = false;
176
177 Aws::String m_subdirectory;
178 bool m_subdirectoryHasBeenSet = false;
179
181 bool m_authenticationTypeHasBeenSet = false;
182
183 AzureBlobSasConfiguration m_sasConfiguration;
184 bool m_sasConfigurationHasBeenSet = false;
185
187 bool m_blobTypeHasBeenSet = false;
188
190 bool m_accessTierHasBeenSet = false;
191
192 Aws::Vector<Aws::String> m_agentArns;
193 bool m_agentArnsHasBeenSet = false;
194
195 CmkSecretConfig m_cmkSecretConfig;
196 bool m_cmkSecretConfigHasBeenSet = false;
197
198 CustomSecretConfig m_customSecretConfig;
199 bool m_customSecretConfigHasBeenSet = false;
200 };
201
202} // namespace Model
203} // namespace DataSync
204} // 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
const AzureBlobSasConfiguration & GetSasConfiguration() const
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