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>
11#include <aws/logs/model/DeliveryDestinationType.h>
12#include <aws/logs/model/S3DeliveryConfiguration.h>
23namespace CloudWatchLogs {
51 template <
typename IdT = Aws::String>
53 m_idHasBeenSet =
true;
54 m_id = std::forward<IdT>(value);
56 template <
typename IdT = Aws::String>
58 SetId(std::forward<IdT>(value));
69 template <
typename ArnT = Aws::String>
71 m_arnHasBeenSet =
true;
72 m_arn = std::forward<ArnT>(value);
74 template <
typename ArnT = Aws::String>
76 SetArn(std::forward<ArnT>(value));
87 template <
typename DeliverySourceNameT = Aws::String>
89 m_deliverySourceNameHasBeenSet =
true;
90 m_deliverySourceName = std::forward<DeliverySourceNameT>(value);
92 template <
typename DeliverySourceNameT = Aws::String>
106 template <
typename DeliveryDestinationArnT = Aws::String>
108 m_deliveryDestinationArnHasBeenSet =
true;
109 m_deliveryDestinationArn = std::forward<DeliveryDestinationArnT>(value);
111 template <
typename DeliveryDestinationArnT = Aws::String>
126 m_deliveryDestinationTypeHasBeenSet =
true;
127 m_deliveryDestinationType = value;
141 template <
typename RecordFieldsT = Aws::Vector<Aws::String>>
143 m_recordFieldsHasBeenSet =
true;
144 m_recordFields = std::forward<RecordFieldsT>(value);
146 template <
typename RecordFieldsT = Aws::Vector<Aws::String>>
151 template <
typename RecordFieldsT = Aws::String>
153 m_recordFieldsHasBeenSet =
true;
154 m_recordFields.emplace_back(std::forward<RecordFieldsT>(value));
167 template <
typename FieldDelimiterT = Aws::String>
169 m_fieldDelimiterHasBeenSet =
true;
170 m_fieldDelimiter = std::forward<FieldDelimiterT>(value);
172 template <
typename FieldDelimiterT = Aws::String>
186 template <
typename S3DeliveryConfigurationT = S3DeliveryConfiguration>
188 m_s3DeliveryConfigurationHasBeenSet =
true;
189 m_s3DeliveryConfiguration = std::forward<S3DeliveryConfigurationT>(value);
191 template <
typename S3DeliveryConfigurationT = S3DeliveryConfiguration>
204 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
206 m_tagsHasBeenSet =
true;
207 m_tags = std::forward<TagsT>(value);
209 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
211 SetTags(std::forward<TagsT>(value));
214 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
216 m_tagsHasBeenSet =
true;
217 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
236 S3DeliveryConfiguration m_s3DeliveryConfiguration;
239 bool m_idHasBeenSet =
false;
240 bool m_arnHasBeenSet =
false;
241 bool m_deliverySourceNameHasBeenSet =
false;
242 bool m_deliveryDestinationArnHasBeenSet =
false;
243 bool m_deliveryDestinationTypeHasBeenSet =
false;
244 bool m_recordFieldsHasBeenSet =
false;
245 bool m_fieldDelimiterHasBeenSet =
false;
246 bool m_s3DeliveryConfigurationHasBeenSet =
false;
247 bool m_tagsHasBeenSet =
false;
Delivery & WithRecordFields(RecordFieldsT &&value)
const Aws::Vector< Aws::String > & GetRecordFields() const
Delivery & AddRecordFields(RecordFieldsT &&value)
Delivery & WithId(IdT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
bool ArnHasBeenSet() const
Delivery & WithDeliverySourceName(DeliverySourceNameT &&value)
AWS_CLOUDWATCHLOGS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CLOUDWATCHLOGS_API Delivery()=default
void SetDeliverySourceName(DeliverySourceNameT &&value)
const Aws::String & GetFieldDelimiter() const
bool DeliverySourceNameHasBeenSet() const
void SetDeliveryDestinationArn(DeliveryDestinationArnT &&value)
bool IdHasBeenSet() const
bool TagsHasBeenSet() const
Delivery & WithFieldDelimiter(FieldDelimiterT &&value)
bool RecordFieldsHasBeenSet() const
Delivery & WithDeliveryDestinationType(DeliveryDestinationType value)
bool FieldDelimiterHasBeenSet() const
bool DeliveryDestinationArnHasBeenSet() const
AWS_CLOUDWATCHLOGS_API Delivery & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetTags(TagsT &&value)
const Aws::String & GetDeliverySourceName() const
const Aws::String & GetId() const
Delivery & WithTags(TagsT &&value)
const Aws::String & GetDeliveryDestinationArn() const
const Aws::String & GetArn() const
Delivery & WithS3DeliveryConfiguration(S3DeliveryConfigurationT &&value)
void SetS3DeliveryConfiguration(S3DeliveryConfigurationT &&value)
const S3DeliveryConfiguration & GetS3DeliveryConfiguration() const
void SetFieldDelimiter(FieldDelimiterT &&value)
AWS_CLOUDWATCHLOGS_API Delivery(Aws::Utils::Json::JsonView jsonValue)
void SetArn(ArnT &&value)
bool DeliveryDestinationTypeHasBeenSet() const
void SetRecordFields(RecordFieldsT &&value)
DeliveryDestinationType GetDeliveryDestinationType() const
Delivery & WithArn(ArnT &&value)
void SetDeliveryDestinationType(DeliveryDestinationType value)
Delivery & WithDeliveryDestinationArn(DeliveryDestinationArnT &&value)
bool S3DeliveryConfigurationHasBeenSet() const
Delivery & AddTags(TagsKeyT &&key, TagsValueT &&value)
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