AWS SDK for C++  1.9.16
AWS SDK for C++
GetContainerImagesResult.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 
40  inline const Aws::Vector<ContainerImage>& GetContainerImages() const{ return m_containerImages; }
41 
46  inline void SetContainerImages(const Aws::Vector<ContainerImage>& value) { m_containerImages = value; }
47 
52  inline void SetContainerImages(Aws::Vector<ContainerImage>&& value) { m_containerImages = std::move(value); }
53 
58  inline GetContainerImagesResult& WithContainerImages(const Aws::Vector<ContainerImage>& value) { SetContainerImages(value); return *this;}
59 
64  inline GetContainerImagesResult& WithContainerImages(Aws::Vector<ContainerImage>&& value) { SetContainerImages(std::move(value)); return *this;}
65 
70  inline GetContainerImagesResult& AddContainerImages(const ContainerImage& value) { m_containerImages.push_back(value); return *this; }
71 
76  inline GetContainerImagesResult& AddContainerImages(ContainerImage&& value) { m_containerImages.push_back(std::move(value)); return *this; }
77 
78  private:
79 
80  Aws::Vector<ContainerImage> m_containerImages;
81  };
82 
83 } // namespace Model
84 } // namespace Lightsail
85 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Lightsail::Model::GetContainerImagesResult::GetContainerImages
const Aws::Vector< ContainerImage > & GetContainerImages() const
Definition: GetContainerImagesResult.h:40
Aws::Lightsail::Model::GetContainerImagesResult::SetContainerImages
void SetContainerImages(const Aws::Vector< ContainerImage > &value)
Definition: GetContainerImagesResult.h:46
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Lightsail::Model::GetContainerImagesResult::AddContainerImages
GetContainerImagesResult & AddContainerImages(const ContainerImage &value)
Definition: GetContainerImagesResult.h:70
ContainerImage.h
AWSVector.h
Aws::Lightsail::Model::GetContainerImagesResult::GetContainerImagesResult
GetContainerImagesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Lightsail::Model::GetContainerImagesResult
Definition: GetContainerImagesResult.h:29
Aws::Lightsail::Model::GetContainerImagesResult::SetContainerImages
void SetContainerImages(Aws::Vector< ContainerImage > &&value)
Definition: GetContainerImagesResult.h:52
Aws::Lightsail::Model::GetContainerImagesResult::GetContainerImagesResult
GetContainerImagesResult()
Aws::Lightsail::Model::GetContainerImagesResult::AddContainerImages
GetContainerImagesResult & AddContainerImages(ContainerImage &&value)
Definition: GetContainerImagesResult.h:76
Aws::Lightsail::Model::GetContainerImagesResult::operator=
GetContainerImagesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Lightsail_EXPORTS.h
Aws::Lightsail::Model::GetContainerImagesResult::WithContainerImages
GetContainerImagesResult & WithContainerImages(const Aws::Vector< ContainerImage > &value)
Definition: GetContainerImagesResult.h:58
Aws
Definition: AccessManagementClient.h:15
Aws::Lightsail::Model::ContainerImage
Definition: ContainerImage.h:34
Aws::Lightsail::Model::GetContainerImagesResult::WithContainerImages
GetContainerImagesResult & WithContainerImages(Aws::Vector< ContainerImage > &&value)
Definition: GetContainerImagesResult.h:64
AWS_LIGHTSAIL_API
#define AWS_LIGHTSAIL_API
Definition: Lightsail_EXPORTS.h:28