AWS SDK for C++  1.9.45
AWS SDK for C++
GetVpcLinksResult.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 {
40  {
41  public:
45 
46 
47 
48  inline const Aws::String& GetPosition() const{ return m_position; }
49 
50 
51  inline void SetPosition(const Aws::String& value) { m_position = value; }
52 
53 
54  inline void SetPosition(Aws::String&& value) { m_position = std::move(value); }
55 
56 
57  inline void SetPosition(const char* value) { m_position.assign(value); }
58 
59 
60  inline GetVpcLinksResult& WithPosition(const Aws::String& value) { SetPosition(value); return *this;}
61 
62 
63  inline GetVpcLinksResult& WithPosition(Aws::String&& value) { SetPosition(std::move(value)); return *this;}
64 
65 
66  inline GetVpcLinksResult& WithPosition(const char* value) { SetPosition(value); return *this;}
67 
68 
72  inline const Aws::Vector<VpcLink>& GetItems() const{ return m_items; }
73 
77  inline void SetItems(const Aws::Vector<VpcLink>& value) { m_items = value; }
78 
82  inline void SetItems(Aws::Vector<VpcLink>&& value) { m_items = std::move(value); }
83 
87  inline GetVpcLinksResult& WithItems(const Aws::Vector<VpcLink>& value) { SetItems(value); return *this;}
88 
92  inline GetVpcLinksResult& WithItems(Aws::Vector<VpcLink>&& value) { SetItems(std::move(value)); return *this;}
93 
97  inline GetVpcLinksResult& AddItems(const VpcLink& value) { m_items.push_back(value); return *this; }
98 
102  inline GetVpcLinksResult& AddItems(VpcLink&& value) { m_items.push_back(std::move(value)); return *this; }
103 
104  private:
105 
106  Aws::String m_position;
107 
108  Aws::Vector<VpcLink> m_items;
109  };
110 
111 } // namespace Model
112 } // namespace APIGateway
113 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
AWS_APIGATEWAY_API
#define AWS_APIGATEWAY_API
Definition: APIGateway_EXPORTS.h:28
APIGateway_EXPORTS.h
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
AWSString.h
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97