AWS SDK for C++

AWS SDK for C++ Version 1.11.740

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
70 inline int GetSuggestionCount() const { return m_suggestionCount; }
71 inline bool SuggestionCountHasBeenSet() const { return m_suggestionCountHasBeenSet; }
72 inline void SetSuggestionCount(int value) {
73 m_suggestionCountHasBeenSet = true;
74 m_suggestionCount = value;
75 }
77 SetSuggestionCount(value);
78 return *this;
79 }
81
83
91 inline bool GetOnlyAvailable() const { return m_onlyAvailable; }
92 inline bool OnlyAvailableHasBeenSet() const { return m_onlyAvailableHasBeenSet; }
93 inline void SetOnlyAvailable(bool value) {
94 m_onlyAvailableHasBeenSet = true;
95 m_onlyAvailable = value;
96 }
98 SetOnlyAvailable(value);
99 return *this;
100 }
102 private:
103 Aws::String m_domainName;
104
105 int m_suggestionCount{0};
106
107 bool m_onlyAvailable{false};
108 bool m_domainNameHasBeenSet = false;
109 bool m_suggestionCountHasBeenSet = false;
110 bool m_onlyAvailableHasBeenSet = false;
111};
112
113} // namespace Model
114} // namespace Route53Domains
115} // 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