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
61 inline void SetService(
const char* value) { m_serviceHasBeenSet =
true; m_service.assign(value); }
76 inline void SetLogType(
const char* value) { m_logTypeHasBeenSet =
true; m_logType.assign(value); }
91 inline void SetResourceType(
const char* value) { m_resourceTypeHasBeenSet =
true; m_resourceType.assign(value); }
211 bool m_serviceHasBeenSet =
false;
214 bool m_logTypeHasBeenSet =
false;
217 bool m_resourceTypeHasBeenSet =
false;
220 bool m_deliveryDestinationTypeHasBeenSet =
false;
223 bool m_defaultDeliveryConfigValuesHasBeenSet =
false;
226 bool m_allowedFieldsHasBeenSet =
false;
229 bool m_allowedOutputFormatsHasBeenSet =
false;
231 Aws::String m_allowedActionForAllowVendedLogsDeliveryForResource;
232 bool m_allowedActionForAllowVendedLogsDeliveryForResourceHasBeenSet =
false;
235 bool m_allowedFieldDelimitersHasBeenSet =
false;
238 bool m_allowedSuffixPathFieldsHasBeenSet =
false;
ConfigurationTemplate & WithDefaultDeliveryConfigValues(const ConfigurationTemplateDeliveryConfigValues &value)
bool ResourceTypeHasBeenSet() const
void SetAllowedActionForAllowVendedLogsDeliveryForResource(const char *value)
void SetAllowedSuffixPathFields(const Aws::Vector< Aws::String > &value)
ConfigurationTemplate & AddAllowedFields(RecordField &&value)
ConfigurationTemplate & AddAllowedFieldDelimiters(const char *value)
AWS_CLOUDWATCHLOGS_API ConfigurationTemplate & operator=(Aws::Utils::Json::JsonView jsonValue)
bool AllowedOutputFormatsHasBeenSet() const
void SetResourceType(const char *value)
void SetAllowedOutputFormats(Aws::Vector< OutputFormat > &&value)
void SetAllowedFields(const Aws::Vector< RecordField > &value)
ConfigurationTemplate & AddAllowedSuffixPathFields(const Aws::String &value)
const Aws::Vector< Aws::String > & GetAllowedFieldDelimiters() const
const Aws::String & GetAllowedActionForAllowVendedLogsDeliveryForResource() const
void SetService(const char *value)
ConfigurationTemplate & WithResourceType(const Aws::String &value)
AWS_CLOUDWATCHLOGS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDeliveryDestinationType(const DeliveryDestinationType &value)
ConfigurationTemplate & WithAllowedFieldDelimiters(const Aws::Vector< Aws::String > &value)
ConfigurationTemplate & AddAllowedOutputFormats(OutputFormat &&value)
bool LogTypeHasBeenSet() const
ConfigurationTemplate & WithDeliveryDestinationType(const DeliveryDestinationType &value)
ConfigurationTemplate & WithLogType(const Aws::String &value)
ConfigurationTemplate & WithDeliveryDestinationType(DeliveryDestinationType &&value)
void SetDeliveryDestinationType(DeliveryDestinationType &&value)
void SetLogType(const char *value)
void SetAllowedActionForAllowVendedLogsDeliveryForResource(const Aws::String &value)
ConfigurationTemplate & AddAllowedSuffixPathFields(const char *value)
ConfigurationTemplate & WithResourceType(Aws::String &&value)
ConfigurationTemplate & WithAllowedSuffixPathFields(const Aws::Vector< Aws::String > &value)
ConfigurationTemplate & WithService(Aws::String &&value)
void SetLogType(Aws::String &&value)
void SetAllowedFields(Aws::Vector< RecordField > &&value)
ConfigurationTemplate & AddAllowedFields(const RecordField &value)
const Aws::Vector< RecordField > & GetAllowedFields() const
ConfigurationTemplate & WithAllowedFieldDelimiters(Aws::Vector< Aws::String > &&value)
bool AllowedActionForAllowVendedLogsDeliveryForResourceHasBeenSet() const
bool DefaultDeliveryConfigValuesHasBeenSet() const
bool ServiceHasBeenSet() const
const Aws::String & GetService() const
ConfigurationTemplate & WithAllowedFields(const Aws::Vector< RecordField > &value)
void SetService(const Aws::String &value)
ConfigurationTemplate & WithResourceType(const char *value)
const ConfigurationTemplateDeliveryConfigValues & GetDefaultDeliveryConfigValues() const
ConfigurationTemplate & WithAllowedFields(Aws::Vector< RecordField > &&value)
AWS_CLOUDWATCHLOGS_API ConfigurationTemplate(Aws::Utils::Json::JsonView jsonValue)
void SetAllowedFieldDelimiters(Aws::Vector< Aws::String > &&value)
ConfigurationTemplate & WithAllowedActionForAllowVendedLogsDeliveryForResource(const char *value)
const Aws::Vector< Aws::String > & GetAllowedSuffixPathFields() const
void SetAllowedSuffixPathFields(Aws::Vector< Aws::String > &&value)
void SetResourceType(const Aws::String &value)
const Aws::String & GetLogType() const
ConfigurationTemplate & AddAllowedFieldDelimiters(Aws::String &&value)
ConfigurationTemplate & AddAllowedSuffixPathFields(Aws::String &&value)
void SetResourceType(Aws::String &&value)
ConfigurationTemplate & WithAllowedActionForAllowVendedLogsDeliveryForResource(const Aws::String &value)
ConfigurationTemplate & WithService(const Aws::String &value)
ConfigurationTemplate & AddAllowedFieldDelimiters(const Aws::String &value)
void SetAllowedFieldDelimiters(const Aws::Vector< Aws::String > &value)
const Aws::String & GetResourceType() const
bool DeliveryDestinationTypeHasBeenSet() const
ConfigurationTemplate & WithAllowedActionForAllowVendedLogsDeliveryForResource(Aws::String &&value)
ConfigurationTemplate & AddAllowedOutputFormats(const OutputFormat &value)
bool AllowedFieldDelimitersHasBeenSet() const
void SetDefaultDeliveryConfigValues(ConfigurationTemplateDeliveryConfigValues &&value)
bool AllowedFieldsHasBeenSet() const
ConfigurationTemplate & WithAllowedSuffixPathFields(Aws::Vector< Aws::String > &&value)
ConfigurationTemplate & WithAllowedOutputFormats(const Aws::Vector< OutputFormat > &value)
ConfigurationTemplate & WithService(const char *value)
const DeliveryDestinationType & GetDeliveryDestinationType() const
void SetService(Aws::String &&value)
ConfigurationTemplate & WithLogType(Aws::String &&value)
void SetAllowedOutputFormats(const Aws::Vector< OutputFormat > &value)
ConfigurationTemplate & WithLogType(const char *value)
bool AllowedSuffixPathFieldsHasBeenSet() const
void SetAllowedActionForAllowVendedLogsDeliveryForResource(Aws::String &&value)
void SetDefaultDeliveryConfigValues(const ConfigurationTemplateDeliveryConfigValues &value)
ConfigurationTemplate & WithAllowedOutputFormats(Aws::Vector< OutputFormat > &&value)
void SetLogType(const Aws::String &value)
AWS_CLOUDWATCHLOGS_API ConfigurationTemplate()
const Aws::Vector< OutputFormat > & GetAllowedOutputFormats() const
ConfigurationTemplate & WithDefaultDeliveryConfigValues(ConfigurationTemplateDeliveryConfigValues &&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