AWS SDK for C++  1.9.104
AWS SDK for C++
StartImageScanResult.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ecr/ECR_EXPORTS.h>
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace ECR
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
40  inline const Aws::String& GetRegistryId() const{ return m_registryId; }
41 
45  inline void SetRegistryId(const Aws::String& value) { m_registryId = value; }
46 
50  inline void SetRegistryId(Aws::String&& value) { m_registryId = std::move(value); }
51 
55  inline void SetRegistryId(const char* value) { m_registryId.assign(value); }
56 
60  inline StartImageScanResult& WithRegistryId(const Aws::String& value) { SetRegistryId(value); return *this;}
61 
65  inline StartImageScanResult& WithRegistryId(Aws::String&& value) { SetRegistryId(std::move(value)); return *this;}
66 
70  inline StartImageScanResult& WithRegistryId(const char* value) { SetRegistryId(value); return *this;}
71 
72 
76  inline const Aws::String& GetRepositoryName() const{ return m_repositoryName; }
77 
81  inline void SetRepositoryName(const Aws::String& value) { m_repositoryName = value; }
82 
86  inline void SetRepositoryName(Aws::String&& value) { m_repositoryName = std::move(value); }
87 
91  inline void SetRepositoryName(const char* value) { m_repositoryName.assign(value); }
92 
96  inline StartImageScanResult& WithRepositoryName(const Aws::String& value) { SetRepositoryName(value); return *this;}
97 
101  inline StartImageScanResult& WithRepositoryName(Aws::String&& value) { SetRepositoryName(std::move(value)); return *this;}
102 
106  inline StartImageScanResult& WithRepositoryName(const char* value) { SetRepositoryName(value); return *this;}
107 
108 
109 
110  inline const ImageIdentifier& GetImageId() const{ return m_imageId; }
111 
112 
113  inline void SetImageId(const ImageIdentifier& value) { m_imageId = value; }
114 
115 
116  inline void SetImageId(ImageIdentifier&& value) { m_imageId = std::move(value); }
117 
118 
119  inline StartImageScanResult& WithImageId(const ImageIdentifier& value) { SetImageId(value); return *this;}
120 
121 
122  inline StartImageScanResult& WithImageId(ImageIdentifier&& value) { SetImageId(std::move(value)); return *this;}
123 
124 
128  inline const ImageScanStatus& GetImageScanStatus() const{ return m_imageScanStatus; }
129 
133  inline void SetImageScanStatus(const ImageScanStatus& value) { m_imageScanStatus = value; }
134 
138  inline void SetImageScanStatus(ImageScanStatus&& value) { m_imageScanStatus = std::move(value); }
139 
143  inline StartImageScanResult& WithImageScanStatus(const ImageScanStatus& value) { SetImageScanStatus(value); return *this;}
144 
148  inline StartImageScanResult& WithImageScanStatus(ImageScanStatus&& value) { SetImageScanStatus(std::move(value)); return *this;}
149 
150  private:
151 
152  Aws::String m_registryId;
153 
154  Aws::String m_repositoryName;
155 
156  ImageIdentifier m_imageId;
157 
158  ImageScanStatus m_imageScanStatus;
159  };
160 
161 } // namespace Model
162 } // namespace ECR
163 } // namespace Aws
Aws::ECR::Model::StartImageScanResult::WithImageId
StartImageScanResult & WithImageId(const ImageIdentifier &value)
Definition: StartImageScanResult.h:119
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::ECR::Model::StartImageScanResult::StartImageScanResult
StartImageScanResult()
Aws::ECR::Model::StartImageScanResult::WithRepositoryName
StartImageScanResult & WithRepositoryName(Aws::String &&value)
Definition: StartImageScanResult.h:101
Aws::ECR::Model::StartImageScanResult::SetRepositoryName
void SetRepositoryName(const char *value)
Definition: StartImageScanResult.h:91
ImageIdentifier.h
Aws::ECR::Model::StartImageScanResult::WithRepositoryName
StartImageScanResult & WithRepositoryName(const char *value)
Definition: StartImageScanResult.h:106
Aws::ECR::Model::ImageScanStatus
Definition: ImageScanStatus.h:33
Aws::ECR::Model::StartImageScanResult::StartImageScanResult
StartImageScanResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::ECR::Model::StartImageScanResult::SetRepositoryName
void SetRepositoryName(Aws::String &&value)
Definition: StartImageScanResult.h:86
Aws::ECR::Model::StartImageScanResult::SetImageId
void SetImageId(const ImageIdentifier &value)
Definition: StartImageScanResult.h:113
Aws::ECR::Model::StartImageScanResult::WithRegistryId
StartImageScanResult & WithRegistryId(const Aws::String &value)
Definition: StartImageScanResult.h:60
ImageScanStatus.h
Aws::ECR::Model::StartImageScanResult::SetRegistryId
void SetRegistryId(const char *value)
Definition: StartImageScanResult.h:55
Aws::imagebuilder::Model::ContainerRepositoryService::NOT_SET
@ NOT_SET
Aws::ECR::Model::StartImageScanResult::SetRegistryId
void SetRegistryId(const Aws::String &value)
Definition: StartImageScanResult.h:45
Aws::ECR::Model::StartImageScanResult::GetRegistryId
const Aws::String & GetRegistryId() const
Definition: StartImageScanResult.h:40
Aws::ECR::Model::StartImageScanResult::SetImageScanStatus
void SetImageScanStatus(const ImageScanStatus &value)
Definition: StartImageScanResult.h:133
ECR_EXPORTS.h
Aws::ECR::Model::StartImageScanResult::GetRepositoryName
const Aws::String & GetRepositoryName() const
Definition: StartImageScanResult.h:76
AWSString.h
Aws::ECR::Model::StartImageScanResult::WithRegistryId
StartImageScanResult & WithRegistryId(const char *value)
Definition: StartImageScanResult.h:70
AWS_ECR_API
#define AWS_ECR_API
Definition: ECR_EXPORTS.h:28
Aws::ECR::Model::StartImageScanResult::SetImageScanStatus
void SetImageScanStatus(ImageScanStatus &&value)
Definition: StartImageScanResult.h:138
Aws::ECR::Model::StartImageScanResult::SetRegistryId
void SetRegistryId(Aws::String &&value)
Definition: StartImageScanResult.h:50
Aws::ECR::Model::StartImageScanResult::WithImageId
StartImageScanResult & WithImageId(ImageIdentifier &&value)
Definition: StartImageScanResult.h:122
Aws::ECR::Model::StartImageScanResult::operator=
StartImageScanResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::ECR::Model::StartImageScanResult
Definition: StartImageScanResult.h:30
Aws::ECR::Model::StartImageScanResult::GetImageId
const ImageIdentifier & GetImageId() const
Definition: StartImageScanResult.h:110
Aws::ECR::Model::ImageIdentifier
Definition: ImageIdentifier.h:33
Aws
Definition: AccessManagementClient.h:15
Aws::ECR::Model::StartImageScanResult::SetRepositoryName
void SetRepositoryName(const Aws::String &value)
Definition: StartImageScanResult.h:81
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ECR::Model::StartImageScanResult::WithImageScanStatus
StartImageScanResult & WithImageScanStatus(const ImageScanStatus &value)
Definition: StartImageScanResult.h:143
Aws::ECR::Model::StartImageScanResult::WithRegistryId
StartImageScanResult & WithRegistryId(Aws::String &&value)
Definition: StartImageScanResult.h:65
Aws::ECR::Model::StartImageScanResult::SetImageId
void SetImageId(ImageIdentifier &&value)
Definition: StartImageScanResult.h:116
Aws::ECR::Model::StartImageScanResult::WithRepositoryName
StartImageScanResult & WithRepositoryName(const Aws::String &value)
Definition: StartImageScanResult.h:96
Aws::ECR::Model::StartImageScanResult::GetImageScanStatus
const ImageScanStatus & GetImageScanStatus() const
Definition: StartImageScanResult.h:128
Aws::ECR::Model::StartImageScanResult::WithImageScanStatus
StartImageScanResult & WithImageScanStatus(ImageScanStatus &&value)
Definition: StartImageScanResult.h:148