AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
ListLayersResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/lambda/Lambda_EXPORTS.h>
10#include <aws/lambda/model/LayersListItem.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace Lambda {
24namespace Model {
26 public:
27 AWS_LAMBDA_API ListLayersResult() = default;
30
32
35 inline const Aws::String& GetNextMarker() const { return m_nextMarker; }
36 template <typename NextMarkerT = Aws::String>
37 void SetNextMarker(NextMarkerT&& value) {
38 m_nextMarkerHasBeenSet = true;
39 m_nextMarker = std::forward<NextMarkerT>(value);
40 }
41 template <typename NextMarkerT = Aws::String>
42 ListLayersResult& WithNextMarker(NextMarkerT&& value) {
43 SetNextMarker(std::forward<NextMarkerT>(value));
44 return *this;
45 }
47
49
52 inline const Aws::Vector<LayersListItem>& GetLayers() const { return m_layers; }
53 template <typename LayersT = Aws::Vector<LayersListItem>>
54 void SetLayers(LayersT&& value) {
55 m_layersHasBeenSet = true;
56 m_layers = std::forward<LayersT>(value);
57 }
58 template <typename LayersT = Aws::Vector<LayersListItem>>
59 ListLayersResult& WithLayers(LayersT&& value) {
60 SetLayers(std::forward<LayersT>(value));
61 return *this;
62 }
63 template <typename LayersT = LayersListItem>
64 ListLayersResult& AddLayers(LayersT&& value) {
65 m_layersHasBeenSet = true;
66 m_layers.emplace_back(std::forward<LayersT>(value));
67 return *this;
68 }
70
72
73 inline const Aws::String& GetRequestId() const { return m_requestId; }
74 template <typename RequestIdT = Aws::String>
75 void SetRequestId(RequestIdT&& value) {
76 m_requestIdHasBeenSet = true;
77 m_requestId = std::forward<RequestIdT>(value);
78 }
79 template <typename RequestIdT = Aws::String>
80 ListLayersResult& WithRequestId(RequestIdT&& value) {
81 SetRequestId(std::forward<RequestIdT>(value));
82 return *this;
83 }
85 private:
86 Aws::String m_nextMarker;
87
89
90 Aws::String m_requestId;
91 bool m_nextMarkerHasBeenSet = false;
92 bool m_layersHasBeenSet = false;
93 bool m_requestIdHasBeenSet = false;
94};
95
96} // namespace Model
97} // namespace Lambda
98} // namespace Aws
AWS_LAMBDA_API ListLayersResult()=default
ListLayersResult & AddLayers(LayersT &&value)
ListLayersResult & WithNextMarker(NextMarkerT &&value)
void SetRequestId(RequestIdT &&value)
void SetNextMarker(NextMarkerT &&value)
AWS_LAMBDA_API ListLayersResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_LAMBDA_API ListLayersResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetRequestId() const
ListLayersResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetNextMarker() const
const Aws::Vector< LayersListItem > & GetLayers() const
ListLayersResult & WithLayers(LayersT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue