AWS SDK for C++  1.9.107
AWS SDK for C++
DescribeImageScanFindingsResult.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ecr/ECR_EXPORTS.h>
12 #include <utility>
13 
14 namespace Aws
15 {
16 template<typename RESULT_TYPE>
17 class AmazonWebServiceResult;
18 
19 namespace Utils
20 {
21 namespace Json
22 {
23  class JsonValue;
24 } // namespace Json
25 } // namespace Utils
26 namespace ECR
27 {
28 namespace Model
29 {
31  {
32  public:
36 
37 
41  inline const Aws::String& GetRegistryId() const{ return m_registryId; }
42 
46  inline void SetRegistryId(const Aws::String& value) { m_registryId = value; }
47 
51  inline void SetRegistryId(Aws::String&& value) { m_registryId = std::move(value); }
52 
56  inline void SetRegistryId(const char* value) { m_registryId.assign(value); }
57 
61  inline DescribeImageScanFindingsResult& WithRegistryId(const Aws::String& value) { SetRegistryId(value); return *this;}
62 
66  inline DescribeImageScanFindingsResult& WithRegistryId(Aws::String&& value) { SetRegistryId(std::move(value)); return *this;}
67 
71  inline DescribeImageScanFindingsResult& WithRegistryId(const char* value) { SetRegistryId(value); return *this;}
72 
73 
77  inline const Aws::String& GetRepositoryName() const{ return m_repositoryName; }
78 
82  inline void SetRepositoryName(const Aws::String& value) { m_repositoryName = value; }
83 
87  inline void SetRepositoryName(Aws::String&& value) { m_repositoryName = std::move(value); }
88 
92  inline void SetRepositoryName(const char* value) { m_repositoryName.assign(value); }
93 
97  inline DescribeImageScanFindingsResult& WithRepositoryName(const Aws::String& value) { SetRepositoryName(value); return *this;}
98 
102  inline DescribeImageScanFindingsResult& WithRepositoryName(Aws::String&& value) { SetRepositoryName(std::move(value)); return *this;}
103 
107  inline DescribeImageScanFindingsResult& WithRepositoryName(const char* value) { SetRepositoryName(value); return *this;}
108 
109 
110 
111  inline const ImageIdentifier& GetImageId() const{ return m_imageId; }
112 
113 
114  inline void SetImageId(const ImageIdentifier& value) { m_imageId = value; }
115 
116 
117  inline void SetImageId(ImageIdentifier&& value) { m_imageId = std::move(value); }
118 
119 
120  inline DescribeImageScanFindingsResult& WithImageId(const ImageIdentifier& value) { SetImageId(value); return *this;}
121 
122 
123  inline DescribeImageScanFindingsResult& WithImageId(ImageIdentifier&& value) { SetImageId(std::move(value)); return *this;}
124 
125 
129  inline const ImageScanStatus& GetImageScanStatus() const{ return m_imageScanStatus; }
130 
134  inline void SetImageScanStatus(const ImageScanStatus& value) { m_imageScanStatus = value; }
135 
139  inline void SetImageScanStatus(ImageScanStatus&& value) { m_imageScanStatus = std::move(value); }
140 
144  inline DescribeImageScanFindingsResult& WithImageScanStatus(const ImageScanStatus& value) { SetImageScanStatus(value); return *this;}
145 
149  inline DescribeImageScanFindingsResult& WithImageScanStatus(ImageScanStatus&& value) { SetImageScanStatus(std::move(value)); return *this;}
150 
151 
155  inline const ImageScanFindings& GetImageScanFindings() const{ return m_imageScanFindings; }
156 
160  inline void SetImageScanFindings(const ImageScanFindings& value) { m_imageScanFindings = value; }
161 
165  inline void SetImageScanFindings(ImageScanFindings&& value) { m_imageScanFindings = std::move(value); }
166 
170  inline DescribeImageScanFindingsResult& WithImageScanFindings(const ImageScanFindings& value) { SetImageScanFindings(value); return *this;}
171 
175  inline DescribeImageScanFindingsResult& WithImageScanFindings(ImageScanFindings&& value) { SetImageScanFindings(std::move(value)); return *this;}
176 
177 
185  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
186 
194  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
195 
203  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
204 
212  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
213 
221  inline DescribeImageScanFindingsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
222 
230  inline DescribeImageScanFindingsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
231 
239  inline DescribeImageScanFindingsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
240 
241  private:
242 
243  Aws::String m_registryId;
244 
245  Aws::String m_repositoryName;
246 
247  ImageIdentifier m_imageId;
248 
249  ImageScanStatus m_imageScanStatus;
250 
251  ImageScanFindings m_imageScanFindings;
252 
253  Aws::String m_nextToken;
254  };
255 
256 } // namespace Model
257 } // namespace ECR
258 } // namespace Aws
Aws::ECR::Model::DescribeImageScanFindingsResult::WithImageScanStatus
DescribeImageScanFindingsResult & WithImageScanStatus(const ImageScanStatus &value)
Definition: DescribeImageScanFindingsResult.h:144
Aws::ECR::Model::DescribeImageScanFindingsResult::SetRepositoryName
void SetRepositoryName(const Aws::String &value)
Definition: DescribeImageScanFindingsResult.h:82
Aws::ECR::Model::DescribeImageScanFindingsResult::SetImageId
void SetImageId(ImageIdentifier &&value)
Definition: DescribeImageScanFindingsResult.h:117
Aws::ECR::Model::DescribeImageScanFindingsResult
Definition: DescribeImageScanFindingsResult.h:31
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::ECR::Model::DescribeImageScanFindingsResult::WithImageId
DescribeImageScanFindingsResult & WithImageId(ImageIdentifier &&value)
Definition: DescribeImageScanFindingsResult.h:123
Aws::ECR::Model::DescribeImageScanFindingsResult::SetRegistryId
void SetRegistryId(Aws::String &&value)
Definition: DescribeImageScanFindingsResult.h:51
ImageScanFindings.h
Aws::ECR::Model::DescribeImageScanFindingsResult::GetRepositoryName
const Aws::String & GetRepositoryName() const
Definition: DescribeImageScanFindingsResult.h:77
Aws::ECR::Model::DescribeImageScanFindingsResult::SetNextToken
void SetNextToken(const char *value)
Definition: DescribeImageScanFindingsResult.h:212
Aws::ECR::Model::DescribeImageScanFindingsResult::WithImageScanStatus
DescribeImageScanFindingsResult & WithImageScanStatus(ImageScanStatus &&value)
Definition: DescribeImageScanFindingsResult.h:149
Aws::ECR::Model::DescribeImageScanFindingsResult::WithNextToken
DescribeImageScanFindingsResult & WithNextToken(const char *value)
Definition: DescribeImageScanFindingsResult.h:239
Aws::ECR::Model::DescribeImageScanFindingsResult::SetRepositoryName
void SetRepositoryName(Aws::String &&value)
Definition: DescribeImageScanFindingsResult.h:87
ImageIdentifier.h
Aws::ECR::Model::DescribeImageScanFindingsResult::GetImageScanStatus
const ImageScanStatus & GetImageScanStatus() const
Definition: DescribeImageScanFindingsResult.h:129
Aws::ECR::Model::DescribeImageScanFindingsResult::WithImageId
DescribeImageScanFindingsResult & WithImageId(const ImageIdentifier &value)
Definition: DescribeImageScanFindingsResult.h:120
Aws::ECR::Model::ImageScanStatus
Definition: ImageScanStatus.h:33
Aws::ECR::Model::DescribeImageScanFindingsResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: DescribeImageScanFindingsResult.h:194
Aws::ECR::Model::DescribeImageScanFindingsResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: DescribeImageScanFindingsResult.h:185
Aws::ECR::Model::DescribeImageScanFindingsResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: DescribeImageScanFindingsResult.h:203
Aws::ECR::Model::DescribeImageScanFindingsResult::GetRegistryId
const Aws::String & GetRegistryId() const
Definition: DescribeImageScanFindingsResult.h:41
Aws::ECR::Model::DescribeImageScanFindingsResult::WithNextToken
DescribeImageScanFindingsResult & WithNextToken(Aws::String &&value)
Definition: DescribeImageScanFindingsResult.h:230
Aws::ECR::Model::DescribeImageScanFindingsResult::GetImageScanFindings
const ImageScanFindings & GetImageScanFindings() const
Definition: DescribeImageScanFindingsResult.h:155
Aws::ECR::Model::DescribeImageScanFindingsResult::WithImageScanFindings
DescribeImageScanFindingsResult & WithImageScanFindings(const ImageScanFindings &value)
Definition: DescribeImageScanFindingsResult.h:170
Aws::ECR::Model::DescribeImageScanFindingsResult::WithRepositoryName
DescribeImageScanFindingsResult & WithRepositoryName(const char *value)
Definition: DescribeImageScanFindingsResult.h:107
ImageScanStatus.h
Aws::ECR::Model::DescribeImageScanFindingsResult::DescribeImageScanFindingsResult
DescribeImageScanFindingsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::ECR::Model::DescribeImageScanFindingsResult::SetImageScanStatus
void SetImageScanStatus(const ImageScanStatus &value)
Definition: DescribeImageScanFindingsResult.h:134
Aws::ECR::Model::DescribeImageScanFindingsResult::SetImageId
void SetImageId(const ImageIdentifier &value)
Definition: DescribeImageScanFindingsResult.h:114
Aws::ECR::Model::DescribeImageScanFindingsResult::DescribeImageScanFindingsResult
DescribeImageScanFindingsResult()
Aws::ECR::Model::DescribeImageScanFindingsResult::GetImageId
const ImageIdentifier & GetImageId() const
Definition: DescribeImageScanFindingsResult.h:111
Aws::imagebuilder::Model::ContainerRepositoryService::NOT_SET
@ NOT_SET
Aws::ECR::Model::DescribeImageScanFindingsResult::SetRegistryId
void SetRegistryId(const Aws::String &value)
Definition: DescribeImageScanFindingsResult.h:46
ECR_EXPORTS.h
Aws::ECR::Model::DescribeImageScanFindingsResult::WithRepositoryName
DescribeImageScanFindingsResult & WithRepositoryName(Aws::String &&value)
Definition: DescribeImageScanFindingsResult.h:102
Aws::ECR::Model::DescribeImageScanFindingsResult::WithRegistryId
DescribeImageScanFindingsResult & WithRegistryId(const Aws::String &value)
Definition: DescribeImageScanFindingsResult.h:61
AWSString.h
Aws::ECR::Model::DescribeImageScanFindingsResult::WithImageScanFindings
DescribeImageScanFindingsResult & WithImageScanFindings(ImageScanFindings &&value)
Definition: DescribeImageScanFindingsResult.h:175
Aws::ECR::Model::DescribeImageScanFindingsResult::WithRegistryId
DescribeImageScanFindingsResult & WithRegistryId(Aws::String &&value)
Definition: DescribeImageScanFindingsResult.h:66
AWS_ECR_API
#define AWS_ECR_API
Definition: ECR_EXPORTS.h:28
Aws::ECR::Model::DescribeImageScanFindingsResult::SetImageScanStatus
void SetImageScanStatus(ImageScanStatus &&value)
Definition: DescribeImageScanFindingsResult.h:139
Aws::ECR::Model::DescribeImageScanFindingsResult::WithRegistryId
DescribeImageScanFindingsResult & WithRegistryId(const char *value)
Definition: DescribeImageScanFindingsResult.h:71
Aws::ECR::Model::ImageScanFindings
Definition: ImageScanFindings.h:36
Aws::ECR::Model::ImageIdentifier
Definition: ImageIdentifier.h:33
Aws
Definition: AccessManagementClient.h:15
Aws::ECR::Model::DescribeImageScanFindingsResult::operator=
DescribeImageScanFindingsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ECR::Model::DescribeImageScanFindingsResult::WithNextToken
DescribeImageScanFindingsResult & WithNextToken(const Aws::String &value)
Definition: DescribeImageScanFindingsResult.h:221
Aws::ECR::Model::DescribeImageScanFindingsResult::SetRegistryId
void SetRegistryId(const char *value)
Definition: DescribeImageScanFindingsResult.h:56
Aws::ECR::Model::DescribeImageScanFindingsResult::SetRepositoryName
void SetRepositoryName(const char *value)
Definition: DescribeImageScanFindingsResult.h:92
Aws::ECR::Model::DescribeImageScanFindingsResult::SetImageScanFindings
void SetImageScanFindings(const ImageScanFindings &value)
Definition: DescribeImageScanFindingsResult.h:160
Aws::ECR::Model::DescribeImageScanFindingsResult::SetImageScanFindings
void SetImageScanFindings(ImageScanFindings &&value)
Definition: DescribeImageScanFindingsResult.h:165
Aws::ECR::Model::DescribeImageScanFindingsResult::WithRepositoryName
DescribeImageScanFindingsResult & WithRepositoryName(const Aws::String &value)
Definition: DescribeImageScanFindingsResult.h:97