/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace Lambda { namespace Model { class ListLayersResult { public: AWS_LAMBDA_API ListLayersResult(); AWS_LAMBDA_API ListLayersResult(const Aws::AmazonWebServiceResult& result); AWS_LAMBDA_API ListLayersResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

A pagination token returned when the response doesn't contain all layers.

*/ inline const Aws::String& GetNextMarker() const{ return m_nextMarker; } /** *

A pagination token returned when the response doesn't contain all layers.

*/ inline void SetNextMarker(const Aws::String& value) { m_nextMarker = value; } /** *

A pagination token returned when the response doesn't contain all layers.

*/ inline void SetNextMarker(Aws::String&& value) { m_nextMarker = std::move(value); } /** *

A pagination token returned when the response doesn't contain all layers.

*/ inline void SetNextMarker(const char* value) { m_nextMarker.assign(value); } /** *

A pagination token returned when the response doesn't contain all layers.

*/ inline ListLayersResult& WithNextMarker(const Aws::String& value) { SetNextMarker(value); return *this;} /** *

A pagination token returned when the response doesn't contain all layers.

*/ inline ListLayersResult& WithNextMarker(Aws::String&& value) { SetNextMarker(std::move(value)); return *this;} /** *

A pagination token returned when the response doesn't contain all layers.

*/ inline ListLayersResult& WithNextMarker(const char* value) { SetNextMarker(value); return *this;} /** *

A list of function layers.

*/ inline const Aws::Vector& GetLayers() const{ return m_layers; } /** *

A list of function layers.

*/ inline void SetLayers(const Aws::Vector& value) { m_layers = value; } /** *

A list of function layers.

*/ inline void SetLayers(Aws::Vector&& value) { m_layers = std::move(value); } /** *

A list of function layers.

*/ inline ListLayersResult& WithLayers(const Aws::Vector& value) { SetLayers(value); return *this;} /** *

A list of function layers.

*/ inline ListLayersResult& WithLayers(Aws::Vector&& value) { SetLayers(std::move(value)); return *this;} /** *

A list of function layers.

*/ inline ListLayersResult& AddLayers(const LayersListItem& value) { m_layers.push_back(value); return *this; } /** *

A list of function layers.

*/ inline ListLayersResult& AddLayers(LayersListItem&& value) { m_layers.push_back(std::move(value)); return *this; } inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline ListLayersResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ListLayersResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ListLayersResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_nextMarker; Aws::Vector m_layers; Aws::String m_requestId; }; } // namespace Model } // namespace Lambda } // namespace Aws