AWS SDK for C++  1.9.133
AWS SDK for C++
ListLayersResult.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 Lambda
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
40  inline const Aws::String& GetNextMarker() const{ return m_nextMarker; }
41 
45  inline void SetNextMarker(const Aws::String& value) { m_nextMarker = value; }
46 
50  inline void SetNextMarker(Aws::String&& value) { m_nextMarker = std::move(value); }
51 
55  inline void SetNextMarker(const char* value) { m_nextMarker.assign(value); }
56 
60  inline ListLayersResult& WithNextMarker(const Aws::String& value) { SetNextMarker(value); return *this;}
61 
65  inline ListLayersResult& WithNextMarker(Aws::String&& value) { SetNextMarker(std::move(value)); return *this;}
66 
70  inline ListLayersResult& WithNextMarker(const char* value) { SetNextMarker(value); return *this;}
71 
72 
76  inline const Aws::Vector<LayersListItem>& GetLayers() const{ return m_layers; }
77 
81  inline void SetLayers(const Aws::Vector<LayersListItem>& value) { m_layers = value; }
82 
86  inline void SetLayers(Aws::Vector<LayersListItem>&& value) { m_layers = std::move(value); }
87 
91  inline ListLayersResult& WithLayers(const Aws::Vector<LayersListItem>& value) { SetLayers(value); return *this;}
92 
96  inline ListLayersResult& WithLayers(Aws::Vector<LayersListItem>&& value) { SetLayers(std::move(value)); return *this;}
97 
101  inline ListLayersResult& AddLayers(const LayersListItem& value) { m_layers.push_back(value); return *this; }
102 
106  inline ListLayersResult& AddLayers(LayersListItem&& value) { m_layers.push_back(std::move(value)); return *this; }
107 
108  private:
109 
110  Aws::String m_nextMarker;
111 
113  };
114 
115 } // namespace Model
116 } // namespace Lambda
117 } // namespace Aws
LayersListItem.h
Aws::Lambda::Model::ListLayersResult::operator=
ListLayersResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Lambda::Model::ListLayersResult::WithLayers
ListLayersResult & WithLayers(Aws::Vector< LayersListItem > &&value)
Definition: ListLayersResult.h:96
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Lambda::Model::ListLayersResult::WithNextMarker
ListLayersResult & WithNextMarker(Aws::String &&value)
Definition: ListLayersResult.h:65
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Lambda::Model::ListLayersResult::SetLayers
void SetLayers(const Aws::Vector< LayersListItem > &value)
Definition: ListLayersResult.h:81
AWSVector.h
Aws::Lambda::Model::ListLayersResult::WithNextMarker
ListLayersResult & WithNextMarker(const char *value)
Definition: ListLayersResult.h:70
AWS_LAMBDA_API
#define AWS_LAMBDA_API
Definition: Lambda_EXPORTS.h:28
Aws::Lambda::Model::ListLayersResult::SetNextMarker
void SetNextMarker(const Aws::String &value)
Definition: ListLayersResult.h:45
Aws::Lambda::Model::ListLayersResult::WithNextMarker
ListLayersResult & WithNextMarker(const Aws::String &value)
Definition: ListLayersResult.h:60
Aws::Lambda::Model::ListLayersResult::GetNextMarker
const Aws::String & GetNextMarker() const
Definition: ListLayersResult.h:40
Aws::Lambda::Model::ListLayersResult
Definition: ListLayersResult.h:30
Aws::Lambda::Model::ListLayersResult::SetNextMarker
void SetNextMarker(Aws::String &&value)
Definition: ListLayersResult.h:50
Aws::Lambda::Model::ListLayersResult::SetLayers
void SetLayers(Aws::Vector< LayersListItem > &&value)
Definition: ListLayersResult.h:86
Aws::Lambda::Model::ListLayersResult::AddLayers
ListLayersResult & AddLayers(const LayersListItem &value)
Definition: ListLayersResult.h:101
Aws::Lambda::Model::ListLayersResult::AddLayers
ListLayersResult & AddLayers(LayersListItem &&value)
Definition: ListLayersResult.h:106
AWSString.h
Aws::Lambda::Model::LayersListItem
Definition: LayersListItem.h:35
Aws::Lambda::Model::ListLayersResult::WithLayers
ListLayersResult & WithLayers(const Aws::Vector< LayersListItem > &value)
Definition: ListLayersResult.h:91
Aws::CodePipeline::Model::ExecutorType::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Lambda::Model::ListLayersResult::SetNextMarker
void SetNextMarker(const char *value)
Definition: ListLayersResult.h:55
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Lambda::Model::ListLayersResult::GetLayers
const Aws::Vector< LayersListItem > & GetLayers() const
Definition: ListLayersResult.h:76
Aws::Lambda::Model::ListLayersResult::ListLayersResult
ListLayersResult()
Lambda_EXPORTS.h
Aws::Lambda::Model::ListLayersResult::ListLayersResult
ListLayersResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)