AWS SDK for C++  1.9.109
AWS SDK for C++
GetContainerServicesResult.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<ContainerService>& GetContainerServices() const{ return m_containerServices; }
40 
44  inline void SetContainerServices(const Aws::Vector<ContainerService>& value) { m_containerServices = value; }
45 
49  inline void SetContainerServices(Aws::Vector<ContainerService>&& value) { m_containerServices = std::move(value); }
50 
54  inline GetContainerServicesResult& WithContainerServices(const Aws::Vector<ContainerService>& value) { SetContainerServices(value); return *this;}
55 
59  inline GetContainerServicesResult& WithContainerServices(Aws::Vector<ContainerService>&& value) { SetContainerServices(std::move(value)); return *this;}
60 
64  inline GetContainerServicesResult& AddContainerServices(const ContainerService& value) { m_containerServices.push_back(value); return *this; }
65 
69  inline GetContainerServicesResult& AddContainerServices(ContainerService&& value) { m_containerServices.push_back(std::move(value)); return *this; }
70 
71  private:
72 
73  Aws::Vector<ContainerService> m_containerServices;
74  };
75 
76 } // namespace Model
77 } // namespace Lightsail
78 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Lightsail::Model::GetContainerServicesResult::WithContainerServices
GetContainerServicesResult & WithContainerServices(Aws::Vector< ContainerService > &&value)
Definition: GetContainerServicesResult.h:59
Aws::Lightsail::Model::GetContainerServicesResult::SetContainerServices
void SetContainerServices(Aws::Vector< ContainerService > &&value)
Definition: GetContainerServicesResult.h:49
Aws::Lightsail::Model::GetContainerServicesResult::WithContainerServices
GetContainerServicesResult & WithContainerServices(const Aws::Vector< ContainerService > &value)
Definition: GetContainerServicesResult.h:54
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::Lightsail::Model::ContainerService
Definition: ContainerService.h:43
Aws::Lightsail::Model::GetContainerServicesResult::GetContainerServices
const Aws::Vector< ContainerService > & GetContainerServices() const
Definition: GetContainerServicesResult.h:39
Aws::Lightsail::Model::GetContainerServicesResult::GetContainerServicesResult
GetContainerServicesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Lightsail::Model::GetContainerServicesResult::GetContainerServicesResult
GetContainerServicesResult()
Aws::Lightsail::Model::GetContainerServicesResult::operator=
GetContainerServicesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Lightsail::Model::GetContainerServicesResult::AddContainerServices
GetContainerServicesResult & AddContainerServices(ContainerService &&value)
Definition: GetContainerServicesResult.h:69
ContainerService.h
Aws::Lightsail::Model::GetContainerServicesResult::SetContainerServices
void SetContainerServices(const Aws::Vector< ContainerService > &value)
Definition: GetContainerServicesResult.h:44
Lightsail_EXPORTS.h
Aws
Definition: AccessManagementClient.h:15
Aws::Lightsail::Model::GetContainerServicesResult
Definition: GetContainerServicesResult.h:29
AWS_LIGHTSAIL_API
#define AWS_LIGHTSAIL_API
Definition: Lightsail_EXPORTS.h:28
Aws::Lightsail::Model::GetContainerServicesResult::AddContainerServices
GetContainerServicesResult & AddContainerServices(const ContainerService &value)
Definition: GetContainerServicesResult.h:64