AWS SDK for C++  1.9.14
AWS SDK for C++
GetRequestValidatorsResult.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace APIGateway
26 {
27 namespace Model
28 {
41  {
42  public:
46 
47 
48 
49  inline const Aws::String& GetPosition() const{ return m_position; }
50 
51 
52  inline void SetPosition(const Aws::String& value) { m_position = value; }
53 
54 
55  inline void SetPosition(Aws::String&& value) { m_position = std::move(value); }
56 
57 
58  inline void SetPosition(const char* value) { m_position.assign(value); }
59 
60 
61  inline GetRequestValidatorsResult& WithPosition(const Aws::String& value) { SetPosition(value); return *this;}
62 
63 
64  inline GetRequestValidatorsResult& WithPosition(Aws::String&& value) { SetPosition(std::move(value)); return *this;}
65 
66 
67  inline GetRequestValidatorsResult& WithPosition(const char* value) { SetPosition(value); return *this;}
68 
69 
73  inline const Aws::Vector<RequestValidator>& GetItems() const{ return m_items; }
74 
78  inline void SetItems(const Aws::Vector<RequestValidator>& value) { m_items = value; }
79 
83  inline void SetItems(Aws::Vector<RequestValidator>&& value) { m_items = std::move(value); }
84 
88  inline GetRequestValidatorsResult& WithItems(const Aws::Vector<RequestValidator>& value) { SetItems(value); return *this;}
89 
93  inline GetRequestValidatorsResult& WithItems(Aws::Vector<RequestValidator>&& value) { SetItems(std::move(value)); return *this;}
94 
98  inline GetRequestValidatorsResult& AddItems(const RequestValidator& value) { m_items.push_back(value); return *this; }
99 
103  inline GetRequestValidatorsResult& AddItems(RequestValidator&& value) { m_items.push_back(std::move(value)); return *this; }
104 
105  private:
106 
107  Aws::String m_position;
108 
110  };
111 
112 } // namespace Model
113 } // namespace APIGateway
114 } // namespace Aws
Aws::APIGateway::Model::GetRequestValidatorsResult::WithPosition
GetRequestValidatorsResult & WithPosition(const Aws::String &value)
Definition: GetRequestValidatorsResult.h:61
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::APIGateway::Model::GetRequestValidatorsResult::SetPosition
void SetPosition(const Aws::String &value)
Definition: GetRequestValidatorsResult.h:52
AWS_APIGATEWAY_API
#define AWS_APIGATEWAY_API
Definition: APIGateway_EXPORTS.h:28
Aws::APIGateway::Model::GetRequestValidatorsResult::GetItems
const Aws::Vector< RequestValidator > & GetItems() const
Definition: GetRequestValidatorsResult.h:73
Aws::APIGateway::Model::RequestValidator
Definition: RequestValidator.h:40
Aws::APIGateway::Model::GetRequestValidatorsResult::WithPosition
GetRequestValidatorsResult & WithPosition(const char *value)
Definition: GetRequestValidatorsResult.h:67
APIGateway_EXPORTS.h
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
RequestValidator.h
AWSVector.h
Aws::APIGateway::Model::GetRequestValidatorsResult
Definition: GetRequestValidatorsResult.h:41
Aws::APIGateway::Model::GetRequestValidatorsResult::AddItems
GetRequestValidatorsResult & AddItems(RequestValidator &&value)
Definition: GetRequestValidatorsResult.h:103
Aws::APIGateway::Model::GetRequestValidatorsResult::GetPosition
const Aws::String & GetPosition() const
Definition: GetRequestValidatorsResult.h:49
Aws::APIGateway::Model::GetRequestValidatorsResult::WithPosition
GetRequestValidatorsResult & WithPosition(Aws::String &&value)
Definition: GetRequestValidatorsResult.h:64
Aws::APIGateway::Model::GetRequestValidatorsResult::SetItems
void SetItems(Aws::Vector< RequestValidator > &&value)
Definition: GetRequestValidatorsResult.h:83
Aws::APIGateway::Model::GetRequestValidatorsResult::GetRequestValidatorsResult
GetRequestValidatorsResult()
Aws::APIGateway::Model::GetRequestValidatorsResult::operator=
GetRequestValidatorsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWSString.h
Aws::APIGateway::Model::GetRequestValidatorsResult::AddItems
GetRequestValidatorsResult & AddItems(const RequestValidator &value)
Definition: GetRequestValidatorsResult.h:98
Aws::APIGateway::Model::GetRequestValidatorsResult::SetPosition
void SetPosition(const char *value)
Definition: GetRequestValidatorsResult.h:58
Aws::APIGateway::Model::GetRequestValidatorsResult::SetPosition
void SetPosition(Aws::String &&value)
Definition: GetRequestValidatorsResult.h:55
Aws
Definition: AccessManagementClient.h:15
Aws::APIGateway::Model::GetRequestValidatorsResult::GetRequestValidatorsResult
GetRequestValidatorsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::APIGateway::Model::GetRequestValidatorsResult::WithItems
GetRequestValidatorsResult & WithItems(const Aws::Vector< RequestValidator > &value)
Definition: GetRequestValidatorsResult.h:88
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::APIGateway::Model::GetRequestValidatorsResult::WithItems
GetRequestValidatorsResult & WithItems(Aws::Vector< RequestValidator > &&value)
Definition: GetRequestValidatorsResult.h:93
Aws::APIGateway::Model::GetRequestValidatorsResult::SetItems
void SetItems(const Aws::Vector< RequestValidator > &value)
Definition: GetRequestValidatorsResult.h:78