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/odb/Odb_EXPORTS.h>
11#include <aws/odb/model/ResourceStatus.h>
45 template <
typename OdbPeeringConnectionIdT = Aws::String>
47 m_odbPeeringConnectionIdHasBeenSet =
true;
48 m_odbPeeringConnectionId = std::forward<OdbPeeringConnectionIdT>(value);
50 template <
typename OdbPeeringConnectionIdT = Aws::String>
63 template <
typename DisplayNameT = Aws::String>
65 m_displayNameHasBeenSet =
true;
66 m_displayName = std::forward<DisplayNameT>(value);
68 template <
typename DisplayNameT = Aws::String>
82 m_statusHasBeenSet =
true;
97 template <
typename StatusReasonT = Aws::String>
99 m_statusReasonHasBeenSet =
true;
100 m_statusReason = std::forward<StatusReasonT>(value);
102 template <
typename StatusReasonT = Aws::String>
117 template <
typename OdbPeeringConnectionArnT = Aws::String>
119 m_odbPeeringConnectionArnHasBeenSet =
true;
120 m_odbPeeringConnectionArn = std::forward<OdbPeeringConnectionArnT>(value);
122 template <
typename OdbPeeringConnectionArnT = Aws::String>
136 template <
typename OdbNetworkArnT = Aws::String>
138 m_odbNetworkArnHasBeenSet =
true;
139 m_odbNetworkArn = std::forward<OdbNetworkArnT>(value);
141 template <
typename OdbNetworkArnT = Aws::String>
154 template <
typename PeerNetworkArnT = Aws::String>
156 m_peerNetworkArnHasBeenSet =
true;
157 m_peerNetworkArn = std::forward<PeerNetworkArnT>(value);
159 template <
typename PeerNetworkArnT = Aws::String>
173 template <
typename OdbPeeringConnectionTypeT = Aws::String>
175 m_odbPeeringConnectionTypeHasBeenSet =
true;
176 m_odbPeeringConnectionType = std::forward<OdbPeeringConnectionTypeT>(value);
178 template <
typename OdbPeeringConnectionTypeT = Aws::String>
193 template <
typename PeerNetworkC
idrsT = Aws::Vector<Aws::String>>
195 m_peerNetworkCidrsHasBeenSet =
true;
196 m_peerNetworkCidrs = std::forward<PeerNetworkCidrsT>(value);
198 template <
typename PeerNetworkC
idrsT = Aws::Vector<Aws::String>>
203 template <
typename PeerNetworkC
idrsT = Aws::String>
205 m_peerNetworkCidrsHasBeenSet =
true;
206 m_peerNetworkCidrs.emplace_back(std::forward<PeerNetworkCidrsT>(value));
217 template <
typename CreatedAtT = Aws::Utils::DateTime>
219 m_createdAtHasBeenSet =
true;
220 m_createdAt = std::forward<CreatedAtT>(value);
222 template <
typename CreatedAtT = Aws::Utils::DateTime>
237 m_percentProgressHasBeenSet =
true;
238 m_percentProgress = value;
266 double m_percentProgress{0.0};
267 bool m_odbPeeringConnectionIdHasBeenSet =
false;
268 bool m_displayNameHasBeenSet =
false;
269 bool m_statusHasBeenSet =
false;
270 bool m_statusReasonHasBeenSet =
false;
271 bool m_odbPeeringConnectionArnHasBeenSet =
false;
272 bool m_odbNetworkArnHasBeenSet =
false;
273 bool m_peerNetworkArnHasBeenSet =
false;
274 bool m_odbPeeringConnectionTypeHasBeenSet =
false;
275 bool m_peerNetworkCidrsHasBeenSet =
false;
276 bool m_createdAtHasBeenSet =
false;
277 bool m_percentProgressHasBeenSet =
false;
OdbPeeringConnection & WithStatusReason(StatusReasonT &&value)
double GetPercentProgress() const
OdbPeeringConnection & WithStatus(ResourceStatus value)
bool OdbPeeringConnectionIdHasBeenSet() const
AWS_ODB_API OdbPeeringConnection & operator=(Aws::Utils::Json::JsonView jsonValue)
ResourceStatus GetStatus() const
bool PeerNetworkCidrsHasBeenSet() const
bool DisplayNameHasBeenSet() const
OdbPeeringConnection & WithPercentProgress(double value)
OdbPeeringConnection & WithOdbPeeringConnectionId(OdbPeeringConnectionIdT &&value)
void SetPeerNetworkCidrs(PeerNetworkCidrsT &&value)
AWS_ODB_API OdbPeeringConnection(Aws::Utils::Json::JsonView jsonValue)
bool OdbPeeringConnectionArnHasBeenSet() const
void SetCreatedAt(CreatedAtT &&value)
bool PeerNetworkArnHasBeenSet() const
bool PercentProgressHasBeenSet() const
bool StatusReasonHasBeenSet() const
void SetDisplayName(DisplayNameT &&value)
bool OdbPeeringConnectionTypeHasBeenSet() const
const Aws::String & GetOdbPeeringConnectionId() const
bool StatusHasBeenSet() const
void SetPercentProgress(double value)
OdbPeeringConnection & AddPeerNetworkCidrs(PeerNetworkCidrsT &&value)
AWS_ODB_API OdbPeeringConnection()=default
void SetPeerNetworkArn(PeerNetworkArnT &&value)
OdbPeeringConnection & WithPeerNetworkArn(PeerNetworkArnT &&value)
const Aws::String & GetOdbNetworkArn() const
const Aws::String & GetStatusReason() const
void SetOdbPeeringConnectionId(OdbPeeringConnectionIdT &&value)
void SetStatus(ResourceStatus value)
void SetStatusReason(StatusReasonT &&value)
void SetOdbNetworkArn(OdbNetworkArnT &&value)
OdbPeeringConnection & WithCreatedAt(CreatedAtT &&value)
bool CreatedAtHasBeenSet() const
const Aws::Vector< Aws::String > & GetPeerNetworkCidrs() const
const Aws::String & GetOdbPeeringConnectionType() const
OdbPeeringConnection & WithOdbNetworkArn(OdbNetworkArnT &&value)
void SetOdbPeeringConnectionArn(OdbPeeringConnectionArnT &&value)
void SetOdbPeeringConnectionType(OdbPeeringConnectionTypeT &&value)
OdbPeeringConnection & WithPeerNetworkCidrs(PeerNetworkCidrsT &&value)
OdbPeeringConnection & WithOdbPeeringConnectionType(OdbPeeringConnectionTypeT &&value)
const Aws::String & GetOdbPeeringConnectionArn() const
OdbPeeringConnection & WithDisplayName(DisplayNameT &&value)
const Aws::String & GetDisplayName() const
const Aws::String & GetPeerNetworkArn() const
AWS_ODB_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetCreatedAt() const
OdbPeeringConnection & WithOdbPeeringConnectionArn(OdbPeeringConnectionArnT &&value)
bool OdbNetworkArnHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue