AWS SDK for C++  0.12.9
AWS SDK for C++
UpdateClientCertificateRequest.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 
34  {
35  public:
37  Aws::String SerializePayload() const override;
38 
42  inline const Aws::String& GetClientCertificateId() const{ return m_clientCertificateId; }
43 
47  inline void SetClientCertificateId(const Aws::String& value) { m_clientCertificateIdHasBeenSet = true; m_clientCertificateId = value; }
48 
52  inline void SetClientCertificateId(Aws::String&& value) { m_clientCertificateIdHasBeenSet = true; m_clientCertificateId = value; }
53 
57  inline void SetClientCertificateId(const char* value) { m_clientCertificateIdHasBeenSet = true; m_clientCertificateId.assign(value); }
58 
62  inline UpdateClientCertificateRequest& WithClientCertificateId(const Aws::String& value) { SetClientCertificateId(value); return *this;}
63 
67  inline UpdateClientCertificateRequest& WithClientCertificateId(Aws::String&& value) { SetClientCertificateId(value); return *this;}
68 
72  inline UpdateClientCertificateRequest& WithClientCertificateId(const char* value) { SetClientCertificateId(value); return *this;}
73 
78  inline const Aws::Vector<PatchOperation>& GetPatchOperations() const{ return m_patchOperations; }
79 
84  inline void SetPatchOperations(const Aws::Vector<PatchOperation>& value) { m_patchOperationsHasBeenSet = true; m_patchOperations = value; }
85 
90  inline void SetPatchOperations(Aws::Vector<PatchOperation>&& value) { m_patchOperationsHasBeenSet = true; m_patchOperations = value; }
91 
96  inline UpdateClientCertificateRequest& WithPatchOperations(const Aws::Vector<PatchOperation>& value) { SetPatchOperations(value); return *this;}
97 
102  inline UpdateClientCertificateRequest& WithPatchOperations(Aws::Vector<PatchOperation>&& value) { SetPatchOperations(value); return *this;}
103 
108  inline UpdateClientCertificateRequest& AddPatchOperations(const PatchOperation& value) { m_patchOperationsHasBeenSet = true; m_patchOperations.push_back(value); return *this; }
109 
114  inline UpdateClientCertificateRequest& AddPatchOperations(PatchOperation&& value) { m_patchOperationsHasBeenSet = true; m_patchOperations.push_back(value); return *this; }
115 
116  private:
117  Aws::String m_clientCertificateId;
118  bool m_clientCertificateIdHasBeenSet;
119  Aws::Vector<PatchOperation> m_patchOperations;
120  bool m_patchOperationsHasBeenSet;
121  };
122 
123 } // namespace Model
124 } // namespace APIGateway
125 } // namespace Aws
void SetPatchOperations(Aws::Vector< PatchOperation > &&value)
UpdateClientCertificateRequest & WithPatchOperations(Aws::Vector< PatchOperation > &&value)
UpdateClientCertificateRequest & WithClientCertificateId(Aws::String &&value)
UpdateClientCertificateRequest & WithClientCertificateId(const Aws::String &value)
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:27
void SetPatchOperations(const Aws::Vector< PatchOperation > &value)
UpdateClientCertificateRequest & AddPatchOperations(const PatchOperation &value)
const Aws::Vector< PatchOperation > & GetPatchOperations() const
UpdateClientCertificateRequest & AddPatchOperations(PatchOperation &&value)
UpdateClientCertificateRequest & WithPatchOperations(const Aws::Vector< PatchOperation > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
#define AWS_APIGATEWAY_API
UpdateClientCertificateRequest & WithClientCertificateId(const char *value)
JSON (JavaScript Object Notation).