AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetRequestValidatorResult.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 GetRequestValidatorResult();
39
40
42
45 inline const Aws::String& GetId() const{ return m_id; }
46 inline void SetId(const Aws::String& value) { m_id = value; }
47 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
48 inline void SetId(const char* value) { m_id.assign(value); }
49 inline GetRequestValidatorResult& WithId(const Aws::String& value) { SetId(value); return *this;}
50 inline GetRequestValidatorResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
51 inline GetRequestValidatorResult& WithId(const char* value) { SetId(value); return *this;}
53
55
58 inline const Aws::String& GetName() const{ return m_name; }
59 inline void SetName(const Aws::String& value) { m_name = value; }
60 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
61 inline void SetName(const char* value) { m_name.assign(value); }
62 inline GetRequestValidatorResult& WithName(const Aws::String& value) { SetName(value); return *this;}
63 inline GetRequestValidatorResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
64 inline GetRequestValidatorResult& WithName(const char* value) { SetName(value); return *this;}
66
68
72 inline bool GetValidateRequestBody() const{ return m_validateRequestBody; }
73 inline void SetValidateRequestBody(bool value) { m_validateRequestBody = value; }
76
78
82 inline bool GetValidateRequestParameters() const{ return m_validateRequestParameters; }
83 inline void SetValidateRequestParameters(bool value) { m_validateRequestParameters = value; }
86
88
89 inline const Aws::String& GetRequestId() const{ return m_requestId; }
90 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
91 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
92 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
93 inline GetRequestValidatorResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
94 inline GetRequestValidatorResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
95 inline GetRequestValidatorResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
97 private:
98
99 Aws::String m_id;
100
101 Aws::String m_name;
102
103 bool m_validateRequestBody;
104
105 bool m_validateRequestParameters;
106
107 Aws::String m_requestId;
108 };
109
110} // namespace Model
111} // namespace APIGateway
112} // namespace Aws
GetRequestValidatorResult & WithValidateRequestParameters(bool value)
GetRequestValidatorResult & WithRequestId(Aws::String &&value)
AWS_APIGATEWAY_API GetRequestValidatorResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetRequestValidatorResult & WithValidateRequestBody(bool value)
GetRequestValidatorResult & WithId(const Aws::String &value)
GetRequestValidatorResult & WithName(Aws::String &&value)
GetRequestValidatorResult & WithId(Aws::String &&value)
GetRequestValidatorResult & WithName(const char *value)
AWS_APIGATEWAY_API GetRequestValidatorResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetRequestValidatorResult & WithName(const Aws::String &value)
GetRequestValidatorResult & WithRequestId(const char *value)
GetRequestValidatorResult & WithRequestId(const Aws::String &value)
GetRequestValidatorResult & WithId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue