AWS SDK for C++  0.14.3
AWS SDK for C++
DomainSuggestion.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
18 
19 namespace Aws
20 {
21 namespace Utils
22 {
23 namespace Json
24 {
25  class JsonValue;
26 } // namespace Json
27 } // namespace Utils
28 namespace Route53Domains
29 {
30 namespace Model
31 {
32 
34  {
35  public:
38  DomainSuggestion& operator=(const Aws::Utils::Json::JsonValue& jsonValue);
39  Aws::Utils::Json::JsonValue Jsonize() const;
40 
41 
42  inline const Aws::String& GetDomainName() const{ return m_domainName; }
43 
44 
45  inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
46 
47 
48  inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
49 
50 
51  inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
52 
53 
54  inline DomainSuggestion& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
55 
56 
57  inline DomainSuggestion& WithDomainName(Aws::String&& value) { SetDomainName(value); return *this;}
58 
59 
60  inline DomainSuggestion& WithDomainName(const char* value) { SetDomainName(value); return *this;}
61 
62 
63  inline const Aws::String& GetAvailability() const{ return m_availability; }
64 
65 
66  inline void SetAvailability(const Aws::String& value) { m_availabilityHasBeenSet = true; m_availability = value; }
67 
68 
69  inline void SetAvailability(Aws::String&& value) { m_availabilityHasBeenSet = true; m_availability = value; }
70 
71 
72  inline void SetAvailability(const char* value) { m_availabilityHasBeenSet = true; m_availability.assign(value); }
73 
74 
75  inline DomainSuggestion& WithAvailability(const Aws::String& value) { SetAvailability(value); return *this;}
76 
77 
78  inline DomainSuggestion& WithAvailability(Aws::String&& value) { SetAvailability(value); return *this;}
79 
80 
81  inline DomainSuggestion& WithAvailability(const char* value) { SetAvailability(value); return *this;}
82 
83  private:
84  Aws::String m_domainName;
85  bool m_domainNameHasBeenSet;
86  Aws::String m_availability;
87  bool m_availabilityHasBeenSet;
88  };
89 
90 } // namespace Model
91 } // namespace Route53Domains
92 } // namespace Aws
void SetDomainName(const Aws::String &value)
#define AWS_ROUTE53DOMAINS_API
void SetAvailability(const Aws::String &value)
DomainSuggestion & WithDomainName(Aws::String &&value)
const Aws::String & GetAvailability() const
DomainSuggestion & WithAvailability(Aws::String &&value)
DomainSuggestion & WithDomainName(const char *value)
DomainSuggestion & WithAvailability(const Aws::String &value)
DomainSuggestion & WithDomainName(const Aws::String &value)
const Aws::String & GetDomainName() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
DomainSuggestion & WithAvailability(const char *value)
JSON (JavaScript Object Notation).