7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/crt/cbor/Cbor.h>
9#include <aws/workspaces-instances/WorkspacesInstances_EXPORTS.h>
19namespace WorkspacesInstances {
33 AWS_WORKSPACESINSTANCES_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
41 template <
typename NameT = Aws::String>
43 m_nameHasBeenSet =
true;
44 m_name = std::forward<NameT>(value);
46 template <
typename NameT = Aws::String>
48 SetName(std::forward<NameT>(value));
59 template <
typename ReasonT = Aws::String>
61 m_reasonHasBeenSet =
true;
62 m_reason = std::forward<ReasonT>(value);
64 template <
typename ReasonT = Aws::String>
77 template <
typename MessageT = Aws::String>
79 m_messageHasBeenSet =
true;
80 m_message = std::forward<MessageT>(value);
82 template <
typename MessageT = Aws::String>
94 bool m_nameHasBeenSet =
false;
95 bool m_reasonHasBeenSet =
false;
96 bool m_messageHasBeenSet =
false;
const Aws::String & GetMessage() const
const Aws::String & GetReason() const
void SetMessage(MessageT &&value)
bool MessageHasBeenSet() const
AWS_WORKSPACESINSTANCES_API ValidationExceptionField(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
ValidationExceptionField & WithMessage(MessageT &&value)
ValidationExceptionField & WithName(NameT &&value)
AWS_WORKSPACESINSTANCES_API ValidationExceptionField & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
bool ReasonHasBeenSet() const
AWS_WORKSPACESINSTANCES_API ValidationExceptionField()=default
bool NameHasBeenSet() const
AWS_WORKSPACESINSTANCES_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
ValidationExceptionField & WithReason(ReasonT &&value)
void SetReason(ReasonT &&value)
const Aws::String & GetName() const
void SetName(NameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String