AWS SDK for C++  1.9.123
AWS SDK for C++
UpdateRequestValidatorRequest.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 "UpdateRequestValidator"; }
37 
38  Aws::String SerializePayload() const override;
39 
40 
44  inline const Aws::String& GetRestApiId() const{ return m_restApiId; }
45 
49  inline bool RestApiIdHasBeenSet() const { return m_restApiIdHasBeenSet; }
50 
54  inline void SetRestApiId(const Aws::String& value) { m_restApiIdHasBeenSet = true; m_restApiId = value; }
55 
59  inline void SetRestApiId(Aws::String&& value) { m_restApiIdHasBeenSet = true; m_restApiId = std::move(value); }
60 
64  inline void SetRestApiId(const char* value) { m_restApiIdHasBeenSet = true; m_restApiId.assign(value); }
65 
69  inline UpdateRequestValidatorRequest& WithRestApiId(const Aws::String& value) { SetRestApiId(value); return *this;}
70 
74  inline UpdateRequestValidatorRequest& WithRestApiId(Aws::String&& value) { SetRestApiId(std::move(value)); return *this;}
75 
79  inline UpdateRequestValidatorRequest& WithRestApiId(const char* value) { SetRestApiId(value); return *this;}
80 
81 
85  inline const Aws::String& GetRequestValidatorId() const{ return m_requestValidatorId; }
86 
90  inline bool RequestValidatorIdHasBeenSet() const { return m_requestValidatorIdHasBeenSet; }
91 
95  inline void SetRequestValidatorId(const Aws::String& value) { m_requestValidatorIdHasBeenSet = true; m_requestValidatorId = value; }
96 
100  inline void SetRequestValidatorId(Aws::String&& value) { m_requestValidatorIdHasBeenSet = true; m_requestValidatorId = std::move(value); }
101 
105  inline void SetRequestValidatorId(const char* value) { m_requestValidatorIdHasBeenSet = true; m_requestValidatorId.assign(value); }
106 
110  inline UpdateRequestValidatorRequest& WithRequestValidatorId(const Aws::String& value) { SetRequestValidatorId(value); return *this;}
111 
115  inline UpdateRequestValidatorRequest& WithRequestValidatorId(Aws::String&& value) { SetRequestValidatorId(std::move(value)); return *this;}
116 
120  inline UpdateRequestValidatorRequest& WithRequestValidatorId(const char* value) { SetRequestValidatorId(value); return *this;}
121 
122 
127  inline const Aws::Vector<PatchOperation>& GetPatchOperations() const{ return m_patchOperations; }
128 
133  inline bool PatchOperationsHasBeenSet() const { return m_patchOperationsHasBeenSet; }
134 
139  inline void SetPatchOperations(const Aws::Vector<PatchOperation>& value) { m_patchOperationsHasBeenSet = true; m_patchOperations = value; }
140 
145  inline void SetPatchOperations(Aws::Vector<PatchOperation>&& value) { m_patchOperationsHasBeenSet = true; m_patchOperations = std::move(value); }
146 
151  inline UpdateRequestValidatorRequest& WithPatchOperations(const Aws::Vector<PatchOperation>& value) { SetPatchOperations(value); return *this;}
152 
157  inline UpdateRequestValidatorRequest& WithPatchOperations(Aws::Vector<PatchOperation>&& value) { SetPatchOperations(std::move(value)); return *this;}
158 
163  inline UpdateRequestValidatorRequest& AddPatchOperations(const PatchOperation& value) { m_patchOperationsHasBeenSet = true; m_patchOperations.push_back(value); return *this; }
164 
169  inline UpdateRequestValidatorRequest& AddPatchOperations(PatchOperation&& value) { m_patchOperationsHasBeenSet = true; m_patchOperations.push_back(std::move(value)); return *this; }
170 
171  private:
172 
173  Aws::String m_restApiId;
174  bool m_restApiIdHasBeenSet;
175 
176  Aws::String m_requestValidatorId;
177  bool m_requestValidatorIdHasBeenSet;
178 
179  Aws::Vector<PatchOperation> m_patchOperations;
180  bool m_patchOperationsHasBeenSet;
181  };
182 
183 } // namespace Model
184 } // namespace APIGateway
185 } // namespace Aws
Aws::APIGateway::Model::UpdateRequestValidatorRequest::WithRequestValidatorId
UpdateRequestValidatorRequest & WithRequestValidatorId(Aws::String &&value)
Definition: UpdateRequestValidatorRequest.h:115
Aws::APIGateway::Model::UpdateRequestValidatorRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateRequestValidatorRequest.h:36
Aws::APIGateway::Model::UpdateRequestValidatorRequest::SetRestApiId
void SetRestApiId(Aws::String &&value)
Definition: UpdateRequestValidatorRequest.h:59
AWS_APIGATEWAY_API
#define AWS_APIGATEWAY_API
Definition: APIGateway_EXPORTS.h:28
Aws::APIGateway::Model::UpdateRequestValidatorRequest::SetRequestValidatorId
void SetRequestValidatorId(const Aws::String &value)
Definition: UpdateRequestValidatorRequest.h:95
Aws::APIGateway::Model::UpdateRequestValidatorRequest::PatchOperationsHasBeenSet
bool PatchOperationsHasBeenSet() const
Definition: UpdateRequestValidatorRequest.h:133
Aws::APIGateway::Model::UpdateRequestValidatorRequest::SetRequestValidatorId
void SetRequestValidatorId(Aws::String &&value)
Definition: UpdateRequestValidatorRequest.h:100
Aws::APIGateway::Model::UpdateRequestValidatorRequest::WithRestApiId
UpdateRequestValidatorRequest & WithRestApiId(const char *value)
Definition: UpdateRequestValidatorRequest.h:79
APIGateway_EXPORTS.h
Aws::APIGateway::Model::UpdateRequestValidatorRequest::AddPatchOperations
UpdateRequestValidatorRequest & AddPatchOperations(PatchOperation &&value)
Definition: UpdateRequestValidatorRequest.h:169
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::APIGateway::Model::UpdateRequestValidatorRequest::WithRequestValidatorId
UpdateRequestValidatorRequest & WithRequestValidatorId(const Aws::String &value)
Definition: UpdateRequestValidatorRequest.h:110
AWSVector.h
Aws::APIGateway::Model::UpdateRequestValidatorRequest::SetPatchOperations
void SetPatchOperations(Aws::Vector< PatchOperation > &&value)
Definition: UpdateRequestValidatorRequest.h:145
Aws::APIGateway::Model::UpdateRequestValidatorRequest
Definition: UpdateRequestValidatorRequest.h:28
APIGatewayRequest.h
Aws::APIGateway::Model::UpdateRequestValidatorRequest::SetRestApiId
void SetRestApiId(const Aws::String &value)
Definition: UpdateRequestValidatorRequest.h:54
Aws::APIGateway::Model::UpdateRequestValidatorRequest::WithRequestValidatorId
UpdateRequestValidatorRequest & WithRequestValidatorId(const char *value)
Definition: UpdateRequestValidatorRequest.h:120
Aws::APIGateway::Model::UpdateRequestValidatorRequest::RequestValidatorIdHasBeenSet
bool RequestValidatorIdHasBeenSet() const
Definition: UpdateRequestValidatorRequest.h:90
AWSString.h
Aws::APIGateway::Model::UpdateRequestValidatorRequest::GetPatchOperations
const Aws::Vector< PatchOperation > & GetPatchOperations() const
Definition: UpdateRequestValidatorRequest.h:127
Aws::APIGateway::Model::UpdateRequestValidatorRequest::WithRestApiId
UpdateRequestValidatorRequest & WithRestApiId(const Aws::String &value)
Definition: UpdateRequestValidatorRequest.h:69
Aws::APIGateway::Model::UpdateRequestValidatorRequest::WithPatchOperations
UpdateRequestValidatorRequest & WithPatchOperations(Aws::Vector< PatchOperation > &&value)
Definition: UpdateRequestValidatorRequest.h:157
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::UpdateRequestValidatorRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::APIGateway::Model::UpdateRequestValidatorRequest::RestApiIdHasBeenSet
bool RestApiIdHasBeenSet() const
Definition: UpdateRequestValidatorRequest.h:49
Aws::APIGateway::Model::UpdateRequestValidatorRequest::GetRestApiId
const Aws::String & GetRestApiId() const
Definition: UpdateRequestValidatorRequest.h:44
Aws::APIGateway::Model::UpdateRequestValidatorRequest::SetRequestValidatorId
void SetRequestValidatorId(const char *value)
Definition: UpdateRequestValidatorRequest.h:105
Aws::APIGateway::Model::PatchOperation
Definition: PatchOperation.h:35
Aws::APIGateway::Model::UpdateRequestValidatorRequest::SetPatchOperations
void SetPatchOperations(const Aws::Vector< PatchOperation > &value)
Definition: UpdateRequestValidatorRequest.h:139
Aws::APIGateway::APIGatewayRequest
Definition: APIGatewayRequest.h:18
Aws::APIGateway::Model::UpdateRequestValidatorRequest::WithPatchOperations
UpdateRequestValidatorRequest & WithPatchOperations(const Aws::Vector< PatchOperation > &value)
Definition: UpdateRequestValidatorRequest.h:151
Aws::APIGateway::Model::UpdateRequestValidatorRequest::GetRequestValidatorId
const Aws::String & GetRequestValidatorId() const
Definition: UpdateRequestValidatorRequest.h:85
Aws::APIGateway::Model::UpdateRequestValidatorRequest::WithRestApiId
UpdateRequestValidatorRequest & WithRestApiId(Aws::String &&value)
Definition: UpdateRequestValidatorRequest.h:74
Aws::APIGateway::Model::UpdateRequestValidatorRequest::AddPatchOperations
UpdateRequestValidatorRequest & AddPatchOperations(const PatchOperation &value)
Definition: UpdateRequestValidatorRequest.h:163
Aws::APIGateway::Model::UpdateRequestValidatorRequest::UpdateRequestValidatorRequest
UpdateRequestValidatorRequest()
Aws::APIGateway::Model::UpdateRequestValidatorRequest::SetRestApiId
void SetRestApiId(const char *value)
Definition: UpdateRequestValidatorRequest.h:64