AWS SDK for C++

AWS SDK for C++ Version 1.11.812

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
92 inline bool GetOnlyAvailable() const { return m_onlyAvailable; }
93 inline bool OnlyAvailableHasBeenSet() const { return m_onlyAvailableHasBeenSet; }
94 inline void SetOnlyAvailable(bool value) {
95 m_onlyAvailableHasBeenSet = true;
96 m_onlyAvailable = value;
97 }
99 SetOnlyAvailable(value);
100 return *this;
101 }
103 private:
104 Aws::String m_domainName;
105
106 int m_suggestionCount{0};
107
108 bool m_onlyAvailable{false};
109 bool m_domainNameHasBeenSet = false;
110 bool m_suggestionCountHasBeenSet = false;
111 bool m_onlyAvailableHasBeenSet = false;
112};
113
114} // namespace Model
115} // namespace Route53Domains
116} // 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)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String