7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/ecr/ECRRequest.h>
10#include <aws/ecr/ECR_EXPORTS.h>
11#include <aws/ecr/model/ImageIdentifier.h>
12#include <aws/ecr/model/LifecyclePolicyPreviewFilter.h>
44 template <
typename RegistryIdT = Aws::String>
46 m_registryIdHasBeenSet =
true;
47 m_registryId = std::forward<RegistryIdT>(value);
49 template <
typename RegistryIdT = Aws::String>
62 template <
typename RepositoryNameT = Aws::String>
64 m_repositoryNameHasBeenSet =
true;
65 m_repositoryName = std::forward<RepositoryNameT>(value);
67 template <
typename RepositoryNameT = Aws::String>
80 template <
typename ImageIdsT = Aws::Vector<ImageIdentifier>>
82 m_imageIdsHasBeenSet =
true;
83 m_imageIds = std::forward<ImageIdsT>(value);
85 template <
typename ImageIdsT = Aws::Vector<ImageIdentifier>>
90 template <
typename ImageIdsT = ImageIdentifier>
92 m_imageIdsHasBeenSet =
true;
93 m_imageIds.emplace_back(std::forward<ImageIdsT>(value));
110 template <
typename NextTokenT = Aws::String>
112 m_nextTokenHasBeenSet =
true;
113 m_nextToken = std::forward<NextTokenT>(value);
115 template <
typename NextTokenT = Aws::String>
140 m_maxResultsHasBeenSet =
true;
141 m_maxResults = value;
156 template <
typename FilterT = LifecyclePolicyPreviewFilter>
158 m_filterHasBeenSet =
true;
159 m_filter = std::forward<FilterT>(value);
161 template <
typename FilterT = LifecyclePolicyPreviewFilter>
178 LifecyclePolicyPreviewFilter m_filter;
179 bool m_registryIdHasBeenSet =
false;
180 bool m_repositoryNameHasBeenSet =
false;
181 bool m_imageIdsHasBeenSet =
false;
182 bool m_nextTokenHasBeenSet =
false;
183 bool m_maxResultsHasBeenSet =
false;
184 bool m_filterHasBeenSet =
false;
void SetRepositoryName(RepositoryNameT &&value)
const Aws::String & GetRegistryId() const
GetLifecyclePolicyPreviewRequest & WithRegistryId(RegistryIdT &&value)
AWS_ECR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
GetLifecyclePolicyPreviewRequest & WithRepositoryName(RepositoryNameT &&value)
virtual const char * GetServiceRequestName() const override
bool RegistryIdHasBeenSet() const
void SetMaxResults(int value)
GetLifecyclePolicyPreviewRequest & AddImageIds(ImageIdsT &&value)
GetLifecyclePolicyPreviewRequest & WithNextToken(NextTokenT &&value)
void SetImageIds(ImageIdsT &&value)
bool ImageIdsHasBeenSet() const
AWS_ECR_API GetLifecyclePolicyPreviewRequest()=default
void SetFilter(FilterT &&value)
bool MaxResultsHasBeenSet() const
bool RepositoryNameHasBeenSet() const
const Aws::Vector< ImageIdentifier > & GetImageIds() const
GetLifecyclePolicyPreviewRequest & WithImageIds(ImageIdsT &&value)
GetLifecyclePolicyPreviewRequest & WithMaxResults(int value)
const Aws::String & GetRepositoryName() const
AWS_ECR_API Aws::String SerializePayload() const override
GetLifecyclePolicyPreviewRequest & WithFilter(FilterT &&value)
void SetRegistryId(RegistryIdT &&value)
const LifecyclePolicyPreviewFilter & GetFilter() const
bool FilterHasBeenSet() const
const Aws::String & GetNextToken() const
bool NextTokenHasBeenSet() const
int GetMaxResults() const
void SetNextToken(NextTokenT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector