AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AwsEcrContainerAggregation.h
1
6#pragma once
7#include <aws/inspector2/Inspector2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/inspector2/model/AwsEcrContainerSortBy.h>
10#include <aws/inspector2/model/SortOrder.h>
11#include <aws/inspector2/model/StringFilter.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace Inspector2
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_INSPECTOR2_API AwsEcrContainerAggregation();
41 AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::Vector<StringFilter>& GetArchitectures() const{ return m_architectures; }
49 inline bool ArchitecturesHasBeenSet() const { return m_architecturesHasBeenSet; }
50 inline void SetArchitectures(const Aws::Vector<StringFilter>& value) { m_architecturesHasBeenSet = true; m_architectures = value; }
51 inline void SetArchitectures(Aws::Vector<StringFilter>&& value) { m_architecturesHasBeenSet = true; m_architectures = std::move(value); }
54 inline AwsEcrContainerAggregation& AddArchitectures(const StringFilter& value) { m_architecturesHasBeenSet = true; m_architectures.push_back(value); return *this; }
55 inline AwsEcrContainerAggregation& AddArchitectures(StringFilter&& value) { m_architecturesHasBeenSet = true; m_architectures.push_back(std::move(value)); return *this; }
57
59
62 inline const Aws::Vector<StringFilter>& GetImageShas() const{ return m_imageShas; }
63 inline bool ImageShasHasBeenSet() const { return m_imageShasHasBeenSet; }
64 inline void SetImageShas(const Aws::Vector<StringFilter>& value) { m_imageShasHasBeenSet = true; m_imageShas = value; }
65 inline void SetImageShas(Aws::Vector<StringFilter>&& value) { m_imageShasHasBeenSet = true; m_imageShas = std::move(value); }
67 inline AwsEcrContainerAggregation& WithImageShas(Aws::Vector<StringFilter>&& value) { SetImageShas(std::move(value)); return *this;}
68 inline AwsEcrContainerAggregation& AddImageShas(const StringFilter& value) { m_imageShasHasBeenSet = true; m_imageShas.push_back(value); return *this; }
69 inline AwsEcrContainerAggregation& AddImageShas(StringFilter&& value) { m_imageShasHasBeenSet = true; m_imageShas.push_back(std::move(value)); return *this; }
71
73
76 inline const Aws::Vector<StringFilter>& GetImageTags() const{ return m_imageTags; }
77 inline bool ImageTagsHasBeenSet() const { return m_imageTagsHasBeenSet; }
78 inline void SetImageTags(const Aws::Vector<StringFilter>& value) { m_imageTagsHasBeenSet = true; m_imageTags = value; }
79 inline void SetImageTags(Aws::Vector<StringFilter>&& value) { m_imageTagsHasBeenSet = true; m_imageTags = std::move(value); }
81 inline AwsEcrContainerAggregation& WithImageTags(Aws::Vector<StringFilter>&& value) { SetImageTags(std::move(value)); return *this;}
82 inline AwsEcrContainerAggregation& AddImageTags(const StringFilter& value) { m_imageTagsHasBeenSet = true; m_imageTags.push_back(value); return *this; }
83 inline AwsEcrContainerAggregation& AddImageTags(StringFilter&& value) { m_imageTagsHasBeenSet = true; m_imageTags.push_back(std::move(value)); return *this; }
85
87
90 inline const Aws::Vector<StringFilter>& GetRepositories() const{ return m_repositories; }
91 inline bool RepositoriesHasBeenSet() const { return m_repositoriesHasBeenSet; }
92 inline void SetRepositories(const Aws::Vector<StringFilter>& value) { m_repositoriesHasBeenSet = true; m_repositories = value; }
93 inline void SetRepositories(Aws::Vector<StringFilter>&& value) { m_repositoriesHasBeenSet = true; m_repositories = std::move(value); }
95 inline AwsEcrContainerAggregation& WithRepositories(Aws::Vector<StringFilter>&& value) { SetRepositories(std::move(value)); return *this;}
96 inline AwsEcrContainerAggregation& AddRepositories(const StringFilter& value) { m_repositoriesHasBeenSet = true; m_repositories.push_back(value); return *this; }
97 inline AwsEcrContainerAggregation& AddRepositories(StringFilter&& value) { m_repositoriesHasBeenSet = true; m_repositories.push_back(std::move(value)); return *this; }
99
101
104 inline const Aws::Vector<StringFilter>& GetResourceIds() const{ return m_resourceIds; }
105 inline bool ResourceIdsHasBeenSet() const { return m_resourceIdsHasBeenSet; }
106 inline void SetResourceIds(const Aws::Vector<StringFilter>& value) { m_resourceIdsHasBeenSet = true; m_resourceIds = value; }
107 inline void SetResourceIds(Aws::Vector<StringFilter>&& value) { m_resourceIdsHasBeenSet = true; m_resourceIds = std::move(value); }
109 inline AwsEcrContainerAggregation& WithResourceIds(Aws::Vector<StringFilter>&& value) { SetResourceIds(std::move(value)); return *this;}
110 inline AwsEcrContainerAggregation& AddResourceIds(const StringFilter& value) { m_resourceIdsHasBeenSet = true; m_resourceIds.push_back(value); return *this; }
111 inline AwsEcrContainerAggregation& AddResourceIds(StringFilter&& value) { m_resourceIdsHasBeenSet = true; m_resourceIds.push_back(std::move(value)); return *this; }
113
115
118 inline const AwsEcrContainerSortBy& GetSortBy() const{ return m_sortBy; }
119 inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; }
120 inline void SetSortBy(const AwsEcrContainerSortBy& value) { m_sortByHasBeenSet = true; m_sortBy = value; }
121 inline void SetSortBy(AwsEcrContainerSortBy&& value) { m_sortByHasBeenSet = true; m_sortBy = std::move(value); }
122 inline AwsEcrContainerAggregation& WithSortBy(const AwsEcrContainerSortBy& value) { SetSortBy(value); return *this;}
123 inline AwsEcrContainerAggregation& WithSortBy(AwsEcrContainerSortBy&& value) { SetSortBy(std::move(value)); return *this;}
125
127
130 inline const SortOrder& GetSortOrder() const{ return m_sortOrder; }
131 inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; }
132 inline void SetSortOrder(const SortOrder& value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; }
133 inline void SetSortOrder(SortOrder&& value) { m_sortOrderHasBeenSet = true; m_sortOrder = std::move(value); }
134 inline AwsEcrContainerAggregation& WithSortOrder(const SortOrder& value) { SetSortOrder(value); return *this;}
135 inline AwsEcrContainerAggregation& WithSortOrder(SortOrder&& value) { SetSortOrder(std::move(value)); return *this;}
137 private:
138
139 Aws::Vector<StringFilter> m_architectures;
140 bool m_architecturesHasBeenSet = false;
141
142 Aws::Vector<StringFilter> m_imageShas;
143 bool m_imageShasHasBeenSet = false;
144
145 Aws::Vector<StringFilter> m_imageTags;
146 bool m_imageTagsHasBeenSet = false;
147
148 Aws::Vector<StringFilter> m_repositories;
149 bool m_repositoriesHasBeenSet = false;
150
151 Aws::Vector<StringFilter> m_resourceIds;
152 bool m_resourceIdsHasBeenSet = false;
153
154 AwsEcrContainerSortBy m_sortBy;
155 bool m_sortByHasBeenSet = false;
156
157 SortOrder m_sortOrder;
158 bool m_sortOrderHasBeenSet = false;
159 };
160
161} // namespace Model
162} // namespace Inspector2
163} // namespace Aws
const Aws::Vector< StringFilter > & GetRepositories() const
AwsEcrContainerAggregation & AddImageShas(StringFilter &&value)
AwsEcrContainerAggregation & WithSortBy(const AwsEcrContainerSortBy &value)
const Aws::Vector< StringFilter > & GetImageShas() const
AwsEcrContainerAggregation & WithResourceIds(Aws::Vector< StringFilter > &&value)
AwsEcrContainerAggregation & AddImageShas(const StringFilter &value)
AwsEcrContainerAggregation & WithImageShas(const Aws::Vector< StringFilter > &value)
AWS_INSPECTOR2_API AwsEcrContainerAggregation(Aws::Utils::Json::JsonView jsonValue)
void SetArchitectures(const Aws::Vector< StringFilter > &value)
AwsEcrContainerAggregation & AddArchitectures(StringFilter &&value)
const Aws::Vector< StringFilter > & GetImageTags() const
AwsEcrContainerAggregation & AddRepositories(StringFilter &&value)
AwsEcrContainerAggregation & AddImageTags(const StringFilter &value)
void SetRepositories(const Aws::Vector< StringFilter > &value)
void SetResourceIds(const Aws::Vector< StringFilter > &value)
AwsEcrContainerAggregation & WithSortBy(AwsEcrContainerSortBy &&value)
AwsEcrContainerAggregation & WithRepositories(Aws::Vector< StringFilter > &&value)
const Aws::Vector< StringFilter > & GetResourceIds() const
AwsEcrContainerAggregation & WithImageTags(Aws::Vector< StringFilter > &&value)
AwsEcrContainerAggregation & WithSortOrder(const SortOrder &value)
AwsEcrContainerAggregation & AddResourceIds(const StringFilter &value)
void SetResourceIds(Aws::Vector< StringFilter > &&value)
AwsEcrContainerAggregation & WithRepositories(const Aws::Vector< StringFilter > &value)
AwsEcrContainerAggregation & WithResourceIds(const Aws::Vector< StringFilter > &value)
AwsEcrContainerAggregation & WithArchitectures(const Aws::Vector< StringFilter > &value)
AwsEcrContainerAggregation & AddResourceIds(StringFilter &&value)
AwsEcrContainerAggregation & WithSortOrder(SortOrder &&value)
AwsEcrContainerAggregation & AddRepositories(const StringFilter &value)
AwsEcrContainerAggregation & AddArchitectures(const StringFilter &value)
AwsEcrContainerAggregation & AddImageTags(StringFilter &&value)
void SetImageShas(Aws::Vector< StringFilter > &&value)
void SetImageShas(const Aws::Vector< StringFilter > &value)
void SetRepositories(Aws::Vector< StringFilter > &&value)
AwsEcrContainerAggregation & WithImageShas(Aws::Vector< StringFilter > &&value)
AWS_INSPECTOR2_API AwsEcrContainerAggregation & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetImageTags(Aws::Vector< StringFilter > &&value)
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetImageTags(const Aws::Vector< StringFilter > &value)
AwsEcrContainerAggregation & WithArchitectures(Aws::Vector< StringFilter > &&value)
AwsEcrContainerAggregation & WithImageTags(const Aws::Vector< StringFilter > &value)
const Aws::Vector< StringFilter > & GetArchitectures() const
void SetArchitectures(Aws::Vector< StringFilter > &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue