/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Displays errors that occurred during validation of the resource
* policy.See Also:
AWS
* API Reference
Checks the name of the policy.
*/ inline const Aws::String& GetCheckName() const{ return m_checkName; } /** *Checks the name of the policy.
*/ inline bool CheckNameHasBeenSet() const { return m_checkNameHasBeenSet; } /** *Checks the name of the policy.
*/ inline void SetCheckName(const Aws::String& value) { m_checkNameHasBeenSet = true; m_checkName = value; } /** *Checks the name of the policy.
*/ inline void SetCheckName(Aws::String&& value) { m_checkNameHasBeenSet = true; m_checkName = std::move(value); } /** *Checks the name of the policy.
*/ inline void SetCheckName(const char* value) { m_checkNameHasBeenSet = true; m_checkName.assign(value); } /** *Checks the name of the policy.
*/ inline ValidationErrorsEntry& WithCheckName(const Aws::String& value) { SetCheckName(value); return *this;} /** *Checks the name of the policy.
*/ inline ValidationErrorsEntry& WithCheckName(Aws::String&& value) { SetCheckName(std::move(value)); return *this;} /** *Checks the name of the policy.
*/ inline ValidationErrorsEntry& WithCheckName(const char* value) { SetCheckName(value); return *this;} /** *Displays error messages if validation encounters problems during validation * of the resource policy.
*/ inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; } /** *Displays error messages if validation encounters problems during validation * of the resource policy.
*/ inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; } /** *Displays error messages if validation encounters problems during validation * of the resource policy.
*/ inline void SetErrorMessage(const Aws::String& value) { m_errorMessageHasBeenSet = true; m_errorMessage = value; } /** *Displays error messages if validation encounters problems during validation * of the resource policy.
*/ inline void SetErrorMessage(Aws::String&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::move(value); } /** *Displays error messages if validation encounters problems during validation * of the resource policy.
*/ inline void SetErrorMessage(const char* value) { m_errorMessageHasBeenSet = true; m_errorMessage.assign(value); } /** *Displays error messages if validation encounters problems during validation * of the resource policy.
*/ inline ValidationErrorsEntry& WithErrorMessage(const Aws::String& value) { SetErrorMessage(value); return *this;} /** *Displays error messages if validation encounters problems during validation * of the resource policy.
*/ inline ValidationErrorsEntry& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;} /** *Displays error messages if validation encounters problems during validation * of the resource policy.
*/ inline ValidationErrorsEntry& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;} private: Aws::String m_checkName; bool m_checkNameHasBeenSet = false; Aws::String m_errorMessage; bool m_errorMessageHasBeenSet = false; }; } // namespace Model } // namespace SecretsManager } // namespace Aws