7#include <aws/logs/CloudWatchLogs_EXPORTS.h>
8#include <aws/logs/CloudWatchLogsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
15namespace CloudWatchLogs
46 inline void SetDestinationName(
const char* value) { m_destinationNameHasBeenSet =
true; m_destinationName.assign(value); }
61 inline void SetTargetArn(
const char* value) { m_targetArnHasBeenSet =
true; m_targetArn.assign(value); }
76 inline void SetRoleArn(
const char* value) { m_roleArnHasBeenSet =
true; m_roleArn.assign(value); }
106 bool m_destinationNameHasBeenSet =
false;
109 bool m_targetArnHasBeenSet =
false;
112 bool m_roleArnHasBeenSet =
false;
115 bool m_tagsHasBeenSet =
false;
bool RoleArnHasBeenSet() const
bool DestinationNameHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
PutDestinationRequest & WithRoleArn(const char *value)
const Aws::String & GetTargetArn() const
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetRoleArn() const
PutDestinationRequest & WithTargetArn(const char *value)
PutDestinationRequest & WithTargetArn(Aws::String &&value)
const Aws::String & GetDestinationName() const
PutDestinationRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
AWS_CLOUDWATCHLOGS_API Aws::String SerializePayload() const override
AWS_CLOUDWATCHLOGS_API PutDestinationRequest()
PutDestinationRequest & WithTargetArn(const Aws::String &value)
void SetRoleArn(const Aws::String &value)
PutDestinationRequest & WithRoleArn(Aws::String &&value)
PutDestinationRequest & AddTags(const char *key, Aws::String &&value)
PutDestinationRequest & AddTags(Aws::String &&key, const Aws::String &value)
void SetRoleArn(Aws::String &&value)
void SetTargetArn(const char *value)
void SetDestinationName(const char *value)
void SetDestinationName(Aws::String &&value)
PutDestinationRequest & WithDestinationName(const char *value)
void SetTargetArn(const Aws::String &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetDestinationName(const Aws::String &value)
void SetTargetArn(Aws::String &&value)
PutDestinationRequest & AddTags(Aws::String &&key, Aws::String &&value)
PutDestinationRequest & AddTags(const Aws::String &key, Aws::String &&value)
PutDestinationRequest & AddTags(Aws::String &&key, const char *value)
PutDestinationRequest & WithDestinationName(const Aws::String &value)
PutDestinationRequest & AddTags(const Aws::String &key, const Aws::String &value)
PutDestinationRequest & AddTags(const char *key, const char *value)
AWS_CLOUDWATCHLOGS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetRoleArn(const char *value)
bool TagsHasBeenSet() const
PutDestinationRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
bool TargetArnHasBeenSet() const
PutDestinationRequest & WithDestinationName(Aws::String &&value)
PutDestinationRequest & WithRoleArn(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String