AWS SDK for C++  0.14.3
AWS SDK for C++
ChangeResourceRecordSetsRequest.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
20 
21 namespace Aws
22 {
23 namespace Route53
24 {
25 namespace Model
26 {
27 
32  {
33  public:
35  Aws::String SerializePayload() const override;
36 
41  inline const Aws::String& GetHostedZoneId() const{ return m_hostedZoneId; }
42 
47  inline void SetHostedZoneId(const Aws::String& value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId = value; }
48 
53  inline void SetHostedZoneId(Aws::String&& value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId = value; }
54 
59  inline void SetHostedZoneId(const char* value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId.assign(value); }
60 
65  inline ChangeResourceRecordSetsRequest& WithHostedZoneId(const Aws::String& value) { SetHostedZoneId(value); return *this;}
66 
71  inline ChangeResourceRecordSetsRequest& WithHostedZoneId(Aws::String&& value) { SetHostedZoneId(value); return *this;}
72 
77  inline ChangeResourceRecordSetsRequest& WithHostedZoneId(const char* value) { SetHostedZoneId(value); return *this;}
78 
83  inline const ChangeBatch& GetChangeBatch() const{ return m_changeBatch; }
84 
89  inline void SetChangeBatch(const ChangeBatch& value) { m_changeBatchHasBeenSet = true; m_changeBatch = value; }
90 
95  inline void SetChangeBatch(ChangeBatch&& value) { m_changeBatchHasBeenSet = true; m_changeBatch = value; }
96 
101  inline ChangeResourceRecordSetsRequest& WithChangeBatch(const ChangeBatch& value) { SetChangeBatch(value); return *this;}
102 
107  inline ChangeResourceRecordSetsRequest& WithChangeBatch(ChangeBatch&& value) { SetChangeBatch(value); return *this;}
108 
109  private:
110  Aws::String m_hostedZoneId;
111  bool m_hostedZoneIdHasBeenSet;
112  ChangeBatch m_changeBatch;
113  bool m_changeBatchHasBeenSet;
114  };
115 
116 } // namespace Model
117 } // namespace Route53
118 } // namespace Aws
#define AWS_ROUTE53_API
ChangeResourceRecordSetsRequest & WithHostedZoneId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
ChangeResourceRecordSetsRequest & WithChangeBatch(const ChangeBatch &value)
ChangeResourceRecordSetsRequest & WithChangeBatch(ChangeBatch &&value)
ChangeResourceRecordSetsRequest & WithHostedZoneId(Aws::String &&value)
ChangeResourceRecordSetsRequest & WithHostedZoneId(const Aws::String &value)
JSON (JavaScript Object Notation).