7#include <aws/workspaces/WorkSpaces_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
46 template<
typename MessageT = Aws::String>
47 void SetMessage(MessageT&& value) { m_messageHasBeenSet =
true; m_message = std::forward<MessageT>(value); }
48 template<
typename MessageT = Aws::String>
58 template<
typename ReasonT = Aws::String>
59 void SetReason(ReasonT&& value) { m_reasonHasBeenSet =
true; m_reason = std::forward<ReasonT>(value); }
60 template<
typename ReasonT = Aws::String>
66 bool m_messageHasBeenSet =
false;
69 bool m_reasonHasBeenSet =
false;
bool MessageHasBeenSet() const
AWS_WORKSPACES_API OperationNotSupportedException & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetMessage(MessageT &&value)
const Aws::String & GetMessage() const
OperationNotSupportedException & WithMessage(MessageT &&value)
OperationNotSupportedException & WithReason(ReasonT &&value)
AWS_WORKSPACES_API OperationNotSupportedException(Aws::Utils::Json::JsonView jsonValue)
AWS_WORKSPACES_API Aws::Utils::Json::JsonValue Jsonize() const
bool ReasonHasBeenSet() const
AWS_WORKSPACES_API OperationNotSupportedException()=default
const Aws::String & GetReason() const
void SetReason(ReasonT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue