AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ReplicationConfigurationDescription.h
1
6#pragma once
7#include <aws/elasticfilesystem/EFS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/elasticfilesystem/model/Destination.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace EFS
25{
26namespace Model
27{
28
36 {
37 public:
42
43
45
48 inline const Aws::String& GetSourceFileSystemId() const{ return m_sourceFileSystemId; }
49 inline bool SourceFileSystemIdHasBeenSet() const { return m_sourceFileSystemIdHasBeenSet; }
50 inline void SetSourceFileSystemId(const Aws::String& value) { m_sourceFileSystemIdHasBeenSet = true; m_sourceFileSystemId = value; }
51 inline void SetSourceFileSystemId(Aws::String&& value) { m_sourceFileSystemIdHasBeenSet = true; m_sourceFileSystemId = std::move(value); }
52 inline void SetSourceFileSystemId(const char* value) { m_sourceFileSystemIdHasBeenSet = true; m_sourceFileSystemId.assign(value); }
55 inline ReplicationConfigurationDescription& WithSourceFileSystemId(const char* value) { SetSourceFileSystemId(value); return *this;}
57
59
63 inline const Aws::String& GetSourceFileSystemRegion() const{ return m_sourceFileSystemRegion; }
64 inline bool SourceFileSystemRegionHasBeenSet() const { return m_sourceFileSystemRegionHasBeenSet; }
65 inline void SetSourceFileSystemRegion(const Aws::String& value) { m_sourceFileSystemRegionHasBeenSet = true; m_sourceFileSystemRegion = value; }
66 inline void SetSourceFileSystemRegion(Aws::String&& value) { m_sourceFileSystemRegionHasBeenSet = true; m_sourceFileSystemRegion = std::move(value); }
67 inline void SetSourceFileSystemRegion(const char* value) { m_sourceFileSystemRegionHasBeenSet = true; m_sourceFileSystemRegion.assign(value); }
72
74
78 inline const Aws::String& GetSourceFileSystemArn() const{ return m_sourceFileSystemArn; }
79 inline bool SourceFileSystemArnHasBeenSet() const { return m_sourceFileSystemArnHasBeenSet; }
80 inline void SetSourceFileSystemArn(const Aws::String& value) { m_sourceFileSystemArnHasBeenSet = true; m_sourceFileSystemArn = value; }
81 inline void SetSourceFileSystemArn(Aws::String&& value) { m_sourceFileSystemArnHasBeenSet = true; m_sourceFileSystemArn = std::move(value); }
82 inline void SetSourceFileSystemArn(const char* value) { m_sourceFileSystemArnHasBeenSet = true; m_sourceFileSystemArn.assign(value); }
87
89
93 inline const Aws::String& GetOriginalSourceFileSystemArn() const{ return m_originalSourceFileSystemArn; }
94 inline bool OriginalSourceFileSystemArnHasBeenSet() const { return m_originalSourceFileSystemArnHasBeenSet; }
95 inline void SetOriginalSourceFileSystemArn(const Aws::String& value) { m_originalSourceFileSystemArnHasBeenSet = true; m_originalSourceFileSystemArn = value; }
96 inline void SetOriginalSourceFileSystemArn(Aws::String&& value) { m_originalSourceFileSystemArnHasBeenSet = true; m_originalSourceFileSystemArn = std::move(value); }
97 inline void SetOriginalSourceFileSystemArn(const char* value) { m_originalSourceFileSystemArnHasBeenSet = true; m_originalSourceFileSystemArn.assign(value); }
102
104
107 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
108 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
109 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
110 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
114
116
120 inline const Aws::Vector<Destination>& GetDestinations() const{ return m_destinations; }
121 inline bool DestinationsHasBeenSet() const { return m_destinationsHasBeenSet; }
122 inline void SetDestinations(const Aws::Vector<Destination>& value) { m_destinationsHasBeenSet = true; m_destinations = value; }
123 inline void SetDestinations(Aws::Vector<Destination>&& value) { m_destinationsHasBeenSet = true; m_destinations = std::move(value); }
126 inline ReplicationConfigurationDescription& AddDestinations(const Destination& value) { m_destinationsHasBeenSet = true; m_destinations.push_back(value); return *this; }
127 inline ReplicationConfigurationDescription& AddDestinations(Destination&& value) { m_destinationsHasBeenSet = true; m_destinations.push_back(std::move(value)); return *this; }
129
131
132 inline const Aws::String& GetRequestId() const{ return m_requestId; }
133 inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; }
134 inline void SetRequestId(const Aws::String& value) { m_requestIdHasBeenSet = true; m_requestId = value; }
135 inline void SetRequestId(Aws::String&& value) { m_requestIdHasBeenSet = true; m_requestId = std::move(value); }
136 inline void SetRequestId(const char* value) { m_requestIdHasBeenSet = true; m_requestId.assign(value); }
137 inline ReplicationConfigurationDescription& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
138 inline ReplicationConfigurationDescription& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
139 inline ReplicationConfigurationDescription& WithRequestId(const char* value) { SetRequestId(value); return *this;}
141 private:
142
143 Aws::String m_sourceFileSystemId;
144 bool m_sourceFileSystemIdHasBeenSet = false;
145
146 Aws::String m_sourceFileSystemRegion;
147 bool m_sourceFileSystemRegionHasBeenSet = false;
148
149 Aws::String m_sourceFileSystemArn;
150 bool m_sourceFileSystemArnHasBeenSet = false;
151
152 Aws::String m_originalSourceFileSystemArn;
153 bool m_originalSourceFileSystemArnHasBeenSet = false;
154
155 Aws::Utils::DateTime m_creationTime;
156 bool m_creationTimeHasBeenSet = false;
157
158 Aws::Vector<Destination> m_destinations;
159 bool m_destinationsHasBeenSet = false;
160
161 Aws::String m_requestId;
162 bool m_requestIdHasBeenSet = false;
163 };
164
165} // namespace Model
166} // namespace EFS
167} // namespace Aws
ReplicationConfigurationDescription & WithCreationTime(const Aws::Utils::DateTime &value)
ReplicationConfigurationDescription & WithSourceFileSystemId(const Aws::String &value)
ReplicationConfigurationDescription & WithSourceFileSystemArn(const char *value)
ReplicationConfigurationDescription & WithSourceFileSystemArn(const Aws::String &value)
ReplicationConfigurationDescription & WithSourceFileSystemRegion(const char *value)
ReplicationConfigurationDescription & WithSourceFileSystemId(Aws::String &&value)
ReplicationConfigurationDescription & AddDestinations(Destination &&value)
ReplicationConfigurationDescription & WithOriginalSourceFileSystemArn(const char *value)
ReplicationConfigurationDescription & WithOriginalSourceFileSystemArn(const Aws::String &value)
AWS_EFS_API ReplicationConfigurationDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
ReplicationConfigurationDescription & WithCreationTime(Aws::Utils::DateTime &&value)
AWS_EFS_API ReplicationConfigurationDescription(Aws::Utils::Json::JsonView jsonValue)
ReplicationConfigurationDescription & WithSourceFileSystemArn(Aws::String &&value)
ReplicationConfigurationDescription & WithRequestId(const char *value)
ReplicationConfigurationDescription & WithRequestId(Aws::String &&value)
ReplicationConfigurationDescription & WithSourceFileSystemRegion(const Aws::String &value)
ReplicationConfigurationDescription & WithDestinations(Aws::Vector< Destination > &&value)
ReplicationConfigurationDescription & WithSourceFileSystemId(const char *value)
AWS_EFS_API Aws::Utils::Json::JsonValue Jsonize() const
ReplicationConfigurationDescription & WithDestinations(const Aws::Vector< Destination > &value)
ReplicationConfigurationDescription & WithRequestId(const Aws::String &value)
ReplicationConfigurationDescription & AddDestinations(const Destination &value)
ReplicationConfigurationDescription & WithOriginalSourceFileSystemArn(Aws::String &&value)
ReplicationConfigurationDescription & WithSourceFileSystemRegion(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