AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeImageScanFindingsRequest.h
1
6#pragma once
7#include <aws/ecr/ECR_EXPORTS.h>
8#include <aws/ecr/ECRRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ecr/model/ImageIdentifier.h>
11#include <utility>
12
13namespace Aws
14{
15namespace ECR
16{
17namespace 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_ECR_API Aws::String SerializePayload() const override;
34
36
37
39
44 inline const Aws::String& GetRegistryId() const{ return m_registryId; }
45 inline bool RegistryIdHasBeenSet() const { return m_registryIdHasBeenSet; }
46 inline void SetRegistryId(const Aws::String& value) { m_registryIdHasBeenSet = true; m_registryId = value; }
47 inline void SetRegistryId(Aws::String&& value) { m_registryIdHasBeenSet = true; m_registryId = std::move(value); }
48 inline void SetRegistryId(const char* value) { m_registryIdHasBeenSet = true; m_registryId.assign(value); }
49 inline DescribeImageScanFindingsRequest& WithRegistryId(const Aws::String& value) { SetRegistryId(value); return *this;}
50 inline DescribeImageScanFindingsRequest& WithRegistryId(Aws::String&& value) { SetRegistryId(std::move(value)); return *this;}
51 inline DescribeImageScanFindingsRequest& WithRegistryId(const char* value) { SetRegistryId(value); return *this;}
53
55
58 inline const Aws::String& GetRepositoryName() const{ return m_repositoryName; }
59 inline bool RepositoryNameHasBeenSet() const { return m_repositoryNameHasBeenSet; }
60 inline void SetRepositoryName(const Aws::String& value) { m_repositoryNameHasBeenSet = true; m_repositoryName = value; }
61 inline void SetRepositoryName(Aws::String&& value) { m_repositoryNameHasBeenSet = true; m_repositoryName = std::move(value); }
62 inline void SetRepositoryName(const char* value) { m_repositoryNameHasBeenSet = true; m_repositoryName.assign(value); }
64 inline DescribeImageScanFindingsRequest& WithRepositoryName(Aws::String&& value) { SetRepositoryName(std::move(value)); return *this;}
65 inline DescribeImageScanFindingsRequest& WithRepositoryName(const char* value) { SetRepositoryName(value); return *this;}
67
69
70 inline const ImageIdentifier& GetImageId() const{ return m_imageId; }
71 inline bool ImageIdHasBeenSet() const { return m_imageIdHasBeenSet; }
72 inline void SetImageId(const ImageIdentifier& value) { m_imageIdHasBeenSet = true; m_imageId = value; }
73 inline void SetImageId(ImageIdentifier&& value) { m_imageIdHasBeenSet = true; m_imageId = std::move(value); }
74 inline DescribeImageScanFindingsRequest& WithImageId(const ImageIdentifier& value) { SetImageId(value); return *this;}
75 inline DescribeImageScanFindingsRequest& WithImageId(ImageIdentifier&& value) { SetImageId(std::move(value)); return *this;}
77
79
86 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
87 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
88 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
89 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
90 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
91 inline DescribeImageScanFindingsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
92 inline DescribeImageScanFindingsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
93 inline DescribeImageScanFindingsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
95
97
109 inline int GetMaxResults() const{ return m_maxResults; }
110 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
111 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
112 inline DescribeImageScanFindingsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
114 private:
115
116 Aws::String m_registryId;
117 bool m_registryIdHasBeenSet = false;
118
119 Aws::String m_repositoryName;
120 bool m_repositoryNameHasBeenSet = false;
121
122 ImageIdentifier m_imageId;
123 bool m_imageIdHasBeenSet = false;
124
125 Aws::String m_nextToken;
126 bool m_nextTokenHasBeenSet = false;
127
128 int m_maxResults;
129 bool m_maxResultsHasBeenSet = false;
130 };
131
132} // namespace Model
133} // namespace ECR
134} // namespace Aws
DescribeImageScanFindingsRequest & WithImageId(const ImageIdentifier &value)
DescribeImageScanFindingsRequest & WithRepositoryName(const Aws::String &value)
DescribeImageScanFindingsRequest & WithNextToken(const char *value)
DescribeImageScanFindingsRequest & WithRegistryId(const Aws::String &value)
AWS_ECR_API Aws::String SerializePayload() const override
DescribeImageScanFindingsRequest & WithRepositoryName(Aws::String &&value)
AWS_ECR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeImageScanFindingsRequest & WithNextToken(const Aws::String &value)
DescribeImageScanFindingsRequest & WithNextToken(Aws::String &&value)
DescribeImageScanFindingsRequest & WithRegistryId(Aws::String &&value)
DescribeImageScanFindingsRequest & WithRegistryId(const char *value)
DescribeImageScanFindingsRequest & WithRepositoryName(const char *value)
DescribeImageScanFindingsRequest & WithImageId(ImageIdentifier &&value)
DescribeImageScanFindingsRequest & WithMaxResults(int value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String