7#include <aws/compute-optimizer/ComputeOptimizer_EXPORTS.h>
8#include <aws/compute-optimizer/model/ScopeName.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/crt/cbor/Cbor.h>
20namespace ComputeOptimizer {
45 AWS_COMPUTEOPTIMIZER_API
Scope() =
default;
46 AWS_COMPUTEOPTIMIZER_API
Scope(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
47 AWS_COMPUTEOPTIMIZER_API
Scope&
operator=(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
48 AWS_COMPUTEOPTIMIZER_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
64 m_nameHasBeenSet =
true;
86 template <
typename ValueT = Aws::String>
88 m_valueHasBeenSet =
true;
89 m_value = std::forward<ValueT>(value);
91 template <
typename ValueT = Aws::String>
93 SetValue(std::forward<ValueT>(value));
101 bool m_nameHasBeenSet =
false;
102 bool m_valueHasBeenSet =
false;
bool NameHasBeenSet() const
AWS_COMPUTEOPTIMIZER_API Scope & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
ScopeName GetName() const
void SetValue(ValueT &&value)
Scope & WithValue(ValueT &&value)
const Aws::String & GetValue() const
void SetName(ScopeName value)
Scope & WithName(ScopeName value)
AWS_COMPUTEOPTIMIZER_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
AWS_COMPUTEOPTIMIZER_API Scope()=default
AWS_COMPUTEOPTIMIZER_API Scope(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
bool ValueHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String