7#include <aws/logs/CloudWatchLogs_EXPORTS.h>
8#include <aws/logs/CloudWatchLogsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.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>
17namespace CloudWatchLogs
46 template<
typename DeliverySourceNameT = Aws::String>
47 void SetDeliverySourceName(DeliverySourceNameT&& value) { m_deliverySourceNameHasBeenSet =
true; m_deliverySourceName = std::forward<DeliverySourceNameT>(value); }
48 template<
typename DeliverySourceNameT = Aws::String>
58 template<
typename DeliveryDestinationArnT = Aws::String>
59 void SetDeliveryDestinationArn(DeliveryDestinationArnT&& value) { m_deliveryDestinationArnHasBeenSet =
true; m_deliveryDestinationArn = std::forward<DeliveryDestinationArnT>(value); }
60 template<
typename DeliveryDestinationArnT = Aws::String>
72 template<
typename RecordFieldsT = Aws::Vector<Aws::String>>
73 void SetRecordFields(RecordFieldsT&& value) { m_recordFieldsHasBeenSet =
true; m_recordFields = std::forward<RecordFieldsT>(value); }
74 template<
typename RecordFieldsT = Aws::Vector<Aws::String>>
76 template<
typename RecordFieldsT = Aws::String>
88 template<
typename FieldDelimiterT = Aws::String>
89 void SetFieldDelimiter(FieldDelimiterT&& value) { m_fieldDelimiterHasBeenSet =
true; m_fieldDelimiter = std::forward<FieldDelimiterT>(value); }
90 template<
typename FieldDelimiterT = Aws::String>
101 template<
typename S3DeliveryConfigurationT = S3DeliveryConfiguration>
102 void SetS3DeliveryConfiguration(S3DeliveryConfigurationT&& value) { m_s3DeliveryConfigurationHasBeenSet =
true; m_s3DeliveryConfiguration = std::forward<S3DeliveryConfigurationT>(value); }
103 template<
typename S3DeliveryConfigurationT = S3DeliveryConfiguration>
116 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
117 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
118 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
120 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
122 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
128 bool m_deliverySourceNameHasBeenSet =
false;
131 bool m_deliveryDestinationArnHasBeenSet =
false;
134 bool m_recordFieldsHasBeenSet =
false;
137 bool m_fieldDelimiterHasBeenSet =
false;
140 bool m_s3DeliveryConfigurationHasBeenSet =
false;
143 bool m_tagsHasBeenSet =
false;
void SetRecordFields(RecordFieldsT &&value)
void SetS3DeliveryConfiguration(S3DeliveryConfigurationT &&value)
const Aws::Vector< Aws::String > & GetRecordFields() const
bool FieldDelimiterHasBeenSet() const
bool RecordFieldsHasBeenSet() const
bool DeliverySourceNameHasBeenSet() const
CreateDeliveryRequest & WithS3DeliveryConfiguration(S3DeliveryConfigurationT &&value)
CreateDeliveryRequest & WithTags(TagsT &&value)
const Aws::String & GetDeliveryDestinationArn() const
bool DeliveryDestinationArnHasBeenSet() const
bool TagsHasBeenSet() const
void SetFieldDelimiter(FieldDelimiterT &&value)
void SetTags(TagsT &&value)
AWS_CLOUDWATCHLOGS_API CreateDeliveryRequest()=default
const Aws::String & GetDeliverySourceName() const
CreateDeliveryRequest & WithFieldDelimiter(FieldDelimiterT &&value)
const Aws::String & GetFieldDelimiter() const
virtual const char * GetServiceRequestName() const override
CreateDeliveryRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
CreateDeliveryRequest & WithDeliverySourceName(DeliverySourceNameT &&value)
void SetDeliverySourceName(DeliverySourceNameT &&value)
AWS_CLOUDWATCHLOGS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateDeliveryRequest & AddRecordFields(RecordFieldsT &&value)
const S3DeliveryConfiguration & GetS3DeliveryConfiguration() const
bool S3DeliveryConfigurationHasBeenSet() const
void SetDeliveryDestinationArn(DeliveryDestinationArnT &&value)
AWS_CLOUDWATCHLOGS_API Aws::String SerializePayload() const override
CreateDeliveryRequest & WithDeliveryDestinationArn(DeliveryDestinationArnT &&value)
CreateDeliveryRequest & WithRecordFields(RecordFieldsT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
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