AWS SDK for C++  1.9.159
AWS SDK for C++
PutImageResult.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ecr/ECR_EXPORTS.h>
8 #include <aws/ecr/model/Image.h>
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace ECR
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
38  inline const Image& GetImage() const{ return m_image; }
39 
43  inline void SetImage(const Image& value) { m_image = value; }
44 
48  inline void SetImage(Image&& value) { m_image = std::move(value); }
49 
53  inline PutImageResult& WithImage(const Image& value) { SetImage(value); return *this;}
54 
58  inline PutImageResult& WithImage(Image&& value) { SetImage(std::move(value)); return *this;}
59 
60  private:
61 
62  Image m_image;
63  };
64 
65 } // namespace Model
66 } // namespace ECR
67 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::ECR::Model::PutImageResult::GetImage
const Image & GetImage() const
Definition: PutImageResult.h:38
Aws::ECR::Model::PutImageResult::SetImage
void SetImage(const Image &value)
Definition: PutImageResult.h:43
Aws::ECR::Model::PutImageResult
Definition: PutImageResult.h:28
Aws::ECR::Model::PutImageResult::PutImageResult
PutImageResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::imagebuilder::Model::ContainerRepositoryService::NOT_SET
@ NOT_SET
ECR_EXPORTS.h
Aws::ECR::Model::PutImageResult::operator=
PutImageResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::ECR::Model::PutImageResult::PutImageResult
PutImageResult()
AWS_ECR_API
#define AWS_ECR_API
Definition: ECR_EXPORTS.h:28
Image.h
Aws::ECR::Model::PutImageResult::WithImage
PutImageResult & WithImage(Image &&value)
Definition: PutImageResult.h:58
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::ECR::Model::Image
Definition: Image.h:33
Aws::ECR::Model::PutImageResult::WithImage
PutImageResult & WithImage(const Image &value)
Definition: PutImageResult.h:53
Aws::ECR::Model::PutImageResult::SetImage
void SetImage(Image &&value)
Definition: PutImageResult.h:48