7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/crt/cbor/Cbor.h>
9#include <aws/interconnect/Interconnect_EXPORTS.h>
10#include <aws/interconnect/model/AttachPoint.h>
11#include <aws/interconnect/model/ConnectionState.h>
12#include <aws/interconnect/model/Provider.h>
22namespace Interconnect {
33 AWS_INTERCONNECT_API
ConnectionSummary(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
35 AWS_INTERCONNECT_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
43 template <
typename IdT = Aws::String>
45 m_idHasBeenSet =
true;
46 m_id = std::forward<IdT>(value);
48 template <
typename IdT = Aws::String>
50 SetId(std::forward<IdT>(value));
61 template <
typename ArnT = Aws::String>
63 m_arnHasBeenSet =
true;
64 m_arn = std::forward<ArnT>(value);
66 template <
typename ArnT = Aws::String>
68 SetArn(std::forward<ArnT>(value));
79 template <
typename DescriptionT = Aws::String>
81 m_descriptionHasBeenSet =
true;
82 m_description = std::forward<DescriptionT>(value);
84 template <
typename DescriptionT = Aws::String>
97 template <
typename Bandw
idthT = Aws::String>
99 m_bandwidthHasBeenSet =
true;
100 m_bandwidth = std::forward<BandwidthT>(value);
102 template <
typename Bandw
idthT = Aws::String>
115 template <
typename AttachPo
intT = AttachPo
int>
117 m_attachPointHasBeenSet =
true;
118 m_attachPoint = std::forward<AttachPointT>(value);
120 template <
typename AttachPo
intT = AttachPo
int>
133 template <
typename EnvironmentIdT = Aws::String>
135 m_environmentIdHasBeenSet =
true;
136 m_environmentId = std::forward<EnvironmentIdT>(value);
138 template <
typename EnvironmentIdT = Aws::String>
151 template <
typename Prov
iderT = Prov
ider>
153 m_providerHasBeenSet =
true;
154 m_provider = std::forward<ProviderT>(value);
156 template <
typename Prov
iderT = Prov
ider>
170 template <
typename LocationT = Aws::String>
172 m_locationHasBeenSet =
true;
173 m_location = std::forward<LocationT>(value);
175 template <
typename LocationT = Aws::String>
188 template <
typename TypeT = Aws::String>
190 m_typeHasBeenSet =
true;
191 m_type = std::forward<TypeT>(value);
193 template <
typename TypeT = Aws::String>
195 SetType(std::forward<TypeT>(value));
216 m_stateHasBeenSet =
true;
232 template <
typename SharedIdT = Aws::String>
234 m_sharedIdHasBeenSet =
true;
235 m_sharedId = std::forward<SharedIdT>(value);
237 template <
typename SharedIdT = Aws::String>
251 m_billingTierHasBeenSet =
true;
252 m_billingTier = value;
282 int64_t m_billingTier{0};
283 bool m_idHasBeenSet =
false;
284 bool m_arnHasBeenSet =
false;
285 bool m_descriptionHasBeenSet =
false;
286 bool m_bandwidthHasBeenSet =
false;
287 bool m_attachPointHasBeenSet =
false;
288 bool m_environmentIdHasBeenSet =
false;
289 bool m_providerHasBeenSet =
false;
290 bool m_locationHasBeenSet =
false;
291 bool m_typeHasBeenSet =
false;
292 bool m_stateHasBeenSet =
false;
293 bool m_sharedIdHasBeenSet =
false;
294 bool m_billingTierHasBeenSet =
false;
ConnectionSummary & WithAttachPoint(AttachPointT &&value)
bool SharedIdHasBeenSet() const
void SetLocation(LocationT &&value)
ConnectionSummary & WithBandwidth(BandwidthT &&value)
const Aws::String & GetBandwidth() const
bool StateHasBeenSet() const
void SetDescription(DescriptionT &&value)
bool ProviderHasBeenSet() const
bool AttachPointHasBeenSet() const
const Aws::String & GetArn() const
ConnectionSummary & WithDescription(DescriptionT &&value)
const Aws::String & GetType() const
AWS_INTERCONNECT_API ConnectionSummary()=default
void SetProvider(ProviderT &&value)
ConnectionSummary & WithState(ConnectionState value)
ConnectionSummary & WithProvider(ProviderT &&value)
const Aws::String & GetSharedId() const
void SetType(TypeT &&value)
AWS_INTERCONNECT_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
void SetBillingTier(int64_t value)
const Provider & GetProvider() const
void SetState(ConnectionState value)
void SetSharedId(SharedIdT &&value)
ConnectionState GetState() const
const AttachPoint & GetAttachPoint() const
const Aws::String & GetDescription() const
bool BandwidthHasBeenSet() const
void SetAttachPoint(AttachPointT &&value)
const Aws::String & GetId() const
void SetBandwidth(BandwidthT &&value)
AWS_INTERCONNECT_API ConnectionSummary(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
bool LocationHasBeenSet() const
const Aws::String & GetEnvironmentId() const
bool ArnHasBeenSet() const
bool DescriptionHasBeenSet() const
ConnectionSummary & WithType(TypeT &&value)
bool IdHasBeenSet() const
ConnectionSummary & WithBillingTier(int64_t value)
ConnectionSummary & WithLocation(LocationT &&value)
bool TypeHasBeenSet() const
bool BillingTierHasBeenSet() const
ConnectionSummary & WithArn(ArnT &&value)
void SetEnvironmentId(EnvironmentIdT &&value)
const Aws::String & GetLocation() const
ConnectionSummary & WithSharedId(SharedIdT &&value)
AWS_INTERCONNECT_API ConnectionSummary & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
int64_t GetBillingTier() const
void SetArn(ArnT &&value)
ConnectionSummary & WithEnvironmentId(EnvironmentIdT &&value)
bool EnvironmentIdHasBeenSet() const
ConnectionSummary & WithId(IdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String