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
45 template<
typename NameT = Aws::String>
46 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
47 template<
typename NameT = Aws::String>
60 template<
typename ResourceArnT = Aws::String>
61 void SetResourceArn(ResourceArnT&& value) { m_resourceArnHasBeenSet =
true; m_resourceArn = std::forward<ResourceArnT>(value); }
62 template<
typename ResourceArnT = Aws::String>
93 template<
typename LogTypeT = Aws::String>
94 void SetLogType(LogTypeT&& value) { m_logTypeHasBeenSet =
true; m_logType = std::forward<LogTypeT>(value); }
95 template<
typename LogTypeT = Aws::String>
108 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
109 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
110 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
112 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
114 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
120 bool m_nameHasBeenSet =
false;
123 bool m_resourceArnHasBeenSet =
false;
126 bool m_logTypeHasBeenSet =
false;
129 bool m_tagsHasBeenSet =
false;
void SetTags(TagsT &&value)
PutDeliverySourceRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
const Aws::String & GetName() const
AWS_CLOUDWATCHLOGS_API PutDeliverySourceRequest()=default
bool TagsHasBeenSet() const
virtual const char * GetServiceRequestName() const override
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetLogType(LogTypeT &&value)
AWS_CLOUDWATCHLOGS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool NameHasBeenSet() const
AWS_CLOUDWATCHLOGS_API Aws::String SerializePayload() const override
const Aws::String & GetResourceArn() const
bool ResourceArnHasBeenSet() const
bool LogTypeHasBeenSet() const
PutDeliverySourceRequest & WithTags(TagsT &&value)
void SetResourceArn(ResourceArnT &&value)
const Aws::String & GetLogType() const
PutDeliverySourceRequest & WithName(NameT &&value)
PutDeliverySourceRequest & WithLogType(LogTypeT &&value)
void SetName(NameT &&value)
PutDeliverySourceRequest & WithResourceArn(ResourceArnT &&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