AWS SDK for C++  1.9.20
AWS SDK for C++
GetDeploymentsResult.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 {
47  {
48  public:
52 
53 
54 
55  inline const Aws::String& GetPosition() const{ return m_position; }
56 
57 
58  inline void SetPosition(const Aws::String& value) { m_position = value; }
59 
60 
61  inline void SetPosition(Aws::String&& value) { m_position = std::move(value); }
62 
63 
64  inline void SetPosition(const char* value) { m_position.assign(value); }
65 
66 
67  inline GetDeploymentsResult& WithPosition(const Aws::String& value) { SetPosition(value); return *this;}
68 
69 
70  inline GetDeploymentsResult& WithPosition(Aws::String&& value) { SetPosition(std::move(value)); return *this;}
71 
72 
73  inline GetDeploymentsResult& WithPosition(const char* value) { SetPosition(value); return *this;}
74 
75 
79  inline const Aws::Vector<Deployment>& GetItems() const{ return m_items; }
80 
84  inline void SetItems(const Aws::Vector<Deployment>& value) { m_items = value; }
85 
89  inline void SetItems(Aws::Vector<Deployment>&& value) { m_items = std::move(value); }
90 
94  inline GetDeploymentsResult& WithItems(const Aws::Vector<Deployment>& value) { SetItems(value); return *this;}
95 
99  inline GetDeploymentsResult& WithItems(Aws::Vector<Deployment>&& value) { SetItems(std::move(value)); return *this;}
100 
104  inline GetDeploymentsResult& AddItems(const Deployment& value) { m_items.push_back(value); return *this; }
105 
109  inline GetDeploymentsResult& AddItems(Deployment&& value) { m_items.push_back(std::move(value)); return *this; }
110 
111  private:
112 
113  Aws::String m_position;
114 
115  Aws::Vector<Deployment> m_items;
116  };
117 
118 } // namespace Model
119 } // namespace APIGateway
120 } // namespace Aws
Aws::APIGateway::Model::GetDeploymentsResult::WithItems
GetDeploymentsResult & WithItems(const Aws::Vector< Deployment > &value)
Definition: GetDeploymentsResult.h:94
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::APIGateway::Model::GetDeploymentsResult::GetItems
const Aws::Vector< Deployment > & GetItems() const
Definition: GetDeploymentsResult.h:79
AWS_APIGATEWAY_API
#define AWS_APIGATEWAY_API
Definition: APIGateway_EXPORTS.h:28
Aws::APIGateway::Model::GetDeploymentsResult::WithItems
GetDeploymentsResult & WithItems(Aws::Vector< Deployment > &&value)
Definition: GetDeploymentsResult.h:99
Aws::APIGateway::Model::GetDeploymentsResult::GetDeploymentsResult
GetDeploymentsResult()
Aws::APIGateway::Model::GetDeploymentsResult::GetPosition
const Aws::String & GetPosition() const
Definition: GetDeploymentsResult.h:55
Aws::APIGateway::Model::GetDeploymentsResult::AddItems
GetDeploymentsResult & AddItems(Deployment &&value)
Definition: GetDeploymentsResult.h:109
Aws::APIGateway::Model::GetDeploymentsResult::AddItems
GetDeploymentsResult & AddItems(const Deployment &value)
Definition: GetDeploymentsResult.h:104
APIGateway_EXPORTS.h
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::APIGateway::Model::GetDeploymentsResult::SetPosition
void SetPosition(Aws::String &&value)
Definition: GetDeploymentsResult.h:61
AWSVector.h
Aws::APIGateway::Model::GetDeploymentsResult
Definition: GetDeploymentsResult.h:47
Deployment.h
Aws::APIGateway::Model::GetDeploymentsResult::WithPosition
GetDeploymentsResult & WithPosition(const char *value)
Definition: GetDeploymentsResult.h:73
Aws::APIGateway::Model::GetDeploymentsResult::WithPosition
GetDeploymentsResult & WithPosition(const Aws::String &value)
Definition: GetDeploymentsResult.h:67
Aws::APIGateway::Model::GetDeploymentsResult::SetItems
void SetItems(const Aws::Vector< Deployment > &value)
Definition: GetDeploymentsResult.h:84
AWSString.h
Aws
Definition: AccessManagementClient.h:15
Aws::APIGateway::Model::GetDeploymentsResult::SetPosition
void SetPosition(const Aws::String &value)
Definition: GetDeploymentsResult.h:58
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::APIGateway::Model::GetDeploymentsResult::SetPosition
void SetPosition(const char *value)
Definition: GetDeploymentsResult.h:64
Aws::APIGateway::Model::GetDeploymentsResult::GetDeploymentsResult
GetDeploymentsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::APIGateway::Model::Deployment
Definition: Deployment.h:46
Aws::APIGateway::Model::GetDeploymentsResult::SetItems
void SetItems(Aws::Vector< Deployment > &&value)
Definition: GetDeploymentsResult.h:89
Aws::APIGateway::Model::GetDeploymentsResult::WithPosition
GetDeploymentsResult & WithPosition(Aws::String &&value)
Definition: GetDeploymentsResult.h:70
Aws::APIGateway::Model::GetDeploymentsResult::operator=
GetDeploymentsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)