AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AwsEcrContainerAggregationResponse.h
1
6#pragma once
7#include <aws/inspector2/Inspector2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/inspector2/model/SeverityCounts.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Inspector2
24{
25namespace Model
26{
27
35 {
36 public:
40 AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Aws::String& GetAccountId() const{ return m_accountId; }
49 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
50 inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
51 inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
52 inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
53 inline AwsEcrContainerAggregationResponse& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
54 inline AwsEcrContainerAggregationResponse& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
55 inline AwsEcrContainerAggregationResponse& WithAccountId(const char* value) { SetAccountId(value); return *this;}
57
59
62 inline const Aws::String& GetArchitecture() const{ return m_architecture; }
63 inline bool ArchitectureHasBeenSet() const { return m_architectureHasBeenSet; }
64 inline void SetArchitecture(const Aws::String& value) { m_architectureHasBeenSet = true; m_architecture = value; }
65 inline void SetArchitecture(Aws::String&& value) { m_architectureHasBeenSet = true; m_architecture = std::move(value); }
66 inline void SetArchitecture(const char* value) { m_architectureHasBeenSet = true; m_architecture.assign(value); }
68 inline AwsEcrContainerAggregationResponse& WithArchitecture(Aws::String&& value) { SetArchitecture(std::move(value)); return *this;}
69 inline AwsEcrContainerAggregationResponse& WithArchitecture(const char* value) { SetArchitecture(value); return *this;}
71
73
76 inline const Aws::String& GetImageSha() const{ return m_imageSha; }
77 inline bool ImageShaHasBeenSet() const { return m_imageShaHasBeenSet; }
78 inline void SetImageSha(const Aws::String& value) { m_imageShaHasBeenSet = true; m_imageSha = value; }
79 inline void SetImageSha(Aws::String&& value) { m_imageShaHasBeenSet = true; m_imageSha = std::move(value); }
80 inline void SetImageSha(const char* value) { m_imageShaHasBeenSet = true; m_imageSha.assign(value); }
81 inline AwsEcrContainerAggregationResponse& WithImageSha(const Aws::String& value) { SetImageSha(value); return *this;}
82 inline AwsEcrContainerAggregationResponse& WithImageSha(Aws::String&& value) { SetImageSha(std::move(value)); return *this;}
83 inline AwsEcrContainerAggregationResponse& WithImageSha(const char* value) { SetImageSha(value); return *this;}
85
87
90 inline const Aws::Vector<Aws::String>& GetImageTags() const{ return m_imageTags; }
91 inline bool ImageTagsHasBeenSet() const { return m_imageTagsHasBeenSet; }
92 inline void SetImageTags(const Aws::Vector<Aws::String>& value) { m_imageTagsHasBeenSet = true; m_imageTags = value; }
93 inline void SetImageTags(Aws::Vector<Aws::String>&& value) { m_imageTagsHasBeenSet = true; m_imageTags = std::move(value); }
96 inline AwsEcrContainerAggregationResponse& AddImageTags(const Aws::String& value) { m_imageTagsHasBeenSet = true; m_imageTags.push_back(value); return *this; }
97 inline AwsEcrContainerAggregationResponse& AddImageTags(Aws::String&& value) { m_imageTagsHasBeenSet = true; m_imageTags.push_back(std::move(value)); return *this; }
98 inline AwsEcrContainerAggregationResponse& AddImageTags(const char* value) { m_imageTagsHasBeenSet = true; m_imageTags.push_back(value); return *this; }
100
102
105 inline const Aws::String& GetRepository() const{ return m_repository; }
106 inline bool RepositoryHasBeenSet() const { return m_repositoryHasBeenSet; }
107 inline void SetRepository(const Aws::String& value) { m_repositoryHasBeenSet = true; m_repository = value; }
108 inline void SetRepository(Aws::String&& value) { m_repositoryHasBeenSet = true; m_repository = std::move(value); }
109 inline void SetRepository(const char* value) { m_repositoryHasBeenSet = true; m_repository.assign(value); }
110 inline AwsEcrContainerAggregationResponse& WithRepository(const Aws::String& value) { SetRepository(value); return *this;}
111 inline AwsEcrContainerAggregationResponse& WithRepository(Aws::String&& value) { SetRepository(std::move(value)); return *this;}
112 inline AwsEcrContainerAggregationResponse& WithRepository(const char* value) { SetRepository(value); return *this;}
114
116
119 inline const Aws::String& GetResourceId() const{ return m_resourceId; }
120 inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
121 inline void SetResourceId(const Aws::String& value) { m_resourceIdHasBeenSet = true; m_resourceId = value; }
122 inline void SetResourceId(Aws::String&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::move(value); }
123 inline void SetResourceId(const char* value) { m_resourceIdHasBeenSet = true; m_resourceId.assign(value); }
124 inline AwsEcrContainerAggregationResponse& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;}
125 inline AwsEcrContainerAggregationResponse& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;}
126 inline AwsEcrContainerAggregationResponse& WithResourceId(const char* value) { SetResourceId(value); return *this;}
128
130
133 inline const SeverityCounts& GetSeverityCounts() const{ return m_severityCounts; }
134 inline bool SeverityCountsHasBeenSet() const { return m_severityCountsHasBeenSet; }
135 inline void SetSeverityCounts(const SeverityCounts& value) { m_severityCountsHasBeenSet = true; m_severityCounts = value; }
136 inline void SetSeverityCounts(SeverityCounts&& value) { m_severityCountsHasBeenSet = true; m_severityCounts = std::move(value); }
140 private:
141
142 Aws::String m_accountId;
143 bool m_accountIdHasBeenSet = false;
144
145 Aws::String m_architecture;
146 bool m_architectureHasBeenSet = false;
147
148 Aws::String m_imageSha;
149 bool m_imageShaHasBeenSet = false;
150
151 Aws::Vector<Aws::String> m_imageTags;
152 bool m_imageTagsHasBeenSet = false;
153
154 Aws::String m_repository;
155 bool m_repositoryHasBeenSet = false;
156
157 Aws::String m_resourceId;
158 bool m_resourceIdHasBeenSet = false;
159
160 SeverityCounts m_severityCounts;
161 bool m_severityCountsHasBeenSet = false;
162 };
163
164} // namespace Model
165} // namespace Inspector2
166} // namespace Aws
AwsEcrContainerAggregationResponse & AddImageTags(const Aws::String &value)
AwsEcrContainerAggregationResponse & WithAccountId(Aws::String &&value)
AwsEcrContainerAggregationResponse & WithSeverityCounts(SeverityCounts &&value)
AwsEcrContainerAggregationResponse & AddImageTags(const char *value)
AWS_INSPECTOR2_API AwsEcrContainerAggregationResponse(Aws::Utils::Json::JsonView jsonValue)
AwsEcrContainerAggregationResponse & WithImageSha(const Aws::String &value)
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
AwsEcrContainerAggregationResponse & WithResourceId(const Aws::String &value)
AwsEcrContainerAggregationResponse & WithRepository(Aws::String &&value)
AwsEcrContainerAggregationResponse & WithResourceId(Aws::String &&value)
AwsEcrContainerAggregationResponse & AddImageTags(Aws::String &&value)
AwsEcrContainerAggregationResponse & WithRepository(const Aws::String &value)
AwsEcrContainerAggregationResponse & WithAccountId(const Aws::String &value)
AwsEcrContainerAggregationResponse & WithArchitecture(const Aws::String &value)
AwsEcrContainerAggregationResponse & WithArchitecture(Aws::String &&value)
AwsEcrContainerAggregationResponse & WithSeverityCounts(const SeverityCounts &value)
AWS_INSPECTOR2_API AwsEcrContainerAggregationResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsEcrContainerAggregationResponse & WithImageSha(Aws::String &&value)
AwsEcrContainerAggregationResponse & WithRepository(const char *value)
AwsEcrContainerAggregationResponse & WithImageTags(const Aws::Vector< Aws::String > &value)
AwsEcrContainerAggregationResponse & WithImageTags(Aws::Vector< Aws::String > &&value)
AwsEcrContainerAggregationResponse & WithArchitecture(const char *value)
AwsEcrContainerAggregationResponse & WithAccountId(const char *value)
AwsEcrContainerAggregationResponse & WithResourceId(const char *value)
AwsEcrContainerAggregationResponse & WithImageSha(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue