AWS SDK for C++  1.9.14
AWS SDK for C++
GetRequestValidatorResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace APIGateway
24 {
25 namespace Model
26 {
41  {
42  public:
46 
47 
51  inline const Aws::String& GetId() const{ return m_id; }
52 
56  inline void SetId(const Aws::String& value) { m_id = value; }
57 
61  inline void SetId(Aws::String&& value) { m_id = std::move(value); }
62 
66  inline void SetId(const char* value) { m_id.assign(value); }
67 
71  inline GetRequestValidatorResult& WithId(const Aws::String& value) { SetId(value); return *this;}
72 
76  inline GetRequestValidatorResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
77 
81  inline GetRequestValidatorResult& WithId(const char* value) { SetId(value); return *this;}
82 
83 
87  inline const Aws::String& GetName() const{ return m_name; }
88 
92  inline void SetName(const Aws::String& value) { m_name = value; }
93 
97  inline void SetName(Aws::String&& value) { m_name = std::move(value); }
98 
102  inline void SetName(const char* value) { m_name.assign(value); }
103 
107  inline GetRequestValidatorResult& WithName(const Aws::String& value) { SetName(value); return *this;}
108 
112  inline GetRequestValidatorResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
113 
117  inline GetRequestValidatorResult& WithName(const char* value) { SetName(value); return *this;}
118 
119 
124  inline bool GetValidateRequestBody() const{ return m_validateRequestBody; }
125 
130  inline void SetValidateRequestBody(bool value) { m_validateRequestBody = value; }
131 
136  inline GetRequestValidatorResult& WithValidateRequestBody(bool value) { SetValidateRequestBody(value); return *this;}
137 
138 
143  inline bool GetValidateRequestParameters() const{ return m_validateRequestParameters; }
144 
149  inline void SetValidateRequestParameters(bool value) { m_validateRequestParameters = value; }
150 
155  inline GetRequestValidatorResult& WithValidateRequestParameters(bool value) { SetValidateRequestParameters(value); return *this;}
156 
157  private:
158 
159  Aws::String m_id;
160 
161  Aws::String m_name;
162 
163  bool m_validateRequestBody;
164 
165  bool m_validateRequestParameters;
166  };
167 
168 } // namespace Model
169 } // namespace APIGateway
170 } // namespace Aws
Aws::APIGateway::Model::GetRequestValidatorResult::WithValidateRequestBody
GetRequestValidatorResult & WithValidateRequestBody(bool value)
Definition: GetRequestValidatorResult.h:136
Aws::APIGateway::Model::GetRequestValidatorResult::operator=
GetRequestValidatorResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::APIGateway::Model::GetRequestValidatorResult::SetName
void SetName(const Aws::String &value)
Definition: GetRequestValidatorResult.h:92
AWS_APIGATEWAY_API
#define AWS_APIGATEWAY_API
Definition: APIGateway_EXPORTS.h:28
Aws::APIGateway::Model::GetRequestValidatorResult::SetId
void SetId(Aws::String &&value)
Definition: GetRequestValidatorResult.h:61
Aws::APIGateway::Model::GetRequestValidatorResult::WithName
GetRequestValidatorResult & WithName(Aws::String &&value)
Definition: GetRequestValidatorResult.h:112
Aws::APIGateway::Model::GetRequestValidatorResult::SetId
void SetId(const Aws::String &value)
Definition: GetRequestValidatorResult.h:56
Aws::APIGateway::Model::GetRequestValidatorResult::SetName
void SetName(const char *value)
Definition: GetRequestValidatorResult.h:102
APIGateway_EXPORTS.h
Aws::APIGateway::Model::GetRequestValidatorResult::GetRequestValidatorResult
GetRequestValidatorResult()
Aws::APIGateway::Model::GetRequestValidatorResult::GetName
const Aws::String & GetName() const
Definition: GetRequestValidatorResult.h:87
Aws::APIGateway::Model::GetRequestValidatorResult::GetValidateRequestParameters
bool GetValidateRequestParameters() const
Definition: GetRequestValidatorResult.h:143
Aws::APIGateway::Model::GetRequestValidatorResult::WithValidateRequestParameters
GetRequestValidatorResult & WithValidateRequestParameters(bool value)
Definition: GetRequestValidatorResult.h:155
Aws::APIGateway::Model::GetRequestValidatorResult::SetName
void SetName(Aws::String &&value)
Definition: GetRequestValidatorResult.h:97
Aws::APIGateway::Model::GetRequestValidatorResult::WithId
GetRequestValidatorResult & WithId(const Aws::String &value)
Definition: GetRequestValidatorResult.h:71
Aws::APIGateway::Model::GetRequestValidatorResult::GetRequestValidatorResult
GetRequestValidatorResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::APIGateway::Model::GetRequestValidatorResult::WithId
GetRequestValidatorResult & WithId(Aws::String &&value)
Definition: GetRequestValidatorResult.h:76
Aws::APIGateway::Model::GetRequestValidatorResult::GetValidateRequestBody
bool GetValidateRequestBody() const
Definition: GetRequestValidatorResult.h:124
AWSString.h
Aws::APIGateway::Model::GetRequestValidatorResult::SetValidateRequestBody
void SetValidateRequestBody(bool value)
Definition: GetRequestValidatorResult.h:130
Aws::APIGateway::Model::GetRequestValidatorResult::GetId
const Aws::String & GetId() const
Definition: GetRequestValidatorResult.h:51
Aws::APIGateway::Model::GetRequestValidatorResult::WithId
GetRequestValidatorResult & WithId(const char *value)
Definition: GetRequestValidatorResult.h:81
Aws::APIGateway::Model::GetRequestValidatorResult::SetId
void SetId(const char *value)
Definition: GetRequestValidatorResult.h:66
Aws
Definition: AccessManagementClient.h:15
Aws::APIGateway::Model::GetRequestValidatorResult::WithName
GetRequestValidatorResult & WithName(const char *value)
Definition: GetRequestValidatorResult.h:117
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::APIGateway::Model::GetRequestValidatorResult::SetValidateRequestParameters
void SetValidateRequestParameters(bool value)
Definition: GetRequestValidatorResult.h:149
Aws::APIGateway::Model::GetRequestValidatorResult::WithName
GetRequestValidatorResult & WithName(const Aws::String &value)
Definition: GetRequestValidatorResult.h:107
Aws::APIGateway::Model::GetRequestValidatorResult
Definition: GetRequestValidatorResult.h:41