AWS SDK for C++  1.9.158
AWS SDK for C++
DescribeLocationS3Result.h
Go to the documentation of this file.
1 
6 #pragma once
13 #include <utility>
14 
15 namespace Aws
16 {
17 template<typename RESULT_TYPE>
18 class AmazonWebServiceResult;
19 
20 namespace Utils
21 {
22 namespace Json
23 {
24  class JsonValue;
25 } // namespace Json
26 } // namespace Utils
27 namespace DataSync
28 {
29 namespace Model
30 {
37  {
38  public:
42 
43 
47  inline const Aws::String& GetLocationArn() const{ return m_locationArn; }
48 
52  inline void SetLocationArn(const Aws::String& value) { m_locationArn = value; }
53 
57  inline void SetLocationArn(Aws::String&& value) { m_locationArn = std::move(value); }
58 
62  inline void SetLocationArn(const char* value) { m_locationArn.assign(value); }
63 
67  inline DescribeLocationS3Result& WithLocationArn(const Aws::String& value) { SetLocationArn(value); return *this;}
68 
72  inline DescribeLocationS3Result& WithLocationArn(Aws::String&& value) { SetLocationArn(std::move(value)); return *this;}
73 
77  inline DescribeLocationS3Result& WithLocationArn(const char* value) { SetLocationArn(value); return *this;}
78 
79 
83  inline const Aws::String& GetLocationUri() const{ return m_locationUri; }
84 
88  inline void SetLocationUri(const Aws::String& value) { m_locationUri = value; }
89 
93  inline void SetLocationUri(Aws::String&& value) { m_locationUri = std::move(value); }
94 
98  inline void SetLocationUri(const char* value) { m_locationUri.assign(value); }
99 
103  inline DescribeLocationS3Result& WithLocationUri(const Aws::String& value) { SetLocationUri(value); return *this;}
104 
108  inline DescribeLocationS3Result& WithLocationUri(Aws::String&& value) { SetLocationUri(std::move(value)); return *this;}
109 
113  inline DescribeLocationS3Result& WithLocationUri(const char* value) { SetLocationUri(value); return *this;}
114 
115 
125  inline const S3StorageClass& GetS3StorageClass() const{ return m_s3StorageClass; }
126 
136  inline void SetS3StorageClass(const S3StorageClass& value) { m_s3StorageClass = value; }
137 
147  inline void SetS3StorageClass(S3StorageClass&& value) { m_s3StorageClass = std::move(value); }
148 
158  inline DescribeLocationS3Result& WithS3StorageClass(const S3StorageClass& value) { SetS3StorageClass(value); return *this;}
159 
169  inline DescribeLocationS3Result& WithS3StorageClass(S3StorageClass&& value) { SetS3StorageClass(std::move(value)); return *this;}
170 
171 
172 
173  inline const S3Config& GetS3Config() const{ return m_s3Config; }
174 
175 
176  inline void SetS3Config(const S3Config& value) { m_s3Config = value; }
177 
178 
179  inline void SetS3Config(S3Config&& value) { m_s3Config = std::move(value); }
180 
181 
182  inline DescribeLocationS3Result& WithS3Config(const S3Config& value) { SetS3Config(value); return *this;}
183 
184 
185  inline DescribeLocationS3Result& WithS3Config(S3Config&& value) { SetS3Config(std::move(value)); return *this;}
186 
187 
196  inline const Aws::Vector<Aws::String>& GetAgentArns() const{ return m_agentArns; }
197 
206  inline void SetAgentArns(const Aws::Vector<Aws::String>& value) { m_agentArns = value; }
207 
216  inline void SetAgentArns(Aws::Vector<Aws::String>&& value) { m_agentArns = std::move(value); }
217 
226  inline DescribeLocationS3Result& WithAgentArns(const Aws::Vector<Aws::String>& value) { SetAgentArns(value); return *this;}
227 
236  inline DescribeLocationS3Result& WithAgentArns(Aws::Vector<Aws::String>&& value) { SetAgentArns(std::move(value)); return *this;}
237 
246  inline DescribeLocationS3Result& AddAgentArns(const Aws::String& value) { m_agentArns.push_back(value); return *this; }
247 
256  inline DescribeLocationS3Result& AddAgentArns(Aws::String&& value) { m_agentArns.push_back(std::move(value)); return *this; }
257 
266  inline DescribeLocationS3Result& AddAgentArns(const char* value) { m_agentArns.push_back(value); return *this; }
267 
268 
272  inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
273 
277  inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; }
278 
282  inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); }
283 
287  inline DescribeLocationS3Result& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
288 
292  inline DescribeLocationS3Result& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
293 
294  private:
295 
296  Aws::String m_locationArn;
297 
298  Aws::String m_locationUri;
299 
300  S3StorageClass m_s3StorageClass;
301 
302  S3Config m_s3Config;
303 
304  Aws::Vector<Aws::String> m_agentArns;
305 
306  Aws::Utils::DateTime m_creationTime;
307  };
308 
309 } // namespace Model
310 } // namespace DataSync
311 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::DataSync::Model::DescribeLocationS3Result::SetS3StorageClass
void SetS3StorageClass(const S3StorageClass &value)
Definition: DescribeLocationS3Result.h:136
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::DataSync::Model::DescribeLocationS3Result::WithAgentArns
DescribeLocationS3Result & WithAgentArns(Aws::Vector< Aws::String > &&value)
Definition: DescribeLocationS3Result.h:236
AWS_DATASYNC_API
#define AWS_DATASYNC_API
Definition: DataSync_EXPORTS.h:28
Aws::DataSync::Model::DescribeLocationS3Result::SetS3Config
void SetS3Config(const S3Config &value)
Definition: DescribeLocationS3Result.h:176
Aws::DataSync::Model::S3StorageClass
S3StorageClass
Definition: S3StorageClass.h:17
Aws::DataSync::Model::DescribeLocationS3Result::GetS3StorageClass
const S3StorageClass & GetS3StorageClass() const
Definition: DescribeLocationS3Result.h:125
Aws::DataSync::Model::DescribeLocationS3Result::AddAgentArns
DescribeLocationS3Result & AddAgentArns(const char *value)
Definition: DescribeLocationS3Result.h:266
Aws::DataSync::Model::DescribeLocationS3Result::WithS3Config
DescribeLocationS3Result & WithS3Config(S3Config &&value)
Definition: DescribeLocationS3Result.h:185
Aws::DataSync::Model::DescribeLocationS3Result::WithAgentArns
DescribeLocationS3Result & WithAgentArns(const Aws::Vector< Aws::String > &value)
Definition: DescribeLocationS3Result.h:226
Aws::DataSync::Model::DescribeLocationS3Result::GetAgentArns
const Aws::Vector< Aws::String > & GetAgentArns() const
Definition: DescribeLocationS3Result.h:196
Aws::DataSync::Model::DescribeLocationS3Result::GetS3Config
const S3Config & GetS3Config() const
Definition: DescribeLocationS3Result.h:173
Aws::DataSync::Model::DescribeLocationS3Result::WithS3Config
DescribeLocationS3Result & WithS3Config(const S3Config &value)
Definition: DescribeLocationS3Result.h:182
DateTime.h
Aws::DataSync::Model::DescribeLocationS3Result::WithLocationArn
DescribeLocationS3Result & WithLocationArn(Aws::String &&value)
Definition: DescribeLocationS3Result.h:72
Aws::DataSync::Model::DescribeLocationS3Result::WithLocationArn
DescribeLocationS3Result & WithLocationArn(const char *value)
Definition: DescribeLocationS3Result.h:77
Aws::DataSync::Model::DescribeLocationS3Result::GetCreationTime
const Aws::Utils::DateTime & GetCreationTime() const
Definition: DescribeLocationS3Result.h:272
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::DataSync::Model::DescribeLocationS3Result::SetLocationArn
void SetLocationArn(Aws::String &&value)
Definition: DescribeLocationS3Result.h:57
Aws::DataSync::Model::DescribeLocationS3Result::operator=
DescribeLocationS3Result & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWSVector.h
Aws::DataSync::Model::DescribeLocationS3Result::GetLocationUri
const Aws::String & GetLocationUri() const
Definition: DescribeLocationS3Result.h:83
Aws::DataSync::Model::DescribeLocationS3Result::SetS3Config
void SetS3Config(S3Config &&value)
Definition: DescribeLocationS3Result.h:179
Aws::DataSync::Model::DescribeLocationS3Result::WithCreationTime
DescribeLocationS3Result & WithCreationTime(Aws::Utils::DateTime &&value)
Definition: DescribeLocationS3Result.h:292
Aws::DataSync::Model::DescribeLocationS3Result::SetLocationArn
void SetLocationArn(const char *value)
Definition: DescribeLocationS3Result.h:62
Aws::DataSync::Model::DescribeLocationS3Result::SetLocationUri
void SetLocationUri(const Aws::String &value)
Definition: DescribeLocationS3Result.h:88
S3StorageClass.h
Aws::DataSync::Model::DescribeLocationS3Result::SetAgentArns
void SetAgentArns(const Aws::Vector< Aws::String > &value)
Definition: DescribeLocationS3Result.h:206
Aws::DataSync::Model::DescribeLocationS3Result::SetCreationTime
void SetCreationTime(Aws::Utils::DateTime &&value)
Definition: DescribeLocationS3Result.h:282
Aws::DataSync::Model::DescribeLocationS3Result::SetLocationUri
void SetLocationUri(Aws::String &&value)
Definition: DescribeLocationS3Result.h:93
AWSString.h
Aws::DataSync::Model::DescribeLocationS3Result::WithLocationUri
DescribeLocationS3Result & WithLocationUri(Aws::String &&value)
Definition: DescribeLocationS3Result.h:108
Aws::DataSync::Model::DescribeLocationS3Result::SetLocationArn
void SetLocationArn(const Aws::String &value)
Definition: DescribeLocationS3Result.h:52
DataSync_EXPORTS.h
Aws::DataSync::Model::DescribeLocationS3Result::SetAgentArns
void SetAgentArns(Aws::Vector< Aws::String > &&value)
Definition: DescribeLocationS3Result.h:216
Aws::DataSync::Model::DescribeLocationS3Result::WithLocationArn
DescribeLocationS3Result & WithLocationArn(const Aws::String &value)
Definition: DescribeLocationS3Result.h:67
Aws::DataSync::Model::DescribeLocationS3Result
Definition: DescribeLocationS3Result.h:37
Aws::DataSync::Model::S3Config
Definition: S3Config.h:35
Aws::DataSync::Model::DescribeLocationS3Result::AddAgentArns
DescribeLocationS3Result & AddAgentArns(const Aws::String &value)
Definition: DescribeLocationS3Result.h:246
Aws::DataSync::Model::DescribeLocationS3Result::DescribeLocationS3Result
DescribeLocationS3Result(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::DataSync::Model::DescribeLocationS3Result::AddAgentArns
DescribeLocationS3Result & AddAgentArns(Aws::String &&value)
Definition: DescribeLocationS3Result.h:256
S3Config.h
Aws::DataSync::Model::DescribeLocationS3Result::GetLocationArn
const Aws::String & GetLocationArn() const
Definition: DescribeLocationS3Result.h:47
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::DataSync::Model::DescribeLocationS3Result::SetLocationUri
void SetLocationUri(const char *value)
Definition: DescribeLocationS3Result.h:98
Aws::DataSync::Model::DescribeLocationS3Result::WithLocationUri
DescribeLocationS3Result & WithLocationUri(const Aws::String &value)
Definition: DescribeLocationS3Result.h:103
Aws::DataSync::Model::DescribeLocationS3Result::WithS3StorageClass
DescribeLocationS3Result & WithS3StorageClass(S3StorageClass &&value)
Definition: DescribeLocationS3Result.h:169
Aws::DataSync::Model::DescribeLocationS3Result::WithLocationUri
DescribeLocationS3Result & WithLocationUri(const char *value)
Definition: DescribeLocationS3Result.h:113
Aws::DataSync::Model::DescribeLocationS3Result::DescribeLocationS3Result
DescribeLocationS3Result()
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::DataSync::Model::DescribeLocationS3Result::WithS3StorageClass
DescribeLocationS3Result & WithS3StorageClass(const S3StorageClass &value)
Definition: DescribeLocationS3Result.h:158
Aws::DataSync::Model::DescribeLocationS3Result::SetS3StorageClass
void SetS3StorageClass(S3StorageClass &&value)
Definition: DescribeLocationS3Result.h:147
Aws::DataSync::Model::DescribeLocationS3Result::WithCreationTime
DescribeLocationS3Result & WithCreationTime(const Aws::Utils::DateTime &value)
Definition: DescribeLocationS3Result.h:287
Aws::DataSync::Model::DescribeLocationS3Result::SetCreationTime
void SetCreationTime(const Aws::Utils::DateTime &value)
Definition: DescribeLocationS3Result.h:277