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/DeliverySourceConfigurationSchemaValueType.h>
21namespace CloudWatchLogs {
44 template <
typename KeyNameT = Aws::String>
46 m_keyNameHasBeenSet =
true;
47 m_keyName = std::forward<KeyNameT>(value);
49 template <
typename KeyNameT = Aws::String>
65 m_valueTypeHasBeenSet =
true;
83 template <
typename DefaultValueT = Aws::String>
85 m_defaultValueHasBeenSet =
true;
86 m_defaultValue = std::forward<DefaultValueT>(value);
88 template <
typename DefaultValueT = Aws::String>
102 template <
typename SupportedValuesT = Aws::Vector<Aws::String>>
104 m_supportedValuesHasBeenSet =
true;
105 m_supportedValues = std::forward<SupportedValuesT>(value);
107 template <
typename SupportedValuesT = Aws::Vector<Aws::String>>
112 template <
typename SupportedValuesT = Aws::String>
114 m_supportedValuesHasBeenSet =
true;
115 m_supportedValues.emplace_back(std::forward<SupportedValuesT>(value));
128 m_minValueHasBeenSet =
true;
145 m_maxValueHasBeenSet =
true;
162 double m_minValue{0.0};
164 double m_maxValue{0.0};
165 bool m_keyNameHasBeenSet =
false;
166 bool m_valueTypeHasBeenSet =
false;
167 bool m_defaultValueHasBeenSet =
false;
168 bool m_supportedValuesHasBeenSet =
false;
169 bool m_minValueHasBeenSet =
false;
170 bool m_maxValueHasBeenSet =
false;
void SetDefaultValue(DefaultValueT &&value)
double GetMinValue() const
DeliverySourceConfigurationSchema & WithMaxValue(double value)
DeliverySourceConfigurationSchema & WithDefaultValue(DefaultValueT &&value)
DeliverySourceConfigurationSchemaValueType GetValueType() const
DeliverySourceConfigurationSchema & AddSupportedValues(SupportedValuesT &&value)
const Aws::String & GetDefaultValue() const
void SetMaxValue(double value)
AWS_CLOUDWATCHLOGS_API DeliverySourceConfigurationSchema & operator=(Aws::Utils::Json::JsonView jsonValue)
bool MinValueHasBeenSet() const
DeliverySourceConfigurationSchema & WithKeyName(KeyNameT &&value)
bool MaxValueHasBeenSet() const
void SetSupportedValues(SupportedValuesT &&value)
AWS_CLOUDWATCHLOGS_API DeliverySourceConfigurationSchema()=default
AWS_CLOUDWATCHLOGS_API DeliverySourceConfigurationSchema(Aws::Utils::Json::JsonView jsonValue)
DeliverySourceConfigurationSchema & WithSupportedValues(SupportedValuesT &&value)
void SetKeyName(KeyNameT &&value)
bool KeyNameHasBeenSet() const
void SetMinValue(double value)
const Aws::Vector< Aws::String > & GetSupportedValues() const
void SetValueType(DeliverySourceConfigurationSchemaValueType value)
bool DefaultValueHasBeenSet() const
DeliverySourceConfigurationSchema & WithValueType(DeliverySourceConfigurationSchemaValueType value)
const Aws::String & GetKeyName() const
double GetMaxValue() const
AWS_CLOUDWATCHLOGS_API Aws::Utils::Json::JsonValue Jsonize() const
bool SupportedValuesHasBeenSet() const
bool ValueTypeHasBeenSet() const
DeliverySourceConfigurationSchema & WithMinValue(double value)
DeliverySourceConfigurationSchemaValueType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue