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

Represents the output of a BatchGetApplications * operation.

See Also:

AWS * API Reference

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

Information about the applications.

*/ inline const Aws::Vector& GetApplicationsInfo() const{ return m_applicationsInfo; } /** *

Information about the applications.

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

Information about the applications.

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

Information about the applications.

*/ inline BatchGetApplicationsResult& WithApplicationsInfo(const Aws::Vector& value) { SetApplicationsInfo(value); return *this;} /** *

Information about the applications.

*/ inline BatchGetApplicationsResult& WithApplicationsInfo(Aws::Vector&& value) { SetApplicationsInfo(std::move(value)); return *this;} /** *

Information about the applications.

*/ inline BatchGetApplicationsResult& AddApplicationsInfo(const ApplicationInfo& value) { m_applicationsInfo.push_back(value); return *this; } /** *

Information about the applications.

*/ inline BatchGetApplicationsResult& AddApplicationsInfo(ApplicationInfo&& value) { m_applicationsInfo.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 BatchGetApplicationsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline BatchGetApplicationsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline BatchGetApplicationsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_applicationsInfo; Aws::String m_requestId; }; } // namespace Model } // namespace CodeDeploy } // namespace Aws