AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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 <utility>
16
17namespace Aws
18{
19namespace DataSync
20{
21namespace Model
22{
23
27 {
28 public:
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 "UpdateLocationAzureBlob"; }
36
37 AWS_DATASYNC_API Aws::String SerializePayload() const override;
38
40
41
43
47 inline const Aws::String& GetLocationArn() const{ return m_locationArn; }
48 inline bool LocationArnHasBeenSet() const { return m_locationArnHasBeenSet; }
49 inline void SetLocationArn(const Aws::String& value) { m_locationArnHasBeenSet = true; m_locationArn = value; }
50 inline void SetLocationArn(Aws::String&& value) { m_locationArnHasBeenSet = true; m_locationArn = std::move(value); }
51 inline void SetLocationArn(const char* value) { m_locationArnHasBeenSet = true; m_locationArn.assign(value); }
52 inline UpdateLocationAzureBlobRequest& WithLocationArn(const Aws::String& value) { SetLocationArn(value); return *this;}
53 inline UpdateLocationAzureBlobRequest& WithLocationArn(Aws::String&& value) { SetLocationArn(std::move(value)); return *this;}
54 inline UpdateLocationAzureBlobRequest& WithLocationArn(const char* value) { SetLocationArn(value); return *this;}
56
58
62 inline const Aws::String& GetSubdirectory() const{ return m_subdirectory; }
63 inline bool SubdirectoryHasBeenSet() const { return m_subdirectoryHasBeenSet; }
64 inline void SetSubdirectory(const Aws::String& value) { m_subdirectoryHasBeenSet = true; m_subdirectory = value; }
65 inline void SetSubdirectory(Aws::String&& value) { m_subdirectoryHasBeenSet = true; m_subdirectory = std::move(value); }
66 inline void SetSubdirectory(const char* value) { m_subdirectoryHasBeenSet = true; m_subdirectory.assign(value); }
67 inline UpdateLocationAzureBlobRequest& WithSubdirectory(const Aws::String& value) { SetSubdirectory(value); return *this;}
68 inline UpdateLocationAzureBlobRequest& WithSubdirectory(Aws::String&& value) { SetSubdirectory(std::move(value)); return *this;}
69 inline UpdateLocationAzureBlobRequest& WithSubdirectory(const char* value) { SetSubdirectory(value); return *this;}
71
73
78 inline const AzureBlobAuthenticationType& GetAuthenticationType() const{ return m_authenticationType; }
79 inline bool AuthenticationTypeHasBeenSet() const { return m_authenticationTypeHasBeenSet; }
80 inline void SetAuthenticationType(const AzureBlobAuthenticationType& value) { m_authenticationTypeHasBeenSet = true; m_authenticationType = value; }
81 inline void SetAuthenticationType(AzureBlobAuthenticationType&& value) { m_authenticationTypeHasBeenSet = true; m_authenticationType = std::move(value); }
85
87
91 inline const AzureBlobSasConfiguration& GetSasConfiguration() const{ return m_sasConfiguration; }
92 inline bool SasConfigurationHasBeenSet() const { return m_sasConfigurationHasBeenSet; }
93 inline void SetSasConfiguration(const AzureBlobSasConfiguration& value) { m_sasConfigurationHasBeenSet = true; m_sasConfiguration = value; }
94 inline void SetSasConfiguration(AzureBlobSasConfiguration&& value) { m_sasConfigurationHasBeenSet = true; m_sasConfiguration = std::move(value); }
98
100
108 inline const AzureBlobType& GetBlobType() const{ return m_blobType; }
109 inline bool BlobTypeHasBeenSet() const { return m_blobTypeHasBeenSet; }
110 inline void SetBlobType(const AzureBlobType& value) { m_blobTypeHasBeenSet = true; m_blobType = value; }
111 inline void SetBlobType(AzureBlobType&& value) { m_blobTypeHasBeenSet = true; m_blobType = std::move(value); }
112 inline UpdateLocationAzureBlobRequest& WithBlobType(const AzureBlobType& value) { SetBlobType(value); return *this;}
113 inline UpdateLocationAzureBlobRequest& WithBlobType(AzureBlobType&& value) { SetBlobType(std::move(value)); return *this;}
115
117
124 inline const AzureAccessTier& GetAccessTier() const{ return m_accessTier; }
125 inline bool AccessTierHasBeenSet() const { return m_accessTierHasBeenSet; }
126 inline void SetAccessTier(const AzureAccessTier& value) { m_accessTierHasBeenSet = true; m_accessTier = value; }
127 inline void SetAccessTier(AzureAccessTier&& value) { m_accessTierHasBeenSet = true; m_accessTier = std::move(value); }
128 inline UpdateLocationAzureBlobRequest& WithAccessTier(const AzureAccessTier& value) { SetAccessTier(value); return *this;}
129 inline UpdateLocationAzureBlobRequest& WithAccessTier(AzureAccessTier&& value) { SetAccessTier(std::move(value)); return *this;}
131
133
140 inline const Aws::Vector<Aws::String>& GetAgentArns() const{ return m_agentArns; }
141 inline bool AgentArnsHasBeenSet() const { return m_agentArnsHasBeenSet; }
142 inline void SetAgentArns(const Aws::Vector<Aws::String>& value) { m_agentArnsHasBeenSet = true; m_agentArns = value; }
143 inline void SetAgentArns(Aws::Vector<Aws::String>&& value) { m_agentArnsHasBeenSet = true; m_agentArns = std::move(value); }
145 inline UpdateLocationAzureBlobRequest& WithAgentArns(Aws::Vector<Aws::String>&& value) { SetAgentArns(std::move(value)); return *this;}
146 inline UpdateLocationAzureBlobRequest& AddAgentArns(const Aws::String& value) { m_agentArnsHasBeenSet = true; m_agentArns.push_back(value); return *this; }
147 inline UpdateLocationAzureBlobRequest& AddAgentArns(Aws::String&& value) { m_agentArnsHasBeenSet = true; m_agentArns.push_back(std::move(value)); return *this; }
148 inline UpdateLocationAzureBlobRequest& AddAgentArns(const char* value) { m_agentArnsHasBeenSet = true; m_agentArns.push_back(value); return *this; }
150 private:
151
152 Aws::String m_locationArn;
153 bool m_locationArnHasBeenSet = false;
154
155 Aws::String m_subdirectory;
156 bool m_subdirectoryHasBeenSet = false;
157
158 AzureBlobAuthenticationType m_authenticationType;
159 bool m_authenticationTypeHasBeenSet = false;
160
161 AzureBlobSasConfiguration m_sasConfiguration;
162 bool m_sasConfigurationHasBeenSet = false;
163
164 AzureBlobType m_blobType;
165 bool m_blobTypeHasBeenSet = false;
166
167 AzureAccessTier m_accessTier;
168 bool m_accessTierHasBeenSet = false;
169
170 Aws::Vector<Aws::String> m_agentArns;
171 bool m_agentArnsHasBeenSet = false;
172 };
173
174} // namespace Model
175} // namespace DataSync
176} // namespace Aws
UpdateLocationAzureBlobRequest & WithBlobType(AzureBlobType &&value)
AWS_DATASYNC_API Aws::String SerializePayload() const override
UpdateLocationAzureBlobRequest & AddAgentArns(const char *value)
void SetAuthenticationType(const AzureBlobAuthenticationType &value)
UpdateLocationAzureBlobRequest & WithBlobType(const AzureBlobType &value)
UpdateLocationAzureBlobRequest & AddAgentArns(Aws::String &&value)
UpdateLocationAzureBlobRequest & WithLocationArn(const char *value)
AWS_DATASYNC_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateLocationAzureBlobRequest & WithAgentArns(const Aws::Vector< Aws::String > &value)
void SetAgentArns(const Aws::Vector< Aws::String > &value)
const AzureBlobSasConfiguration & GetSasConfiguration() const
void SetAuthenticationType(AzureBlobAuthenticationType &&value)
UpdateLocationAzureBlobRequest & WithSubdirectory(const char *value)
UpdateLocationAzureBlobRequest & WithLocationArn(const Aws::String &value)
UpdateLocationAzureBlobRequest & WithSasConfiguration(const AzureBlobSasConfiguration &value)
UpdateLocationAzureBlobRequest & WithAccessTier(const AzureAccessTier &value)
UpdateLocationAzureBlobRequest & WithAuthenticationType(AzureBlobAuthenticationType &&value)
UpdateLocationAzureBlobRequest & WithSasConfiguration(AzureBlobSasConfiguration &&value)
UpdateLocationAzureBlobRequest & WithSubdirectory(Aws::String &&value)
UpdateLocationAzureBlobRequest & WithAgentArns(Aws::Vector< Aws::String > &&value)
UpdateLocationAzureBlobRequest & WithLocationArn(Aws::String &&value)
UpdateLocationAzureBlobRequest & WithSubdirectory(const Aws::String &value)
UpdateLocationAzureBlobRequest & AddAgentArns(const Aws::String &value)
void SetSasConfiguration(const AzureBlobSasConfiguration &value)
const AzureBlobAuthenticationType & GetAuthenticationType() const
UpdateLocationAzureBlobRequest & WithAccessTier(AzureAccessTier &&value)
UpdateLocationAzureBlobRequest & WithAuthenticationType(const AzureBlobAuthenticationType &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