AWS SDK for C++  1.9.16
AWS SDK for C++
GetDomainSuggestionsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Route53Domains
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "GetDomainSuggestions"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
54  inline const Aws::String& GetDomainName() const{ return m_domainName; }
55 
73  inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
74 
92  inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
93 
111  inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
112 
130  inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
131 
149  inline GetDomainSuggestionsRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
150 
168  inline GetDomainSuggestionsRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
169 
187  inline GetDomainSuggestionsRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;}
188 
189 
194  inline int GetSuggestionCount() const{ return m_suggestionCount; }
195 
200  inline bool SuggestionCountHasBeenSet() const { return m_suggestionCountHasBeenSet; }
201 
206  inline void SetSuggestionCount(int value) { m_suggestionCountHasBeenSet = true; m_suggestionCount = value; }
207 
212  inline GetDomainSuggestionsRequest& WithSuggestionCount(int value) { SetSuggestionCount(value); return *this;}
213 
214 
223  inline bool GetOnlyAvailable() const{ return m_onlyAvailable; }
224 
233  inline bool OnlyAvailableHasBeenSet() const { return m_onlyAvailableHasBeenSet; }
234 
243  inline void SetOnlyAvailable(bool value) { m_onlyAvailableHasBeenSet = true; m_onlyAvailable = value; }
244 
253  inline GetDomainSuggestionsRequest& WithOnlyAvailable(bool value) { SetOnlyAvailable(value); return *this;}
254 
255  private:
256 
257  Aws::String m_domainName;
258  bool m_domainNameHasBeenSet;
259 
260  int m_suggestionCount;
261  bool m_suggestionCountHasBeenSet;
262 
263  bool m_onlyAvailable;
264  bool m_onlyAvailableHasBeenSet;
265  };
266 
267 } // namespace Model
268 } // namespace Route53Domains
269 } // namespace Aws
Aws::Route53Domains::Model::GetDomainSuggestionsRequest::SetDomainName
void SetDomainName(const char *value)
Definition: GetDomainSuggestionsRequest.h:130
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::Route53Domains::Model::GetDomainSuggestionsRequest::OnlyAvailableHasBeenSet
bool OnlyAvailableHasBeenSet() const
Definition: GetDomainSuggestionsRequest.h:233
Aws::Route53Domains::Model::GetDomainSuggestionsRequest::WithOnlyAvailable
GetDomainSuggestionsRequest & WithOnlyAvailable(bool value)
Definition: GetDomainSuggestionsRequest.h:253
Aws::Route53Domains::Model::GetDomainSuggestionsRequest::WithSuggestionCount
GetDomainSuggestionsRequest & WithSuggestionCount(int value)
Definition: GetDomainSuggestionsRequest.h:212
Aws::Route53Domains::Model::GetDomainSuggestionsRequest::WithDomainName
GetDomainSuggestionsRequest & WithDomainName(const Aws::String &value)
Definition: GetDomainSuggestionsRequest.h:149
Aws::Route53Domains::Model::GetDomainSuggestionsRequest::SetSuggestionCount
void SetSuggestionCount(int value)
Definition: GetDomainSuggestionsRequest.h:206
Aws::Route53Domains::Model::GetDomainSuggestionsRequest::WithDomainName
GetDomainSuggestionsRequest & WithDomainName(const char *value)
Definition: GetDomainSuggestionsRequest.h:187
Aws::Route53Domains::Model::GetDomainSuggestionsRequest
Definition: GetDomainSuggestionsRequest.h:22
AWS_ROUTE53DOMAINS_API
#define AWS_ROUTE53DOMAINS_API
Definition: Route53Domains_EXPORTS.h:28
Aws::Route53Domains::Model::GetDomainSuggestionsRequest::GetSuggestionCount
int GetSuggestionCount() const
Definition: GetDomainSuggestionsRequest.h:194
Aws::Route53Domains::Model::GetDomainSuggestionsRequest::GetDomainName
const Aws::String & GetDomainName() const
Definition: GetDomainSuggestionsRequest.h:54
Aws::Route53Domains::Model::GetDomainSuggestionsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetDomainSuggestionsRequest.h:30
Aws::Route53Domains::Model::GetDomainSuggestionsRequest::SetDomainName
void SetDomainName(Aws::String &&value)
Definition: GetDomainSuggestionsRequest.h:111
Aws::Route53Domains::Model::GetDomainSuggestionsRequest::GetOnlyAvailable
bool GetOnlyAvailable() const
Definition: GetDomainSuggestionsRequest.h:223
Aws::Route53Domains::Model::GetDomainSuggestionsRequest::SuggestionCountHasBeenSet
bool SuggestionCountHasBeenSet() const
Definition: GetDomainSuggestionsRequest.h:200
Aws::Route53Domains::Model::GetDomainSuggestionsRequest::WithDomainName
GetDomainSuggestionsRequest & WithDomainName(Aws::String &&value)
Definition: GetDomainSuggestionsRequest.h:168
Aws::Route53Domains::Model::GetDomainSuggestionsRequest::SetOnlyAvailable
void SetOnlyAvailable(bool value)
Definition: GetDomainSuggestionsRequest.h:243
Aws::Route53Domains::Model::GetDomainSuggestionsRequest::SetDomainName
void SetDomainName(const Aws::String &value)
Definition: GetDomainSuggestionsRequest.h:92
Aws::Route53Domains::Model::GetDomainSuggestionsRequest::SerializePayload
Aws::String SerializePayload() const override
AWSString.h
Aws::Route53Domains::Model::GetDomainSuggestionsRequest::DomainNameHasBeenSet
bool DomainNameHasBeenSet() const
Definition: GetDomainSuggestionsRequest.h:73
Aws::Route53Domains::Route53DomainsRequest
Definition: Route53DomainsRequest.h:17
Aws::Route53Domains::Model::GetDomainSuggestionsRequest::GetDomainSuggestionsRequest
GetDomainSuggestionsRequest()
Route53DomainsRequest.h
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Route53Domains_EXPORTS.h
Aws::Route53Domains::Model::GetDomainSuggestionsRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override