7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/logs/CloudWatchLogs_EXPORTS.h>
21namespace CloudWatchLogs {
68 template <
typename NameT = Aws::String>
70 m_nameHasBeenSet =
true;
71 m_name = std::forward<NameT>(value);
73 template <
typename NameT = Aws::String>
75 SetName(std::forward<NameT>(value));
87 template <
typename ArnT = Aws::String>
89 m_arnHasBeenSet =
true;
90 m_arn = std::forward<ArnT>(value);
92 template <
typename ArnT = Aws::String>
94 SetArn(std::forward<ArnT>(value));
107 template <
typename ResourceArnsT = Aws::Vector<Aws::String>>
109 m_resourceArnsHasBeenSet =
true;
110 m_resourceArns = std::forward<ResourceArnsT>(value);
112 template <
typename ResourceArnsT = Aws::Vector<Aws::String>>
117 template <
typename ResourceArnsT = Aws::String>
119 m_resourceArnsHasBeenSet =
true;
120 m_resourceArns.emplace_back(std::forward<ResourceArnsT>(value));
131 template <
typename ServiceT = Aws::String>
133 m_serviceHasBeenSet =
true;
134 m_service = std::forward<ServiceT>(value);
136 template <
typename ServiceT = Aws::String>
150 template <
typename LogTypeT = Aws::String>
152 m_logTypeHasBeenSet =
true;
153 m_logType = std::forward<LogTypeT>(value);
155 template <
typename LogTypeT = Aws::String>
168 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
170 m_tagsHasBeenSet =
true;
171 m_tags = std::forward<TagsT>(value);
173 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
175 SetTags(std::forward<TagsT>(value));
178 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
180 m_tagsHasBeenSet =
true;
181 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
197 bool m_nameHasBeenSet =
false;
198 bool m_arnHasBeenSet =
false;
199 bool m_resourceArnsHasBeenSet =
false;
200 bool m_serviceHasBeenSet =
false;
201 bool m_logTypeHasBeenSet =
false;
202 bool m_tagsHasBeenSet =
false;
const Aws::Vector< Aws::String > & GetResourceArns() const
DeliverySource & WithService(ServiceT &&value)
AWS_CLOUDWATCHLOGS_API DeliverySource & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetName(NameT &&value)
AWS_CLOUDWATCHLOGS_API DeliverySource()=default
DeliverySource & WithArn(ArnT &&value)
bool LogTypeHasBeenSet() const
bool TagsHasBeenSet() const
bool ServiceHasBeenSet() const
bool NameHasBeenSet() const
DeliverySource & WithLogType(LogTypeT &&value)
DeliverySource & WithResourceArns(ResourceArnsT &&value)
const Aws::String & GetArn() const
DeliverySource & WithName(NameT &&value)
const Aws::String & GetName() const
void SetLogType(LogTypeT &&value)
DeliverySource & AddResourceArns(ResourceArnsT &&value)
const Aws::String & GetService() const
void SetService(ServiceT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
bool ArnHasBeenSet() const
void SetResourceArns(ResourceArnsT &&value)
DeliverySource & WithTags(TagsT &&value)
bool ResourceArnsHasBeenSet() const
DeliverySource & AddTags(TagsKeyT &&key, TagsValueT &&value)
const Aws::String & GetLogType() const
void SetTags(TagsT &&value)
void SetArn(ArnT &&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