/** * 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 BatchGetDeployments operation. *

See Also:

AWS * API Reference

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

Information about the deployments.

*/ inline const Aws::Vector& GetDeploymentsInfo() const{ return m_deploymentsInfo; } /** *

Information about the deployments.

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

Information about the deployments.

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

Information about the deployments.

*/ inline BatchGetDeploymentsResult& WithDeploymentsInfo(const Aws::Vector& value) { SetDeploymentsInfo(value); return *this;} /** *

Information about the deployments.

*/ inline BatchGetDeploymentsResult& WithDeploymentsInfo(Aws::Vector&& value) { SetDeploymentsInfo(std::move(value)); return *this;} /** *

Information about the deployments.

*/ inline BatchGetDeploymentsResult& AddDeploymentsInfo(const DeploymentInfo& value) { m_deploymentsInfo.push_back(value); return *this; } /** *

Information about the deployments.

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