/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents the output of a BatchGetDeploymentGroups
* operation.See Also:
AWS
* API Reference
Information about the deployment groups.
*/ inline const Aws::VectorInformation about the deployment groups.
*/ inline void SetDeploymentGroupsInfo(const Aws::VectorInformation about the deployment groups.
*/ inline void SetDeploymentGroupsInfo(Aws::VectorInformation about the deployment groups.
*/ inline BatchGetDeploymentGroupsResult& WithDeploymentGroupsInfo(const Aws::VectorInformation about the deployment groups.
*/ inline BatchGetDeploymentGroupsResult& WithDeploymentGroupsInfo(Aws::VectorInformation about the deployment groups.
*/ inline BatchGetDeploymentGroupsResult& AddDeploymentGroupsInfo(const DeploymentGroupInfo& value) { m_deploymentGroupsInfo.push_back(value); return *this; } /** *Information about the deployment groups.
*/ inline BatchGetDeploymentGroupsResult& AddDeploymentGroupsInfo(DeploymentGroupInfo&& value) { m_deploymentGroupsInfo.push_back(std::move(value)); return *this; } /** *Information about errors that might have occurred during the API call.
*/ inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; } /** *Information about errors that might have occurred during the API call.
*/ inline void SetErrorMessage(const Aws::String& value) { m_errorMessage = value; } /** *Information about errors that might have occurred during the API call.
*/ inline void SetErrorMessage(Aws::String&& value) { m_errorMessage = std::move(value); } /** *Information about errors that might have occurred during the API call.
*/ inline void SetErrorMessage(const char* value) { m_errorMessage.assign(value); } /** *Information about errors that might have occurred during the API call.
*/ inline BatchGetDeploymentGroupsResult& WithErrorMessage(const Aws::String& value) { SetErrorMessage(value); return *this;} /** *Information about errors that might have occurred during the API call.
*/ inline BatchGetDeploymentGroupsResult& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;} /** *Information about errors that might have occurred during the API call.
*/ inline BatchGetDeploymentGroupsResult& WithErrorMessage(const char* value) { SetErrorMessage(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 BatchGetDeploymentGroupsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline BatchGetDeploymentGroupsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline BatchGetDeploymentGroupsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector