AWS SDK for C++  0.14.3
AWS SDK for C++
DisassociateVPCFromHostedZoneRequest.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 #include <aws/route53/model/VPC.h>
20 
21 namespace Aws
22 {
23 namespace Route53
24 {
25 namespace Model
26 {
27 
33  {
34  public:
36  Aws::String SerializePayload() const override;
37 
42  inline const Aws::String& GetHostedZoneId() const{ return m_hostedZoneId; }
43 
48  inline void SetHostedZoneId(const Aws::String& value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId = value; }
49 
54  inline void SetHostedZoneId(Aws::String&& value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId = value; }
55 
60  inline void SetHostedZoneId(const char* value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId.assign(value); }
61 
66  inline DisassociateVPCFromHostedZoneRequest& WithHostedZoneId(const Aws::String& value) { SetHostedZoneId(value); return *this;}
67 
72  inline DisassociateVPCFromHostedZoneRequest& WithHostedZoneId(Aws::String&& value) { SetHostedZoneId(value); return *this;}
73 
78  inline DisassociateVPCFromHostedZoneRequest& WithHostedZoneId(const char* value) { SetHostedZoneId(value); return *this;}
79 
83  inline const VPC& GetVPC() const{ return m_vPC; }
84 
88  inline void SetVPC(const VPC& value) { m_vPCHasBeenSet = true; m_vPC = value; }
89 
93  inline void SetVPC(VPC&& value) { m_vPCHasBeenSet = true; m_vPC = value; }
94 
98  inline DisassociateVPCFromHostedZoneRequest& WithVPC(const VPC& value) { SetVPC(value); return *this;}
99 
103  inline DisassociateVPCFromHostedZoneRequest& WithVPC(VPC&& value) { SetVPC(value); return *this;}
104 
109  inline const Aws::String& GetComment() const{ return m_comment; }
110 
115  inline void SetComment(const Aws::String& value) { m_commentHasBeenSet = true; m_comment = value; }
116 
121  inline void SetComment(Aws::String&& value) { m_commentHasBeenSet = true; m_comment = value; }
122 
127  inline void SetComment(const char* value) { m_commentHasBeenSet = true; m_comment.assign(value); }
128 
133  inline DisassociateVPCFromHostedZoneRequest& WithComment(const Aws::String& value) { SetComment(value); return *this;}
134 
139  inline DisassociateVPCFromHostedZoneRequest& WithComment(Aws::String&& value) { SetComment(value); return *this;}
140 
145  inline DisassociateVPCFromHostedZoneRequest& WithComment(const char* value) { SetComment(value); return *this;}
146 
147  private:
148  Aws::String m_hostedZoneId;
149  bool m_hostedZoneIdHasBeenSet;
150  VPC m_vPC;
151  bool m_vPCHasBeenSet;
152  Aws::String m_comment;
153  bool m_commentHasBeenSet;
154  };
155 
156 } // namespace Model
157 } // namespace Route53
158 } // namespace Aws
DisassociateVPCFromHostedZoneRequest & WithComment(const Aws::String &value)
DisassociateVPCFromHostedZoneRequest & WithHostedZoneId(Aws::String &&value)
DisassociateVPCFromHostedZoneRequest & WithComment(const char *value)
DisassociateVPCFromHostedZoneRequest & WithVPC(const VPC &value)
DisassociateVPCFromHostedZoneRequest & WithHostedZoneId(const Aws::String &value)
#define AWS_ROUTE53_API
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
DisassociateVPCFromHostedZoneRequest & WithComment(Aws::String &&value)
DisassociateVPCFromHostedZoneRequest & WithHostedZoneId(const char *value)
JSON (JavaScript Object Notation).