7#include <aws/odb/Odb_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/odb/model/ResourceStatus.h>
10#include <aws/core/utils/DateTime.h>
49 template<
typename OdbPeeringConnectionIdT = Aws::String>
50 void SetOdbPeeringConnectionId(OdbPeeringConnectionIdT&& value) { m_odbPeeringConnectionIdHasBeenSet =
true; m_odbPeeringConnectionId = std::forward<OdbPeeringConnectionIdT>(value); }
51 template<
typename OdbPeeringConnectionIdT = Aws::String>
61 template<
typename DisplayNameT = Aws::String>
62 void SetDisplayName(DisplayNameT&& value) { m_displayNameHasBeenSet =
true; m_displayName = std::forward<DisplayNameT>(value); }
63 template<
typename DisplayNameT = Aws::String>
84 template<
typename StatusReasonT = Aws::String>
85 void SetStatusReason(StatusReasonT&& value) { m_statusReasonHasBeenSet =
true; m_statusReason = std::forward<StatusReasonT>(value); }
86 template<
typename StatusReasonT = Aws::String>
96 template<
typename OdbPeeringConnectionArnT = Aws::String>
97 void SetOdbPeeringConnectionArn(OdbPeeringConnectionArnT&& value) { m_odbPeeringConnectionArnHasBeenSet =
true; m_odbPeeringConnectionArn = std::forward<OdbPeeringConnectionArnT>(value); }
98 template<
typename OdbPeeringConnectionArnT = Aws::String>
109 template<
typename OdbNetworkArnT = Aws::String>
110 void SetOdbNetworkArn(OdbNetworkArnT&& value) { m_odbNetworkArnHasBeenSet =
true; m_odbNetworkArn = std::forward<OdbNetworkArnT>(value); }
111 template<
typename OdbNetworkArnT = Aws::String>
121 template<
typename PeerNetworkArnT = Aws::String>
122 void SetPeerNetworkArn(PeerNetworkArnT&& value) { m_peerNetworkArnHasBeenSet =
true; m_peerNetworkArn = std::forward<PeerNetworkArnT>(value); }
123 template<
typename PeerNetworkArnT = Aws::String>
134 template<
typename OdbPeeringConnectionTypeT = Aws::String>
135 void SetOdbPeeringConnectionType(OdbPeeringConnectionTypeT&& value) { m_odbPeeringConnectionTypeHasBeenSet =
true; m_odbPeeringConnectionType = std::forward<OdbPeeringConnectionTypeT>(value); }
136 template<
typename OdbPeeringConnectionTypeT = Aws::String>
146 template<
typename CreatedAtT = Aws::Utils::DateTime>
147 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
148 template<
typename CreatedAtT = Aws::Utils::DateTime>
159 inline void SetPercentProgress(
double value) { m_percentProgressHasBeenSet =
true; m_percentProgress = value; }
165 bool m_odbPeeringConnectionIdHasBeenSet =
false;
168 bool m_displayNameHasBeenSet =
false;
171 bool m_statusHasBeenSet =
false;
174 bool m_statusReasonHasBeenSet =
false;
177 bool m_odbPeeringConnectionArnHasBeenSet =
false;
180 bool m_odbNetworkArnHasBeenSet =
false;
183 bool m_peerNetworkArnHasBeenSet =
false;
186 bool m_odbPeeringConnectionTypeHasBeenSet =
false;
189 bool m_createdAtHasBeenSet =
false;
191 double m_percentProgress{0.0};
192 bool m_percentProgressHasBeenSet =
false;
bool OdbPeeringConnectionTypeHasBeenSet() const
void SetCreatedAt(CreatedAtT &&value)
double GetPercentProgress() const
void SetOdbPeeringConnectionId(OdbPeeringConnectionIdT &&value)
OdbPeeringConnectionSummary & WithOdbPeeringConnectionArn(OdbPeeringConnectionArnT &&value)
void SetStatus(ResourceStatus value)
const Aws::String & GetOdbPeeringConnectionType() const
const Aws::String & GetOdbPeeringConnectionArn() const
bool OdbPeeringConnectionArnHasBeenSet() const
void SetOdbPeeringConnectionArn(OdbPeeringConnectionArnT &&value)
bool OdbPeeringConnectionIdHasBeenSet() const
OdbPeeringConnectionSummary & WithStatus(ResourceStatus value)
void SetDisplayName(DisplayNameT &&value)
bool StatusHasBeenSet() const
bool PeerNetworkArnHasBeenSet() const
AWS_ODB_API OdbPeeringConnectionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
bool DisplayNameHasBeenSet() const
AWS_ODB_API OdbPeeringConnectionSummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetOdbNetworkArn() const
const Aws::Utils::DateTime & GetCreatedAt() const
void SetStatusReason(StatusReasonT &&value)
void SetPeerNetworkArn(PeerNetworkArnT &&value)
bool OdbNetworkArnHasBeenSet() const
AWS_ODB_API OdbPeeringConnectionSummary()=default
OdbPeeringConnectionSummary & WithOdbPeeringConnectionId(OdbPeeringConnectionIdT &&value)
bool StatusReasonHasBeenSet() const
void SetPercentProgress(double value)
ResourceStatus GetStatus() const
const Aws::String & GetPeerNetworkArn() const
OdbPeeringConnectionSummary & WithDisplayName(DisplayNameT &&value)
const Aws::String & GetOdbPeeringConnectionId() const
void SetOdbPeeringConnectionType(OdbPeeringConnectionTypeT &&value)
const Aws::String & GetDisplayName() const
OdbPeeringConnectionSummary & WithPeerNetworkArn(PeerNetworkArnT &&value)
OdbPeeringConnectionSummary & WithPercentProgress(double value)
OdbPeeringConnectionSummary & WithOdbPeeringConnectionType(OdbPeeringConnectionTypeT &&value)
void SetOdbNetworkArn(OdbNetworkArnT &&value)
OdbPeeringConnectionSummary & WithOdbNetworkArn(OdbNetworkArnT &&value)
bool PercentProgressHasBeenSet() const
AWS_ODB_API Aws::Utils::Json::JsonValue Jsonize() const
OdbPeeringConnectionSummary & WithCreatedAt(CreatedAtT &&value)
bool CreatedAtHasBeenSet() const
OdbPeeringConnectionSummary & WithStatusReason(StatusReasonT &&value)
const Aws::String & GetStatusReason() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue