AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
BatchGetDeploymentsResult.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{
35 {
36 public:
40
41
45 inline const Aws::Vector<DeploymentInfo>& GetDeploymentsInfo() const{ return m_deploymentsInfo; }
46
50 inline void SetDeploymentsInfo(const Aws::Vector<DeploymentInfo>& value) { m_deploymentsInfo = value; }
51
55 inline void SetDeploymentsInfo(Aws::Vector<DeploymentInfo>&& value) { m_deploymentsInfo = std::move(value); }
56
61
66
70 inline BatchGetDeploymentsResult& AddDeploymentsInfo(const DeploymentInfo& value) { m_deploymentsInfo.push_back(value); return *this; }
71
75 inline BatchGetDeploymentsResult& AddDeploymentsInfo(DeploymentInfo&& value) { m_deploymentsInfo.push_back(std::move(value)); return *this; }
76
77 private:
78
79 Aws::Vector<DeploymentInfo> m_deploymentsInfo;
80 };
81
82} // namespace Model
83} // namespace CodeDeploy
84} // namespace Aws
#define AWS_CODEDEPLOY_API
AWS_CODEDEPLOY_API BatchGetDeploymentsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchGetDeploymentsResult & WithDeploymentsInfo(Aws::Vector< DeploymentInfo > &&value)
BatchGetDeploymentsResult & WithDeploymentsInfo(const Aws::Vector< DeploymentInfo > &value)
BatchGetDeploymentsResult & AddDeploymentsInfo(const DeploymentInfo &value)
AWS_CODEDEPLOY_API BatchGetDeploymentsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< DeploymentInfo > & GetDeploymentsInfo() const
void SetDeploymentsInfo(const Aws::Vector< DeploymentInfo > &value)
void SetDeploymentsInfo(Aws::Vector< DeploymentInfo > &&value)
BatchGetDeploymentsResult & AddDeploymentsInfo(DeploymentInfo &&value)
std::vector< T, Aws::Allocator< T > > Vector