AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeLocationS3Result.h
1
6#pragma once
7#include <aws/datasync/DataSync_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/datasync/model/S3StorageClass.h>
10#include <aws/datasync/model/S3Config.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/core/utils/DateTime.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace DataSync
28{
29namespace Model
30{
37 {
38 public:
39 AWS_DATASYNC_API DescribeLocationS3Result();
42
43
45
48 inline const Aws::String& GetLocationArn() const{ return m_locationArn; }
49 inline void SetLocationArn(const Aws::String& value) { m_locationArn = value; }
50 inline void SetLocationArn(Aws::String&& value) { m_locationArn = std::move(value); }
51 inline void SetLocationArn(const char* value) { m_locationArn.assign(value); }
52 inline DescribeLocationS3Result& WithLocationArn(const Aws::String& value) { SetLocationArn(value); return *this;}
53 inline DescribeLocationS3Result& WithLocationArn(Aws::String&& value) { SetLocationArn(std::move(value)); return *this;}
54 inline DescribeLocationS3Result& WithLocationArn(const char* value) { SetLocationArn(value); return *this;}
56
58
61 inline const Aws::String& GetLocationUri() const{ return m_locationUri; }
62 inline void SetLocationUri(const Aws::String& value) { m_locationUri = value; }
63 inline void SetLocationUri(Aws::String&& value) { m_locationUri = std::move(value); }
64 inline void SetLocationUri(const char* value) { m_locationUri.assign(value); }
65 inline DescribeLocationS3Result& WithLocationUri(const Aws::String& value) { SetLocationUri(value); return *this;}
66 inline DescribeLocationS3Result& WithLocationUri(Aws::String&& value) { SetLocationUri(std::move(value)); return *this;}
67 inline DescribeLocationS3Result& WithLocationUri(const char* value) { SetLocationUri(value); return *this;}
69
71
78 inline const S3StorageClass& GetS3StorageClass() const{ return m_s3StorageClass; }
79 inline void SetS3StorageClass(const S3StorageClass& value) { m_s3StorageClass = value; }
80 inline void SetS3StorageClass(S3StorageClass&& value) { m_s3StorageClass = std::move(value); }
81 inline DescribeLocationS3Result& WithS3StorageClass(const S3StorageClass& value) { SetS3StorageClass(value); return *this;}
82 inline DescribeLocationS3Result& WithS3StorageClass(S3StorageClass&& value) { SetS3StorageClass(std::move(value)); return *this;}
84
86
87 inline const S3Config& GetS3Config() const{ return m_s3Config; }
88 inline void SetS3Config(const S3Config& value) { m_s3Config = value; }
89 inline void SetS3Config(S3Config&& value) { m_s3Config = std::move(value); }
90 inline DescribeLocationS3Result& WithS3Config(const S3Config& value) { SetS3Config(value); return *this;}
91 inline DescribeLocationS3Result& WithS3Config(S3Config&& value) { SetS3Config(std::move(value)); return *this;}
93
95
101 inline const Aws::Vector<Aws::String>& GetAgentArns() const{ return m_agentArns; }
102 inline void SetAgentArns(const Aws::Vector<Aws::String>& value) { m_agentArns = value; }
103 inline void SetAgentArns(Aws::Vector<Aws::String>&& value) { m_agentArns = std::move(value); }
105 inline DescribeLocationS3Result& WithAgentArns(Aws::Vector<Aws::String>&& value) { SetAgentArns(std::move(value)); return *this;}
106 inline DescribeLocationS3Result& AddAgentArns(const Aws::String& value) { m_agentArns.push_back(value); return *this; }
107 inline DescribeLocationS3Result& AddAgentArns(Aws::String&& value) { m_agentArns.push_back(std::move(value)); return *this; }
108 inline DescribeLocationS3Result& AddAgentArns(const char* value) { m_agentArns.push_back(value); return *this; }
110
112
115 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
116 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; }
117 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); }
119 inline DescribeLocationS3Result& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
121
123
124 inline const Aws::String& GetRequestId() const{ return m_requestId; }
125 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
126 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
127 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
128 inline DescribeLocationS3Result& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
129 inline DescribeLocationS3Result& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
130 inline DescribeLocationS3Result& WithRequestId(const char* value) { SetRequestId(value); return *this;}
132 private:
133
134 Aws::String m_locationArn;
135
136 Aws::String m_locationUri;
137
138 S3StorageClass m_s3StorageClass;
139
140 S3Config m_s3Config;
141
142 Aws::Vector<Aws::String> m_agentArns;
143
144 Aws::Utils::DateTime m_creationTime;
145
146 Aws::String m_requestId;
147 };
148
149} // namespace Model
150} // namespace DataSync
151} // namespace Aws
AWS_DATASYNC_API DescribeLocationS3Result(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeLocationS3Result & WithLocationUri(Aws::String &&value)
DescribeLocationS3Result & WithLocationUri(const Aws::String &value)
DescribeLocationS3Result & AddAgentArns(const Aws::String &value)
void SetAgentArns(const Aws::Vector< Aws::String > &value)
DescribeLocationS3Result & WithLocationArn(const Aws::String &value)
const Aws::Vector< Aws::String > & GetAgentArns() const
DescribeLocationS3Result & WithCreationTime(const Aws::Utils::DateTime &value)
DescribeLocationS3Result & WithCreationTime(Aws::Utils::DateTime &&value)
void SetCreationTime(const Aws::Utils::DateTime &value)
DescribeLocationS3Result & AddAgentArns(const char *value)
DescribeLocationS3Result & AddAgentArns(Aws::String &&value)
DescribeLocationS3Result & WithRequestId(const Aws::String &value)
const Aws::Utils::DateTime & GetCreationTime() const
DescribeLocationS3Result & WithLocationUri(const char *value)
AWS_DATASYNC_API DescribeLocationS3Result & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetAgentArns(Aws::Vector< Aws::String > &&value)
DescribeLocationS3Result & WithS3Config(const S3Config &value)
DescribeLocationS3Result & WithAgentArns(Aws::Vector< Aws::String > &&value)
DescribeLocationS3Result & WithLocationArn(Aws::String &&value)
DescribeLocationS3Result & WithS3StorageClass(S3StorageClass &&value)
DescribeLocationS3Result & WithS3Config(S3Config &&value)
DescribeLocationS3Result & WithLocationArn(const char *value)
DescribeLocationS3Result & WithS3StorageClass(const S3StorageClass &value)
DescribeLocationS3Result & WithRequestId(const char *value)
DescribeLocationS3Result & WithRequestId(Aws::String &&value)
DescribeLocationS3Result & WithAgentArns(const Aws::Vector< Aws::String > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue