/** * 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 Snowball { namespace Model { class ListCompatibleImagesResult { public: AWS_SNOWBALL_API ListCompatibleImagesResult(); AWS_SNOWBALL_API ListCompatibleImagesResult(const Aws::AmazonWebServiceResult& result); AWS_SNOWBALL_API ListCompatibleImagesResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

A JSON-formatted object that describes a compatible AMI, including the ID and * name for a Snow device AMI.

*/ inline const Aws::Vector& GetCompatibleImages() const{ return m_compatibleImages; } /** *

A JSON-formatted object that describes a compatible AMI, including the ID and * name for a Snow device AMI.

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

A JSON-formatted object that describes a compatible AMI, including the ID and * name for a Snow device AMI.

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

A JSON-formatted object that describes a compatible AMI, including the ID and * name for a Snow device AMI.

*/ inline ListCompatibleImagesResult& WithCompatibleImages(const Aws::Vector& value) { SetCompatibleImages(value); return *this;} /** *

A JSON-formatted object that describes a compatible AMI, including the ID and * name for a Snow device AMI.

*/ inline ListCompatibleImagesResult& WithCompatibleImages(Aws::Vector&& value) { SetCompatibleImages(std::move(value)); return *this;} /** *

A JSON-formatted object that describes a compatible AMI, including the ID and * name for a Snow device AMI.

*/ inline ListCompatibleImagesResult& AddCompatibleImages(const CompatibleImage& value) { m_compatibleImages.push_back(value); return *this; } /** *

A JSON-formatted object that describes a compatible AMI, including the ID and * name for a Snow device AMI.

*/ inline ListCompatibleImagesResult& AddCompatibleImages(CompatibleImage&& value) { m_compatibleImages.push_back(std::move(value)); return *this; } /** *

Because HTTP requests are stateless, this is the starting point for your next * list of returned images.

*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *

Because HTTP requests are stateless, this is the starting point for your next * list of returned images.

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

Because HTTP requests are stateless, this is the starting point for your next * list of returned images.

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

Because HTTP requests are stateless, this is the starting point for your next * list of returned images.

*/ inline void SetNextToken(const char* value) { m_nextToken.assign(value); } /** *

Because HTTP requests are stateless, this is the starting point for your next * list of returned images.

*/ inline ListCompatibleImagesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *

Because HTTP requests are stateless, this is the starting point for your next * list of returned images.

*/ inline ListCompatibleImagesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *

Because HTTP requests are stateless, this is the starting point for your next * list of returned images.

*/ inline ListCompatibleImagesResult& WithNextToken(const char* value) { SetNextToken(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 ListCompatibleImagesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ListCompatibleImagesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ListCompatibleImagesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_compatibleImages; Aws::String m_nextToken; Aws::String m_requestId; }; } // namespace Model } // namespace Snowball } // namespace Aws