AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ListImagesRequest.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/ListImagesFilter.h>
11#include <utility>
12
13namespace Aws
14{
15namespace ECR
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_ECR_API ListImagesRequest() = default;
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 "ListImages"; }
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 template<typename RegistryIdT = Aws::String>
47 void SetRegistryId(RegistryIdT&& value) { m_registryIdHasBeenSet = true; m_registryId = std::forward<RegistryIdT>(value); }
48 template<typename RegistryIdT = Aws::String>
49 ListImagesRequest& WithRegistryId(RegistryIdT&& value) { SetRegistryId(std::forward<RegistryIdT>(value)); return *this;}
51
53
56 inline const Aws::String& GetRepositoryName() const { return m_repositoryName; }
57 inline bool RepositoryNameHasBeenSet() const { return m_repositoryNameHasBeenSet; }
58 template<typename RepositoryNameT = Aws::String>
59 void SetRepositoryName(RepositoryNameT&& value) { m_repositoryNameHasBeenSet = true; m_repositoryName = std::forward<RepositoryNameT>(value); }
60 template<typename RepositoryNameT = Aws::String>
61 ListImagesRequest& WithRepositoryName(RepositoryNameT&& value) { SetRepositoryName(std::forward<RepositoryNameT>(value)); return *this;}
63
65
75 inline const Aws::String& GetNextToken() const { return m_nextToken; }
76 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
77 template<typename NextTokenT = Aws::String>
78 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
79 template<typename NextTokenT = Aws::String>
80 ListImagesRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
82
84
94 inline int GetMaxResults() const { return m_maxResults; }
95 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
96 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
97 inline ListImagesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
99
101
105 inline const ListImagesFilter& GetFilter() const { return m_filter; }
106 inline bool FilterHasBeenSet() const { return m_filterHasBeenSet; }
107 template<typename FilterT = ListImagesFilter>
108 void SetFilter(FilterT&& value) { m_filterHasBeenSet = true; m_filter = std::forward<FilterT>(value); }
109 template<typename FilterT = ListImagesFilter>
110 ListImagesRequest& WithFilter(FilterT&& value) { SetFilter(std::forward<FilterT>(value)); return *this;}
112 private:
113
114 Aws::String m_registryId;
115 bool m_registryIdHasBeenSet = false;
116
117 Aws::String m_repositoryName;
118 bool m_repositoryNameHasBeenSet = false;
119
120 Aws::String m_nextToken;
121 bool m_nextTokenHasBeenSet = false;
122
123 int m_maxResults{0};
124 bool m_maxResultsHasBeenSet = false;
125
126 ListImagesFilter m_filter;
127 bool m_filterHasBeenSet = false;
128 };
129
130} // namespace Model
131} // namespace ECR
132} // namespace Aws
AWS_ECR_API Aws::String SerializePayload() const override
void SetNextToken(NextTokenT &&value)
ListImagesRequest & WithMaxResults(int value)
AWS_ECR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListImagesRequest & WithRepositoryName(RepositoryNameT &&value)
void SetRegistryId(RegistryIdT &&value)
void SetRepositoryName(RepositoryNameT &&value)
ListImagesRequest & WithNextToken(NextTokenT &&value)
const Aws::String & GetRegistryId() const
ListImagesRequest & WithFilter(FilterT &&value)
const Aws::String & GetRepositoryName() const
const Aws::String & GetNextToken() const
ListImagesRequest & WithRegistryId(RegistryIdT &&value)
virtual const char * GetServiceRequestName() const override
const ListImagesFilter & GetFilter() const
AWS_ECR_API ListImagesRequest()=default
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String