7#include <aws/logs/CloudWatchLogs_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
23namespace CloudWatchLogs
76 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
90 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
91 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
122 inline void SetService(
const char* value) { m_serviceHasBeenSet =
true; m_service.assign(value); }
137 inline void SetLogType(
const char* value) { m_logTypeHasBeenSet =
true; m_logType.assign(value); }
159 inline DeliverySource&
AddTags(
const char* key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, value);
return *
this; }
164 bool m_nameHasBeenSet =
false;
167 bool m_arnHasBeenSet =
false;
170 bool m_resourceArnsHasBeenSet =
false;
173 bool m_serviceHasBeenSet =
false;
176 bool m_logTypeHasBeenSet =
false;
179 bool m_tagsHasBeenSet =
false;
void SetResourceArns(Aws::Vector< Aws::String > &&value)
DeliverySource & WithName(const char *value)
void SetName(const char *value)
DeliverySource & WithName(Aws::String &&value)
const Aws::Vector< Aws::String > & GetResourceArns() const
DeliverySource & AddResourceArns(const char *value)
DeliverySource & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
DeliverySource & WithArn(const Aws::String &value)
DeliverySource & WithArn(const char *value)
DeliverySource & AddTags(Aws::String &&key, Aws::String &&value)
AWS_CLOUDWATCHLOGS_API DeliverySource & operator=(Aws::Utils::Json::JsonView jsonValue)
DeliverySource & AddTags(const char *key, Aws::String &&value)
bool LogTypeHasBeenSet() const
AWS_CLOUDWATCHLOGS_API DeliverySource()
void SetService(const char *value)
bool TagsHasBeenSet() const
DeliverySource & WithArn(Aws::String &&value)
DeliverySource & WithResourceArns(const Aws::Vector< Aws::String > &value)
DeliverySource & AddTags(const Aws::String &key, Aws::String &&value)
DeliverySource & WithService(const char *value)
bool ServiceHasBeenSet() const
DeliverySource & WithService(const Aws::String &value)
bool NameHasBeenSet() const
DeliverySource & AddTags(Aws::String &&key, const char *value)
void SetArn(const char *value)
void SetService(Aws::String &&value)
const Aws::String & GetArn() const
void SetLogType(Aws::String &&value)
DeliverySource & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
DeliverySource & WithService(Aws::String &&value)
const Aws::String & GetName() const
DeliverySource & AddResourceArns(Aws::String &&value)
DeliverySource & AddTags(Aws::String &&key, const Aws::String &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetLogType(const Aws::String &value)
DeliverySource & WithName(const Aws::String &value)
DeliverySource & AddTags(const Aws::String &key, const Aws::String &value)
const Aws::String & GetService() const
DeliverySource & AddResourceArns(const Aws::String &value)
DeliverySource & WithResourceArns(Aws::Vector< Aws::String > &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
bool ArnHasBeenSet() const
void SetArn(const Aws::String &value)
bool ResourceArnsHasBeenSet() const
DeliverySource & AddTags(const char *key, const char *value)
void SetName(const Aws::String &value)
DeliverySource & WithLogType(const Aws::String &value)
const Aws::String & GetLogType() const
DeliverySource & WithLogType(Aws::String &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
DeliverySource & WithLogType(const char *value)
void SetArn(Aws::String &&value)
void SetResourceArns(const Aws::Vector< Aws::String > &value)
void SetService(const Aws::String &value)
void SetLogType(const char *value)
void SetName(Aws::String &&value)
AWS_CLOUDWATCHLOGS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CLOUDWATCHLOGS_API DeliverySource(Aws::Utils::Json::JsonView jsonValue)
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
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue