AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateReplicationConfigurationResult.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{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace EFS
27{
28namespace Model
29{
37 {
38 public:
42
43
45
48 inline const Aws::String& GetSourceFileSystemId() const{ return m_sourceFileSystemId; }
49 inline void SetSourceFileSystemId(const Aws::String& value) { m_sourceFileSystemId = value; }
50 inline void SetSourceFileSystemId(Aws::String&& value) { m_sourceFileSystemId = std::move(value); }
51 inline void SetSourceFileSystemId(const char* value) { m_sourceFileSystemId.assign(value); }
54 inline CreateReplicationConfigurationResult& WithSourceFileSystemId(const char* value) { SetSourceFileSystemId(value); return *this;}
56
58
62 inline const Aws::String& GetSourceFileSystemRegion() const{ return m_sourceFileSystemRegion; }
63 inline void SetSourceFileSystemRegion(const Aws::String& value) { m_sourceFileSystemRegion = value; }
64 inline void SetSourceFileSystemRegion(Aws::String&& value) { m_sourceFileSystemRegion = std::move(value); }
65 inline void SetSourceFileSystemRegion(const char* value) { m_sourceFileSystemRegion.assign(value); }
70
72
76 inline const Aws::String& GetSourceFileSystemArn() const{ return m_sourceFileSystemArn; }
77 inline void SetSourceFileSystemArn(const Aws::String& value) { m_sourceFileSystemArn = value; }
78 inline void SetSourceFileSystemArn(Aws::String&& value) { m_sourceFileSystemArn = std::move(value); }
79 inline void SetSourceFileSystemArn(const char* value) { m_sourceFileSystemArn.assign(value); }
84
86
90 inline const Aws::String& GetOriginalSourceFileSystemArn() const{ return m_originalSourceFileSystemArn; }
91 inline void SetOriginalSourceFileSystemArn(const Aws::String& value) { m_originalSourceFileSystemArn = value; }
92 inline void SetOriginalSourceFileSystemArn(Aws::String&& value) { m_originalSourceFileSystemArn = std::move(value); }
93 inline void SetOriginalSourceFileSystemArn(const char* value) { m_originalSourceFileSystemArn.assign(value); }
98
100
103 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
104 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; }
105 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); }
109
111
115 inline const Aws::Vector<Destination>& GetDestinations() const{ return m_destinations; }
116 inline void SetDestinations(const Aws::Vector<Destination>& value) { m_destinations = value; }
117 inline void SetDestinations(Aws::Vector<Destination>&& value) { m_destinations = std::move(value); }
120 inline CreateReplicationConfigurationResult& AddDestinations(const Destination& value) { m_destinations.push_back(value); return *this; }
121 inline CreateReplicationConfigurationResult& AddDestinations(Destination&& value) { m_destinations.push_back(std::move(value)); return *this; }
123
125
126 inline const Aws::String& GetRequestId() const{ return m_requestId; }
127 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
128 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
129 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
130 inline CreateReplicationConfigurationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
131 inline CreateReplicationConfigurationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
132 inline CreateReplicationConfigurationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
134 private:
135
136 Aws::String m_sourceFileSystemId;
137
138 Aws::String m_sourceFileSystemRegion;
139
140 Aws::String m_sourceFileSystemArn;
141
142 Aws::String m_originalSourceFileSystemArn;
143
144 Aws::Utils::DateTime m_creationTime;
145
146 Aws::Vector<Destination> m_destinations;
147
148 Aws::String m_requestId;
149 };
150
151} // namespace Model
152} // namespace EFS
153} // namespace Aws
CreateReplicationConfigurationResult & WithOriginalSourceFileSystemArn(const char *value)
CreateReplicationConfigurationResult & WithSourceFileSystemArn(const Aws::String &value)
AWS_EFS_API CreateReplicationConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateReplicationConfigurationResult & WithSourceFileSystemId(Aws::String &&value)
CreateReplicationConfigurationResult & WithRequestId(const char *value)
CreateReplicationConfigurationResult & WithSourceFileSystemRegion(Aws::String &&value)
CreateReplicationConfigurationResult & WithSourceFileSystemArn(const char *value)
CreateReplicationConfigurationResult & WithSourceFileSystemId(const Aws::String &value)
CreateReplicationConfigurationResult & WithCreationTime(const Aws::Utils::DateTime &value)
CreateReplicationConfigurationResult & WithOriginalSourceFileSystemArn(Aws::String &&value)
CreateReplicationConfigurationResult & WithSourceFileSystemArn(Aws::String &&value)
CreateReplicationConfigurationResult & WithSourceFileSystemId(const char *value)
CreateReplicationConfigurationResult & AddDestinations(Destination &&value)
CreateReplicationConfigurationResult & WithSourceFileSystemRegion(const char *value)
CreateReplicationConfigurationResult & WithRequestId(const Aws::String &value)
CreateReplicationConfigurationResult & WithDestinations(const Aws::Vector< Destination > &value)
AWS_EFS_API CreateReplicationConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateReplicationConfigurationResult & AddDestinations(const Destination &value)
CreateReplicationConfigurationResult & WithCreationTime(Aws::Utils::DateTime &&value)
CreateReplicationConfigurationResult & WithRequestId(Aws::String &&value)
CreateReplicationConfigurationResult & WithDestinations(Aws::Vector< Destination > &&value)
CreateReplicationConfigurationResult & WithOriginalSourceFileSystemArn(const Aws::String &value)
CreateReplicationConfigurationResult & WithSourceFileSystemRegion(const 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