7#include <aws/logs/CloudWatchLogs_EXPORTS.h>
8#include <aws/logs/CloudWatchLogsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
14namespace CloudWatchLogs
47 inline void SetLogGroupName(
const char* value) { m_logGroupNameHasBeenSet =
true; m_logGroupName.assign(value); }
66 inline void SetKmsKeyId(
const char* value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId.assign(value); }
93 inline void SetResourceIdentifier(
const char* value) { m_resourceIdentifierHasBeenSet =
true; m_resourceIdentifier.assign(value); }
101 bool m_logGroupNameHasBeenSet =
false;
104 bool m_kmsKeyIdHasBeenSet =
false;
107 bool m_resourceIdentifierHasBeenSet =
false;
void SetLogGroupName(const Aws::String &value)
AWS_CLOUDWATCHLOGS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetKmsKeyId(Aws::String &&value)
void SetKmsKeyId(const Aws::String &value)
AWS_CLOUDWATCHLOGS_API AssociateKmsKeyRequest()
AssociateKmsKeyRequest & WithKmsKeyId(const char *value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetKmsKeyId() const
AssociateKmsKeyRequest & WithLogGroupName(Aws::String &&value)
const Aws::String & GetLogGroupName() const
AssociateKmsKeyRequest & WithResourceIdentifier(const char *value)
const Aws::String & GetResourceIdentifier() const
void SetResourceIdentifier(Aws::String &&value)
void SetKmsKeyId(const char *value)
void SetLogGroupName(Aws::String &&value)
AWS_CLOUDWATCHLOGS_API Aws::String SerializePayload() const override
bool LogGroupNameHasBeenSet() const
void SetLogGroupName(const char *value)
AssociateKmsKeyRequest & WithLogGroupName(const Aws::String &value)
bool ResourceIdentifierHasBeenSet() const
AssociateKmsKeyRequest & WithResourceIdentifier(Aws::String &&value)
void SetResourceIdentifier(const char *value)
AssociateKmsKeyRequest & WithKmsKeyId(const Aws::String &value)
bool KmsKeyIdHasBeenSet() const
AssociateKmsKeyRequest & WithLogGroupName(const char *value)
void SetResourceIdentifier(const Aws::String &value)
AssociateKmsKeyRequest & WithResourceIdentifier(const Aws::String &value)
AssociateKmsKeyRequest & WithKmsKeyId(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String