7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/crt/cbor/Cbor.h>
10#include <aws/interconnect/Interconnect_EXPORTS.h>
20namespace Interconnect {
32 AWS_INTERCONNECT_API
Bandwidths(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
33 AWS_INTERCONNECT_API
Bandwidths&
operator=(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
34 AWS_INTERCONNECT_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
42 template <
typename AvailableT = Aws::Vector<Aws::String>>
44 m_availableHasBeenSet =
true;
45 m_available = std::forward<AvailableT>(value);
47 template <
typename AvailableT = Aws::Vector<Aws::String>>
52 template <
typename AvailableT = Aws::String>
54 m_availableHasBeenSet =
true;
55 m_available.emplace_back(std::forward<AvailableT>(value));
66 template <
typename SupportedT = Aws::Vector<Aws::String>>
68 m_supportedHasBeenSet =
true;
69 m_supported = std::forward<SupportedT>(value);
71 template <
typename SupportedT = Aws::Vector<Aws::String>>
76 template <
typename SupportedT = Aws::String>
78 m_supportedHasBeenSet =
true;
79 m_supported.emplace_back(std::forward<SupportedT>(value));
87 bool m_availableHasBeenSet =
false;
88 bool m_supportedHasBeenSet =
false;
void SetSupported(SupportedT &&value)
AWS_INTERCONNECT_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
const Aws::Vector< Aws::String > & GetSupported() const
const Aws::Vector< Aws::String > & GetAvailable() const
AWS_INTERCONNECT_API Bandwidths & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
bool AvailableHasBeenSet() const
Bandwidths & WithAvailable(AvailableT &&value)
AWS_INTERCONNECT_API Bandwidths()=default
bool SupportedHasBeenSet() const
Bandwidths & WithSupported(SupportedT &&value)
Bandwidths & AddAvailable(AvailableT &&value)
AWS_INTERCONNECT_API Bandwidths(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
Bandwidths & AddSupported(SupportedT &&value)
void SetAvailable(AvailableT &&value)
std::vector< T, Aws::Allocator< T > > Vector