AWS SDK for C++  1.9.20
AWS SDK for C++
UpdateClientCertificateRequest.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace APIGateway
17 {
18 namespace Model
19 {
20 
28  {
29  public:
31 
32  // Service request name is the Operation name which will send this request out,
33  // each operation should has unique request name, so that we can get operation's name from this request.
34  // Note: this is not true for response, multiple operations may have the same response name,
35  // so we can not get operation's name from response.
36  inline virtual const char* GetServiceRequestName() const override { return "UpdateClientCertificate"; }
37 
38  Aws::String SerializePayload() const override;
39 
40 
45  inline const Aws::String& GetClientCertificateId() const{ return m_clientCertificateId; }
46 
51  inline bool ClientCertificateIdHasBeenSet() const { return m_clientCertificateIdHasBeenSet; }
52 
57  inline void SetClientCertificateId(const Aws::String& value) { m_clientCertificateIdHasBeenSet = true; m_clientCertificateId = value; }
58 
63  inline void SetClientCertificateId(Aws::String&& value) { m_clientCertificateIdHasBeenSet = true; m_clientCertificateId = std::move(value); }
64 
69  inline void SetClientCertificateId(const char* value) { m_clientCertificateIdHasBeenSet = true; m_clientCertificateId.assign(value); }
70 
75  inline UpdateClientCertificateRequest& WithClientCertificateId(const Aws::String& value) { SetClientCertificateId(value); return *this;}
76 
81  inline UpdateClientCertificateRequest& WithClientCertificateId(Aws::String&& value) { SetClientCertificateId(std::move(value)); return *this;}
82 
87  inline UpdateClientCertificateRequest& WithClientCertificateId(const char* value) { SetClientCertificateId(value); return *this;}
88 
89 
94  inline const Aws::Vector<PatchOperation>& GetPatchOperations() const{ return m_patchOperations; }
95 
100  inline bool PatchOperationsHasBeenSet() const { return m_patchOperationsHasBeenSet; }
101 
106  inline void SetPatchOperations(const Aws::Vector<PatchOperation>& value) { m_patchOperationsHasBeenSet = true; m_patchOperations = value; }
107 
112  inline void SetPatchOperations(Aws::Vector<PatchOperation>&& value) { m_patchOperationsHasBeenSet = true; m_patchOperations = std::move(value); }
113 
118  inline UpdateClientCertificateRequest& WithPatchOperations(const Aws::Vector<PatchOperation>& value) { SetPatchOperations(value); return *this;}
119 
124  inline UpdateClientCertificateRequest& WithPatchOperations(Aws::Vector<PatchOperation>&& value) { SetPatchOperations(std::move(value)); return *this;}
125 
130  inline UpdateClientCertificateRequest& AddPatchOperations(const PatchOperation& value) { m_patchOperationsHasBeenSet = true; m_patchOperations.push_back(value); return *this; }
131 
136  inline UpdateClientCertificateRequest& AddPatchOperations(PatchOperation&& value) { m_patchOperationsHasBeenSet = true; m_patchOperations.push_back(std::move(value)); return *this; }
137 
138  private:
139 
140  Aws::String m_clientCertificateId;
141  bool m_clientCertificateIdHasBeenSet;
142 
143  Aws::Vector<PatchOperation> m_patchOperations;
144  bool m_patchOperationsHasBeenSet;
145  };
146 
147 } // namespace Model
148 } // namespace APIGateway
149 } // namespace Aws
Aws::APIGateway::Model::UpdateClientCertificateRequest::SetPatchOperations
void SetPatchOperations(const Aws::Vector< PatchOperation > &value)
Definition: UpdateClientCertificateRequest.h:106
Aws::APIGateway::Model::UpdateClientCertificateRequest::WithClientCertificateId
UpdateClientCertificateRequest & WithClientCertificateId(Aws::String &&value)
Definition: UpdateClientCertificateRequest.h:81
AWS_APIGATEWAY_API
#define AWS_APIGATEWAY_API
Definition: APIGateway_EXPORTS.h:28
Aws::APIGateway::Model::UpdateClientCertificateRequest::GetClientCertificateId
const Aws::String & GetClientCertificateId() const
Definition: UpdateClientCertificateRequest.h:45
Aws::APIGateway::Model::UpdateClientCertificateRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::APIGateway::Model::UpdateClientCertificateRequest::WithPatchOperations
UpdateClientCertificateRequest & WithPatchOperations(Aws::Vector< PatchOperation > &&value)
Definition: UpdateClientCertificateRequest.h:124
Aws::APIGateway::Model::UpdateClientCertificateRequest::SetClientCertificateId
void SetClientCertificateId(const Aws::String &value)
Definition: UpdateClientCertificateRequest.h:57
Aws::APIGateway::Model::UpdateClientCertificateRequest::AddPatchOperations
UpdateClientCertificateRequest & AddPatchOperations(const PatchOperation &value)
Definition: UpdateClientCertificateRequest.h:130
APIGateway_EXPORTS.h
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::APIGateway::Model::UpdateClientCertificateRequest::UpdateClientCertificateRequest
UpdateClientCertificateRequest()
AWSVector.h
Aws::APIGateway::Model::UpdateClientCertificateRequest::SetClientCertificateId
void SetClientCertificateId(const char *value)
Definition: UpdateClientCertificateRequest.h:69
APIGatewayRequest.h
Aws::APIGateway::Model::UpdateClientCertificateRequest::WithClientCertificateId
UpdateClientCertificateRequest & WithClientCertificateId(const Aws::String &value)
Definition: UpdateClientCertificateRequest.h:75
Aws::APIGateway::Model::UpdateClientCertificateRequest::SetClientCertificateId
void SetClientCertificateId(Aws::String &&value)
Definition: UpdateClientCertificateRequest.h:63
Aws::APIGateway::Model::UpdateClientCertificateRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateClientCertificateRequest.h:36
Aws::APIGateway::Model::UpdateClientCertificateRequest::WithPatchOperations
UpdateClientCertificateRequest & WithPatchOperations(const Aws::Vector< PatchOperation > &value)
Definition: UpdateClientCertificateRequest.h:118
Aws::APIGateway::Model::UpdateClientCertificateRequest::SetPatchOperations
void SetPatchOperations(Aws::Vector< PatchOperation > &&value)
Definition: UpdateClientCertificateRequest.h:112
Aws::APIGateway::Model::UpdateClientCertificateRequest::ClientCertificateIdHasBeenSet
bool ClientCertificateIdHasBeenSet() const
Definition: UpdateClientCertificateRequest.h:51
Aws::APIGateway::Model::UpdateClientCertificateRequest::PatchOperationsHasBeenSet
bool PatchOperationsHasBeenSet() const
Definition: UpdateClientCertificateRequest.h:100
Aws::APIGateway::Model::UpdateClientCertificateRequest::WithClientCertificateId
UpdateClientCertificateRequest & WithClientCertificateId(const char *value)
Definition: UpdateClientCertificateRequest.h:87
Aws::APIGateway::Model::UpdateClientCertificateRequest
Definition: UpdateClientCertificateRequest.h:28
AWSString.h
Aws
Definition: AccessManagementClient.h:15
PatchOperation.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::APIGateway::Model::UpdateClientCertificateRequest::GetPatchOperations
const Aws::Vector< PatchOperation > & GetPatchOperations() const
Definition: UpdateClientCertificateRequest.h:94
Aws::APIGateway::Model::UpdateClientCertificateRequest::AddPatchOperations
UpdateClientCertificateRequest & AddPatchOperations(PatchOperation &&value)
Definition: UpdateClientCertificateRequest.h:136
Aws::APIGateway::Model::PatchOperation
Definition: PatchOperation.h:35
Aws::APIGateway::APIGatewayRequest
Definition: APIGatewayRequest.h:18