AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListDomainsRequest.h
1
6#pragma once
7#include <aws/route53domains/Route53Domains_EXPORTS.h>
8#include <aws/route53domains/Route53DomainsRequest.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/route53domains/model/SortCondition.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/route53domains/model/FilterCondition.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Route53Domains
18{
19namespace Model
20{
21
29 {
30 public:
31 AWS_ROUTE53DOMAINS_API ListDomainsRequest();
32
33 // Service request name is the Operation name which will send this request out,
34 // each operation should has unique request name, so that we can get operation's name from this request.
35 // Note: this is not true for response, multiple operations may have the same response name,
36 // so we can not get operation's name from response.
37 inline virtual const char* GetServiceRequestName() const override { return "ListDomains"; }
38
39 AWS_ROUTE53DOMAINS_API Aws::String SerializePayload() const override;
40
41 AWS_ROUTE53DOMAINS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
42
43
45
50 inline const Aws::Vector<FilterCondition>& GetFilterConditions() const{ return m_filterConditions; }
51 inline bool FilterConditionsHasBeenSet() const { return m_filterConditionsHasBeenSet; }
52 inline void SetFilterConditions(const Aws::Vector<FilterCondition>& value) { m_filterConditionsHasBeenSet = true; m_filterConditions = value; }
53 inline void SetFilterConditions(Aws::Vector<FilterCondition>&& value) { m_filterConditionsHasBeenSet = true; m_filterConditions = std::move(value); }
56 inline ListDomainsRequest& AddFilterConditions(const FilterCondition& value) { m_filterConditionsHasBeenSet = true; m_filterConditions.push_back(value); return *this; }
57 inline ListDomainsRequest& AddFilterConditions(FilterCondition&& value) { m_filterConditionsHasBeenSet = true; m_filterConditions.push_back(std::move(value)); return *this; }
59
61
65 inline const SortCondition& GetSortCondition() const{ return m_sortCondition; }
66 inline bool SortConditionHasBeenSet() const { return m_sortConditionHasBeenSet; }
67 inline void SetSortCondition(const SortCondition& value) { m_sortConditionHasBeenSet = true; m_sortCondition = value; }
68 inline void SetSortCondition(SortCondition&& value) { m_sortConditionHasBeenSet = true; m_sortCondition = std::move(value); }
69 inline ListDomainsRequest& WithSortCondition(const SortCondition& value) { SetSortCondition(value); return *this;}
70 inline ListDomainsRequest& WithSortCondition(SortCondition&& value) { SetSortCondition(std::move(value)); return *this;}
72
74
84 inline const Aws::String& GetMarker() const{ return m_marker; }
85 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
86 inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
87 inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
88 inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
89 inline ListDomainsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
90 inline ListDomainsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
91 inline ListDomainsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
93
95
98 inline int GetMaxItems() const{ return m_maxItems; }
99 inline bool MaxItemsHasBeenSet() const { return m_maxItemsHasBeenSet; }
100 inline void SetMaxItems(int value) { m_maxItemsHasBeenSet = true; m_maxItems = value; }
101 inline ListDomainsRequest& WithMaxItems(int value) { SetMaxItems(value); return *this;}
103 private:
104
105 Aws::Vector<FilterCondition> m_filterConditions;
106 bool m_filterConditionsHasBeenSet = false;
107
108 SortCondition m_sortCondition;
109 bool m_sortConditionHasBeenSet = false;
110
111 Aws::String m_marker;
112 bool m_markerHasBeenSet = false;
113
114 int m_maxItems;
115 bool m_maxItemsHasBeenSet = false;
116 };
117
118} // namespace Model
119} // namespace Route53Domains
120} // namespace Aws
AWS_ROUTE53DOMAINS_API Aws::String SerializePayload() const override
ListDomainsRequest & WithFilterConditions(Aws::Vector< FilterCondition > &&value)
virtual const char * GetServiceRequestName() const override
ListDomainsRequest & WithMarker(const Aws::String &value)
ListDomainsRequest & AddFilterConditions(const FilterCondition &value)
ListDomainsRequest & WithFilterConditions(const Aws::Vector< FilterCondition > &value)
ListDomainsRequest & WithSortCondition(SortCondition &&value)
AWS_ROUTE53DOMAINS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListDomainsRequest & WithSortCondition(const SortCondition &value)
ListDomainsRequest & AddFilterConditions(FilterCondition &&value)
ListDomainsRequest & WithMarker(const char *value)
void SetFilterConditions(Aws::Vector< FilterCondition > &&value)
const Aws::Vector< FilterCondition > & GetFilterConditions() const
void SetSortCondition(const SortCondition &value)
ListDomainsRequest & WithMarker(Aws::String &&value)
void SetFilterConditions(const Aws::Vector< FilterCondition > &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector