/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The operation failed due to a KMS exception.See Also:
AWS
* API Reference
The error code returned by KMS.
*/ inline const Aws::String& GetKmsError() const{ return m_kmsError; } /** *The error code returned by KMS.
*/ inline bool KmsErrorHasBeenSet() const { return m_kmsErrorHasBeenSet; } /** *The error code returned by KMS.
*/ inline void SetKmsError(const Aws::String& value) { m_kmsErrorHasBeenSet = true; m_kmsError = value; } /** *The error code returned by KMS.
*/ inline void SetKmsError(Aws::String&& value) { m_kmsErrorHasBeenSet = true; m_kmsError = std::move(value); } /** *The error code returned by KMS.
*/ inline void SetKmsError(const char* value) { m_kmsErrorHasBeenSet = true; m_kmsError.assign(value); } /** *The error code returned by KMS.
*/ inline KmsException& WithKmsError(const Aws::String& value) { SetKmsError(value); return *this;} /** *The error code returned by KMS.
*/ inline KmsException& WithKmsError(Aws::String&& value) { SetKmsError(std::move(value)); return *this;} /** *The error code returned by KMS.
*/ inline KmsException& WithKmsError(const char* value) { SetKmsError(value); return *this;} private: Aws::String m_message; bool m_messageHasBeenSet = false; Aws::String m_kmsError; bool m_kmsErrorHasBeenSet = false; }; } // namespace Model } // namespace ECR } // namespace Aws