AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateRequestValidatorRequest.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
27 {
28 public:
29 AWS_APIGATEWAY_API UpdateRequestValidatorRequest();
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "UpdateRequestValidator"; }
36
37 AWS_APIGATEWAY_API Aws::String SerializePayload() const override;
38
39
41
44 inline const Aws::String& GetRestApiId() const{ return m_restApiId; }
45 inline bool RestApiIdHasBeenSet() const { return m_restApiIdHasBeenSet; }
46 inline void SetRestApiId(const Aws::String& value) { m_restApiIdHasBeenSet = true; m_restApiId = value; }
47 inline void SetRestApiId(Aws::String&& value) { m_restApiIdHasBeenSet = true; m_restApiId = std::move(value); }
48 inline void SetRestApiId(const char* value) { m_restApiIdHasBeenSet = true; m_restApiId.assign(value); }
49 inline UpdateRequestValidatorRequest& WithRestApiId(const Aws::String& value) { SetRestApiId(value); return *this;}
50 inline UpdateRequestValidatorRequest& WithRestApiId(Aws::String&& value) { SetRestApiId(std::move(value)); return *this;}
51 inline UpdateRequestValidatorRequest& WithRestApiId(const char* value) { SetRestApiId(value); return *this;}
53
55
58 inline const Aws::String& GetRequestValidatorId() const{ return m_requestValidatorId; }
59 inline bool RequestValidatorIdHasBeenSet() const { return m_requestValidatorIdHasBeenSet; }
60 inline void SetRequestValidatorId(const Aws::String& value) { m_requestValidatorIdHasBeenSet = true; m_requestValidatorId = value; }
61 inline void SetRequestValidatorId(Aws::String&& value) { m_requestValidatorIdHasBeenSet = true; m_requestValidatorId = std::move(value); }
62 inline void SetRequestValidatorId(const char* value) { m_requestValidatorIdHasBeenSet = true; m_requestValidatorId.assign(value); }
65 inline UpdateRequestValidatorRequest& WithRequestValidatorId(const char* value) { SetRequestValidatorId(value); return *this;}
67
69
74 inline const Aws::Vector<PatchOperation>& GetPatchOperations() const{ return m_patchOperations; }
75 inline bool PatchOperationsHasBeenSet() const { return m_patchOperationsHasBeenSet; }
76 inline void SetPatchOperations(const Aws::Vector<PatchOperation>& value) { m_patchOperationsHasBeenSet = true; m_patchOperations = value; }
77 inline void SetPatchOperations(Aws::Vector<PatchOperation>&& value) { m_patchOperationsHasBeenSet = true; m_patchOperations = std::move(value); }
80 inline UpdateRequestValidatorRequest& AddPatchOperations(const PatchOperation& value) { m_patchOperationsHasBeenSet = true; m_patchOperations.push_back(value); return *this; }
81 inline UpdateRequestValidatorRequest& AddPatchOperations(PatchOperation&& value) { m_patchOperationsHasBeenSet = true; m_patchOperations.push_back(std::move(value)); return *this; }
83 private:
84
85 Aws::String m_restApiId;
86 bool m_restApiIdHasBeenSet = false;
87
88 Aws::String m_requestValidatorId;
89 bool m_requestValidatorIdHasBeenSet = false;
90
91 Aws::Vector<PatchOperation> m_patchOperations;
92 bool m_patchOperationsHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace APIGateway
97} // namespace Aws
UpdateRequestValidatorRequest & WithRestApiId(const char *value)
UpdateRequestValidatorRequest & WithRequestValidatorId(Aws::String &&value)
UpdateRequestValidatorRequest & WithRequestValidatorId(const char *value)
UpdateRequestValidatorRequest & WithPatchOperations(Aws::Vector< PatchOperation > &&value)
AWS_APIGATEWAY_API Aws::String SerializePayload() const override
UpdateRequestValidatorRequest & WithRestApiId(const Aws::String &value)
void SetPatchOperations(const Aws::Vector< PatchOperation > &value)
const Aws::Vector< PatchOperation > & GetPatchOperations() const
UpdateRequestValidatorRequest & WithPatchOperations(const Aws::Vector< PatchOperation > &value)
UpdateRequestValidatorRequest & AddPatchOperations(const PatchOperation &value)
void SetPatchOperations(Aws::Vector< PatchOperation > &&value)
UpdateRequestValidatorRequest & WithRestApiId(Aws::String &&value)
UpdateRequestValidatorRequest & WithRequestValidatorId(const Aws::String &value)
UpdateRequestValidatorRequest & AddPatchOperations(PatchOperation &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector