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
73 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
87 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
88 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
148 inline DeliveryDestination&
AddTags(
const char* key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, value);
return *
this; }
153 bool m_nameHasBeenSet =
false;
156 bool m_arnHasBeenSet =
false;
159 bool m_deliveryDestinationTypeHasBeenSet =
false;
162 bool m_outputFormatHasBeenSet =
false;
165 bool m_deliveryDestinationConfigurationHasBeenSet =
false;
168 bool m_tagsHasBeenSet =
false;
void SetDeliveryDestinationType(const DeliveryDestinationType &value)
void SetDeliveryDestinationConfiguration(DeliveryDestinationConfiguration &&value)
DeliveryDestination & WithName(const Aws::String &value)
DeliveryDestination & WithDeliveryDestinationConfiguration(DeliveryDestinationConfiguration &&value)
DeliveryDestination & WithArn(Aws::String &&value)
DeliveryDestination & AddTags(const char *key, Aws::String &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
AWS_CLOUDWATCHLOGS_API Aws::Utils::Json::JsonValue Jsonize() const
DeliveryDestination & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
DeliveryDestination & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
AWS_CLOUDWATCHLOGS_API DeliveryDestination & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetName(const char *value)
void SetArn(Aws::String &&value)
AWS_CLOUDWATCHLOGS_API DeliveryDestination()
DeliveryDestination & WithName(Aws::String &&value)
DeliveryDestination & AddTags(Aws::String &&key, Aws::String &&value)
const DeliveryDestinationConfiguration & GetDeliveryDestinationConfiguration() const
DeliveryDestination & WithArn(const Aws::String &value)
void SetName(const Aws::String &value)
DeliveryDestination & WithDeliveryDestinationConfiguration(const DeliveryDestinationConfiguration &value)
void SetArn(const char *value)
bool ArnHasBeenSet() const
DeliveryDestination & AddTags(const Aws::String &key, const Aws::String &value)
bool NameHasBeenSet() const
void SetArn(const Aws::String &value)
const OutputFormat & GetOutputFormat() const
const Aws::String & GetArn() const
DeliveryDestination & AddTags(const Aws::String &key, Aws::String &&value)
DeliveryDestination & WithName(const char *value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
DeliveryDestination & AddTags(Aws::String &&key, const char *value)
void SetOutputFormat(OutputFormat &&value)
void SetDeliveryDestinationType(DeliveryDestinationType &&value)
DeliveryDestination & WithOutputFormat(OutputFormat &&value)
void SetDeliveryDestinationConfiguration(const DeliveryDestinationConfiguration &value)
DeliveryDestination & WithArn(const char *value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
DeliveryDestination & AddTags(Aws::String &&key, const Aws::String &value)
bool TagsHasBeenSet() const
bool OutputFormatHasBeenSet() const
DeliveryDestination & AddTags(const char *key, const char *value)
bool DeliveryDestinationTypeHasBeenSet() const
DeliveryDestination & WithDeliveryDestinationType(DeliveryDestinationType &&value)
DeliveryDestination & WithDeliveryDestinationType(const DeliveryDestinationType &value)
AWS_CLOUDWATCHLOGS_API DeliveryDestination(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetName() const
const DeliveryDestinationType & GetDeliveryDestinationType() const
void SetOutputFormat(const OutputFormat &value)
void SetName(Aws::String &&value)
DeliveryDestination & WithOutputFormat(const OutputFormat &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