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
47 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
64 inline void SetResourceArn(
const char* value) { m_resourceArnHasBeenSet =
true; m_resourceArn.assign(value); }
85 inline void SetLogType(
const char* value) { m_logTypeHasBeenSet =
true; m_logType.assign(value); }
115 bool m_nameHasBeenSet =
false;
118 bool m_resourceArnHasBeenSet =
false;
121 bool m_logTypeHasBeenSet =
false;
124 bool m_tagsHasBeenSet =
false;
PutDeliverySourceRequest & AddTags(Aws::String &&key, Aws::String &&value)
const Aws::String & GetName() const
void SetLogType(const char *value)
PutDeliverySourceRequest & WithLogType(Aws::String &&value)
PutDeliverySourceRequest & AddTags(Aws::String &&key, const Aws::String &value)
PutDeliverySourceRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
PutDeliverySourceRequest & AddTags(const Aws::String &key, const Aws::String &value)
AWS_CLOUDWATCHLOGS_API PutDeliverySourceRequest()
void SetLogType(const Aws::String &value)
void SetName(Aws::String &&value)
bool TagsHasBeenSet() const
virtual const char * GetServiceRequestName() const override
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetName(const char *value)
void SetName(const Aws::String &value)
AWS_CLOUDWATCHLOGS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool NameHasBeenSet() const
PutDeliverySourceRequest & WithName(const char *value)
AWS_CLOUDWATCHLOGS_API Aws::String SerializePayload() const override
const Aws::String & GetResourceArn() const
PutDeliverySourceRequest & WithResourceArn(const char *value)
PutDeliverySourceRequest & WithResourceArn(Aws::String &&value)
bool ResourceArnHasBeenSet() const
PutDeliverySourceRequest & AddTags(const char *key, const char *value)
bool LogTypeHasBeenSet() const
PutDeliverySourceRequest & WithResourceArn(const Aws::String &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
PutDeliverySourceRequest & WithLogType(const char *value)
PutDeliverySourceRequest & AddTags(Aws::String &&key, const char *value)
void SetLogType(Aws::String &&value)
PutDeliverySourceRequest & WithName(const Aws::String &value)
const Aws::String & GetLogType() const
PutDeliverySourceRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetResourceArn(Aws::String &&value)
PutDeliverySourceRequest & WithLogType(const Aws::String &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
PutDeliverySourceRequest & AddTags(const Aws::String &key, Aws::String &&value)
PutDeliverySourceRequest & AddTags(const char *key, Aws::String &&value)
PutDeliverySourceRequest & WithName(Aws::String &&value)
void SetResourceArn(const char *value)
void SetResourceArn(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