7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/crt/cbor/Cbor.h>
9#include <aws/workspaces/WorkSpaces_EXPORTS.h>
10#include <aws/workspaces/model/AccountModelStatus.h>
31 AWS_WORKSPACES_API
AccountModel(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
33 AWS_WORKSPACES_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
41 template <
typename ModelIdT = Aws::String>
43 m_modelIdHasBeenSet =
true;
44 m_modelId = std::forward<ModelIdT>(value);
46 template <
typename ModelIdT = Aws::String>
60 template <
typename NameT = Aws::String>
62 m_nameHasBeenSet =
true;
63 m_name = std::forward<NameT>(value);
65 template <
typename NameT = Aws::String>
67 SetName(std::forward<NameT>(value));
79 m_statusHasBeenSet =
true;
93 bool m_modelIdHasBeenSet =
false;
94 bool m_nameHasBeenSet =
false;
95 bool m_statusHasBeenSet =
false;
AccountModel & WithModelId(ModelIdT &&value)
bool NameHasBeenSet() const
void SetModelId(ModelIdT &&value)
AccountModel & WithName(NameT &&value)
AWS_WORKSPACES_API AccountModel & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AccountModel & WithStatus(AccountModelStatus value)
bool StatusHasBeenSet() const
void SetName(NameT &&value)
AWS_WORKSPACES_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
AccountModelStatus GetStatus() const
AWS_WORKSPACES_API AccountModel()=default
void SetStatus(AccountModelStatus value)
bool ModelIdHasBeenSet() const
const Aws::String & GetName() const
AWS_WORKSPACES_API AccountModel(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
const Aws::String & GetModelId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String