AWS SDK for C++  0.14.3
AWS SDK for C++
UpdateDomainNameRequest.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 APIGateway
25 {
26 namespace Model
27 {
28 
33  {
34  public:
36  Aws::String SerializePayload() const override;
37 
41  inline const Aws::String& GetDomainName() const{ return m_domainName; }
42 
46  inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
47 
51  inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
52 
56  inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
57 
61  inline UpdateDomainNameRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
62 
66  inline UpdateDomainNameRequest& WithDomainName(Aws::String&& value) { SetDomainName(value); return *this;}
67 
71  inline UpdateDomainNameRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;}
72 
77  inline const Aws::Vector<PatchOperation>& GetPatchOperations() const{ return m_patchOperations; }
78 
83  inline void SetPatchOperations(const Aws::Vector<PatchOperation>& value) { m_patchOperationsHasBeenSet = true; m_patchOperations = value; }
84 
89  inline void SetPatchOperations(Aws::Vector<PatchOperation>&& value) { m_patchOperationsHasBeenSet = true; m_patchOperations = value; }
90 
95  inline UpdateDomainNameRequest& WithPatchOperations(const Aws::Vector<PatchOperation>& value) { SetPatchOperations(value); return *this;}
96 
101  inline UpdateDomainNameRequest& WithPatchOperations(Aws::Vector<PatchOperation>&& value) { SetPatchOperations(value); return *this;}
102 
107  inline UpdateDomainNameRequest& AddPatchOperations(const PatchOperation& value) { m_patchOperationsHasBeenSet = true; m_patchOperations.push_back(value); return *this; }
108 
113  inline UpdateDomainNameRequest& AddPatchOperations(PatchOperation&& value) { m_patchOperationsHasBeenSet = true; m_patchOperations.push_back(value); return *this; }
114 
115  private:
116  Aws::String m_domainName;
117  bool m_domainNameHasBeenSet;
118  Aws::Vector<PatchOperation> m_patchOperations;
119  bool m_patchOperationsHasBeenSet;
120  };
121 
122 } // namespace Model
123 } // namespace APIGateway
124 } // namespace Aws
UpdateDomainNameRequest & WithDomainName(const Aws::String &value)
UpdateDomainNameRequest & AddPatchOperations(const PatchOperation &value)
UpdateDomainNameRequest & WithPatchOperations(Aws::Vector< PatchOperation > &&value)
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:27
UpdateDomainNameRequest & WithDomainName(const char *value)
UpdateDomainNameRequest & WithDomainName(Aws::String &&value)
void SetPatchOperations(const Aws::Vector< PatchOperation > &value)
const Aws::Vector< PatchOperation > & GetPatchOperations() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
#define AWS_APIGATEWAY_API
void SetPatchOperations(Aws::Vector< PatchOperation > &&value)
UpdateDomainNameRequest & AddPatchOperations(PatchOperation &&value)
UpdateDomainNameRequest & WithPatchOperations(const Aws::Vector< PatchOperation > &value)
JSON (JavaScript Object Notation).