AWS SDK for C++

AWS SDK for C++ Version 1.11.915

Loading...
Searching...
No Matches
GetDomainSuggestionsRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/route53domains/Route53DomainsRequest.h>
9#include <aws/route53domains/Route53Domains_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Route53Domains {
15namespace Model {
16
20 public:
21 AWS_ROUTE53DOMAINS_API GetDomainSuggestionsRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "GetDomainSuggestions"; }
28
29 AWS_ROUTE53DOMAINS_API Aws::String SerializePayload() const override;
30
31 AWS_ROUTE53DOMAINS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
32
34
51 inline const Aws::String& GetDomainName() const { return m_domainName; }
52 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
53 template <typename DomainNameT = Aws::String>
54 void SetDomainName(DomainNameT&& value) {
55 m_domainNameHasBeenSet = true;
56 m_domainName = std::forward<DomainNameT>(value);
57 }
58 template <typename DomainNameT = Aws::String>
60 SetDomainName(std::forward<DomainNameT>(value));
61 return *this;
62 }
64
66
71 inline int GetSuggestionCount() const { return m_suggestionCount; }
72 inline bool SuggestionCountHasBeenSet() const { return m_suggestionCountHasBeenSet; }
73 inline void SetSuggestionCount(int value) {
74 m_suggestionCountHasBeenSet = true;
75 m_suggestionCount = value;
76 }
78 SetSuggestionCount(value);
79 return *this;
80 }
82
84
93 inline bool GetOnlyAvailable() const { return m_onlyAvailable; }
94 inline bool OnlyAvailableHasBeenSet() const { return m_onlyAvailableHasBeenSet; }
95 inline void SetOnlyAvailable(bool value) {
96 m_onlyAvailableHasBeenSet = true;
97 m_onlyAvailable = value;
98 }
100 SetOnlyAvailable(value);
101 return *this;
102 }
104
106
112 inline bool GetOnlyStandardPrices() const { return m_onlyStandardPrices; }
113 inline bool OnlyStandardPricesHasBeenSet() const { return m_onlyStandardPricesHasBeenSet; }
114 inline void SetOnlyStandardPrices(bool value) {
115 m_onlyStandardPricesHasBeenSet = true;
116 m_onlyStandardPrices = value;
117 }
120 return *this;
121 }
123 private:
124 Aws::String m_domainName;
125
126 int m_suggestionCount{0};
127
128 bool m_onlyAvailable{false};
129
130 bool m_onlyStandardPrices{false};
131 bool m_domainNameHasBeenSet = false;
132 bool m_suggestionCountHasBeenSet = false;
133 bool m_onlyAvailableHasBeenSet = false;
134 bool m_onlyStandardPricesHasBeenSet = false;
135};
136
137} // namespace Model
138} // namespace Route53Domains
139} // namespace Aws
AWS_ROUTE53DOMAINS_API Aws::String SerializePayload() const override
AWS_ROUTE53DOMAINS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_ROUTE53DOMAINS_API GetDomainSuggestionsRequest()=default
GetDomainSuggestionsRequest & WithDomainName(DomainNameT &&value)
GetDomainSuggestionsRequest & WithOnlyStandardPrices(bool value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String