/** * 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 OpsWorks { namespace Model { /** *

Contains the response to a DescribeApps request.

See * Also:

AWS * API Reference

*/ class DescribeAppsResult { public: AWS_OPSWORKS_API DescribeAppsResult(); AWS_OPSWORKS_API DescribeAppsResult(const Aws::AmazonWebServiceResult& result); AWS_OPSWORKS_API DescribeAppsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

An array of App objects that describe the specified apps.

*/ inline const Aws::Vector& GetApps() const{ return m_apps; } /** *

An array of App objects that describe the specified apps.

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

An array of App objects that describe the specified apps.

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

An array of App objects that describe the specified apps.

*/ inline DescribeAppsResult& WithApps(const Aws::Vector& value) { SetApps(value); return *this;} /** *

An array of App objects that describe the specified apps.

*/ inline DescribeAppsResult& WithApps(Aws::Vector&& value) { SetApps(std::move(value)); return *this;} /** *

An array of App objects that describe the specified apps.

*/ inline DescribeAppsResult& AddApps(const App& value) { m_apps.push_back(value); return *this; } /** *

An array of App objects that describe the specified apps.

*/ inline DescribeAppsResult& AddApps(App&& value) { m_apps.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 DescribeAppsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeAppsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeAppsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_apps; Aws::String m_requestId; }; } // namespace Model } // namespace OpsWorks } // namespace Aws