AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
BatchGetDeploymentTargetsResult.h
Go to the documentation of this file.
1
6#pragma once
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace CodeDeploy
25{
26namespace Model
27{
29 {
30 public:
34
35
46 inline const Aws::Vector<DeploymentTarget>& GetDeploymentTargets() const{ return m_deploymentTargets; }
47
58 inline void SetDeploymentTargets(const Aws::Vector<DeploymentTarget>& value) { m_deploymentTargets = value; }
59
70 inline void SetDeploymentTargets(Aws::Vector<DeploymentTarget>&& value) { m_deploymentTargets = std::move(value); }
71
83
95
106 inline BatchGetDeploymentTargetsResult& AddDeploymentTargets(const DeploymentTarget& value) { m_deploymentTargets.push_back(value); return *this; }
107
118 inline BatchGetDeploymentTargetsResult& AddDeploymentTargets(DeploymentTarget&& value) { m_deploymentTargets.push_back(std::move(value)); return *this; }
119
120 private:
121
122 Aws::Vector<DeploymentTarget> m_deploymentTargets;
123 };
124
125} // namespace Model
126} // namespace CodeDeploy
127} // namespace Aws
#define AWS_CODEDEPLOY_API
void SetDeploymentTargets(Aws::Vector< DeploymentTarget > &&value)
const Aws::Vector< DeploymentTarget > & GetDeploymentTargets() const
void SetDeploymentTargets(const Aws::Vector< DeploymentTarget > &value)
BatchGetDeploymentTargetsResult & WithDeploymentTargets(Aws::Vector< DeploymentTarget > &&value)
BatchGetDeploymentTargetsResult & AddDeploymentTargets(const DeploymentTarget &value)
AWS_CODEDEPLOY_API BatchGetDeploymentTargetsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchGetDeploymentTargetsResult & WithDeploymentTargets(const Aws::Vector< DeploymentTarget > &value)
BatchGetDeploymentTargetsResult & AddDeploymentTargets(DeploymentTarget &&value)
AWS_CODEDEPLOY_API BatchGetDeploymentTargetsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::vector< T, Aws::Allocator< T > > Vector