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/logs/model/ConfigurationTemplateDeliveryConfigValues.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/logs/model/RecordField.h>
13#include <aws/logs/model/OutputFormat.h>
26namespace CloudWatchLogs
59 template<
typename ServiceT = Aws::String>
60 void SetService(ServiceT&& value) { m_serviceHasBeenSet =
true; m_service = std::forward<ServiceT>(value); }
61 template<
typename ServiceT = Aws::String>
72 template<
typename LogTypeT = Aws::String>
73 void SetLogType(LogTypeT&& value) { m_logTypeHasBeenSet =
true; m_logType = std::forward<LogTypeT>(value); }
74 template<
typename LogTypeT = Aws::String>
85 template<
typename ResourceTypeT = Aws::String>
86 void SetResourceType(ResourceTypeT&& value) { m_resourceTypeHasBeenSet =
true; m_resourceType = std::forward<ResourceTypeT>(value); }
87 template<
typename ResourceTypeT = Aws::String>
109 template<
typename DefaultDeliveryConfigValuesT = ConfigurationTemplateDeliveryConfigValues>
110 void SetDefaultDeliveryConfigValues(DefaultDeliveryConfigValuesT&& value) { m_defaultDeliveryConfigValuesHasBeenSet =
true; m_defaultDeliveryConfigValues = std::forward<DefaultDeliveryConfigValuesT>(value); }
111 template<
typename DefaultDeliveryConfigValuesT = ConfigurationTemplateDeliveryConfigValues>
126 template<
typename AllowedFieldsT = Aws::Vector<RecordField>>
127 void SetAllowedFields(AllowedFieldsT&& value) { m_allowedFieldsHasBeenSet =
true; m_allowedFields = std::forward<AllowedFieldsT>(value); }
128 template<
typename AllowedFieldsT = Aws::Vector<RecordField>>
130 template<
typename AllowedFieldsT = RecordField>
141 template<
typename AllowedOutputFormatsT = Aws::Vector<OutputFormat>>
142 void SetAllowedOutputFormats(AllowedOutputFormatsT&& value) { m_allowedOutputFormatsHasBeenSet =
true; m_allowedOutputFormats = std::forward<AllowedOutputFormatsT>(value); }
143 template<
typename AllowedOutputFormatsT = Aws::Vector<OutputFormat>>
156 template<
typename AllowedActionForAllowVendedLogsDeliveryForResourceT = Aws::String>
157 void SetAllowedActionForAllowVendedLogsDeliveryForResource(AllowedActionForAllowVendedLogsDeliveryForResourceT&& value) { m_allowedActionForAllowVendedLogsDeliveryForResourceHasBeenSet =
true; m_allowedActionForAllowVendedLogsDeliveryForResource = std::forward<AllowedActionForAllowVendedLogsDeliveryForResourceT>(value); }
158 template<
typename AllowedActionForAllowVendedLogsDeliveryForResourceT = Aws::String>
173 template<
typename AllowedFieldDelimitersT = Aws::Vector<Aws::String>>
174 void SetAllowedFieldDelimiters(AllowedFieldDelimitersT&& value) { m_allowedFieldDelimitersHasBeenSet =
true; m_allowedFieldDelimiters = std::forward<AllowedFieldDelimitersT>(value); }
175 template<
typename AllowedFieldDelimitersT = Aws::Vector<Aws::String>>
177 template<
typename AllowedFieldDelimitersT = Aws::String>
188 template<
typename AllowedSuffixPathFieldsT = Aws::Vector<Aws::String>>
189 void SetAllowedSuffixPathFields(AllowedSuffixPathFieldsT&& value) { m_allowedSuffixPathFieldsHasBeenSet =
true; m_allowedSuffixPathFields = std::forward<AllowedSuffixPathFieldsT>(value); }
190 template<
typename AllowedSuffixPathFieldsT = Aws::Vector<Aws::String>>
192 template<
typename AllowedSuffixPathFieldsT = Aws::String>
198 bool m_serviceHasBeenSet =
false;
201 bool m_logTypeHasBeenSet =
false;
204 bool m_resourceTypeHasBeenSet =
false;
207 bool m_deliveryDestinationTypeHasBeenSet =
false;
209 ConfigurationTemplateDeliveryConfigValues m_defaultDeliveryConfigValues;
210 bool m_defaultDeliveryConfigValuesHasBeenSet =
false;
213 bool m_allowedFieldsHasBeenSet =
false;
216 bool m_allowedOutputFormatsHasBeenSet =
false;
218 Aws::String m_allowedActionForAllowVendedLogsDeliveryForResource;
219 bool m_allowedActionForAllowVendedLogsDeliveryForResourceHasBeenSet =
false;
222 bool m_allowedFieldDelimitersHasBeenSet =
false;
225 bool m_allowedSuffixPathFieldsHasBeenSet =
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
void SetService(ServiceT &&value)
ConfigurationTemplate & WithResourceType(ResourceTypeT &&value)
bool LogTypeHasBeenSet() const
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)
ConfigurationTemplate & WithDefaultDeliveryConfigValues(DefaultDeliveryConfigValuesT &&value)
const ConfigurationTemplateDeliveryConfigValues & GetDefaultDeliveryConfigValues() const
AWS_CLOUDWATCHLOGS_API ConfigurationTemplate(Aws::Utils::Json::JsonView jsonValue)
ConfigurationTemplate & WithAllowedActionForAllowVendedLogsDeliveryForResource(AllowedActionForAllowVendedLogsDeliveryForResourceT &&value)
const Aws::Vector< Aws::String > & GetAllowedSuffixPathFields() const
ConfigurationTemplate & AddAllowedFields(AllowedFieldsT &&value)
const Aws::String & GetLogType() const
ConfigurationTemplate & WithAllowedOutputFormats(AllowedOutputFormatsT &&value)
void SetAllowedOutputFormats(AllowedOutputFormatsT &&value)
ConfigurationTemplate & WithDeliveryDestinationType(DeliveryDestinationType value)
const Aws::String & GetResourceType() const
bool DeliveryDestinationTypeHasBeenSet() const
bool AllowedFieldDelimitersHasBeenSet() const
void SetAllowedSuffixPathFields(AllowedSuffixPathFieldsT &&value)
void SetResourceType(ResourceTypeT &&value)
bool AllowedFieldsHasBeenSet() const
void SetDefaultDeliveryConfigValues(DefaultDeliveryConfigValuesT &&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