/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace KMS { namespace Model { class AWS_KMS_API GetKeyRotationStatusResult { public: GetKeyRotationStatusResult(); GetKeyRotationStatusResult(const Aws::AmazonWebServiceResult& result); GetKeyRotationStatusResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

A Boolean value that specifies whether key rotation is enabled.

*/ inline bool GetKeyRotationEnabled() const{ return m_keyRotationEnabled; } /** *

A Boolean value that specifies whether key rotation is enabled.

*/ inline void SetKeyRotationEnabled(bool value) { m_keyRotationEnabled = value; } /** *

A Boolean value that specifies whether key rotation is enabled.

*/ inline GetKeyRotationStatusResult& WithKeyRotationEnabled(bool value) { SetKeyRotationEnabled(value); return *this;} private: bool m_keyRotationEnabled; }; } // namespace Model } // namespace KMS } // namespace Aws