AWS SDK for C++  0.12.9
AWS SDK for C++
UpdateDomainNameserversRequest.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
21 
22 namespace Aws
23 {
24 namespace Route53Domains
25 {
26 namespace Model
27 {
28 
33  {
34  public:
36  Aws::String SerializePayload() const override;
37 
38  Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
39 
46  inline const Aws::String& GetDomainName() const{ return m_domainName; }
47 
54  inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
55 
62  inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
63 
70  inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
71 
78  inline UpdateDomainNameserversRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
79 
86  inline UpdateDomainNameserversRequest& WithDomainName(Aws::String&& value) { SetDomainName(value); return *this;}
87 
94  inline UpdateDomainNameserversRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;}
95 
99  inline const Aws::String& GetFIAuthKey() const{ return m_fIAuthKey; }
100 
104  inline void SetFIAuthKey(const Aws::String& value) { m_fIAuthKeyHasBeenSet = true; m_fIAuthKey = value; }
105 
109  inline void SetFIAuthKey(Aws::String&& value) { m_fIAuthKeyHasBeenSet = true; m_fIAuthKey = value; }
110 
114  inline void SetFIAuthKey(const char* value) { m_fIAuthKeyHasBeenSet = true; m_fIAuthKey.assign(value); }
115 
119  inline UpdateDomainNameserversRequest& WithFIAuthKey(const Aws::String& value) { SetFIAuthKey(value); return *this;}
120 
124  inline UpdateDomainNameserversRequest& WithFIAuthKey(Aws::String&& value) { SetFIAuthKey(value); return *this;}
125 
129  inline UpdateDomainNameserversRequest& WithFIAuthKey(const char* value) { SetFIAuthKey(value); return *this;}
130 
135  inline const Aws::Vector<Nameserver>& GetNameservers() const{ return m_nameservers; }
136 
141  inline void SetNameservers(const Aws::Vector<Nameserver>& value) { m_nameserversHasBeenSet = true; m_nameservers = value; }
142 
147  inline void SetNameservers(Aws::Vector<Nameserver>&& value) { m_nameserversHasBeenSet = true; m_nameservers = value; }
148 
153  inline UpdateDomainNameserversRequest& WithNameservers(const Aws::Vector<Nameserver>& value) { SetNameservers(value); return *this;}
154 
159  inline UpdateDomainNameserversRequest& WithNameservers(Aws::Vector<Nameserver>&& value) { SetNameservers(value); return *this;}
160 
165  inline UpdateDomainNameserversRequest& AddNameservers(const Nameserver& value) { m_nameserversHasBeenSet = true; m_nameservers.push_back(value); return *this; }
166 
171  inline UpdateDomainNameserversRequest& AddNameservers(Nameserver&& value) { m_nameserversHasBeenSet = true; m_nameservers.push_back(value); return *this; }
172 
173  private:
174  Aws::String m_domainName;
175  bool m_domainNameHasBeenSet;
176  Aws::String m_fIAuthKey;
177  bool m_fIAuthKeyHasBeenSet;
178  Aws::Vector<Nameserver> m_nameservers;
179  bool m_nameserversHasBeenSet;
180  };
181 
182 } // namespace Model
183 } // namespace Route53Domains
184 } // namespace Aws
UpdateDomainNameserversRequest & WithFIAuthKey(const Aws::String &value)
UpdateDomainNameserversRequest & WithDomainName(Aws::String &&value)
UpdateDomainNameserversRequest & WithFIAuthKey(Aws::String &&value)
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:27
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:63
UpdateDomainNameserversRequest & WithNameservers(const Aws::Vector< Nameserver > &value)
UpdateDomainNameserversRequest & WithDomainName(const char *value)
UpdateDomainNameserversRequest & WithNameservers(Aws::Vector< Nameserver > &&value)
#define AWS_ROUTE53DOMAINS_API
UpdateDomainNameserversRequest & AddNameservers(Nameserver &&value)
UpdateDomainNameserversRequest & WithFIAuthKey(const char *value)
UpdateDomainNameserversRequest & AddNameservers(const Nameserver &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
UpdateDomainNameserversRequest & WithDomainName(const Aws::String &value)
JSON (JavaScript Object Notation).