7#include <aws/ecr/ECR_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
44 template<
typename MessageT = Aws::String>
45 void SetMessage(MessageT&& value) { m_messageHasBeenSet =
true; m_message = std::forward<MessageT>(value); }
46 template<
typename MessageT = Aws::String>
56 template<
typename KmsErrorT = Aws::String>
57 void SetKmsError(KmsErrorT&& value) { m_kmsErrorHasBeenSet =
true; m_kmsError = std::forward<KmsErrorT>(value); }
58 template<
typename KmsErrorT = Aws::String>
64 bool m_messageHasBeenSet =
false;
67 bool m_kmsErrorHasBeenSet =
false;
AWS_ECR_API Aws::Utils::Json::JsonValue Jsonize() const
void SetKmsError(KmsErrorT &&value)
KmsException & WithMessage(MessageT &&value)
KmsException & WithKmsError(KmsErrorT &&value)
bool KmsErrorHasBeenSet() const
AWS_ECR_API KmsException & operator=(Aws::Utils::Json::JsonView jsonValue)
bool MessageHasBeenSet() const
const Aws::String & GetKmsError() const
AWS_ECR_API KmsException()=default
AWS_ECR_API KmsException(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetMessage() const
void SetMessage(MessageT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue