AWS SDK for C++  1.9.71
AWS SDK for C++
DescribeImageScanFindingsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ecr/ECR_EXPORTS.h>
8 #include <aws/ecr/ECRRequest.h>
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace ECR
16 {
17 namespace Model
18 {
19 
23  {
24  public:
26 
27  // Service request name is the Operation name which will send this request out,
28  // each operation should has unique request name, so that we can get operation's name from this request.
29  // Note: this is not true for response, multiple operations may have the same response name,
30  // so we can not get operation's name from response.
31  inline virtual const char* GetServiceRequestName() const override { return "DescribeImageScanFindings"; }
32 
33  Aws::String SerializePayload() const override;
34 
36 
37 
43  inline const Aws::String& GetRegistryId() const{ return m_registryId; }
44 
50  inline bool RegistryIdHasBeenSet() const { return m_registryIdHasBeenSet; }
51 
57  inline void SetRegistryId(const Aws::String& value) { m_registryIdHasBeenSet = true; m_registryId = value; }
58 
64  inline void SetRegistryId(Aws::String&& value) { m_registryIdHasBeenSet = true; m_registryId = std::move(value); }
65 
71  inline void SetRegistryId(const char* value) { m_registryIdHasBeenSet = true; m_registryId.assign(value); }
72 
78  inline DescribeImageScanFindingsRequest& WithRegistryId(const Aws::String& value) { SetRegistryId(value); return *this;}
79 
85  inline DescribeImageScanFindingsRequest& WithRegistryId(Aws::String&& value) { SetRegistryId(std::move(value)); return *this;}
86 
92  inline DescribeImageScanFindingsRequest& WithRegistryId(const char* value) { SetRegistryId(value); return *this;}
93 
94 
98  inline const Aws::String& GetRepositoryName() const{ return m_repositoryName; }
99 
103  inline bool RepositoryNameHasBeenSet() const { return m_repositoryNameHasBeenSet; }
104 
108  inline void SetRepositoryName(const Aws::String& value) { m_repositoryNameHasBeenSet = true; m_repositoryName = value; }
109 
113  inline void SetRepositoryName(Aws::String&& value) { m_repositoryNameHasBeenSet = true; m_repositoryName = std::move(value); }
114 
118  inline void SetRepositoryName(const char* value) { m_repositoryNameHasBeenSet = true; m_repositoryName.assign(value); }
119 
123  inline DescribeImageScanFindingsRequest& WithRepositoryName(const Aws::String& value) { SetRepositoryName(value); return *this;}
124 
128  inline DescribeImageScanFindingsRequest& WithRepositoryName(Aws::String&& value) { SetRepositoryName(std::move(value)); return *this;}
129 
133  inline DescribeImageScanFindingsRequest& WithRepositoryName(const char* value) { SetRepositoryName(value); return *this;}
134 
135 
136 
137  inline const ImageIdentifier& GetImageId() const{ return m_imageId; }
138 
139 
140  inline bool ImageIdHasBeenSet() const { return m_imageIdHasBeenSet; }
141 
142 
143  inline void SetImageId(const ImageIdentifier& value) { m_imageIdHasBeenSet = true; m_imageId = value; }
144 
145 
146  inline void SetImageId(ImageIdentifier&& value) { m_imageIdHasBeenSet = true; m_imageId = std::move(value); }
147 
148 
149  inline DescribeImageScanFindingsRequest& WithImageId(const ImageIdentifier& value) { SetImageId(value); return *this;}
150 
151 
152  inline DescribeImageScanFindingsRequest& WithImageId(ImageIdentifier&& value) { SetImageId(std::move(value)); return *this;}
153 
154 
162  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
163 
171  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
172 
180  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
181 
189  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
190 
198  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
199 
207  inline DescribeImageScanFindingsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
208 
216  inline DescribeImageScanFindingsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
217 
225  inline DescribeImageScanFindingsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
226 
227 
240  inline int GetMaxResults() const{ return m_maxResults; }
241 
254  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
255 
268  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
269 
282  inline DescribeImageScanFindingsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
283 
284  private:
285 
286  Aws::String m_registryId;
287  bool m_registryIdHasBeenSet;
288 
289  Aws::String m_repositoryName;
290  bool m_repositoryNameHasBeenSet;
291 
292  ImageIdentifier m_imageId;
293  bool m_imageIdHasBeenSet;
294 
295  Aws::String m_nextToken;
296  bool m_nextTokenHasBeenSet;
297 
298  int m_maxResults;
299  bool m_maxResultsHasBeenSet;
300  };
301 
302 } // namespace Model
303 } // namespace ECR
304 } // namespace Aws
Aws::ECR::Model::DescribeImageScanFindingsRequest::WithRegistryId
DescribeImageScanFindingsRequest & WithRegistryId(Aws::String &&value)
Definition: DescribeImageScanFindingsRequest.h:85
Aws::ECR::Model::DescribeImageScanFindingsRequest::GetRegistryId
const Aws::String & GetRegistryId() const
Definition: DescribeImageScanFindingsRequest.h:43
Aws::ECR::Model::DescribeImageScanFindingsRequest::WithNextToken
DescribeImageScanFindingsRequest & WithNextToken(Aws::String &&value)
Definition: DescribeImageScanFindingsRequest.h:216
Aws::ECR::Model::DescribeImageScanFindingsRequest::SetRegistryId
void SetRegistryId(Aws::String &&value)
Definition: DescribeImageScanFindingsRequest.h:64
Aws::ECR::Model::DescribeImageScanFindingsRequest::WithRegistryId
DescribeImageScanFindingsRequest & WithRegistryId(const char *value)
Definition: DescribeImageScanFindingsRequest.h:92
Aws::ECR::Model::DescribeImageScanFindingsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: DescribeImageScanFindingsRequest.h:162
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
ImageIdentifier.h
Aws::ECR::Model::DescribeImageScanFindingsRequest::WithRegistryId
DescribeImageScanFindingsRequest & WithRegistryId(const Aws::String &value)
Definition: DescribeImageScanFindingsRequest.h:78
Aws::ECR::Model::DescribeImageScanFindingsRequest::WithImageId
DescribeImageScanFindingsRequest & WithImageId(const ImageIdentifier &value)
Definition: DescribeImageScanFindingsRequest.h:149
Aws::ECR::Model::DescribeImageScanFindingsRequest::WithRepositoryName
DescribeImageScanFindingsRequest & WithRepositoryName(Aws::String &&value)
Definition: DescribeImageScanFindingsRequest.h:128
Aws::ECR::Model::DescribeImageScanFindingsRequest::SetRegistryId
void SetRegistryId(const Aws::String &value)
Definition: DescribeImageScanFindingsRequest.h:57
Aws::ECR::Model::DescribeImageScanFindingsRequest::SetRepositoryName
void SetRepositoryName(const char *value)
Definition: DescribeImageScanFindingsRequest.h:118
Aws::ECR::Model::DescribeImageScanFindingsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: DescribeImageScanFindingsRequest.h:198
Aws::ECR::Model::DescribeImageScanFindingsRequest::GetMaxResults
int GetMaxResults() const
Definition: DescribeImageScanFindingsRequest.h:240
Aws::ECR::Model::DescribeImageScanFindingsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::ECR::Model::DescribeImageScanFindingsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: DescribeImageScanFindingsRequest.h:180
Aws::ECR::Model::DescribeImageScanFindingsRequest
Definition: DescribeImageScanFindingsRequest.h:23
Aws::ECR::Model::DescribeImageScanFindingsRequest::SetRepositoryName
void SetRepositoryName(const Aws::String &value)
Definition: DescribeImageScanFindingsRequest.h:108
Aws::ECR::Model::DescribeImageScanFindingsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: DescribeImageScanFindingsRequest.h:171
Aws::imagebuilder::Model::ContainerRepositoryService::NOT_SET
@ NOT_SET
Aws::ECR::Model::DescribeImageScanFindingsRequest::SetImageId
void SetImageId(ImageIdentifier &&value)
Definition: DescribeImageScanFindingsRequest.h:146
Aws::ECR::Model::DescribeImageScanFindingsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeImageScanFindingsRequest.h:31
Aws::ECR::Model::DescribeImageScanFindingsRequest::DescribeImageScanFindingsRequest
DescribeImageScanFindingsRequest()
ECR_EXPORTS.h
Aws::ECR::Model::DescribeImageScanFindingsRequest::WithRepositoryName
DescribeImageScanFindingsRequest & WithRepositoryName(const Aws::String &value)
Definition: DescribeImageScanFindingsRequest.h:123
Aws::ECR::Model::DescribeImageScanFindingsRequest::WithNextToken
DescribeImageScanFindingsRequest & WithNextToken(const char *value)
Definition: DescribeImageScanFindingsRequest.h:225
Aws::ECR::Model::DescribeImageScanFindingsRequest::SetRegistryId
void SetRegistryId(const char *value)
Definition: DescribeImageScanFindingsRequest.h:71
AWSString.h
Aws::ECR::Model::DescribeImageScanFindingsRequest::WithRepositoryName
DescribeImageScanFindingsRequest & WithRepositoryName(const char *value)
Definition: DescribeImageScanFindingsRequest.h:133
Aws::ECR::Model::DescribeImageScanFindingsRequest::GetImageId
const ImageIdentifier & GetImageId() const
Definition: DescribeImageScanFindingsRequest.h:137
AWS_ECR_API
#define AWS_ECR_API
Definition: ECR_EXPORTS.h:28
ECRRequest.h
Aws::ECR::Model::DescribeImageScanFindingsRequest::RegistryIdHasBeenSet
bool RegistryIdHasBeenSet() const
Definition: DescribeImageScanFindingsRequest.h:50
Aws::ECR::Model::DescribeImageScanFindingsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: DescribeImageScanFindingsRequest.h:268
Aws::ECR::Model::DescribeImageScanFindingsRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::ECR::Model::DescribeImageScanFindingsRequest::GetRepositoryName
const Aws::String & GetRepositoryName() const
Definition: DescribeImageScanFindingsRequest.h:98
Aws::ECR::Model::ImageIdentifier
Definition: ImageIdentifier.h:33
Aws
Definition: AccessManagementClient.h:15
Aws::ECR::Model::DescribeImageScanFindingsRequest::SetRepositoryName
void SetRepositoryName(Aws::String &&value)
Definition: DescribeImageScanFindingsRequest.h:113
Aws::ECR::Model::DescribeImageScanFindingsRequest::WithNextToken
DescribeImageScanFindingsRequest & WithNextToken(const Aws::String &value)
Definition: DescribeImageScanFindingsRequest.h:207
Aws::ECR::Model::DescribeImageScanFindingsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: DescribeImageScanFindingsRequest.h:189
Aws::ECR::Model::DescribeImageScanFindingsRequest::SetImageId
void SetImageId(const ImageIdentifier &value)
Definition: DescribeImageScanFindingsRequest.h:143
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ECR::Model::DescribeImageScanFindingsRequest::WithImageId
DescribeImageScanFindingsRequest & WithImageId(ImageIdentifier &&value)
Definition: DescribeImageScanFindingsRequest.h:152
Aws::ECR::Model::DescribeImageScanFindingsRequest::ImageIdHasBeenSet
bool ImageIdHasBeenSet() const
Definition: DescribeImageScanFindingsRequest.h:140
Aws::ECR::Model::DescribeImageScanFindingsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: DescribeImageScanFindingsRequest.h:254
Aws::ECR::Model::DescribeImageScanFindingsRequest::WithMaxResults
DescribeImageScanFindingsRequest & WithMaxResults(int value)
Definition: DescribeImageScanFindingsRequest.h:282
Aws::ECR::ECRRequest
Definition: ECRRequest.h:17
Aws::ECR::Model::DescribeImageScanFindingsRequest::RepositoryNameHasBeenSet
bool RepositoryNameHasBeenSet() const
Definition: DescribeImageScanFindingsRequest.h:103