AWS SDK for C++

AWS SDK for C++ Version 1.11.930

Loading...
Searching...
No Matches
ReplicationFinding.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Connect {
20namespace Model {
21
30 public:
31 AWS_CONNECT_API ReplicationFinding() = default;
34 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetArn() const { return m_arn; }
41 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
42 template <typename ArnT = Aws::String>
43 void SetArn(ArnT&& value) {
44 m_arnHasBeenSet = true;
45 m_arn = std::forward<ArnT>(value);
46 }
47 template <typename ArnT = Aws::String>
48 ReplicationFinding& WithArn(ArnT&& value) {
49 SetArn(std::forward<ArnT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetId() const { return m_id; }
59 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
60 template <typename IdT = Aws::String>
61 void SetId(IdT&& value) {
62 m_idHasBeenSet = true;
63 m_id = std::forward<IdT>(value);
64 }
65 template <typename IdT = Aws::String>
66 ReplicationFinding& WithId(IdT&& value) {
67 SetId(std::forward<IdT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetRegion() const { return m_region; }
77 inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; }
78 template <typename RegionT = Aws::String>
79 void SetRegion(RegionT&& value) {
80 m_regionHasBeenSet = true;
81 m_region = std::forward<RegionT>(value);
82 }
83 template <typename RegionT = Aws::String>
84 ReplicationFinding& WithRegion(RegionT&& value) {
85 SetRegion(std::forward<RegionT>(value));
86 return *this;
87 }
89
91
95 inline const Aws::String& GetResourceType() const { return m_resourceType; }
96 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
97 template <typename ResourceTypeT = Aws::String>
98 void SetResourceType(ResourceTypeT&& value) {
99 m_resourceTypeHasBeenSet = true;
100 m_resourceType = std::forward<ResourceTypeT>(value);
101 }
102 template <typename ResourceTypeT = Aws::String>
103 ReplicationFinding& WithResourceType(ResourceTypeT&& value) {
104 SetResourceType(std::forward<ResourceTypeT>(value));
105 return *this;
106 }
108
110
113 inline const Aws::String& GetName() const { return m_name; }
114 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
115 template <typename NameT = Aws::String>
116 void SetName(NameT&& value) {
117 m_nameHasBeenSet = true;
118 m_name = std::forward<NameT>(value);
119 }
120 template <typename NameT = Aws::String>
121 ReplicationFinding& WithName(NameT&& value) {
122 SetName(std::forward<NameT>(value));
123 return *this;
124 }
126
128
132 inline const Aws::String& GetOperation() const { return m_operation; }
133 inline bool OperationHasBeenSet() const { return m_operationHasBeenSet; }
134 template <typename OperationT = Aws::String>
135 void SetOperation(OperationT&& value) {
136 m_operationHasBeenSet = true;
137 m_operation = std::forward<OperationT>(value);
138 }
139 template <typename OperationT = Aws::String>
140 ReplicationFinding& WithOperation(OperationT&& value) {
141 SetOperation(std::forward<OperationT>(value));
142 return *this;
143 }
145
147
151 inline const Aws::String& GetReferenceCode() const { return m_referenceCode; }
152 inline bool ReferenceCodeHasBeenSet() const { return m_referenceCodeHasBeenSet; }
153 template <typename ReferenceCodeT = Aws::String>
154 void SetReferenceCode(ReferenceCodeT&& value) {
155 m_referenceCodeHasBeenSet = true;
156 m_referenceCode = std::forward<ReferenceCodeT>(value);
157 }
158 template <typename ReferenceCodeT = Aws::String>
159 ReplicationFinding& WithReferenceCode(ReferenceCodeT&& value) {
160 SetReferenceCode(std::forward<ReferenceCodeT>(value));
161 return *this;
162 }
164
166
170 inline const Aws::String& GetMessage() const { return m_message; }
171 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
172 template <typename MessageT = Aws::String>
173 void SetMessage(MessageT&& value) {
174 m_messageHasBeenSet = true;
175 m_message = std::forward<MessageT>(value);
176 }
177 template <typename MessageT = Aws::String>
178 ReplicationFinding& WithMessage(MessageT&& value) {
179 SetMessage(std::forward<MessageT>(value));
180 return *this;
181 }
183 private:
184 Aws::String m_arn;
185
186 Aws::String m_id;
187
188 Aws::String m_region;
189
190 Aws::String m_resourceType;
191
192 Aws::String m_name;
193
194 Aws::String m_operation;
195
196 Aws::String m_referenceCode;
197
198 Aws::String m_message;
199 bool m_arnHasBeenSet = false;
200 bool m_idHasBeenSet = false;
201 bool m_regionHasBeenSet = false;
202 bool m_resourceTypeHasBeenSet = false;
203 bool m_nameHasBeenSet = false;
204 bool m_operationHasBeenSet = false;
205 bool m_referenceCodeHasBeenSet = false;
206 bool m_messageHasBeenSet = false;
207};
208
209} // namespace Model
210} // namespace Connect
211} // namespace Aws
ReplicationFinding & WithId(IdT &&value)
ReplicationFinding & WithReferenceCode(ReferenceCodeT &&value)
const Aws::String & GetResourceType() const
AWS_CONNECT_API ReplicationFinding(Aws::Utils::Json::JsonView jsonValue)
void SetResourceType(ResourceTypeT &&value)
ReplicationFinding & WithRegion(RegionT &&value)
AWS_CONNECT_API ReplicationFinding()=default
ReplicationFinding & WithOperation(OperationT &&value)
void SetReferenceCode(ReferenceCodeT &&value)
ReplicationFinding & WithName(NameT &&value)
const Aws::String & GetReferenceCode() const
AWS_CONNECT_API ReplicationFinding & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
ReplicationFinding & WithMessage(MessageT &&value)
ReplicationFinding & WithResourceType(ResourceTypeT &&value)
ReplicationFinding & WithArn(ArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue