7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/customer-profiles/CustomerProfiles_EXPORTS.h>
10#include <aws/customer-profiles/model/ComparisonOperator.h>
21namespace CustomerProfiles {
43 template <
typename SourceT = Aws::String>
45 m_sourceHasBeenSet =
true;
46 m_source = std::forward<SourceT>(value);
48 template <
typename SourceT = Aws::String>
61 template <
typename FieldNameT = Aws::String>
63 m_fieldNameHasBeenSet =
true;
64 m_fieldName = std::forward<FieldNameT>(value);
66 template <
typename FieldNameT = Aws::String>
80 m_comparisonOperatorHasBeenSet =
true;
81 m_comparisonOperator = value;
95 template <
typename ValuesT = Aws::Vector<Aws::String>>
97 m_valuesHasBeenSet =
true;
98 m_values = std::forward<ValuesT>(value);
100 template <
typename ValuesT = Aws::Vector<Aws::String>>
105 template <
typename ValuesT = Aws::String>
107 m_valuesHasBeenSet =
true;
108 m_values.emplace_back(std::forward<ValuesT>(value));
120 bool m_sourceHasBeenSet =
false;
121 bool m_fieldNameHasBeenSet =
false;
122 bool m_comparisonOperatorHasBeenSet =
false;
123 bool m_valuesHasBeenSet =
false;
ObjectAttribute & WithSource(SourceT &&value)
const Aws::String & GetSource() const
AWS_CUSTOMERPROFILES_API ObjectAttribute()=default
void SetSource(SourceT &&value)
void SetFieldName(FieldNameT &&value)
ObjectAttribute & WithComparisonOperator(ComparisonOperator value)
ComparisonOperator GetComparisonOperator() const
bool SourceHasBeenSet() const
AWS_CUSTOMERPROFILES_API ObjectAttribute & operator=(Aws::Utils::Json::JsonView jsonValue)
ObjectAttribute & WithValues(ValuesT &&value)
AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const
bool ValuesHasBeenSet() const
bool FieldNameHasBeenSet() const
ObjectAttribute & AddValues(ValuesT &&value)
void SetComparisonOperator(ComparisonOperator value)
bool ComparisonOperatorHasBeenSet() const
AWS_CUSTOMERPROFILES_API ObjectAttribute(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetValues() const
void SetValues(ValuesT &&value)
const Aws::String & GetFieldName() const
ObjectAttribute & WithFieldName(FieldNameT &&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