7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/logs/CloudWatchLogs_EXPORTS.h>
10#include <aws/logs/model/ConfigurationTemplateDeliveryConfigValues.h>
11#include <aws/logs/model/DeliveryDestinationType.h>
12#include <aws/logs/model/DeliverySourceConfigurationSchema.h>
13#include <aws/logs/model/OutputFormat.h>
14#include <aws/logs/model/RecordField.h>
15#include <aws/logs/model/S3TablesIntegration.h>
26namespace CloudWatchLogs {
55 template <
typename ServiceT = Aws::String>
57 m_serviceHasBeenSet =
true;
58 m_service = std::forward<ServiceT>(value);
60 template <
typename ServiceT = Aws::String>
74 template <
typename LogTypeT = Aws::String>
76 m_logTypeHasBeenSet =
true;
77 m_logType = std::forward<LogTypeT>(value);
79 template <
typename LogTypeT = Aws::String>
93 template <
typename ResourceTypeT = Aws::String>
95 m_resourceTypeHasBeenSet =
true;
96 m_resourceType = std::forward<ResourceTypeT>(value);
98 template <
typename ResourceTypeT = Aws::String>
113 m_deliveryDestinationTypeHasBeenSet =
true;
114 m_deliveryDestinationType = value;
129 template <
typename DefaultDeliveryConfigValuesT = ConfigurationTemplateDeliveryConfigValues>
131 m_defaultDeliveryConfigValuesHasBeenSet =
true;
132 m_defaultDeliveryConfigValues = std::forward<DefaultDeliveryConfigValuesT>(value);
134 template <
typename DefaultDeliveryConfigValuesT = ConfigurationTemplateDeliveryConfigValues>
152 template <
typename AllowedFieldsT = Aws::Vector<RecordField>>
154 m_allowedFieldsHasBeenSet =
true;
155 m_allowedFields = std::forward<AllowedFieldsT>(value);
157 template <
typename AllowedFieldsT = Aws::Vector<RecordField>>
162 template <
typename AllowedFieldsT = RecordField>
164 m_allowedFieldsHasBeenSet =
true;
165 m_allowedFields.emplace_back(std::forward<AllowedFieldsT>(value));
177 template <
typename AllowedOutputFormatsT = Aws::Vector<OutputFormat>>
179 m_allowedOutputFormatsHasBeenSet =
true;
180 m_allowedOutputFormats = std::forward<AllowedOutputFormatsT>(value);
182 template <
typename AllowedOutputFormatsT = Aws::Vector<OutputFormat>>
188 m_allowedOutputFormatsHasBeenSet =
true;
189 m_allowedOutputFormats.push_back(value);
201 return m_allowedActionForAllowVendedLogsDeliveryForResource;
204 return m_allowedActionForAllowVendedLogsDeliveryForResourceHasBeenSet;
206 template <
typename AllowedActionForAllowVendedLogsDeliveryForResourceT = Aws::String>
208 m_allowedActionForAllowVendedLogsDeliveryForResourceHasBeenSet =
true;
209 m_allowedActionForAllowVendedLogsDeliveryForResource = std::forward<AllowedActionForAllowVendedLogsDeliveryForResourceT>(value);
211 template <
typename AllowedActionForAllowVendedLogsDeliveryForResourceT = Aws::String>
213 AllowedActionForAllowVendedLogsDeliveryForResourceT&& value) {
230 template <
typename AllowedFieldDelimitersT = Aws::Vector<Aws::String>>
232 m_allowedFieldDelimitersHasBeenSet =
true;
233 m_allowedFieldDelimiters = std::forward<AllowedFieldDelimitersT>(value);
235 template <
typename AllowedFieldDelimitersT = Aws::Vector<Aws::String>>
240 template <
typename AllowedFieldDelimitersT = Aws::String>
242 m_allowedFieldDelimitersHasBeenSet =
true;
243 m_allowedFieldDelimiters.emplace_back(std::forward<AllowedFieldDelimitersT>(value));
255 template <
typename AllowedSuffixPathFieldsT = Aws::Vector<Aws::String>>
257 m_allowedSuffixPathFieldsHasBeenSet =
true;
258 m_allowedSuffixPathFields = std::forward<AllowedSuffixPathFieldsT>(value);
260 template <
typename AllowedSuffixPathFieldsT = Aws::Vector<Aws::String>>
265 template <
typename AllowedSuffixPathFieldsT = Aws::String>
267 m_allowedSuffixPathFieldsHasBeenSet =
true;
268 m_allowedSuffixPathFields.emplace_back(std::forward<AllowedSuffixPathFieldsT>(value));
281 return m_deliverySourceConfiguration;
284 template <
typename DeliverySourceConfigurationT = Aws::Vector<DeliverySourceConfigurationSchema>>
286 m_deliverySourceConfigurationHasBeenSet =
true;
287 m_deliverySourceConfiguration = std::forward<DeliverySourceConfigurationT>(value);
289 template <
typename DeliverySourceConfigurationT = Aws::Vector<DeliverySourceConfigurationSchema>>
294 template <
typename DeliverySourceConfigurationT = DeliverySourceConfigurationSchema>
296 m_deliverySourceConfigurationHasBeenSet =
true;
297 m_deliverySourceConfiguration.emplace_back(std::forward<DeliverySourceConfigurationT>(value));
309 template <
typename S3TablesIntegrationT = S3TablesIntegration>
311 m_s3TablesIntegrationHasBeenSet =
true;
312 m_s3TablesIntegration = std::forward<S3TablesIntegrationT>(value);
314 template <
typename S3TablesIntegrationT = S3TablesIntegration>
329 ConfigurationTemplateDeliveryConfigValues m_defaultDeliveryConfigValues;
335 Aws::String m_allowedActionForAllowVendedLogsDeliveryForResource;
343 S3TablesIntegration m_s3TablesIntegration;
344 bool m_serviceHasBeenSet =
false;
345 bool m_logTypeHasBeenSet =
false;
346 bool m_resourceTypeHasBeenSet =
false;
347 bool m_deliveryDestinationTypeHasBeenSet =
false;
348 bool m_defaultDeliveryConfigValuesHasBeenSet =
false;
349 bool m_allowedFieldsHasBeenSet =
false;
350 bool m_allowedOutputFormatsHasBeenSet =
false;
351 bool m_allowedActionForAllowVendedLogsDeliveryForResourceHasBeenSet =
false;
352 bool m_allowedFieldDelimitersHasBeenSet =
false;
353 bool m_allowedSuffixPathFieldsHasBeenSet =
false;
354 bool m_deliverySourceConfigurationHasBeenSet =
false;
355 bool m_s3TablesIntegrationHasBeenSet =
false;
void SetDeliveryDestinationType(DeliveryDestinationType value)
bool ResourceTypeHasBeenSet() const
ConfigurationTemplate & WithAllowedFieldDelimiters(AllowedFieldDelimitersT &&value)
AWS_CLOUDWATCHLOGS_API ConfigurationTemplate & operator=(Aws::Utils::Json::JsonView jsonValue)
bool AllowedOutputFormatsHasBeenSet() const
const Aws::Vector< Aws::String > & GetAllowedFieldDelimiters() const
DeliveryDestinationType GetDeliveryDestinationType() const
const Aws::String & GetAllowedActionForAllowVendedLogsDeliveryForResource() const
void SetLogType(LogTypeT &&value)
AWS_CLOUDWATCHLOGS_API Aws::Utils::Json::JsonValue Jsonize() const
bool S3TablesIntegrationHasBeenSet() const
void SetService(ServiceT &&value)
ConfigurationTemplate & WithResourceType(ResourceTypeT &&value)
const S3TablesIntegration & GetS3TablesIntegration() const
bool LogTypeHasBeenSet() const
ConfigurationTemplate & WithS3TablesIntegration(S3TablesIntegrationT &&value)
ConfigurationTemplate & AddAllowedOutputFormats(OutputFormat value)
AWS_CLOUDWATCHLOGS_API ConfigurationTemplate()=default
ConfigurationTemplate & WithAllowedFields(AllowedFieldsT &&value)
const Aws::Vector< RecordField > & GetAllowedFields() const
bool AllowedActionForAllowVendedLogsDeliveryForResourceHasBeenSet() const
void SetAllowedFieldDelimiters(AllowedFieldDelimitersT &&value)
ConfigurationTemplate & WithLogType(LogTypeT &&value)
bool DefaultDeliveryConfigValuesHasBeenSet() const
bool ServiceHasBeenSet() const
void SetAllowedActionForAllowVendedLogsDeliveryForResource(AllowedActionForAllowVendedLogsDeliveryForResourceT &&value)
const Aws::String & GetService() const
ConfigurationTemplate & WithService(ServiceT &&value)
ConfigurationTemplate & WithAllowedSuffixPathFields(AllowedSuffixPathFieldsT &&value)
bool DeliverySourceConfigurationHasBeenSet() const
ConfigurationTemplate & WithDefaultDeliveryConfigValues(DefaultDeliveryConfigValuesT &&value)
const ConfigurationTemplateDeliveryConfigValues & GetDefaultDeliveryConfigValues() const
void SetDeliverySourceConfiguration(DeliverySourceConfigurationT &&value)
AWS_CLOUDWATCHLOGS_API ConfigurationTemplate(Aws::Utils::Json::JsonView jsonValue)
ConfigurationTemplate & WithAllowedActionForAllowVendedLogsDeliveryForResource(AllowedActionForAllowVendedLogsDeliveryForResourceT &&value)
void SetS3TablesIntegration(S3TablesIntegrationT &&value)
const Aws::Vector< Aws::String > & GetAllowedSuffixPathFields() const
ConfigurationTemplate & AddAllowedFields(AllowedFieldsT &&value)
const Aws::String & GetLogType() const
const Aws::Vector< DeliverySourceConfigurationSchema > & GetDeliverySourceConfiguration() const
ConfigurationTemplate & WithAllowedOutputFormats(AllowedOutputFormatsT &&value)
void SetAllowedOutputFormats(AllowedOutputFormatsT &&value)
ConfigurationTemplate & WithDeliveryDestinationType(DeliveryDestinationType value)
const Aws::String & GetResourceType() const
ConfigurationTemplate & WithDeliverySourceConfiguration(DeliverySourceConfigurationT &&value)
bool DeliveryDestinationTypeHasBeenSet() const
bool AllowedFieldDelimitersHasBeenSet() const
void SetAllowedSuffixPathFields(AllowedSuffixPathFieldsT &&value)
void SetResourceType(ResourceTypeT &&value)
bool AllowedFieldsHasBeenSet() const
void SetDefaultDeliveryConfigValues(DefaultDeliveryConfigValuesT &&value)
ConfigurationTemplate & AddDeliverySourceConfiguration(DeliverySourceConfigurationT &&value)
ConfigurationTemplate & AddAllowedSuffixPathFields(AllowedSuffixPathFieldsT &&value)
bool AllowedSuffixPathFieldsHasBeenSet() const
void SetAllowedFields(AllowedFieldsT &&value)
const Aws::Vector< OutputFormat > & GetAllowedOutputFormats() const
ConfigurationTemplate & AddAllowedFieldDelimiters(AllowedFieldDelimitersT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue