7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/customer-profiles/CustomerProfiles_EXPORTS.h>
9#include <aws/customer-profiles/model/SegmentSortDataType.h>
10#include <aws/customer-profiles/model/SegmentSortOrder.h>
11#include <aws/customer-profiles/model/SortAttributeType.h>
22namespace CustomerProfiles {
44 template <
typename NameT = Aws::String>
46 m_nameHasBeenSet =
true;
47 m_name = std::forward<NameT>(value);
49 template <
typename NameT = Aws::String>
51 SetName(std::forward<NameT>(value));
63 m_dataTypeHasBeenSet =
true;
79 m_orderHasBeenSet =
true;
95 m_typeHasBeenSet =
true;
111 bool m_nameHasBeenSet =
false;
112 bool m_dataTypeHasBeenSet =
false;
113 bool m_orderHasBeenSet =
false;
114 bool m_typeHasBeenSet =
false;
AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const
SortAttribute & WithType(SortAttributeType value)
SortAttribute & WithName(NameT &&value)
void SetName(NameT &&value)
SegmentSortOrder GetOrder() const
AWS_CUSTOMERPROFILES_API SortAttribute()=default
SortAttribute & WithOrder(SegmentSortOrder value)
SortAttribute & WithDataType(SegmentSortDataType value)
AWS_CUSTOMERPROFILES_API SortAttribute & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetName() const
bool DataTypeHasBeenSet() const
AWS_CUSTOMERPROFILES_API SortAttribute(Aws::Utils::Json::JsonView jsonValue)
void SetDataType(SegmentSortDataType value)
bool OrderHasBeenSet() const
SegmentSortDataType GetDataType() const
SortAttributeType GetType() const
void SetType(SortAttributeType value)
bool TypeHasBeenSet() const
void SetOrder(SegmentSortOrder value)
bool NameHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue