7#include <aws/kms/KMS_EXPORTS.h>
8#include <aws/kms/KMSRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
61 inline void SetKeyId(
const char* value) { m_keyIdHasBeenSet =
true; m_keyId.assign(value); }
81 inline void SetRotationPeriodInDays(
int value) { m_rotationPeriodInDaysHasBeenSet =
true; m_rotationPeriodInDays = value; }
87 bool m_keyIdHasBeenSet =
false;
89 int m_rotationPeriodInDays;
90 bool m_rotationPeriodInDaysHasBeenSet =
false;
int GetRotationPeriodInDays() const
EnableKeyRotationRequest & WithKeyId(const char *value)
void SetKeyId(const Aws::String &value)
EnableKeyRotationRequest & WithKeyId(Aws::String &&value)
AWS_KMS_API EnableKeyRotationRequest()
void SetKeyId(Aws::String &&value)
bool KeyIdHasBeenSet() const
void SetRotationPeriodInDays(int value)
AWS_KMS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
EnableKeyRotationRequest & WithRotationPeriodInDays(int value)
virtual const char * GetServiceRequestName() const override
AWS_KMS_API Aws::String SerializePayload() const override
void SetKeyId(const char *value)
bool RotationPeriodInDaysHasBeenSet() const
EnableKeyRotationRequest & WithKeyId(const Aws::String &value)
const Aws::String & GetKeyId() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String