7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/crt/cbor/Cbor.h>
9#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
19namespace ServiceCatalog {
31 AWS_SERVICECATALOG_API
UsageInstruction(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
33 AWS_SERVICECATALOG_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
41 template <
typename TypeT = Aws::String>
43 m_typeHasBeenSet =
true;
44 m_type = std::forward<TypeT>(value);
46 template <
typename TypeT = Aws::String>
48 SetType(std::forward<TypeT>(value));
59 template <
typename ValueT = Aws::String>
61 m_valueHasBeenSet =
true;
62 m_value = std::forward<ValueT>(value);
64 template <
typename ValueT = Aws::String>
66 SetValue(std::forward<ValueT>(value));
74 bool m_typeHasBeenSet =
false;
75 bool m_valueHasBeenSet =
false;
bool ValueHasBeenSet() const
AWS_SERVICECATALOG_API UsageInstruction & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
UsageInstruction & WithValue(ValueT &&value)
AWS_SERVICECATALOG_API UsageInstruction()=default
bool TypeHasBeenSet() const
void SetValue(ValueT &&value)
AWS_SERVICECATALOG_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
const Aws::String & GetValue() const
AWS_SERVICECATALOG_API UsageInstruction(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
void SetType(TypeT &&value)
UsageInstruction & WithType(TypeT &&value)
const Aws::String & GetType() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String