AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SortCondition.h
1
6#pragma once
7#include <aws/route53domains/Route53Domains_EXPORTS.h>
8#include <aws/route53domains/model/ListDomainsAttributeName.h>
9#include <aws/route53domains/model/SortOrder.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Route53Domains
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_ROUTE53DOMAINS_API SortCondition();
36 AWS_ROUTE53DOMAINS_API SortCondition(Aws::Utils::Json::JsonView jsonValue);
37 AWS_ROUTE53DOMAINS_API SortCondition& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_ROUTE53DOMAINS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
50 inline const ListDomainsAttributeName& GetName() const{ return m_name; }
51 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
52 inline void SetName(const ListDomainsAttributeName& value) { m_nameHasBeenSet = true; m_name = value; }
53 inline void SetName(ListDomainsAttributeName&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
54 inline SortCondition& WithName(const ListDomainsAttributeName& value) { SetName(value); return *this;}
55 inline SortCondition& WithName(ListDomainsAttributeName&& value) { SetName(std::move(value)); return *this;}
57
59
63 inline const SortOrder& GetSortOrder() const{ return m_sortOrder; }
64 inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; }
65 inline void SetSortOrder(const SortOrder& value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; }
66 inline void SetSortOrder(SortOrder&& value) { m_sortOrderHasBeenSet = true; m_sortOrder = std::move(value); }
67 inline SortCondition& WithSortOrder(const SortOrder& value) { SetSortOrder(value); return *this;}
68 inline SortCondition& WithSortOrder(SortOrder&& value) { SetSortOrder(std::move(value)); return *this;}
70 private:
71
73 bool m_nameHasBeenSet = false;
74
75 SortOrder m_sortOrder;
76 bool m_sortOrderHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace Route53Domains
81} // namespace Aws
void SetName(ListDomainsAttributeName &&value)
AWS_ROUTE53DOMAINS_API Aws::Utils::Json::JsonValue Jsonize() const
SortCondition & WithName(const ListDomainsAttributeName &value)
AWS_ROUTE53DOMAINS_API SortCondition(Aws::Utils::Json::JsonView jsonValue)
const ListDomainsAttributeName & GetName() const
AWS_ROUTE53DOMAINS_API SortCondition()
const SortOrder & GetSortOrder() const
SortCondition & WithName(ListDomainsAttributeName &&value)
SortCondition & WithSortOrder(SortOrder &&value)
SortCondition & WithSortOrder(const SortOrder &value)
void SetSortOrder(const SortOrder &value)
AWS_ROUTE53DOMAINS_API SortCondition & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetName(const ListDomainsAttributeName &value)
Aws::Utils::Json::JsonValue JsonValue