7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/customer-profiles/CustomerProfiles_EXPORTS.h>
9#include <aws/customer-profiles/model/Unit.h>
10#include <aws/customer-profiles/model/ValueRange.h>
21namespace CustomerProfiles {
32 AWS_CUSTOMERPROFILES_API
Range() =
default;
41 inline int GetValue()
const {
return m_value; }
44 m_valueHasBeenSet =
true;
60 m_unitHasBeenSet =
true;
78 template <
typename ValueRangeT = ValueRange>
80 m_valueRangeHasBeenSet =
true;
81 m_valueRange = std::forward<ValueRangeT>(value);
83 template <
typename ValueRangeT = ValueRange>
101 template <
typename TimestampSourceT = Aws::String>
103 m_timestampSourceHasBeenSet =
true;
104 m_timestampSource = std::forward<TimestampSourceT>(value);
106 template <
typename TimestampSourceT = Aws::String>
125 template <
typename TimestampFormatT = Aws::String>
127 m_timestampFormatHasBeenSet =
true;
128 m_timestampFormat = std::forward<TimestampFormatT>(value);
130 template <
typename TimestampFormatT = Aws::String>
141 ValueRange m_valueRange;
146 bool m_valueHasBeenSet =
false;
147 bool m_unitHasBeenSet =
false;
148 bool m_valueRangeHasBeenSet =
false;
149 bool m_timestampSourceHasBeenSet =
false;
150 bool m_timestampFormatHasBeenSet =
false;
Range & WithUnit(Unit value)
void SetTimestampFormat(TimestampFormatT &&value)
Range & WithValueRange(ValueRangeT &&value)
Range & WithTimestampFormat(TimestampFormatT &&value)
const ValueRange & GetValueRange() const
bool ValueHasBeenSet() const
const Aws::String & GetTimestampFormat() const
Range & WithTimestampSource(TimestampSourceT &&value)
AWS_CUSTOMERPROFILES_API Range(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetTimestampSource() const
bool TimestampSourceHasBeenSet() const
bool ValueRangeHasBeenSet() const
void SetTimestampSource(TimestampSourceT &&value)
AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const
bool TimestampFormatHasBeenSet() const
Range & WithValue(int value)
void SetValueRange(ValueRangeT &&value)
AWS_CUSTOMERPROFILES_API Range & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CUSTOMERPROFILES_API Range()=default
bool UnitHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue