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
58 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
59 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
72 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
73 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
87 inline void SetDeliverySourceName(
const char* value) { m_deliverySourceNameHasBeenSet =
true; m_deliverySourceName.assign(value); }
102 inline void SetDeliveryDestinationArn(
const char* value) { m_deliveryDestinationArnHasBeenSet =
true; m_deliveryDestinationArn.assign(value); }
133 inline Delivery&
AddRecordFields(
const char* value) { m_recordFieldsHasBeenSet =
true; m_recordFields.push_back(value);
return *
this; }
146 inline void SetFieldDelimiter(
const char* value) { m_fieldDelimiterHasBeenSet =
true; m_fieldDelimiter.assign(value); }
179 inline Delivery&
AddTags(
const char* key,
Aws::String&& value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, std::move(value));
return *
this; }
180 inline Delivery&
AddTags(
Aws::String&& key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(std::move(key), value);
return *
this; }
181 inline Delivery&
AddTags(
const char* key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, value);
return *
this; }
186 bool m_idHasBeenSet =
false;
189 bool m_arnHasBeenSet =
false;
192 bool m_deliverySourceNameHasBeenSet =
false;
195 bool m_deliveryDestinationArnHasBeenSet =
false;
198 bool m_deliveryDestinationTypeHasBeenSet =
false;
201 bool m_recordFieldsHasBeenSet =
false;
204 bool m_fieldDelimiterHasBeenSet =
false;
207 bool m_s3DeliveryConfigurationHasBeenSet =
false;
210 bool m_tagsHasBeenSet =
false;
void SetFieldDelimiter(const char *value)
void SetS3DeliveryConfiguration(S3DeliveryConfiguration &&value)
void SetDeliverySourceName(Aws::String &&value)
Delivery & WithArn(Aws::String &&value)
const Aws::Vector< Aws::String > & GetRecordFields() const
Delivery & WithFieldDelimiter(const Aws::String &value)
Delivery & WithId(const Aws::String &value)
Delivery & WithRecordFields(Aws::Vector< Aws::String > &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
bool ArnHasBeenSet() const
AWS_CLOUDWATCHLOGS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetFieldDelimiter() const
bool DeliverySourceNameHasBeenSet() const
void SetFieldDelimiter(const Aws::String &value)
void SetDeliverySourceName(const char *value)
Delivery & WithDeliveryDestinationType(DeliveryDestinationType &&value)
AWS_CLOUDWATCHLOGS_API Delivery()
void SetId(const char *value)
bool IdHasBeenSet() const
Delivery & AddTags(Aws::String &&key, const Aws::String &value)
Delivery & AddTags(const Aws::String &key, const Aws::String &value)
Delivery & AddTags(Aws::String &&key, const char *value)
bool TagsHasBeenSet() const
bool RecordFieldsHasBeenSet() const
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Delivery & WithDeliveryDestinationArn(Aws::String &&value)
void SetArn(const Aws::String &value)
bool FieldDelimiterHasBeenSet() const
Delivery & AddRecordFields(const char *value)
Delivery & AddTags(const char *key, Aws::String &&value)
Delivery & WithRecordFields(const Aws::Vector< Aws::String > &value)
Delivery & AddTags(const Aws::String &key, Aws::String &&value)
Delivery & WithS3DeliveryConfiguration(S3DeliveryConfiguration &&value)
bool DeliveryDestinationArnHasBeenSet() const
Delivery & WithFieldDelimiter(Aws::String &&value)
Delivery & WithArn(const char *value)
Delivery & WithDeliverySourceName(const char *value)
Delivery & AddTags(Aws::String &&key, Aws::String &&value)
void SetDeliveryDestinationArn(const Aws::String &value)
void SetFieldDelimiter(Aws::String &&value)
AWS_CLOUDWATCHLOGS_API Delivery & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDeliveryDestinationType(const DeliveryDestinationType &value)
const Aws::String & GetDeliverySourceName() const
Delivery & WithDeliveryDestinationArn(const Aws::String &value)
const Aws::String & GetId() const
const Aws::String & GetDeliveryDestinationArn() const
const Aws::String & GetArn() const
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetDeliverySourceName(const Aws::String &value)
Delivery & WithDeliverySourceName(Aws::String &&value)
Delivery & AddRecordFields(const Aws::String &value)
void SetDeliveryDestinationType(DeliveryDestinationType &&value)
const S3DeliveryConfiguration & GetS3DeliveryConfiguration() const
Delivery & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetS3DeliveryConfiguration(const S3DeliveryConfiguration &value)
Delivery & WithId(const char *value)
void SetRecordFields(const Aws::Vector< Aws::String > &value)
void SetDeliveryDestinationArn(const char *value)
Delivery & AddRecordFields(Aws::String &&value)
void SetArn(Aws::String &&value)
AWS_CLOUDWATCHLOGS_API Delivery(Aws::Utils::Json::JsonView jsonValue)
Delivery & WithArn(const Aws::String &value)
Delivery & AddTags(const char *key, const char *value)
void SetRecordFields(Aws::Vector< Aws::String > &&value)
Delivery & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
Delivery & WithFieldDelimiter(const char *value)
bool DeliveryDestinationTypeHasBeenSet() const
Delivery & WithDeliveryDestinationArn(const char *value)
Delivery & WithS3DeliveryConfiguration(const S3DeliveryConfiguration &value)
void SetId(Aws::String &&value)
void SetDeliveryDestinationArn(Aws::String &&value)
Delivery & WithDeliveryDestinationType(const DeliveryDestinationType &value)
void SetArn(const char *value)
Delivery & WithDeliverySourceName(const Aws::String &value)
Delivery & WithId(Aws::String &&value)
bool S3DeliveryConfigurationHasBeenSet() const
const DeliveryDestinationType & GetDeliveryDestinationType() const
void SetId(const Aws::String &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