AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
DescribeLocationS3Result.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/datasync/DataSync_EXPORTS.h>
11#include <aws/datasync/model/S3Config.h>
12#include <aws/datasync/model/S3StorageClass.h>
13
14#include <utility>
15
16namespace Aws {
17template <typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils {
21namespace Json {
22class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace DataSync {
26namespace Model {
33 public:
34 AWS_DATASYNC_API DescribeLocationS3Result() = default;
37
39
42 inline const Aws::String& GetLocationArn() const { return m_locationArn; }
43 template <typename LocationArnT = Aws::String>
44 void SetLocationArn(LocationArnT&& value) {
45 m_locationArnHasBeenSet = true;
46 m_locationArn = std::forward<LocationArnT>(value);
47 }
48 template <typename LocationArnT = Aws::String>
50 SetLocationArn(std::forward<LocationArnT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetLocationUri() const { return m_locationUri; }
60 template <typename LocationUriT = Aws::String>
61 void SetLocationUri(LocationUriT&& value) {
62 m_locationUriHasBeenSet = true;
63 m_locationUri = std::forward<LocationUriT>(value);
64 }
65 template <typename LocationUriT = Aws::String>
67 SetLocationUri(std::forward<LocationUriT>(value));
68 return *this;
69 }
71
73
80 inline S3StorageClass GetS3StorageClass() const { return m_s3StorageClass; }
81 inline void SetS3StorageClass(S3StorageClass value) {
82 m_s3StorageClassHasBeenSet = true;
83 m_s3StorageClass = value;
84 }
86 SetS3StorageClass(value);
87 return *this;
88 }
90
92
93 inline const S3Config& GetS3Config() const { return m_s3Config; }
94 template <typename S3ConfigT = S3Config>
95 void SetS3Config(S3ConfigT&& value) {
96 m_s3ConfigHasBeenSet = true;
97 m_s3Config = std::forward<S3ConfigT>(value);
98 }
99 template <typename S3ConfigT = S3Config>
101 SetS3Config(std::forward<S3ConfigT>(value));
102 return *this;
103 }
105
107
113 inline const Aws::Vector<Aws::String>& GetAgentArns() const { return m_agentArns; }
114 template <typename AgentArnsT = Aws::Vector<Aws::String>>
115 void SetAgentArns(AgentArnsT&& value) {
116 m_agentArnsHasBeenSet = true;
117 m_agentArns = std::forward<AgentArnsT>(value);
118 }
119 template <typename AgentArnsT = Aws::Vector<Aws::String>>
121 SetAgentArns(std::forward<AgentArnsT>(value));
122 return *this;
123 }
124 template <typename AgentArnsT = Aws::String>
126 m_agentArnsHasBeenSet = true;
127 m_agentArns.emplace_back(std::forward<AgentArnsT>(value));
128 return *this;
129 }
131
133
136 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
137 template <typename CreationTimeT = Aws::Utils::DateTime>
138 void SetCreationTime(CreationTimeT&& value) {
139 m_creationTimeHasBeenSet = true;
140 m_creationTime = std::forward<CreationTimeT>(value);
141 }
142 template <typename CreationTimeT = Aws::Utils::DateTime>
144 SetCreationTime(std::forward<CreationTimeT>(value));
145 return *this;
146 }
148
150
151 inline const Aws::String& GetRequestId() const { return m_requestId; }
152 template <typename RequestIdT = Aws::String>
153 void SetRequestId(RequestIdT&& value) {
154 m_requestIdHasBeenSet = true;
155 m_requestId = std::forward<RequestIdT>(value);
156 }
157 template <typename RequestIdT = Aws::String>
159 SetRequestId(std::forward<RequestIdT>(value));
160 return *this;
161 }
163 private:
164 Aws::String m_locationArn;
165
166 Aws::String m_locationUri;
167
168 S3StorageClass m_s3StorageClass{S3StorageClass::NOT_SET};
169
170 S3Config m_s3Config;
171
172 Aws::Vector<Aws::String> m_agentArns;
173
174 Aws::Utils::DateTime m_creationTime{};
175
176 Aws::String m_requestId;
177 bool m_locationArnHasBeenSet = false;
178 bool m_locationUriHasBeenSet = false;
179 bool m_s3StorageClassHasBeenSet = false;
180 bool m_s3ConfigHasBeenSet = false;
181 bool m_agentArnsHasBeenSet = false;
182 bool m_creationTimeHasBeenSet = false;
183 bool m_requestIdHasBeenSet = false;
184};
185
186} // namespace Model
187} // namespace DataSync
188} // namespace Aws
AWS_DATASYNC_API DescribeLocationS3Result(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeLocationS3Result & WithS3StorageClass(S3StorageClass value)
DescribeLocationS3Result & AddAgentArns(AgentArnsT &&value)
DescribeLocationS3Result & WithLocationArn(LocationArnT &&value)
DescribeLocationS3Result & WithAgentArns(AgentArnsT &&value)
const Aws::Vector< Aws::String > & GetAgentArns() const
DescribeLocationS3Result & WithS3Config(S3ConfigT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
AWS_DATASYNC_API DescribeLocationS3Result()=default
AWS_DATASYNC_API DescribeLocationS3Result & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeLocationS3Result & WithLocationUri(LocationUriT &&value)
DescribeLocationS3Result & WithRequestId(RequestIdT &&value)
DescribeLocationS3Result & WithCreationTime(CreationTimeT &&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