7#include <aws/logs/CloudWatchLogs_EXPORTS.h>
8#include <aws/logs/CloudWatchLogsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
14namespace CloudWatchLogs
45 template<
typename LogGroupNameT = Aws::String>
46 void SetLogGroupName(LogGroupNameT&& value) { m_logGroupNameHasBeenSet =
true; m_logGroupName = std::forward<LogGroupNameT>(value); }
47 template<
typename LogGroupNameT = Aws::String>
62 template<
typename KmsKeyIdT = Aws::String>
63 void SetKmsKeyId(KmsKeyIdT&& value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId = std::forward<KmsKeyIdT>(value); }
64 template<
typename KmsKeyIdT = Aws::String>
87 template<
typename ResourceIdentifierT = Aws::String>
88 void SetResourceIdentifier(ResourceIdentifierT&& value) { m_resourceIdentifierHasBeenSet =
true; m_resourceIdentifier = std::forward<ResourceIdentifierT>(value); }
89 template<
typename ResourceIdentifierT = Aws::String>
95 bool m_logGroupNameHasBeenSet =
false;
98 bool m_kmsKeyIdHasBeenSet =
false;
101 bool m_resourceIdentifierHasBeenSet =
false;
AWS_CLOUDWATCHLOGS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
virtual const char * GetServiceRequestName() const override
AssociateKmsKeyRequest & WithLogGroupName(LogGroupNameT &&value)
void SetKmsKeyId(KmsKeyIdT &&value)
const Aws::String & GetKmsKeyId() const
AssociateKmsKeyRequest & WithKmsKeyId(KmsKeyIdT &&value)
const Aws::String & GetLogGroupName() const
const Aws::String & GetResourceIdentifier() const
AWS_CLOUDWATCHLOGS_API Aws::String SerializePayload() const override
bool LogGroupNameHasBeenSet() const
AWS_CLOUDWATCHLOGS_API AssociateKmsKeyRequest()=default
void SetLogGroupName(LogGroupNameT &&value)
bool ResourceIdentifierHasBeenSet() const
bool KmsKeyIdHasBeenSet() const
AssociateKmsKeyRequest & WithResourceIdentifier(ResourceIdentifierT &&value)
void SetResourceIdentifier(ResourceIdentifierT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String