AWS SDK for C++  1.9.18
AWS SDK for C++
GetRestApisResult.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 {
39  {
40  public:
44 
45 
46 
47  inline const Aws::String& GetPosition() const{ return m_position; }
48 
49 
50  inline void SetPosition(const Aws::String& value) { m_position = value; }
51 
52 
53  inline void SetPosition(Aws::String&& value) { m_position = std::move(value); }
54 
55 
56  inline void SetPosition(const char* value) { m_position.assign(value); }
57 
58 
59  inline GetRestApisResult& WithPosition(const Aws::String& value) { SetPosition(value); return *this;}
60 
61 
62  inline GetRestApisResult& WithPosition(Aws::String&& value) { SetPosition(std::move(value)); return *this;}
63 
64 
65  inline GetRestApisResult& WithPosition(const char* value) { SetPosition(value); return *this;}
66 
67 
71  inline const Aws::Vector<RestApi>& GetItems() const{ return m_items; }
72 
76  inline void SetItems(const Aws::Vector<RestApi>& value) { m_items = value; }
77 
81  inline void SetItems(Aws::Vector<RestApi>&& value) { m_items = std::move(value); }
82 
86  inline GetRestApisResult& WithItems(const Aws::Vector<RestApi>& value) { SetItems(value); return *this;}
87 
91  inline GetRestApisResult& WithItems(Aws::Vector<RestApi>&& value) { SetItems(std::move(value)); return *this;}
92 
96  inline GetRestApisResult& AddItems(const RestApi& value) { m_items.push_back(value); return *this; }
97 
101  inline GetRestApisResult& AddItems(RestApi&& value) { m_items.push_back(std::move(value)); return *this; }
102 
103  private:
104 
105  Aws::String m_position;
106 
107  Aws::Vector<RestApi> m_items;
108  };
109 
110 } // namespace Model
111 } // namespace APIGateway
112 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::APIGateway::Model::GetRestApisResult::GetRestApisResult
GetRestApisResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_APIGATEWAY_API
#define AWS_APIGATEWAY_API
Definition: APIGateway_EXPORTS.h:28
Aws::APIGateway::Model::GetRestApisResult::operator=
GetRestApisResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
APIGateway_EXPORTS.h
Aws::APIGateway::Model::GetRestApisResult::SetItems
void SetItems(Aws::Vector< RestApi > &&value)
Definition: GetRestApisResult.h:81
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::APIGateway::Model::RestApi
Definition: RestApi.h:39
Aws::APIGateway::Model::GetRestApisResult::WithPosition
GetRestApisResult & WithPosition(const char *value)
Definition: GetRestApisResult.h:65
Aws::APIGateway::Model::GetRestApisResult::SetPosition
void SetPosition(Aws::String &&value)
Definition: GetRestApisResult.h:53
Aws::APIGateway::Model::GetRestApisResult::SetPosition
void SetPosition(const Aws::String &value)
Definition: GetRestApisResult.h:50
Aws::APIGateway::Model::GetRestApisResult::GetPosition
const Aws::String & GetPosition() const
Definition: GetRestApisResult.h:47
Aws::APIGateway::Model::GetRestApisResult::SetPosition
void SetPosition(const char *value)
Definition: GetRestApisResult.h:56
Aws::APIGateway::Model::GetRestApisResult::AddItems
GetRestApisResult & AddItems(const RestApi &value)
Definition: GetRestApisResult.h:96
AWSString.h
Aws::APIGateway::Model::GetRestApisResult::WithPosition
GetRestApisResult & WithPosition(Aws::String &&value)
Definition: GetRestApisResult.h:62
Aws::APIGateway::Model::GetRestApisResult::SetItems
void SetItems(const Aws::Vector< RestApi > &value)
Definition: GetRestApisResult.h:76
Aws::APIGateway::Model::GetRestApisResult::WithItems
GetRestApisResult & WithItems(const Aws::Vector< RestApi > &value)
Definition: GetRestApisResult.h:86
Aws::APIGateway::Model::GetRestApisResult
Definition: GetRestApisResult.h:39
Aws
Definition: AccessManagementClient.h:15
Aws::APIGateway::Model::GetRestApisResult::GetRestApisResult
GetRestApisResult()
Aws::APIGateway::Model::GetRestApisResult::GetItems
const Aws::Vector< RestApi > & GetItems() const
Definition: GetRestApisResult.h:71
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::APIGateway::Model::GetRestApisResult::WithPosition
GetRestApisResult & WithPosition(const Aws::String &value)
Definition: GetRestApisResult.h:59
RestApi.h
Aws::APIGateway::Model::GetRestApisResult::WithItems
GetRestApisResult & WithItems(Aws::Vector< RestApi > &&value)
Definition: GetRestApisResult.h:91
Aws::APIGateway::Model::GetRestApisResult::AddItems
GetRestApisResult & AddItems(RestApi &&value)
Definition: GetRestApisResult.h:101