AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeImageScanFindingsResult.h
1
6#pragma once
7#include <aws/ecr/ECR_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ecr/model/ImageIdentifier.h>
10#include <aws/ecr/model/ImageScanStatus.h>
11#include <aws/ecr/model/ImageScanFindings.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace ECR
27{
28namespace Model
29{
31 {
32 public:
36
37
39
42 inline const Aws::String& GetRegistryId() const{ return m_registryId; }
43 inline void SetRegistryId(const Aws::String& value) { m_registryId = value; }
44 inline void SetRegistryId(Aws::String&& value) { m_registryId = std::move(value); }
45 inline void SetRegistryId(const char* value) { m_registryId.assign(value); }
46 inline DescribeImageScanFindingsResult& WithRegistryId(const Aws::String& value) { SetRegistryId(value); return *this;}
47 inline DescribeImageScanFindingsResult& WithRegistryId(Aws::String&& value) { SetRegistryId(std::move(value)); return *this;}
48 inline DescribeImageScanFindingsResult& WithRegistryId(const char* value) { SetRegistryId(value); return *this;}
50
52
55 inline const Aws::String& GetRepositoryName() const{ return m_repositoryName; }
56 inline void SetRepositoryName(const Aws::String& value) { m_repositoryName = value; }
57 inline void SetRepositoryName(Aws::String&& value) { m_repositoryName = std::move(value); }
58 inline void SetRepositoryName(const char* value) { m_repositoryName.assign(value); }
60 inline DescribeImageScanFindingsResult& WithRepositoryName(Aws::String&& value) { SetRepositoryName(std::move(value)); return *this;}
61 inline DescribeImageScanFindingsResult& WithRepositoryName(const char* value) { SetRepositoryName(value); return *this;}
63
65
66 inline const ImageIdentifier& GetImageId() const{ return m_imageId; }
67 inline void SetImageId(const ImageIdentifier& value) { m_imageId = value; }
68 inline void SetImageId(ImageIdentifier&& value) { m_imageId = std::move(value); }
69 inline DescribeImageScanFindingsResult& WithImageId(const ImageIdentifier& value) { SetImageId(value); return *this;}
70 inline DescribeImageScanFindingsResult& WithImageId(ImageIdentifier&& value) { SetImageId(std::move(value)); return *this;}
72
74
77 inline const ImageScanStatus& GetImageScanStatus() const{ return m_imageScanStatus; }
78 inline void SetImageScanStatus(const ImageScanStatus& value) { m_imageScanStatus = value; }
79 inline void SetImageScanStatus(ImageScanStatus&& value) { m_imageScanStatus = std::move(value); }
83
85
88 inline const ImageScanFindings& GetImageScanFindings() const{ return m_imageScanFindings; }
89 inline void SetImageScanFindings(const ImageScanFindings& value) { m_imageScanFindings = value; }
90 inline void SetImageScanFindings(ImageScanFindings&& value) { m_imageScanFindings = std::move(value); }
94
96
103 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
104 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
105 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
106 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
107 inline DescribeImageScanFindingsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
108 inline DescribeImageScanFindingsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
109 inline DescribeImageScanFindingsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
111
113
114 inline const Aws::String& GetRequestId() const{ return m_requestId; }
115 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
116 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
117 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
118 inline DescribeImageScanFindingsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
119 inline DescribeImageScanFindingsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
120 inline DescribeImageScanFindingsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
122 private:
123
124 Aws::String m_registryId;
125
126 Aws::String m_repositoryName;
127
128 ImageIdentifier m_imageId;
129
130 ImageScanStatus m_imageScanStatus;
131
132 ImageScanFindings m_imageScanFindings;
133
134 Aws::String m_nextToken;
135
136 Aws::String m_requestId;
137 };
138
139} // namespace Model
140} // namespace ECR
141} // namespace Aws
DescribeImageScanFindingsResult & WithNextToken(Aws::String &&value)
DescribeImageScanFindingsResult & WithNextToken(const char *value)
DescribeImageScanFindingsResult & WithRepositoryName(const char *value)
DescribeImageScanFindingsResult & WithImageScanFindings(const ImageScanFindings &value)
AWS_ECR_API DescribeImageScanFindingsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeImageScanFindingsResult & WithNextToken(const Aws::String &value)
DescribeImageScanFindingsResult & WithRegistryId(const char *value)
DescribeImageScanFindingsResult & WithRepositoryName(const Aws::String &value)
DescribeImageScanFindingsResult & WithRequestId(Aws::String &&value)
DescribeImageScanFindingsResult & WithImageId(const ImageIdentifier &value)
DescribeImageScanFindingsResult & WithImageScanStatus(ImageScanStatus &&value)
AWS_ECR_API DescribeImageScanFindingsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeImageScanFindingsResult & WithRegistryId(const Aws::String &value)
DescribeImageScanFindingsResult & WithRepositoryName(Aws::String &&value)
DescribeImageScanFindingsResult & WithImageId(ImageIdentifier &&value)
DescribeImageScanFindingsResult & WithImageScanFindings(ImageScanFindings &&value)
DescribeImageScanFindingsResult & WithImageScanStatus(const ImageScanStatus &value)
DescribeImageScanFindingsResult & WithRegistryId(Aws::String &&value)
DescribeImageScanFindingsResult & WithRequestId(const Aws::String &value)
DescribeImageScanFindingsResult & WithRequestId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue