7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/crt/cbor/Cbor.h>
9#include <aws/gamelift/GameLift_EXPORTS.h>
10#include <aws/gamelift/model/ContainerPortRange.h>
51 AWS_GAMELIFT_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
61 template <
typename ContainerPortRangesT = Aws::Vector<ContainerPortRange>>
63 m_containerPortRangesHasBeenSet =
true;
64 m_containerPortRanges = std::forward<ContainerPortRangesT>(value);
66 template <
typename ContainerPortRangesT = Aws::Vector<ContainerPortRange>>
71 template <
typename ContainerPortRangesT = ContainerPortRange>
73 m_containerPortRangesHasBeenSet =
true;
74 m_containerPortRanges.emplace_back(std::forward<ContainerPortRangesT>(value));
80 bool m_containerPortRangesHasBeenSet =
false;
AWS_GAMELIFT_API ContainerPortConfiguration & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
ContainerPortConfiguration & AddContainerPortRanges(ContainerPortRangesT &&value)
AWS_GAMELIFT_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
ContainerPortConfiguration & WithContainerPortRanges(ContainerPortRangesT &&value)
void SetContainerPortRanges(ContainerPortRangesT &&value)
AWS_GAMELIFT_API ContainerPortConfiguration()=default
const Aws::Vector< ContainerPortRange > & GetContainerPortRanges() const
bool ContainerPortRangesHasBeenSet() const
AWS_GAMELIFT_API ContainerPortConfiguration(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
std::vector< T, Aws::Allocator< T > > Vector