AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
UpdateAuthorizerRequest.h
1
6#pragma once
7#include <aws/apigateway/APIGateway_EXPORTS.h>
8#include <aws/apigateway/APIGatewayRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/apigateway/model/PatchOperation.h>
12#include <utility>
13
14namespace Aws
15{
16namespace APIGateway
17{
18namespace Model
19{
20
28 {
29 public:
30 AWS_APIGATEWAY_API UpdateAuthorizerRequest() = default;
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 "UpdateAuthorizer"; }
37
38 AWS_APIGATEWAY_API Aws::String SerializePayload() const override;
39
40
42
45 inline const Aws::String& GetRestApiId() const { return m_restApiId; }
46 inline bool RestApiIdHasBeenSet() const { return m_restApiIdHasBeenSet; }
47 template<typename RestApiIdT = Aws::String>
48 void SetRestApiId(RestApiIdT&& value) { m_restApiIdHasBeenSet = true; m_restApiId = std::forward<RestApiIdT>(value); }
49 template<typename RestApiIdT = Aws::String>
50 UpdateAuthorizerRequest& WithRestApiId(RestApiIdT&& value) { SetRestApiId(std::forward<RestApiIdT>(value)); return *this;}
52
54
57 inline const Aws::String& GetAuthorizerId() const { return m_authorizerId; }
58 inline bool AuthorizerIdHasBeenSet() const { return m_authorizerIdHasBeenSet; }
59 template<typename AuthorizerIdT = Aws::String>
60 void SetAuthorizerId(AuthorizerIdT&& value) { m_authorizerIdHasBeenSet = true; m_authorizerId = std::forward<AuthorizerIdT>(value); }
61 template<typename AuthorizerIdT = Aws::String>
62 UpdateAuthorizerRequest& WithAuthorizerId(AuthorizerIdT&& value) { SetAuthorizerId(std::forward<AuthorizerIdT>(value)); return *this;}
64
66
71 inline const Aws::Vector<PatchOperation>& GetPatchOperations() const { return m_patchOperations; }
72 inline bool PatchOperationsHasBeenSet() const { return m_patchOperationsHasBeenSet; }
73 template<typename PatchOperationsT = Aws::Vector<PatchOperation>>
74 void SetPatchOperations(PatchOperationsT&& value) { m_patchOperationsHasBeenSet = true; m_patchOperations = std::forward<PatchOperationsT>(value); }
75 template<typename PatchOperationsT = Aws::Vector<PatchOperation>>
76 UpdateAuthorizerRequest& WithPatchOperations(PatchOperationsT&& value) { SetPatchOperations(std::forward<PatchOperationsT>(value)); return *this;}
77 template<typename PatchOperationsT = PatchOperation>
78 UpdateAuthorizerRequest& AddPatchOperations(PatchOperationsT&& value) { m_patchOperationsHasBeenSet = true; m_patchOperations.emplace_back(std::forward<PatchOperationsT>(value)); return *this; }
80 private:
81
82 Aws::String m_restApiId;
83 bool m_restApiIdHasBeenSet = false;
84
85 Aws::String m_authorizerId;
86 bool m_authorizerIdHasBeenSet = false;
87
88 Aws::Vector<PatchOperation> m_patchOperations;
89 bool m_patchOperationsHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace APIGateway
94} // namespace Aws
AWS_APIGATEWAY_API UpdateAuthorizerRequest()=default
UpdateAuthorizerRequest & WithPatchOperations(PatchOperationsT &&value)
UpdateAuthorizerRequest & WithRestApiId(RestApiIdT &&value)
AWS_APIGATEWAY_API Aws::String SerializePayload() const override
UpdateAuthorizerRequest & AddPatchOperations(PatchOperationsT &&value)
UpdateAuthorizerRequest & WithAuthorizerId(AuthorizerIdT &&value)
const Aws::Vector< PatchOperation > & GetPatchOperations() const
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector