7#include <aws/codedeploy/CodeDeploy_EXPORTS.h>
8#include <aws/codedeploy/model/DeploymentTarget.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;
43 template <
typename DeploymentTargetsT = Aws::Vector<DeploymentTarget>>
45 m_deploymentTargetsHasBeenSet =
true;
46 m_deploymentTargets = std::forward<DeploymentTargetsT>(value);
48 template <
typename DeploymentTargetsT = Aws::Vector<DeploymentTarget>>
53 template <
typename DeploymentTargetsT = DeploymentTarget>
55 m_deploymentTargetsHasBeenSet =
true;
56 m_deploymentTargets.emplace_back(std::forward<DeploymentTargetsT>(value));
64 template <
typename RequestIdT = Aws::String>
66 m_requestIdHasBeenSet =
true;
67 m_requestId = std::forward<RequestIdT>(value);
69 template <
typename RequestIdT = Aws::String>
79 bool m_deploymentTargetsHasBeenSet =
false;
80 bool m_requestIdHasBeenSet =
false;
BatchGetDeploymentTargetsResult & WithRequestId(RequestIdT &&value)
const Aws::Vector< DeploymentTarget > & GetDeploymentTargets() const
void SetRequestId(RequestIdT &&value)
void SetDeploymentTargets(DeploymentTargetsT &&value)
AWS_CODEDEPLOY_API BatchGetDeploymentTargetsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchGetDeploymentTargetsResult & AddDeploymentTargets(DeploymentTargetsT &&value)
BatchGetDeploymentTargetsResult & WithDeploymentTargets(DeploymentTargetsT &&value)
const Aws::String & GetRequestId() const
AWS_CODEDEPLOY_API BatchGetDeploymentTargetsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_CODEDEPLOY_API BatchGetDeploymentTargetsResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue