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

Information about supported platforms for Docker images that are managed by * CodeBuild.

*/ inline const Aws::Vector& GetPlatforms() const{ return m_platforms; } /** *

Information about supported platforms for Docker images that are managed by * CodeBuild.

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

Information about supported platforms for Docker images that are managed by * CodeBuild.

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

Information about supported platforms for Docker images that are managed by * CodeBuild.

*/ inline ListCuratedEnvironmentImagesResult& WithPlatforms(const Aws::Vector& value) { SetPlatforms(value); return *this;} /** *

Information about supported platforms for Docker images that are managed by * CodeBuild.

*/ inline ListCuratedEnvironmentImagesResult& WithPlatforms(Aws::Vector&& value) { SetPlatforms(std::move(value)); return *this;} /** *

Information about supported platforms for Docker images that are managed by * CodeBuild.

*/ inline ListCuratedEnvironmentImagesResult& AddPlatforms(const EnvironmentPlatform& value) { m_platforms.push_back(value); return *this; } /** *

Information about supported platforms for Docker images that are managed by * CodeBuild.

*/ inline ListCuratedEnvironmentImagesResult& AddPlatforms(EnvironmentPlatform&& value) { m_platforms.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 ListCuratedEnvironmentImagesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ListCuratedEnvironmentImagesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ListCuratedEnvironmentImagesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_platforms; Aws::String m_requestId; }; } // namespace Model } // namespace CodeBuild } // namespace Aws