AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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/TagListEntry.h>
16#include <utility>
17
18namespace Aws
19{
20namespace DataSync
21{
22namespace Model
23{
24
28 {
29 public:
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "CreateLocationAzureBlob"; }
37
38 AWS_DATASYNC_API Aws::String SerializePayload() const override;
39
41
42
44
48 inline const Aws::String& GetContainerUrl() const{ return m_containerUrl; }
49 inline bool ContainerUrlHasBeenSet() const { return m_containerUrlHasBeenSet; }
50 inline void SetContainerUrl(const Aws::String& value) { m_containerUrlHasBeenSet = true; m_containerUrl = value; }
51 inline void SetContainerUrl(Aws::String&& value) { m_containerUrlHasBeenSet = true; m_containerUrl = std::move(value); }
52 inline void SetContainerUrl(const char* value) { m_containerUrlHasBeenSet = true; m_containerUrl.assign(value); }
53 inline CreateLocationAzureBlobRequest& WithContainerUrl(const Aws::String& value) { SetContainerUrl(value); return *this;}
54 inline CreateLocationAzureBlobRequest& WithContainerUrl(Aws::String&& value) { SetContainerUrl(std::move(value)); return *this;}
55 inline CreateLocationAzureBlobRequest& WithContainerUrl(const char* value) { SetContainerUrl(value); return *this;}
57
59
64 inline const AzureBlobAuthenticationType& GetAuthenticationType() const{ return m_authenticationType; }
65 inline bool AuthenticationTypeHasBeenSet() const { return m_authenticationTypeHasBeenSet; }
66 inline void SetAuthenticationType(const AzureBlobAuthenticationType& value) { m_authenticationTypeHasBeenSet = true; m_authenticationType = value; }
67 inline void SetAuthenticationType(AzureBlobAuthenticationType&& value) { m_authenticationTypeHasBeenSet = true; m_authenticationType = std::move(value); }
71
73
77 inline const AzureBlobSasConfiguration& GetSasConfiguration() const{ return m_sasConfiguration; }
78 inline bool SasConfigurationHasBeenSet() const { return m_sasConfigurationHasBeenSet; }
79 inline void SetSasConfiguration(const AzureBlobSasConfiguration& value) { m_sasConfigurationHasBeenSet = true; m_sasConfiguration = value; }
80 inline void SetSasConfiguration(AzureBlobSasConfiguration&& value) { m_sasConfigurationHasBeenSet = true; m_sasConfiguration = std::move(value); }
84
86
94 inline const AzureBlobType& GetBlobType() const{ return m_blobType; }
95 inline bool BlobTypeHasBeenSet() const { return m_blobTypeHasBeenSet; }
96 inline void SetBlobType(const AzureBlobType& value) { m_blobTypeHasBeenSet = true; m_blobType = value; }
97 inline void SetBlobType(AzureBlobType&& value) { m_blobTypeHasBeenSet = true; m_blobType = std::move(value); }
98 inline CreateLocationAzureBlobRequest& WithBlobType(const AzureBlobType& value) { SetBlobType(value); return *this;}
99 inline CreateLocationAzureBlobRequest& WithBlobType(AzureBlobType&& value) { SetBlobType(std::move(value)); return *this;}
101
103
110 inline const AzureAccessTier& GetAccessTier() const{ return m_accessTier; }
111 inline bool AccessTierHasBeenSet() const { return m_accessTierHasBeenSet; }
112 inline void SetAccessTier(const AzureAccessTier& value) { m_accessTierHasBeenSet = true; m_accessTier = value; }
113 inline void SetAccessTier(AzureAccessTier&& value) { m_accessTierHasBeenSet = true; m_accessTier = std::move(value); }
114 inline CreateLocationAzureBlobRequest& WithAccessTier(const AzureAccessTier& value) { SetAccessTier(value); return *this;}
115 inline CreateLocationAzureBlobRequest& WithAccessTier(AzureAccessTier&& value) { SetAccessTier(std::move(value)); return *this;}
117
119
123 inline const Aws::String& GetSubdirectory() const{ return m_subdirectory; }
124 inline bool SubdirectoryHasBeenSet() const { return m_subdirectoryHasBeenSet; }
125 inline void SetSubdirectory(const Aws::String& value) { m_subdirectoryHasBeenSet = true; m_subdirectory = value; }
126 inline void SetSubdirectory(Aws::String&& value) { m_subdirectoryHasBeenSet = true; m_subdirectory = std::move(value); }
127 inline void SetSubdirectory(const char* value) { m_subdirectoryHasBeenSet = true; m_subdirectory.assign(value); }
128 inline CreateLocationAzureBlobRequest& WithSubdirectory(const Aws::String& value) { SetSubdirectory(value); return *this;}
129 inline CreateLocationAzureBlobRequest& WithSubdirectory(Aws::String&& value) { SetSubdirectory(std::move(value)); return *this;}
130 inline CreateLocationAzureBlobRequest& WithSubdirectory(const char* value) { SetSubdirectory(value); return *this;}
132
134
141 inline const Aws::Vector<Aws::String>& GetAgentArns() const{ return m_agentArns; }
142 inline bool AgentArnsHasBeenSet() const { return m_agentArnsHasBeenSet; }
143 inline void SetAgentArns(const Aws::Vector<Aws::String>& value) { m_agentArnsHasBeenSet = true; m_agentArns = value; }
144 inline void SetAgentArns(Aws::Vector<Aws::String>&& value) { m_agentArnsHasBeenSet = true; m_agentArns = std::move(value); }
146 inline CreateLocationAzureBlobRequest& WithAgentArns(Aws::Vector<Aws::String>&& value) { SetAgentArns(std::move(value)); return *this;}
147 inline CreateLocationAzureBlobRequest& AddAgentArns(const Aws::String& value) { m_agentArnsHasBeenSet = true; m_agentArns.push_back(value); return *this; }
148 inline CreateLocationAzureBlobRequest& AddAgentArns(Aws::String&& value) { m_agentArnsHasBeenSet = true; m_agentArns.push_back(std::move(value)); return *this; }
149 inline CreateLocationAzureBlobRequest& AddAgentArns(const char* value) { m_agentArnsHasBeenSet = true; m_agentArns.push_back(value); return *this; }
151
153
158 inline const Aws::Vector<TagListEntry>& GetTags() const{ return m_tags; }
159 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
160 inline void SetTags(const Aws::Vector<TagListEntry>& value) { m_tagsHasBeenSet = true; m_tags = value; }
161 inline void SetTags(Aws::Vector<TagListEntry>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
162 inline CreateLocationAzureBlobRequest& WithTags(const Aws::Vector<TagListEntry>& value) { SetTags(value); return *this;}
163 inline CreateLocationAzureBlobRequest& WithTags(Aws::Vector<TagListEntry>&& value) { SetTags(std::move(value)); return *this;}
164 inline CreateLocationAzureBlobRequest& AddTags(const TagListEntry& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
165 inline CreateLocationAzureBlobRequest& AddTags(TagListEntry&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
167 private:
168
169 Aws::String m_containerUrl;
170 bool m_containerUrlHasBeenSet = false;
171
172 AzureBlobAuthenticationType m_authenticationType;
173 bool m_authenticationTypeHasBeenSet = false;
174
175 AzureBlobSasConfiguration m_sasConfiguration;
176 bool m_sasConfigurationHasBeenSet = false;
177
178 AzureBlobType m_blobType;
179 bool m_blobTypeHasBeenSet = false;
180
181 AzureAccessTier m_accessTier;
182 bool m_accessTierHasBeenSet = false;
183
184 Aws::String m_subdirectory;
185 bool m_subdirectoryHasBeenSet = false;
186
187 Aws::Vector<Aws::String> m_agentArns;
188 bool m_agentArnsHasBeenSet = false;
189
191 bool m_tagsHasBeenSet = false;
192 };
193
194} // namespace Model
195} // namespace DataSync
196} // namespace Aws
AWS_DATASYNC_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const AzureBlobSasConfiguration & GetSasConfiguration() const
CreateLocationAzureBlobRequest & WithAgentArns(const Aws::Vector< Aws::String > &value)
CreateLocationAzureBlobRequest & WithSasConfiguration(AzureBlobSasConfiguration &&value)
CreateLocationAzureBlobRequest & WithAccessTier(const AzureAccessTier &value)
CreateLocationAzureBlobRequest & AddTags(TagListEntry &&value)
CreateLocationAzureBlobRequest & AddAgentArns(const char *value)
void SetAuthenticationType(AzureBlobAuthenticationType &&value)
CreateLocationAzureBlobRequest & AddTags(const TagListEntry &value)
CreateLocationAzureBlobRequest & WithBlobType(const AzureBlobType &value)
CreateLocationAzureBlobRequest & WithAuthenticationType(AzureBlobAuthenticationType &&value)
CreateLocationAzureBlobRequest & WithSubdirectory(const Aws::String &value)
CreateLocationAzureBlobRequest & WithBlobType(AzureBlobType &&value)
void SetTags(const Aws::Vector< TagListEntry > &value)
const AzureBlobAuthenticationType & GetAuthenticationType() const
void SetAuthenticationType(const AzureBlobAuthenticationType &value)
CreateLocationAzureBlobRequest & WithAgentArns(Aws::Vector< Aws::String > &&value)
CreateLocationAzureBlobRequest & AddAgentArns(Aws::String &&value)
CreateLocationAzureBlobRequest & WithTags(const Aws::Vector< TagListEntry > &value)
CreateLocationAzureBlobRequest & WithAuthenticationType(const AzureBlobAuthenticationType &value)
CreateLocationAzureBlobRequest & WithSubdirectory(const char *value)
CreateLocationAzureBlobRequest & WithContainerUrl(const char *value)
void SetAgentArns(const Aws::Vector< Aws::String > &value)
void SetSasConfiguration(const AzureBlobSasConfiguration &value)
CreateLocationAzureBlobRequest & WithContainerUrl(Aws::String &&value)
AWS_DATASYNC_API Aws::String SerializePayload() const override
CreateLocationAzureBlobRequest & WithAccessTier(AzureAccessTier &&value)
CreateLocationAzureBlobRequest & WithSubdirectory(Aws::String &&value)
CreateLocationAzureBlobRequest & AddAgentArns(const Aws::String &value)
CreateLocationAzureBlobRequest & WithTags(Aws::Vector< TagListEntry > &&value)
CreateLocationAzureBlobRequest & WithSasConfiguration(const AzureBlobSasConfiguration &value)
CreateLocationAzureBlobRequest & WithContainerUrl(const Aws::String &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