AWS SDK for C++  1.9.107
AWS SDK for C++
DescribeLayersResult.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 OpsWorks
25 {
26 namespace Model
27 {
35  {
36  public:
40 
41 
45  inline const Aws::Vector<Layer>& GetLayers() const{ return m_layers; }
46 
50  inline void SetLayers(const Aws::Vector<Layer>& value) { m_layers = value; }
51 
55  inline void SetLayers(Aws::Vector<Layer>&& value) { m_layers = std::move(value); }
56 
60  inline DescribeLayersResult& WithLayers(const Aws::Vector<Layer>& value) { SetLayers(value); return *this;}
61 
65  inline DescribeLayersResult& WithLayers(Aws::Vector<Layer>&& value) { SetLayers(std::move(value)); return *this;}
66 
70  inline DescribeLayersResult& AddLayers(const Layer& value) { m_layers.push_back(value); return *this; }
71 
75  inline DescribeLayersResult& AddLayers(Layer&& value) { m_layers.push_back(std::move(value)); return *this; }
76 
77  private:
78 
79  Aws::Vector<Layer> m_layers;
80  };
81 
82 } // namespace Model
83 } // namespace OpsWorks
84 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::OpsWorks::Model::DescribeLayersResult::AddLayers
DescribeLayersResult & AddLayers(const Layer &value)
Definition: DescribeLayersResult.h:70
Aws::OpsWorks::Model::DescribeLayersResult::SetLayers
void SetLayers(const Aws::Vector< Layer > &value)
Definition: DescribeLayersResult.h:50
Aws::OpsWorks::Model::DescribeLayersResult::SetLayers
void SetLayers(Aws::Vector< Layer > &&value)
Definition: DescribeLayersResult.h:55
OpsWorks_EXPORTS.h
Aws::OpsWorks::Model::DescribeLayersResult::DescribeLayersResult
DescribeLayersResult()
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
AWS_OPSWORKS_API
#define AWS_OPSWORKS_API
Definition: OpsWorks_EXPORTS.h:28
Aws::OpsWorks::Model::DescribeLayersResult
Definition: DescribeLayersResult.h:35
Aws::OpsWorks::Model::DescribeLayersResult::GetLayers
const Aws::Vector< Layer > & GetLayers() const
Definition: DescribeLayersResult.h:45
Aws::OpsWorks::Model::DescribeLayersResult::DescribeLayersResult
DescribeLayersResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::OpsWorks::Model::DescribeLayersResult::WithLayers
DescribeLayersResult & WithLayers(Aws::Vector< Layer > &&value)
Definition: DescribeLayersResult.h:65
Layer.h
Aws::OpsWorks::Model::DescribeLayersResult::AddLayers
DescribeLayersResult & AddLayers(Layer &&value)
Definition: DescribeLayersResult.h:75
Aws
Definition: AccessManagementClient.h:15
Aws::OpsWorks::Model::DescribeLayersResult::operator=
DescribeLayersResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::OpsWorks::Model::Layer
Definition: Layer.h:40
Aws::OpsWorks::Model::DescribeLayersResult::WithLayers
DescribeLayersResult & WithLayers(const Aws::Vector< Layer > &value)
Definition: DescribeLayersResult.h:60