AWS SDK for C++  1.9.20
AWS SDK for C++
ListLayerVersionsResult.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 
41  inline const Aws::String& GetNextMarker() const{ return m_nextMarker; }
42 
47  inline void SetNextMarker(const Aws::String& value) { m_nextMarker = value; }
48 
53  inline void SetNextMarker(Aws::String&& value) { m_nextMarker = std::move(value); }
54 
59  inline void SetNextMarker(const char* value) { m_nextMarker.assign(value); }
60 
65  inline ListLayerVersionsResult& WithNextMarker(const Aws::String& value) { SetNextMarker(value); return *this;}
66 
71  inline ListLayerVersionsResult& WithNextMarker(Aws::String&& value) { SetNextMarker(std::move(value)); return *this;}
72 
77  inline ListLayerVersionsResult& WithNextMarker(const char* value) { SetNextMarker(value); return *this;}
78 
79 
83  inline const Aws::Vector<LayerVersionsListItem>& GetLayerVersions() const{ return m_layerVersions; }
84 
88  inline void SetLayerVersions(const Aws::Vector<LayerVersionsListItem>& value) { m_layerVersions = value; }
89 
93  inline void SetLayerVersions(Aws::Vector<LayerVersionsListItem>&& value) { m_layerVersions = std::move(value); }
94 
98  inline ListLayerVersionsResult& WithLayerVersions(const Aws::Vector<LayerVersionsListItem>& value) { SetLayerVersions(value); return *this;}
99 
103  inline ListLayerVersionsResult& WithLayerVersions(Aws::Vector<LayerVersionsListItem>&& value) { SetLayerVersions(std::move(value)); return *this;}
104 
108  inline ListLayerVersionsResult& AddLayerVersions(const LayerVersionsListItem& value) { m_layerVersions.push_back(value); return *this; }
109 
113  inline ListLayerVersionsResult& AddLayerVersions(LayerVersionsListItem&& value) { m_layerVersions.push_back(std::move(value)); return *this; }
114 
115  private:
116 
117  Aws::String m_nextMarker;
118 
119  Aws::Vector<LayerVersionsListItem> m_layerVersions;
120  };
121 
122 } // namespace Model
123 } // namespace Lambda
124 } // namespace Aws
Aws::Lambda::Model::ListLayerVersionsResult::GetLayerVersions
const Aws::Vector< LayerVersionsListItem > & GetLayerVersions() const
Definition: ListLayerVersionsResult.h:83
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Lambda::Model::ListLayerVersionsResult::WithNextMarker
ListLayerVersionsResult & WithNextMarker(Aws::String &&value)
Definition: ListLayerVersionsResult.h:71
LayerVersionsListItem.h
Aws::Lambda::Model::ListLayerVersionsResult::ListLayerVersionsResult
ListLayerVersionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Lambda::Model::LayerVersionsListItem
Definition: LayerVersionsListItem.h:36
Aws::Lambda::Model::ListLayerVersionsResult::SetLayerVersions
void SetLayerVersions(const Aws::Vector< LayerVersionsListItem > &value)
Definition: ListLayerVersionsResult.h:88
Aws::Lambda::Model::ListLayerVersionsResult::operator=
ListLayerVersionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Lambda::Model::ListLayerVersionsResult
Definition: ListLayerVersionsResult.h:30
AWSVector.h
Aws::Lambda::Model::ListLayerVersionsResult::AddLayerVersions
ListLayerVersionsResult & AddLayerVersions(const LayerVersionsListItem &value)
Definition: ListLayerVersionsResult.h:108
AWS_LAMBDA_API
#define AWS_LAMBDA_API
Definition: Lambda_EXPORTS.h:28
Aws::Lambda::Model::ListLayerVersionsResult::SetNextMarker
void SetNextMarker(Aws::String &&value)
Definition: ListLayerVersionsResult.h:53
Aws::Lambda::Model::ListLayerVersionsResult::ListLayerVersionsResult
ListLayerVersionsResult()
AWSString.h
Aws::Lambda::Model::ListLayerVersionsResult::WithNextMarker
ListLayerVersionsResult & WithNextMarker(const Aws::String &value)
Definition: ListLayerVersionsResult.h:65
Aws::Lambda::Model::ListLayerVersionsResult::GetNextMarker
const Aws::String & GetNextMarker() const
Definition: ListLayerVersionsResult.h:41
Aws::Lambda::Model::ListLayerVersionsResult::WithLayerVersions
ListLayerVersionsResult & WithLayerVersions(Aws::Vector< LayerVersionsListItem > &&value)
Definition: ListLayerVersionsResult.h:103
Aws::Lambda::Model::ListLayerVersionsResult::SetLayerVersions
void SetLayerVersions(Aws::Vector< LayerVersionsListItem > &&value)
Definition: ListLayerVersionsResult.h:93
Aws::CodePipeline::Model::ExecutorType::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Lambda::Model::ListLayerVersionsResult::WithLayerVersions
ListLayerVersionsResult & WithLayerVersions(const Aws::Vector< LayerVersionsListItem > &value)
Definition: ListLayerVersionsResult.h:98
Aws::Lambda::Model::ListLayerVersionsResult::AddLayerVersions
ListLayerVersionsResult & AddLayerVersions(LayerVersionsListItem &&value)
Definition: ListLayerVersionsResult.h:113
Aws::Lambda::Model::ListLayerVersionsResult::WithNextMarker
ListLayerVersionsResult & WithNextMarker(const char *value)
Definition: ListLayerVersionsResult.h:77
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Lambda_EXPORTS.h
Aws::Lambda::Model::ListLayerVersionsResult::SetNextMarker
void SetNextMarker(const char *value)
Definition: ListLayerVersionsResult.h:59
Aws::Lambda::Model::ListLayerVersionsResult::SetNextMarker
void SetNextMarker(const Aws::String &value)
Definition: ListLayerVersionsResult.h:47