AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
BatchGetOnPremisesInstancesResult.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<InstanceInfo>& GetInstanceInfos() const{ return m_instanceInfos; }
46
50 inline void SetInstanceInfos(const Aws::Vector<InstanceInfo>& value) { m_instanceInfos = value; }
51
55 inline void SetInstanceInfos(Aws::Vector<InstanceInfo>&& value) { m_instanceInfos = std::move(value); }
56
61
66
70 inline BatchGetOnPremisesInstancesResult& AddInstanceInfos(const InstanceInfo& value) { m_instanceInfos.push_back(value); return *this; }
71
75 inline BatchGetOnPremisesInstancesResult& AddInstanceInfos(InstanceInfo&& value) { m_instanceInfos.push_back(std::move(value)); return *this; }
76
77 private:
78
79 Aws::Vector<InstanceInfo> m_instanceInfos;
80 };
81
82} // namespace Model
83} // namespace CodeDeploy
84} // namespace Aws
#define AWS_CODEDEPLOY_API
AWS_CODEDEPLOY_API BatchGetOnPremisesInstancesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchGetOnPremisesInstancesResult & WithInstanceInfos(const Aws::Vector< InstanceInfo > &value)
BatchGetOnPremisesInstancesResult & WithInstanceInfos(Aws::Vector< InstanceInfo > &&value)
AWS_CODEDEPLOY_API BatchGetOnPremisesInstancesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchGetOnPremisesInstancesResult & AddInstanceInfos(InstanceInfo &&value)
BatchGetOnPremisesInstancesResult & AddInstanceInfos(const InstanceInfo &value)
std::vector< T, Aws::Allocator< T > > Vector