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/logs/model/OutputFormat.h>
11#include <aws/logs/model/DeliveryDestinationConfiguration.h>
12#include <aws/logs/model/DeliveryDestinationType.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
18namespace CloudWatchLogs
48 template<
typename NameT = Aws::String>
49 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
50 template<
typename NameT = Aws::String>
76 template<
typename DeliveryDestinationConfigurationT = DeliveryDestinationConfiguration>
77 void SetDeliveryDestinationConfiguration(DeliveryDestinationConfigurationT&& value) { m_deliveryDestinationConfigurationHasBeenSet =
true; m_deliveryDestinationConfiguration = std::forward<DeliveryDestinationConfigurationT>(value); }
78 template<
typename DeliveryDestinationConfigurationT = DeliveryDestinationConfiguration>
109 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
110 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
111 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
113 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
115 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
121 bool m_nameHasBeenSet =
false;
124 bool m_outputFormatHasBeenSet =
false;
126 DeliveryDestinationConfiguration m_deliveryDestinationConfiguration;
127 bool m_deliveryDestinationConfigurationHasBeenSet =
false;
130 bool m_deliveryDestinationTypeHasBeenSet =
false;
133 bool m_tagsHasBeenSet =
false;
const Aws::String & GetName() const
void SetTags(TagsT &&value)
DeliveryDestinationType GetDeliveryDestinationType() const
AWS_CLOUDWATCHLOGS_API Aws::String SerializePayload() const override
bool DeliveryDestinationTypeHasBeenSet() const
virtual const char * GetServiceRequestName() const override
PutDeliveryDestinationRequest & WithDeliveryDestinationConfiguration(DeliveryDestinationConfigurationT &&value)
void SetDeliveryDestinationType(DeliveryDestinationType value)
void SetOutputFormat(OutputFormat value)
PutDeliveryDestinationRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
void SetDeliveryDestinationConfiguration(DeliveryDestinationConfigurationT &&value)
void SetName(NameT &&value)
AWS_CLOUDWATCHLOGS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const DeliveryDestinationConfiguration & GetDeliveryDestinationConfiguration() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
PutDeliveryDestinationRequest & WithDeliveryDestinationType(DeliveryDestinationType value)
OutputFormat GetOutputFormat() const
PutDeliveryDestinationRequest & WithOutputFormat(OutputFormat value)
AWS_CLOUDWATCHLOGS_API PutDeliveryDestinationRequest()=default
PutDeliveryDestinationRequest & WithTags(TagsT &&value)
bool OutputFormatHasBeenSet() const
PutDeliveryDestinationRequest & WithName(NameT &&value)
bool NameHasBeenSet() const
bool TagsHasBeenSet() const
bool DeliveryDestinationConfigurationHasBeenSet() const
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