7#include <aws/codeartifact/CodeArtifact_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/codeartifact/model/ValidationExceptionReason.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>
64 bool m_messageHasBeenSet =
false;
67 bool m_reasonHasBeenSet =
false;
AWS_CODEARTIFACT_API ValidationException & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetReason(ValidationExceptionReason value)
bool MessageHasBeenSet() const
bool ReasonHasBeenSet() const
ValidationExceptionReason GetReason() const
AWS_CODEARTIFACT_API ValidationException(Aws::Utils::Json::JsonView jsonValue)
ValidationException & WithMessage(MessageT &&value)
ValidationException & WithReason(ValidationExceptionReason value)
const Aws::String & GetMessage() const
AWS_CODEARTIFACT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetMessage(MessageT &&value)
AWS_CODEARTIFACT_API ValidationException()=default
ValidationExceptionReason
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue