AWS SDK for C++

AWS SDK for C++ Version 1.11.766

Loading...
Searching...
No Matches
UpdateClientCertificateRequest.h
1
6#pragma once
7#include <aws/apigateway/APIGatewayRequest.h>
8#include <aws/apigateway/APIGateway_EXPORTS.h>
9#include <aws/apigateway/model/PatchOperation.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12
13#include <utility>
14
15namespace Aws {
16namespace APIGateway {
17namespace Model {
18
26 public:
27 AWS_APIGATEWAY_API UpdateClientCertificateRequest() = default;
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "UpdateClientCertificate"; }
34
35 AWS_APIGATEWAY_API Aws::String SerializePayload() const override;
36
38
41 inline const Aws::String& GetClientCertificateId() const { return m_clientCertificateId; }
42 inline bool ClientCertificateIdHasBeenSet() const { return m_clientCertificateIdHasBeenSet; }
43 template <typename ClientCertificateIdT = Aws::String>
44 void SetClientCertificateId(ClientCertificateIdT&& value) {
45 m_clientCertificateIdHasBeenSet = true;
46 m_clientCertificateId = std::forward<ClientCertificateIdT>(value);
47 }
48 template <typename ClientCertificateIdT = Aws::String>
50 SetClientCertificateId(std::forward<ClientCertificateIdT>(value));
51 return *this;
52 }
54
56
61 inline const Aws::Vector<PatchOperation>& GetPatchOperations() const { return m_patchOperations; }
62 inline bool PatchOperationsHasBeenSet() const { return m_patchOperationsHasBeenSet; }
63 template <typename PatchOperationsT = Aws::Vector<PatchOperation>>
64 void SetPatchOperations(PatchOperationsT&& value) {
65 m_patchOperationsHasBeenSet = true;
66 m_patchOperations = std::forward<PatchOperationsT>(value);
67 }
68 template <typename PatchOperationsT = Aws::Vector<PatchOperation>>
70 SetPatchOperations(std::forward<PatchOperationsT>(value));
71 return *this;
72 }
73 template <typename PatchOperationsT = PatchOperation>
75 m_patchOperationsHasBeenSet = true;
76 m_patchOperations.emplace_back(std::forward<PatchOperationsT>(value));
77 return *this;
78 }
80 private:
81 Aws::String m_clientCertificateId;
82
83 Aws::Vector<PatchOperation> m_patchOperations;
84 bool m_clientCertificateIdHasBeenSet = false;
85 bool m_patchOperationsHasBeenSet = false;
86};
87
88} // namespace Model
89} // namespace APIGateway
90} // namespace Aws
AWS_APIGATEWAY_API Aws::String SerializePayload() const override
UpdateClientCertificateRequest & WithPatchOperations(PatchOperationsT &&value)
UpdateClientCertificateRequest & WithClientCertificateId(ClientCertificateIdT &&value)
const Aws::Vector< PatchOperation > & GetPatchOperations() const
UpdateClientCertificateRequest & AddPatchOperations(PatchOperationsT &&value)
AWS_APIGATEWAY_API UpdateClientCertificateRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector