AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
ReplicationConfigurationDescription.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/elasticfilesystem/EFS_EXPORTS.h>
11#include <aws/elasticfilesystem/model/Destination.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace EFS {
23namespace Model {
24
32 public:
33 AWS_EFS_API ReplicationConfigurationDescription() = default;
37
39
42 inline const Aws::String& GetSourceFileSystemId() const { return m_sourceFileSystemId; }
43 inline bool SourceFileSystemIdHasBeenSet() const { return m_sourceFileSystemIdHasBeenSet; }
44 template <typename SourceFileSystemIdT = Aws::String>
45 void SetSourceFileSystemId(SourceFileSystemIdT&& value) {
46 m_sourceFileSystemIdHasBeenSet = true;
47 m_sourceFileSystemId = std::forward<SourceFileSystemIdT>(value);
48 }
49 template <typename SourceFileSystemIdT = Aws::String>
51 SetSourceFileSystemId(std::forward<SourceFileSystemIdT>(value));
52 return *this;
53 }
55
57
61 inline const Aws::String& GetSourceFileSystemRegion() const { return m_sourceFileSystemRegion; }
62 inline bool SourceFileSystemRegionHasBeenSet() const { return m_sourceFileSystemRegionHasBeenSet; }
63 template <typename SourceFileSystemRegionT = Aws::String>
64 void SetSourceFileSystemRegion(SourceFileSystemRegionT&& value) {
65 m_sourceFileSystemRegionHasBeenSet = true;
66 m_sourceFileSystemRegion = std::forward<SourceFileSystemRegionT>(value);
67 }
68 template <typename SourceFileSystemRegionT = Aws::String>
70 SetSourceFileSystemRegion(std::forward<SourceFileSystemRegionT>(value));
71 return *this;
72 }
74
76
80 inline const Aws::String& GetSourceFileSystemArn() const { return m_sourceFileSystemArn; }
81 inline bool SourceFileSystemArnHasBeenSet() const { return m_sourceFileSystemArnHasBeenSet; }
82 template <typename SourceFileSystemArnT = Aws::String>
83 void SetSourceFileSystemArn(SourceFileSystemArnT&& value) {
84 m_sourceFileSystemArnHasBeenSet = true;
85 m_sourceFileSystemArn = std::forward<SourceFileSystemArnT>(value);
86 }
87 template <typename SourceFileSystemArnT = Aws::String>
89 SetSourceFileSystemArn(std::forward<SourceFileSystemArnT>(value));
90 return *this;
91 }
93
95
99 inline const Aws::String& GetOriginalSourceFileSystemArn() const { return m_originalSourceFileSystemArn; }
100 inline bool OriginalSourceFileSystemArnHasBeenSet() const { return m_originalSourceFileSystemArnHasBeenSet; }
101 template <typename OriginalSourceFileSystemArnT = Aws::String>
102 void SetOriginalSourceFileSystemArn(OriginalSourceFileSystemArnT&& value) {
103 m_originalSourceFileSystemArnHasBeenSet = true;
104 m_originalSourceFileSystemArn = std::forward<OriginalSourceFileSystemArnT>(value);
105 }
106 template <typename OriginalSourceFileSystemArnT = Aws::String>
108 SetOriginalSourceFileSystemArn(std::forward<OriginalSourceFileSystemArnT>(value));
109 return *this;
110 }
112
114
117 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
118 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
119 template <typename CreationTimeT = Aws::Utils::DateTime>
120 void SetCreationTime(CreationTimeT&& value) {
121 m_creationTimeHasBeenSet = true;
122 m_creationTime = std::forward<CreationTimeT>(value);
123 }
124 template <typename CreationTimeT = Aws::Utils::DateTime>
126 SetCreationTime(std::forward<CreationTimeT>(value));
127 return *this;
128 }
130
132
136 inline const Aws::Vector<Destination>& GetDestinations() const { return m_destinations; }
137 inline bool DestinationsHasBeenSet() const { return m_destinationsHasBeenSet; }
138 template <typename DestinationsT = Aws::Vector<Destination>>
139 void SetDestinations(DestinationsT&& value) {
140 m_destinationsHasBeenSet = true;
141 m_destinations = std::forward<DestinationsT>(value);
142 }
143 template <typename DestinationsT = Aws::Vector<Destination>>
145 SetDestinations(std::forward<DestinationsT>(value));
146 return *this;
147 }
148 template <typename DestinationsT = Destination>
150 m_destinationsHasBeenSet = true;
151 m_destinations.emplace_back(std::forward<DestinationsT>(value));
152 return *this;
153 }
155
157
161 inline const Aws::String& GetSourceFileSystemOwnerId() const { return m_sourceFileSystemOwnerId; }
162 inline bool SourceFileSystemOwnerIdHasBeenSet() const { return m_sourceFileSystemOwnerIdHasBeenSet; }
163 template <typename SourceFileSystemOwnerIdT = Aws::String>
164 void SetSourceFileSystemOwnerId(SourceFileSystemOwnerIdT&& value) {
165 m_sourceFileSystemOwnerIdHasBeenSet = true;
166 m_sourceFileSystemOwnerId = std::forward<SourceFileSystemOwnerIdT>(value);
167 }
168 template <typename SourceFileSystemOwnerIdT = Aws::String>
170 SetSourceFileSystemOwnerId(std::forward<SourceFileSystemOwnerIdT>(value));
171 return *this;
172 }
174
176
177 inline const Aws::String& GetRequestId() const { return m_requestId; }
178 inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; }
179 template <typename RequestIdT = Aws::String>
180 void SetRequestId(RequestIdT&& value) {
181 m_requestIdHasBeenSet = true;
182 m_requestId = std::forward<RequestIdT>(value);
183 }
184 template <typename RequestIdT = Aws::String>
186 SetRequestId(std::forward<RequestIdT>(value));
187 return *this;
188 }
190 private:
191 Aws::String m_sourceFileSystemId;
192
193 Aws::String m_sourceFileSystemRegion;
194
195 Aws::String m_sourceFileSystemArn;
196
197 Aws::String m_originalSourceFileSystemArn;
198
199 Aws::Utils::DateTime m_creationTime{};
200
201 Aws::Vector<Destination> m_destinations;
202
203 Aws::String m_sourceFileSystemOwnerId;
204
205 Aws::String m_requestId;
206 bool m_sourceFileSystemIdHasBeenSet = false;
207 bool m_sourceFileSystemRegionHasBeenSet = false;
208 bool m_sourceFileSystemArnHasBeenSet = false;
209 bool m_originalSourceFileSystemArnHasBeenSet = false;
210 bool m_creationTimeHasBeenSet = false;
211 bool m_destinationsHasBeenSet = false;
212 bool m_sourceFileSystemOwnerIdHasBeenSet = false;
213 bool m_requestIdHasBeenSet = false;
214};
215
216} // namespace Model
217} // namespace EFS
218} // namespace Aws
ReplicationConfigurationDescription & WithSourceFileSystemId(SourceFileSystemIdT &&value)
ReplicationConfigurationDescription & WithCreationTime(CreationTimeT &&value)
AWS_EFS_API ReplicationConfigurationDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_EFS_API ReplicationConfigurationDescription(Aws::Utils::Json::JsonView jsonValue)
void SetOriginalSourceFileSystemArn(OriginalSourceFileSystemArnT &&value)
ReplicationConfigurationDescription & AddDestinations(DestinationsT &&value)
ReplicationConfigurationDescription & WithSourceFileSystemOwnerId(SourceFileSystemOwnerIdT &&value)
ReplicationConfigurationDescription & WithRequestId(RequestIdT &&value)
ReplicationConfigurationDescription & WithSourceFileSystemRegion(SourceFileSystemRegionT &&value)
ReplicationConfigurationDescription & WithDestinations(DestinationsT &&value)
AWS_EFS_API Aws::Utils::Json::JsonValue Jsonize() const
ReplicationConfigurationDescription & WithSourceFileSystemArn(SourceFileSystemArnT &&value)
ReplicationConfigurationDescription & WithOriginalSourceFileSystemArn(OriginalSourceFileSystemArnT &&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