7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/crt/cbor/Cbor.h>
9#include <aws/workspaces/WorkSpaces_EXPORTS.h>
30 AWS_WORKSPACES_API
AgentRuntime(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
32 AWS_WORKSPACES_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
40 template <
typename IdT = Aws::String>
42 m_idHasBeenSet =
true;
43 m_id = std::forward<IdT>(value);
45 template <
typename IdT = Aws::String>
47 SetId(std::forward<IdT>(value));
58 template <
typename NameT = Aws::String>
60 m_nameHasBeenSet =
true;
61 m_name = std::forward<NameT>(value);
63 template <
typename NameT = Aws::String>
65 SetName(std::forward<NameT>(value));
73 bool m_idHasBeenSet =
false;
74 bool m_nameHasBeenSet =
false;
void SetName(NameT &&value)
bool NameHasBeenSet() const
AWS_WORKSPACES_API AgentRuntime & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
const Aws::String & GetId() const
const Aws::String & GetName() const
AWS_WORKSPACES_API AgentRuntime(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
bool IdHasBeenSet() const
AgentRuntime & WithId(IdT &&value)
AWS_WORKSPACES_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
AgentRuntime & WithName(NameT &&value)
AWS_WORKSPACES_API AgentRuntime()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String