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>
50 template<
typename OdbPeeringConnectionIdT = Aws::String>
51 void SetOdbPeeringConnectionId(OdbPeeringConnectionIdT&& value) { m_odbPeeringConnectionIdHasBeenSet =
true; m_odbPeeringConnectionId = std::forward<OdbPeeringConnectionIdT>(value); }
52 template<
typename OdbPeeringConnectionIdT = Aws::String>
62 template<
typename DisplayNameT = Aws::String>
63 void SetDisplayName(DisplayNameT&& value) { m_displayNameHasBeenSet =
true; m_displayName = std::forward<DisplayNameT>(value); }
64 template<
typename DisplayNameT = Aws::String>
85 template<
typename StatusReasonT = Aws::String>
86 void SetStatusReason(StatusReasonT&& value) { m_statusReasonHasBeenSet =
true; m_statusReason = std::forward<StatusReasonT>(value); }
87 template<
typename StatusReasonT = Aws::String>
99 template<
typename OdbPeeringConnectionArnT = Aws::String>
100 void SetOdbPeeringConnectionArn(OdbPeeringConnectionArnT&& value) { m_odbPeeringConnectionArnHasBeenSet =
true; m_odbPeeringConnectionArn = std::forward<OdbPeeringConnectionArnT>(value); }
101 template<
typename OdbPeeringConnectionArnT = Aws::String>
112 template<
typename OdbNetworkArnT = Aws::String>
113 void SetOdbNetworkArn(OdbNetworkArnT&& value) { m_odbNetworkArnHasBeenSet =
true; m_odbNetworkArn = std::forward<OdbNetworkArnT>(value); }
114 template<
typename OdbNetworkArnT = Aws::String>
124 template<
typename PeerNetworkArnT = Aws::String>
125 void SetPeerNetworkArn(PeerNetworkArnT&& value) { m_peerNetworkArnHasBeenSet =
true; m_peerNetworkArn = std::forward<PeerNetworkArnT>(value); }
126 template<
typename PeerNetworkArnT = Aws::String>
137 template<
typename OdbPeeringConnectionTypeT = Aws::String>
138 void SetOdbPeeringConnectionType(OdbPeeringConnectionTypeT&& value) { m_odbPeeringConnectionTypeHasBeenSet =
true; m_odbPeeringConnectionType = std::forward<OdbPeeringConnectionTypeT>(value); }
139 template<
typename OdbPeeringConnectionTypeT = Aws::String>
149 template<
typename CreatedAtT = Aws::Utils::DateTime>
150 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
151 template<
typename CreatedAtT = Aws::Utils::DateTime>
162 inline void SetPercentProgress(
double value) { m_percentProgressHasBeenSet =
true; m_percentProgress = value; }
168 bool m_odbPeeringConnectionIdHasBeenSet =
false;
171 bool m_displayNameHasBeenSet =
false;
174 bool m_statusHasBeenSet =
false;
177 bool m_statusReasonHasBeenSet =
false;
180 bool m_odbPeeringConnectionArnHasBeenSet =
false;
183 bool m_odbNetworkArnHasBeenSet =
false;
186 bool m_peerNetworkArnHasBeenSet =
false;
189 bool m_odbPeeringConnectionTypeHasBeenSet =
false;
192 bool m_createdAtHasBeenSet =
false;
194 double m_percentProgress{0.0};
195 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 DisplayNameHasBeenSet() const
OdbPeeringConnection & WithPercentProgress(double value)
OdbPeeringConnection & WithOdbPeeringConnectionId(OdbPeeringConnectionIdT &&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)
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::String & GetOdbPeeringConnectionType() const
OdbPeeringConnection & WithOdbNetworkArn(OdbNetworkArnT &&value)
void SetOdbPeeringConnectionArn(OdbPeeringConnectionArnT &&value)
void SetOdbPeeringConnectionType(OdbPeeringConnectionTypeT &&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
Aws::Utils::Json::JsonValue JsonValue