7#include <aws/logs/CloudWatchLogs_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/logs/model/DeliveryDestinationType.h>
10#include <aws/logs/model/OutputFormat.h>
11#include <aws/logs/model/DeliveryDestinationConfiguration.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
25namespace CloudWatchLogs
71 template<
typename NameT = Aws::String>
72 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
73 template<
typename NameT = Aws::String>
84 template<
typename ArnT = Aws::String>
85 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
86 template<
typename ArnT = Aws::String>
118 template<
typename DeliveryDestinationConfigurationT = DeliveryDestinationConfiguration>
119 void SetDeliveryDestinationConfiguration(DeliveryDestinationConfigurationT&& value) { m_deliveryDestinationConfigurationHasBeenSet =
true; m_deliveryDestinationConfiguration = std::forward<DeliveryDestinationConfigurationT>(value); }
120 template<
typename DeliveryDestinationConfigurationT = DeliveryDestinationConfiguration>
130 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
131 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
132 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
134 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
136 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
142 bool m_nameHasBeenSet =
false;
145 bool m_arnHasBeenSet =
false;
148 bool m_deliveryDestinationTypeHasBeenSet =
false;
151 bool m_outputFormatHasBeenSet =
false;
153 DeliveryDestinationConfiguration m_deliveryDestinationConfiguration;
154 bool m_deliveryDestinationConfigurationHasBeenSet =
false;
157 bool m_tagsHasBeenSet =
false;
void SetDeliveryDestinationConfiguration(DeliveryDestinationConfigurationT &&value)
DeliveryDestination & WithName(NameT &&value)
void SetArn(ArnT &&value)
AWS_CLOUDWATCHLOGS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetOutputFormat(OutputFormat value)
AWS_CLOUDWATCHLOGS_API DeliveryDestination & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetName(NameT &&value)
const DeliveryDestinationConfiguration & GetDeliveryDestinationConfiguration() const
AWS_CLOUDWATCHLOGS_API DeliveryDestination()=default
bool ArnHasBeenSet() const
bool NameHasBeenSet() const
const Aws::String & GetArn() const
void SetTags(TagsT &&value)
DeliveryDestination & WithDeliveryDestinationType(DeliveryDestinationType value)
DeliveryDestination & WithArn(ArnT &&value)
DeliveryDestination & AddTags(TagsKeyT &&key, TagsValueT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
bool TagsHasBeenSet() const
void SetDeliveryDestinationType(DeliveryDestinationType value)
OutputFormat GetOutputFormat() const
bool OutputFormatHasBeenSet() const
bool DeliveryDestinationTypeHasBeenSet() const
DeliveryDestinationType GetDeliveryDestinationType() const
DeliveryDestination & WithOutputFormat(OutputFormat value)
AWS_CLOUDWATCHLOGS_API DeliveryDestination(Aws::Utils::Json::JsonView jsonValue)
DeliveryDestination & WithTags(TagsT &&value)
const Aws::String & GetName() const
DeliveryDestination & WithDeliveryDestinationConfiguration(DeliveryDestinationConfigurationT &&value)
bool DeliveryDestinationConfigurationHasBeenSet() const
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
Aws::Utils::Json::JsonValue JsonValue