7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/logs/CloudWatchLogsRequest.h>
10#include <aws/logs/CloudWatchLogs_EXPORTS.h>
15namespace CloudWatchLogs {
41 template <
typename NameT = Aws::String>
43 m_nameHasBeenSet =
true;
44 m_name = std::forward<NameT>(value);
46 template <
typename NameT = Aws::String>
48 SetName(std::forward<NameT>(value));
66 template <
typename ResourceArnT = Aws::String>
68 m_resourceArnHasBeenSet =
true;
69 m_resourceArn = std::forward<ResourceArnT>(value);
71 template <
typename ResourceArnT = Aws::String>
130 template <
typename LogTypeT = Aws::String>
132 m_logTypeHasBeenSet =
true;
133 m_logType = std::forward<LogTypeT>(value);
135 template <
typename LogTypeT = Aws::String>
151 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
153 m_tagsHasBeenSet =
true;
154 m_tags = std::forward<TagsT>(value);
156 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
158 SetTags(std::forward<TagsT>(value));
161 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
163 m_tagsHasBeenSet =
true;
164 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
177 template <
typename DeliverySourceConfigurationT = Aws::Map<Aws::String, Aws::String>>
179 m_deliverySourceConfigurationHasBeenSet =
true;
180 m_deliverySourceConfiguration = std::forward<DeliverySourceConfigurationT>(value);
182 template <
typename DeliverySourceConfigurationT = Aws::Map<Aws::String, Aws::String>>
187 template <
typename DeliverySourceConfigurationKeyT = Aws::String,
typename DeliverySourceConfigurationValueT = Aws::String>
189 DeliverySourceConfigurationValueT&& value) {
190 m_deliverySourceConfigurationHasBeenSet =
true;
191 m_deliverySourceConfiguration.emplace(std::forward<DeliverySourceConfigurationKeyT>(key),
192 std::forward<DeliverySourceConfigurationValueT>(value));
206 bool m_nameHasBeenSet =
false;
207 bool m_resourceArnHasBeenSet =
false;
208 bool m_logTypeHasBeenSet =
false;
209 bool m_tagsHasBeenSet =
false;
210 bool m_deliverySourceConfigurationHasBeenSet =
false;
void SetTags(TagsT &&value)
PutDeliverySourceRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
const Aws::String & GetName() const
bool DeliverySourceConfigurationHasBeenSet() const
AWS_CLOUDWATCHLOGS_API PutDeliverySourceRequest()=default
bool TagsHasBeenSet() const
virtual const char * GetServiceRequestName() const override
const Aws::Map< Aws::String, Aws::String > & GetTags() const
PutDeliverySourceRequest & WithDeliverySourceConfiguration(DeliverySourceConfigurationT &&value)
void SetDeliverySourceConfiguration(DeliverySourceConfigurationT &&value)
void SetLogType(LogTypeT &&value)
PutDeliverySourceRequest & AddDeliverySourceConfiguration(DeliverySourceConfigurationKeyT &&key, DeliverySourceConfigurationValueT &&value)
const Aws::Map< Aws::String, Aws::String > & GetDeliverySourceConfiguration() const
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