AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetDomainSuggestionsRequest.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/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Route53Domains
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_ROUTE53DOMAINS_API GetDomainSuggestionsRequest();
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_ROUTE53DOMAINS_API Aws::String SerializePayload() const override;
33
34 AWS_ROUTE53DOMAINS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
35
36
38
55 inline const Aws::String& GetDomainName() const{ return m_domainName; }
56 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
57 inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
58 inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
59 inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
60 inline GetDomainSuggestionsRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
61 inline GetDomainSuggestionsRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
62 inline GetDomainSuggestionsRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;}
64
66
70 inline int GetSuggestionCount() const{ return m_suggestionCount; }
71 inline bool SuggestionCountHasBeenSet() const { return m_suggestionCountHasBeenSet; }
72 inline void SetSuggestionCount(int value) { m_suggestionCountHasBeenSet = true; m_suggestionCount = value; }
73 inline GetDomainSuggestionsRequest& WithSuggestionCount(int value) { SetSuggestionCount(value); return *this;}
75
77
85 inline bool GetOnlyAvailable() const{ return m_onlyAvailable; }
86 inline bool OnlyAvailableHasBeenSet() const { return m_onlyAvailableHasBeenSet; }
87 inline void SetOnlyAvailable(bool value) { m_onlyAvailableHasBeenSet = true; m_onlyAvailable = value; }
88 inline GetDomainSuggestionsRequest& WithOnlyAvailable(bool value) { SetOnlyAvailable(value); return *this;}
90 private:
91
92 Aws::String m_domainName;
93 bool m_domainNameHasBeenSet = false;
94
95 int m_suggestionCount;
96 bool m_suggestionCountHasBeenSet = false;
97
98 bool m_onlyAvailable;
99 bool m_onlyAvailableHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace Route53Domains
104} // namespace Aws
AWS_ROUTE53DOMAINS_API Aws::String SerializePayload() const override
GetDomainSuggestionsRequest & WithDomainName(Aws::String &&value)
AWS_ROUTE53DOMAINS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
GetDomainSuggestionsRequest & WithDomainName(const char *value)
GetDomainSuggestionsRequest & WithDomainName(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String