56 lines
1.3 KiB
C++
56 lines
1.3 KiB
C++
/**
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|
*/
|
|
|
|
#pragma once
|
|
#include <aws/kms/KMS_EXPORTS.h>
|
|
|
|
namespace Aws
|
|
{
|
|
template<typename RESULT_TYPE>
|
|
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<Aws::Utils::Json::JsonValue>& result);
|
|
GetKeyRotationStatusResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
|
|
|
|
|
|
/**
|
|
* <p>A Boolean value that specifies whether key rotation is enabled.</p>
|
|
*/
|
|
inline bool GetKeyRotationEnabled() const{ return m_keyRotationEnabled; }
|
|
|
|
/**
|
|
* <p>A Boolean value that specifies whether key rotation is enabled.</p>
|
|
*/
|
|
inline void SetKeyRotationEnabled(bool value) { m_keyRotationEnabled = value; }
|
|
|
|
/**
|
|
* <p>A Boolean value that specifies whether key rotation is enabled.</p>
|
|
*/
|
|
inline GetKeyRotationStatusResult& WithKeyRotationEnabled(bool value) { SetKeyRotationEnabled(value); return *this;}
|
|
|
|
private:
|
|
|
|
bool m_keyRotationEnabled;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace KMS
|
|
} // namespace Aws
|