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