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/OutputFormat.h>
13#include <aws/logs/model/RecordField.h>
24namespace CloudWatchLogs {
53 template <
typename ServiceT = Aws::String>
55 m_serviceHasBeenSet =
true;
56 m_service = std::forward<ServiceT>(value);
58 template <
typename ServiceT = Aws::String>
72 template <
typename LogTypeT = Aws::String>
74 m_logTypeHasBeenSet =
true;
75 m_logType = std::forward<LogTypeT>(value);
77 template <
typename LogTypeT = Aws::String>
91 template <
typename ResourceTypeT = Aws::String>
93 m_resourceTypeHasBeenSet =
true;
94 m_resourceType = std::forward<ResourceTypeT>(value);
96 template <
typename ResourceTypeT = Aws::String>
111 m_deliveryDestinationTypeHasBeenSet =
true;
112 m_deliveryDestinationType = value;
127 template <
typename DefaultDeliveryConfigValuesT = ConfigurationTemplateDeliveryConfigValues>
129 m_defaultDeliveryConfigValuesHasBeenSet =
true;
130 m_defaultDeliveryConfigValues = std::forward<DefaultDeliveryConfigValuesT>(value);
132 template <
typename DefaultDeliveryConfigValuesT = ConfigurationTemplateDeliveryConfigValues>
150 template <
typename AllowedFieldsT = Aws::Vector<RecordField>>
152 m_allowedFieldsHasBeenSet =
true;
153 m_allowedFields = std::forward<AllowedFieldsT>(value);
155 template <
typename AllowedFieldsT = Aws::Vector<RecordField>>
160 template <
typename AllowedFieldsT = RecordField>
162 m_allowedFieldsHasBeenSet =
true;
163 m_allowedFields.emplace_back(std::forward<AllowedFieldsT>(value));
175 template <
typename AllowedOutputFormatsT = Aws::Vector<OutputFormat>>
177 m_allowedOutputFormatsHasBeenSet =
true;
178 m_allowedOutputFormats = std::forward<AllowedOutputFormatsT>(value);
180 template <
typename AllowedOutputFormatsT = Aws::Vector<OutputFormat>>
186 m_allowedOutputFormatsHasBeenSet =
true;
187 m_allowedOutputFormats.push_back(value);
199 return m_allowedActionForAllowVendedLogsDeliveryForResource;
202 return m_allowedActionForAllowVendedLogsDeliveryForResourceHasBeenSet;
204 template <
typename AllowedActionForAllowVendedLogsDeliveryForResourceT = Aws::String>
206 m_allowedActionForAllowVendedLogsDeliveryForResourceHasBeenSet =
true;
207 m_allowedActionForAllowVendedLogsDeliveryForResource = std::forward<AllowedActionForAllowVendedLogsDeliveryForResourceT>(value);
209 template <
typename AllowedActionForAllowVendedLogsDeliveryForResourceT = Aws::String>
211 AllowedActionForAllowVendedLogsDeliveryForResourceT&& value) {
228 template <
typename AllowedFieldDelimitersT = Aws::Vector<Aws::String>>
230 m_allowedFieldDelimitersHasBeenSet =
true;
231 m_allowedFieldDelimiters = std::forward<AllowedFieldDelimitersT>(value);
233 template <
typename AllowedFieldDelimitersT = Aws::Vector<Aws::String>>
238 template <
typename AllowedFieldDelimitersT = Aws::String>
240 m_allowedFieldDelimitersHasBeenSet =
true;
241 m_allowedFieldDelimiters.emplace_back(std::forward<AllowedFieldDelimitersT>(value));
253 template <
typename AllowedSuffixPathFieldsT = Aws::Vector<Aws::String>>
255 m_allowedSuffixPathFieldsHasBeenSet =
true;
256 m_allowedSuffixPathFields = std::forward<AllowedSuffixPathFieldsT>(value);
258 template <
typename AllowedSuffixPathFieldsT = Aws::Vector<Aws::String>>
263 template <
typename AllowedSuffixPathFieldsT = Aws::String>
265 m_allowedSuffixPathFieldsHasBeenSet =
true;
266 m_allowedSuffixPathFields.emplace_back(std::forward<AllowedSuffixPathFieldsT>(value));
279 ConfigurationTemplateDeliveryConfigValues m_defaultDeliveryConfigValues;
285 Aws::String m_allowedActionForAllowVendedLogsDeliveryForResource;
290 bool m_serviceHasBeenSet =
false;
291 bool m_logTypeHasBeenSet =
false;
292 bool m_resourceTypeHasBeenSet =
false;
293 bool m_deliveryDestinationTypeHasBeenSet =
false;
294 bool m_defaultDeliveryConfigValuesHasBeenSet =
false;
295 bool m_allowedFieldsHasBeenSet =
false;
296 bool m_allowedOutputFormatsHasBeenSet =
false;
297 bool m_allowedActionForAllowVendedLogsDeliveryForResourceHasBeenSet =
false;
298 bool m_allowedFieldDelimitersHasBeenSet =
false;
299 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