AWS SDK for C++  0.14.3
AWS SDK for C++
CreateReusableDelegationSetRequest.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 Route53
23 {
24 namespace Model
25 {
26 
30  {
31  public:
33  Aws::String SerializePayload() const override;
34 
46  inline const Aws::String& GetCallerReference() const{ return m_callerReference; }
47 
59  inline void SetCallerReference(const Aws::String& value) { m_callerReferenceHasBeenSet = true; m_callerReference = value; }
60 
72  inline void SetCallerReference(Aws::String&& value) { m_callerReferenceHasBeenSet = true; m_callerReference = value; }
73 
85  inline void SetCallerReference(const char* value) { m_callerReferenceHasBeenSet = true; m_callerReference.assign(value); }
86 
98  inline CreateReusableDelegationSetRequest& WithCallerReference(const Aws::String& value) { SetCallerReference(value); return *this;}
99 
111  inline CreateReusableDelegationSetRequest& WithCallerReference(Aws::String&& value) { SetCallerReference(value); return *this;}
112 
124  inline CreateReusableDelegationSetRequest& WithCallerReference(const char* value) { SetCallerReference(value); return *this;}
125 
130  inline const Aws::String& GetHostedZoneId() const{ return m_hostedZoneId; }
131 
136  inline void SetHostedZoneId(const Aws::String& value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId = value; }
137 
142  inline void SetHostedZoneId(Aws::String&& value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId = value; }
143 
148  inline void SetHostedZoneId(const char* value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId.assign(value); }
149 
154  inline CreateReusableDelegationSetRequest& WithHostedZoneId(const Aws::String& value) { SetHostedZoneId(value); return *this;}
155 
160  inline CreateReusableDelegationSetRequest& WithHostedZoneId(Aws::String&& value) { SetHostedZoneId(value); return *this;}
161 
166  inline CreateReusableDelegationSetRequest& WithHostedZoneId(const char* value) { SetHostedZoneId(value); return *this;}
167 
168  private:
169  Aws::String m_callerReference;
170  bool m_callerReferenceHasBeenSet;
171  Aws::String m_hostedZoneId;
172  bool m_hostedZoneIdHasBeenSet;
173  };
174 
175 } // namespace Model
176 } // namespace Route53
177 } // namespace Aws
CreateReusableDelegationSetRequest & WithCallerReference(const char *value)
CreateReusableDelegationSetRequest & WithCallerReference(Aws::String &&value)
CreateReusableDelegationSetRequest & WithHostedZoneId(const Aws::String &value)
CreateReusableDelegationSetRequest & WithHostedZoneId(const char *value)
#define AWS_ROUTE53_API
CreateReusableDelegationSetRequest & WithHostedZoneId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
CreateReusableDelegationSetRequest & WithCallerReference(const Aws::String &value)
JSON (JavaScript Object Notation).