7#include <aws/customer-profiles/CustomerProfiles_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/customer-profiles/model/ComparisonOperator.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
23namespace CustomerProfiles
49 template<
typename SourceT = Aws::String>
50 void SetSource(SourceT&& value) { m_sourceHasBeenSet =
true; m_source = std::forward<SourceT>(value); }
51 template<
typename SourceT = Aws::String>
61 template<
typename FieldNameT = Aws::String>
62 void SetFieldName(FieldNameT&& value) { m_fieldNameHasBeenSet =
true; m_fieldName = std::forward<FieldNameT>(value); }
63 template<
typename FieldNameT = Aws::String>
83 template<
typename ValuesT = Aws::Vector<Aws::String>>
84 void SetValues(ValuesT&& value) { m_valuesHasBeenSet =
true; m_values = std::forward<ValuesT>(value); }
85 template<
typename ValuesT = Aws::Vector<Aws::String>>
87 template<
typename ValuesT = Aws::String>
88 ObjectAttribute&
AddValues(ValuesT&& value) { m_valuesHasBeenSet =
true; m_values.emplace_back(std::forward<ValuesT>(value));
return *
this; }
93 bool m_sourceHasBeenSet =
false;
96 bool m_fieldNameHasBeenSet =
false;
99 bool m_comparisonOperatorHasBeenSet =
false;
102 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