AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
UpdateRequestValidatorResult.h
1
6#pragma once
7#include <aws/apigateway/APIGateway_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13template<typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace APIGateway
24{
25namespace Model
26{
34 {
35 public:
36 AWS_APIGATEWAY_API UpdateRequestValidatorResult() = default;
39
40
42
45 inline const Aws::String& GetId() const { return m_id; }
46 template<typename IdT = Aws::String>
47 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
48 template<typename IdT = Aws::String>
49 UpdateRequestValidatorResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
51
53
56 inline const Aws::String& GetName() const { return m_name; }
57 template<typename NameT = Aws::String>
58 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
59 template<typename NameT = Aws::String>
60 UpdateRequestValidatorResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
62
64
68 inline bool GetValidateRequestBody() const { return m_validateRequestBody; }
69 inline void SetValidateRequestBody(bool value) { m_validateRequestBodyHasBeenSet = true; m_validateRequestBody = value; }
72
74
78 inline bool GetValidateRequestParameters() const { return m_validateRequestParameters; }
79 inline void SetValidateRequestParameters(bool value) { m_validateRequestParametersHasBeenSet = true; m_validateRequestParameters = value; }
82
84
85 inline const Aws::String& GetRequestId() const { return m_requestId; }
86 template<typename RequestIdT = Aws::String>
87 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
88 template<typename RequestIdT = Aws::String>
89 UpdateRequestValidatorResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
91 private:
92
93 Aws::String m_id;
94 bool m_idHasBeenSet = false;
95
96 Aws::String m_name;
97 bool m_nameHasBeenSet = false;
98
99 bool m_validateRequestBody{false};
100 bool m_validateRequestBodyHasBeenSet = false;
101
102 bool m_validateRequestParameters{false};
103 bool m_validateRequestParametersHasBeenSet = false;
104
105 Aws::String m_requestId;
106 bool m_requestIdHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace APIGateway
111} // namespace Aws
AWS_APIGATEWAY_API UpdateRequestValidatorResult()=default
AWS_APIGATEWAY_API UpdateRequestValidatorResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateRequestValidatorResult & WithValidateRequestParameters(bool value)
AWS_APIGATEWAY_API UpdateRequestValidatorResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateRequestValidatorResult & WithRequestId(RequestIdT &&value)
UpdateRequestValidatorResult & WithName(NameT &&value)
UpdateRequestValidatorResult & WithValidateRequestBody(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue