7#include <aws/compute-optimizer/ComputeOptimizer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/crt/cbor/Cbor.h>
20namespace ComputeOptimizer {
32 AWS_COMPUTEOPTIMIZER_API
IdleDimension(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
34 AWS_COMPUTEOPTIMIZER_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
42 template <
typename KeyT = Aws::String>
44 m_keyHasBeenSet =
true;
45 m_key = std::forward<KeyT>(value);
47 template <
typename KeyT = Aws::String>
49 SetKey(std::forward<KeyT>(value));
60 template <
typename ValuesT = Aws::Vector<Aws::String>>
62 m_valuesHasBeenSet =
true;
63 m_values = std::forward<ValuesT>(value);
65 template <
typename ValuesT = Aws::Vector<Aws::String>>
70 template <
typename ValuesT = Aws::String>
72 m_valuesHasBeenSet =
true;
73 m_values.emplace_back(std::forward<ValuesT>(value));
81 bool m_keyHasBeenSet =
false;
82 bool m_valuesHasBeenSet =
false;
void SetKey(KeyT &&value)
const Aws::Vector< Aws::String > & GetValues() const
IdleDimension & WithKey(KeyT &&value)
IdleDimension & WithValues(ValuesT &&value)
void SetValues(ValuesT &&value)
IdleDimension & AddValues(ValuesT &&value)
const Aws::String & GetKey() const
bool ValuesHasBeenSet() const
AWS_COMPUTEOPTIMIZER_API IdleDimension(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_COMPUTEOPTIMIZER_API IdleDimension & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_COMPUTEOPTIMIZER_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
AWS_COMPUTEOPTIMIZER_API IdleDimension()=default
bool KeyHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector