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/core/utils/memory/stl/AWSVector.h>
11#include <aws/logs/model/S3DeliveryConfiguration.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
25namespace CloudWatchLogs
57 template<
typename IdT = Aws::String>
58 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
59 template<
typename IdT = Aws::String>
69 template<
typename ArnT = Aws::String>
70 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
71 template<
typename ArnT = Aws::String>
81 template<
typename DeliverySourceNameT = Aws::String>
82 void SetDeliverySourceName(DeliverySourceNameT&& value) { m_deliverySourceNameHasBeenSet =
true; m_deliverySourceName = std::forward<DeliverySourceNameT>(value); }
83 template<
typename DeliverySourceNameT = Aws::String>
94 template<
typename DeliveryDestinationArnT = Aws::String>
95 void SetDeliveryDestinationArn(DeliveryDestinationArnT&& value) { m_deliveryDestinationArnHasBeenSet =
true; m_deliveryDestinationArn = std::forward<DeliveryDestinationArnT>(value); }
96 template<
typename DeliveryDestinationArnT = Aws::String>
117 template<
typename RecordFieldsT = Aws::Vector<Aws::String>>
118 void SetRecordFields(RecordFieldsT&& value) { m_recordFieldsHasBeenSet =
true; m_recordFields = std::forward<RecordFieldsT>(value); }
119 template<
typename RecordFieldsT = Aws::Vector<Aws::String>>
121 template<
typename RecordFieldsT = Aws::String>
122 Delivery&
AddRecordFields(RecordFieldsT&& value) { m_recordFieldsHasBeenSet =
true; m_recordFields.emplace_back(std::forward<RecordFieldsT>(value));
return *
this; }
133 template<
typename FieldDelimiterT = Aws::String>
134 void SetFieldDelimiter(FieldDelimiterT&& value) { m_fieldDelimiterHasBeenSet =
true; m_fieldDelimiter = std::forward<FieldDelimiterT>(value); }
135 template<
typename FieldDelimiterT = Aws::String>
146 template<
typename S3DeliveryConfigurationT = S3DeliveryConfiguration>
147 void SetS3DeliveryConfiguration(S3DeliveryConfigurationT&& value) { m_s3DeliveryConfigurationHasBeenSet =
true; m_s3DeliveryConfiguration = std::forward<S3DeliveryConfigurationT>(value); }
148 template<
typename S3DeliveryConfigurationT = S3DeliveryConfiguration>
158 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
159 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
160 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
162 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
164 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
170 bool m_idHasBeenSet =
false;
173 bool m_arnHasBeenSet =
false;
176 bool m_deliverySourceNameHasBeenSet =
false;
179 bool m_deliveryDestinationArnHasBeenSet =
false;
182 bool m_deliveryDestinationTypeHasBeenSet =
false;
185 bool m_recordFieldsHasBeenSet =
false;
188 bool m_fieldDelimiterHasBeenSet =
false;
190 S3DeliveryConfiguration m_s3DeliveryConfiguration;
191 bool m_s3DeliveryConfigurationHasBeenSet =
false;
194 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