AWS SDK for C++  1.9.159
AWS SDK for C++
GetStagesResult.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace APIGateway
25 {
26 namespace Model
27 {
37  {
38  public:
42 
43 
47  inline const Aws::Vector<Stage>& GetItem() const{ return m_item; }
48 
52  inline void SetItem(const Aws::Vector<Stage>& value) { m_item = value; }
53 
57  inline void SetItem(Aws::Vector<Stage>&& value) { m_item = std::move(value); }
58 
62  inline GetStagesResult& WithItem(const Aws::Vector<Stage>& value) { SetItem(value); return *this;}
63 
67  inline GetStagesResult& WithItem(Aws::Vector<Stage>&& value) { SetItem(std::move(value)); return *this;}
68 
72  inline GetStagesResult& AddItem(const Stage& value) { m_item.push_back(value); return *this; }
73 
77  inline GetStagesResult& AddItem(Stage&& value) { m_item.push_back(std::move(value)); return *this; }
78 
79  private:
80 
81  Aws::Vector<Stage> m_item;
82  };
83 
84 } // namespace Model
85 } // namespace APIGateway
86 } // namespace Aws
Aws::APIGateway::Model::GetStagesResult::WithItem
GetStagesResult & WithItem(Aws::Vector< Stage > &&value)
Definition: GetStagesResult.h:67
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
AWS_APIGATEWAY_API
#define AWS_APIGATEWAY_API
Definition: APIGateway_EXPORTS.h:28
Aws::APIGateway::Model::GetStagesResult::AddItem
GetStagesResult & AddItem(Stage &&value)
Definition: GetStagesResult.h:77
Aws::APIGateway::Model::GetStagesResult::WithItem
GetStagesResult & WithItem(const Aws::Vector< Stage > &value)
Definition: GetStagesResult.h:62
APIGateway_EXPORTS.h
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::APIGateway::Model::GetStagesResult::SetItem
void SetItem(const Aws::Vector< Stage > &value)
Definition: GetStagesResult.h:52
AWSVector.h
Aws::APIGateway::Model::GetStagesResult::GetItem
const Aws::Vector< Stage > & GetItem() const
Definition: GetStagesResult.h:47
Aws::APIGateway::Model::GetStagesResult::GetStagesResult
GetStagesResult()
Aws::APIGateway::Model::Stage
Definition: Stage.h:42
Stage.h
Aws::APIGateway::Model::GetStagesResult::GetStagesResult
GetStagesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::APIGateway::Model::GetStagesResult::AddItem
GetStagesResult & AddItem(const Stage &value)
Definition: GetStagesResult.h:72
Aws::APIGateway::Model::GetStagesResult
Definition: GetStagesResult.h:37
Aws::APIGateway::Model::GetStagesResult::SetItem
void SetItem(Aws::Vector< Stage > &&value)
Definition: GetStagesResult.h:57
Aws::APIGateway::Model::GetStagesResult::operator=
GetStagesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)