AWS SDK for C++  1.9.104
AWS SDK for C++
GetContainerServiceDeploymentsResult.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace Lightsail
25 {
26 namespace Model
27 {
29  {
30  public:
34 
35 
39  inline const Aws::Vector<ContainerServiceDeployment>& GetDeployments() const{ return m_deployments; }
40 
44  inline void SetDeployments(const Aws::Vector<ContainerServiceDeployment>& value) { m_deployments = value; }
45 
49  inline void SetDeployments(Aws::Vector<ContainerServiceDeployment>&& value) { m_deployments = std::move(value); }
50 
54  inline GetContainerServiceDeploymentsResult& WithDeployments(const Aws::Vector<ContainerServiceDeployment>& value) { SetDeployments(value); return *this;}
55 
59  inline GetContainerServiceDeploymentsResult& WithDeployments(Aws::Vector<ContainerServiceDeployment>&& value) { SetDeployments(std::move(value)); return *this;}
60 
64  inline GetContainerServiceDeploymentsResult& AddDeployments(const ContainerServiceDeployment& value) { m_deployments.push_back(value); return *this; }
65 
69  inline GetContainerServiceDeploymentsResult& AddDeployments(ContainerServiceDeployment&& value) { m_deployments.push_back(std::move(value)); return *this; }
70 
71  private:
72 
74  };
75 
76 } // namespace Model
77 } // namespace Lightsail
78 } // namespace Aws
Aws::Lightsail::Model::ContainerServiceDeployment
Definition: ContainerServiceDeployment.h:40
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Lightsail::Model::GetContainerServiceDeploymentsResult::GetContainerServiceDeploymentsResult
GetContainerServiceDeploymentsResult()
Aws::Lightsail::Model::GetContainerServiceDeploymentsResult::GetContainerServiceDeploymentsResult
GetContainerServiceDeploymentsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Lightsail::Model::GetContainerServiceDeploymentsResult::SetDeployments
void SetDeployments(const Aws::Vector< ContainerServiceDeployment > &value)
Definition: GetContainerServiceDeploymentsResult.h:44
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Lightsail::Model::GetContainerServiceDeploymentsResult::SetDeployments
void SetDeployments(Aws::Vector< ContainerServiceDeployment > &&value)
Definition: GetContainerServiceDeploymentsResult.h:49
AWSVector.h
Aws::Lightsail::Model::GetContainerServiceDeploymentsResult::AddDeployments
GetContainerServiceDeploymentsResult & AddDeployments(const ContainerServiceDeployment &value)
Definition: GetContainerServiceDeploymentsResult.h:64
Aws::Lightsail::Model::GetContainerServiceDeploymentsResult::AddDeployments
GetContainerServiceDeploymentsResult & AddDeployments(ContainerServiceDeployment &&value)
Definition: GetContainerServiceDeploymentsResult.h:69
ContainerServiceDeployment.h
Aws::Lightsail::Model::GetContainerServiceDeploymentsResult::GetDeployments
const Aws::Vector< ContainerServiceDeployment > & GetDeployments() const
Definition: GetContainerServiceDeploymentsResult.h:39
Lightsail_EXPORTS.h
Aws::Lightsail::Model::GetContainerServiceDeploymentsResult::WithDeployments
GetContainerServiceDeploymentsResult & WithDeployments(Aws::Vector< ContainerServiceDeployment > &&value)
Definition: GetContainerServiceDeploymentsResult.h:59
Aws
Definition: AccessManagementClient.h:15
Aws::Lightsail::Model::GetContainerServiceDeploymentsResult::WithDeployments
GetContainerServiceDeploymentsResult & WithDeployments(const Aws::Vector< ContainerServiceDeployment > &value)
Definition: GetContainerServiceDeploymentsResult.h:54
AWS_LIGHTSAIL_API
#define AWS_LIGHTSAIL_API
Definition: Lightsail_EXPORTS.h:28
Aws::Lightsail::Model::GetContainerServiceDeploymentsResult
Definition: GetContainerServiceDeploymentsResult.h:29
Aws::Lightsail::Model::GetContainerServiceDeploymentsResult::operator=
GetContainerServiceDeploymentsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)