AWS SDK for C++  0.14.3
AWS SDK for C++
GetDomainSuggestionsRequest.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
19 
20 namespace Aws
21 {
22 namespace Route53Domains
23 {
24 namespace Model
25 {
26 
30  {
31  public:
33  Aws::String SerializePayload() const override;
34 
35  Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36 
37 
38  inline const Aws::String& GetDomainName() const{ return m_domainName; }
39 
40 
41  inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
42 
43 
44  inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
45 
46 
47  inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
48 
49 
50  inline GetDomainSuggestionsRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
51 
52 
53  inline GetDomainSuggestionsRequest& WithDomainName(Aws::String&& value) { SetDomainName(value); return *this;}
54 
55 
56  inline GetDomainSuggestionsRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;}
57 
58 
59  inline int GetSuggestionCount() const{ return m_suggestionCount; }
60 
61 
62  inline void SetSuggestionCount(int value) { m_suggestionCountHasBeenSet = true; m_suggestionCount = value; }
63 
64 
65  inline GetDomainSuggestionsRequest& WithSuggestionCount(int value) { SetSuggestionCount(value); return *this;}
66 
67 
68  inline bool GetOnlyAvailable() const{ return m_onlyAvailable; }
69 
70 
71  inline void SetOnlyAvailable(bool value) { m_onlyAvailableHasBeenSet = true; m_onlyAvailable = value; }
72 
73 
74  inline GetDomainSuggestionsRequest& WithOnlyAvailable(bool value) { SetOnlyAvailable(value); return *this;}
75 
76  private:
77  Aws::String m_domainName;
78  bool m_domainNameHasBeenSet;
79  int m_suggestionCount;
80  bool m_suggestionCountHasBeenSet;
81  bool m_onlyAvailable;
82  bool m_onlyAvailableHasBeenSet;
83  };
84 
85 } // namespace Model
86 } // namespace Route53Domains
87 } // namespace Aws
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:63
GetDomainSuggestionsRequest & WithDomainName(Aws::String &&value)
GetDomainSuggestionsRequest & WithDomainName(const Aws::String &value)
#define AWS_ROUTE53DOMAINS_API
GetDomainSuggestionsRequest & WithSuggestionCount(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
GetDomainSuggestionsRequest & WithDomainName(const char *value)
GetDomainSuggestionsRequest & WithOnlyAvailable(bool value)
JSON (JavaScript Object Notation).