7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/logs/CloudWatchLogs_EXPORTS.h>
10#include <aws/logs/model/DeliveryDestinationConfiguration.h>
11#include <aws/logs/model/DeliveryDestinationType.h>
12#include <aws/logs/model/OutputFormat.h>
23namespace CloudWatchLogs {
65 template <
typename NameT = Aws::String>
67 m_nameHasBeenSet =
true;
68 m_name = std::forward<NameT>(value);
70 template <
typename NameT = Aws::String>
72 SetName(std::forward<NameT>(value));
84 template <
typename ArnT = Aws::String>
86 m_arnHasBeenSet =
true;
87 m_arn = std::forward<ArnT>(value);
89 template <
typename ArnT = Aws::String>
91 SetArn(std::forward<ArnT>(value));
104 m_deliveryDestinationTypeHasBeenSet =
true;
105 m_deliveryDestinationType = value;
120 m_outputFormatHasBeenSet =
true;
121 m_outputFormat = value;
136 template <
typename DeliveryDestinationConfigurationT = DeliveryDestinationConfiguration>
138 m_deliveryDestinationConfigurationHasBeenSet =
true;
139 m_deliveryDestinationConfiguration = std::forward<DeliveryDestinationConfigurationT>(value);
141 template <
typename DeliveryDestinationConfigurationT = DeliveryDestinationConfiguration>
154 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
156 m_tagsHasBeenSet =
true;
157 m_tags = std::forward<TagsT>(value);
159 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
161 SetTags(std::forward<TagsT>(value));
164 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
166 m_tagsHasBeenSet =
true;
167 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
180 DeliveryDestinationConfiguration m_deliveryDestinationConfiguration;
183 bool m_nameHasBeenSet =
false;
184 bool m_arnHasBeenSet =
false;
185 bool m_deliveryDestinationTypeHasBeenSet =
false;
186 bool m_outputFormatHasBeenSet =
false;
187 bool m_deliveryDestinationConfigurationHasBeenSet =
false;
188 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