7#include <aws/codedeploy/CodeDeploy_EXPORTS.h>
8#include <aws/codedeploy/model/DeploymentGroupInfo.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
15template <
typename RESULT_TYPE>
16class AmazonWebServiceResult;
42 template <
typename DeploymentGroupsInfoT = Aws::Vector<DeploymentGroupInfo>>
44 m_deploymentGroupsInfoHasBeenSet =
true;
45 m_deploymentGroupsInfo = std::forward<DeploymentGroupsInfoT>(value);
47 template <
typename DeploymentGroupsInfoT = Aws::Vector<DeploymentGroupInfo>>
52 template <
typename DeploymentGroupsInfoT = DeploymentGroupInfo>
54 m_deploymentGroupsInfoHasBeenSet =
true;
55 m_deploymentGroupsInfo.emplace_back(std::forward<DeploymentGroupsInfoT>(value));
65 template <
typename ErrorMessageT = Aws::String>
67 m_errorMessageHasBeenSet =
true;
68 m_errorMessage = std::forward<ErrorMessageT>(value);
70 template <
typename ErrorMessageT = Aws::String>
80 template <
typename RequestIdT = Aws::String>
82 m_requestIdHasBeenSet =
true;
83 m_requestId = std::forward<RequestIdT>(value);
85 template <
typename RequestIdT = Aws::String>
97 bool m_deploymentGroupsInfoHasBeenSet =
false;
98 bool m_errorMessageHasBeenSet =
false;
99 bool m_requestIdHasBeenSet =
false;
void SetErrorMessage(ErrorMessageT &&value)
const Aws::String & GetErrorMessage() const
BatchGetDeploymentGroupsResult & WithRequestId(RequestIdT &&value)
BatchGetDeploymentGroupsResult & WithDeploymentGroupsInfo(DeploymentGroupsInfoT &&value)
AWS_CODEDEPLOY_API BatchGetDeploymentGroupsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< DeploymentGroupInfo > & GetDeploymentGroupsInfo() const
BatchGetDeploymentGroupsResult & AddDeploymentGroupsInfo(DeploymentGroupsInfoT &&value)
void SetRequestId(RequestIdT &&value)
BatchGetDeploymentGroupsResult & WithErrorMessage(ErrorMessageT &&value)
AWS_CODEDEPLOY_API BatchGetDeploymentGroupsResult()=default
const Aws::String & GetRequestId() const
AWS_CODEDEPLOY_API BatchGetDeploymentGroupsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetDeploymentGroupsInfo(DeploymentGroupsInfoT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue