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/Bandwidths.h>
11#include <aws/interconnect/model/EnvironmentState.h>
12#include <aws/interconnect/model/Provider.h>
13#include <aws/interconnect/model/RemoteAccountIdentifierType.h>
23namespace Interconnect {
38 AWS_INTERCONNECT_API
Environment(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
40 AWS_INTERCONNECT_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
48 template <
typename Prov
iderT = Prov
ider>
50 m_providerHasBeenSet =
true;
51 m_provider = std::forward<ProviderT>(value);
53 template <
typename Prov
iderT = Prov
ider>
67 template <
typename LocationT = Aws::String>
69 m_locationHasBeenSet =
true;
70 m_location = std::forward<LocationT>(value);
72 template <
typename LocationT = Aws::String>
85 template <
typename EnvironmentIdT = Aws::String>
87 m_environmentIdHasBeenSet =
true;
88 m_environmentId = std::forward<EnvironmentIdT>(value);
90 template <
typename EnvironmentIdT = Aws::String>
109 m_stateHasBeenSet =
true;
125 template <
typename Bandw
idthsT = Bandw
idths>
127 m_bandwidthsHasBeenSet =
true;
128 m_bandwidths = std::forward<BandwidthsT>(value);
130 template <
typename Bandw
idthsT = Bandw
idths>
144 template <
typename TypeT = Aws::String>
146 m_typeHasBeenSet =
true;
147 m_type = std::forward<TypeT>(value);
149 template <
typename TypeT = Aws::String>
151 SetType(std::forward<TypeT>(value));
163 template <
typename ActivationPageUrlT = Aws::String>
165 m_activationPageUrlHasBeenSet =
true;
166 m_activationPageUrl = std::forward<ActivationPageUrlT>(value);
168 template <
typename ActivationPageUrlT = Aws::String>
184 m_remoteIdentifierTypeHasBeenSet =
true;
185 m_remoteIdentifierType = value;
201 Bandwidths m_bandwidths;
208 bool m_providerHasBeenSet =
false;
209 bool m_locationHasBeenSet =
false;
210 bool m_environmentIdHasBeenSet =
false;
211 bool m_stateHasBeenSet =
false;
212 bool m_bandwidthsHasBeenSet =
false;
213 bool m_typeHasBeenSet =
false;
214 bool m_activationPageUrlHasBeenSet =
false;
215 bool m_remoteIdentifierTypeHasBeenSet =
false;
bool BandwidthsHasBeenSet() const
Environment & WithState(EnvironmentState value)
void SetBandwidths(BandwidthsT &&value)
bool LocationHasBeenSet() const
const Aws::String & GetActivationPageUrl() const
AWS_INTERCONNECT_API Environment(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
Environment & WithBandwidths(BandwidthsT &&value)
bool ProviderHasBeenSet() const
EnvironmentState GetState() const
const Aws::String & GetEnvironmentId() const
bool RemoteIdentifierTypeHasBeenSet() const
bool TypeHasBeenSet() const
RemoteAccountIdentifierType GetRemoteIdentifierType() const
bool StateHasBeenSet() const
Environment & WithLocation(LocationT &&value)
const Aws::String & GetLocation() const
const Provider & GetProvider() const
AWS_INTERCONNECT_API Environment()=default
Environment & WithEnvironmentId(EnvironmentIdT &&value)
Environment & WithType(TypeT &&value)
void SetEnvironmentId(EnvironmentIdT &&value)
void SetState(EnvironmentState value)
bool ActivationPageUrlHasBeenSet() const
void SetRemoteIdentifierType(RemoteAccountIdentifierType value)
const Aws::String & GetType() const
Environment & WithActivationPageUrl(ActivationPageUrlT &&value)
Environment & WithRemoteIdentifierType(RemoteAccountIdentifierType value)
void SetProvider(ProviderT &&value)
AWS_INTERCONNECT_API Environment & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
const Bandwidths & GetBandwidths() const
void SetLocation(LocationT &&value)
AWS_INTERCONNECT_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
bool EnvironmentIdHasBeenSet() const
void SetActivationPageUrl(ActivationPageUrlT &&value)
void SetType(TypeT &&value)
Environment & WithProvider(ProviderT &&value)
RemoteAccountIdentifierType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String