AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetRegistryId(const Aws::String& value) { m_registryIdHasBeenSet = true; m_registryId = value; }
47 inline void SetRegistryId(Aws::String&& value) { m_registryIdHasBeenSet = true; m_registryId = std::move(value); }
48 inline void SetRegistryId(const char* value) { m_registryIdHasBeenSet = true; m_registryId.assign(value); }
49 inline ListImagesRequest& WithRegistryId(const Aws::String& value) { SetRegistryId(value); return *this;}
50 inline ListImagesRequest& WithRegistryId(Aws::String&& value) { SetRegistryId(std::move(value)); return *this;}
51 inline ListImagesRequest& WithRegistryId(const char* value) { SetRegistryId(value); return *this;}
53
55
58 inline const Aws::String& GetRepositoryName() const{ return m_repositoryName; }
59 inline bool RepositoryNameHasBeenSet() const { return m_repositoryNameHasBeenSet; }
60 inline void SetRepositoryName(const Aws::String& value) { m_repositoryNameHasBeenSet = true; m_repositoryName = value; }
61 inline void SetRepositoryName(Aws::String&& value) { m_repositoryNameHasBeenSet = true; m_repositoryName = std::move(value); }
62 inline void SetRepositoryName(const char* value) { m_repositoryNameHasBeenSet = true; m_repositoryName.assign(value); }
63 inline ListImagesRequest& WithRepositoryName(const Aws::String& value) { SetRepositoryName(value); return *this;}
64 inline ListImagesRequest& WithRepositoryName(Aws::String&& value) { SetRepositoryName(std::move(value)); return *this;}
65 inline ListImagesRequest& WithRepositoryName(const char* value) { SetRepositoryName(value); return *this;}
67
69
79 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
80 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
81 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
82 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
83 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
84 inline ListImagesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
85 inline ListImagesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
86 inline ListImagesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
88
90
100 inline int GetMaxResults() const{ return m_maxResults; }
101 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
102 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
103 inline ListImagesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
105
107
111 inline const ListImagesFilter& GetFilter() const{ return m_filter; }
112 inline bool FilterHasBeenSet() const { return m_filterHasBeenSet; }
113 inline void SetFilter(const ListImagesFilter& value) { m_filterHasBeenSet = true; m_filter = value; }
114 inline void SetFilter(ListImagesFilter&& value) { m_filterHasBeenSet = true; m_filter = std::move(value); }
115 inline ListImagesRequest& WithFilter(const ListImagesFilter& value) { SetFilter(value); return *this;}
116 inline ListImagesRequest& WithFilter(ListImagesFilter&& value) { SetFilter(std::move(value)); return *this;}
118 private:
119
120 Aws::String m_registryId;
121 bool m_registryIdHasBeenSet = false;
122
123 Aws::String m_repositoryName;
124 bool m_repositoryNameHasBeenSet = false;
125
126 Aws::String m_nextToken;
127 bool m_nextTokenHasBeenSet = false;
128
129 int m_maxResults;
130 bool m_maxResultsHasBeenSet = false;
131
132 ListImagesFilter m_filter;
133 bool m_filterHasBeenSet = false;
134 };
135
136} // namespace Model
137} // namespace ECR
138} // namespace Aws
void SetRepositoryName(Aws::String &&value)
AWS_ECR_API Aws::String SerializePayload() const override
void SetNextToken(const char *value)
ListImagesRequest & WithMaxResults(int value)
AWS_ECR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListImagesRequest & WithNextToken(const char *value)
ListImagesRequest & WithNextToken(Aws::String &&value)
ListImagesRequest & WithFilter(const ListImagesFilter &value)
ListImagesRequest & WithFilter(ListImagesFilter &&value)
void SetNextToken(const Aws::String &value)
void SetRepositoryName(const char *value)
const Aws::String & GetRegistryId() const
void SetFilter(const ListImagesFilter &value)
void SetNextToken(Aws::String &&value)
ListImagesRequest & WithRegistryId(Aws::String &&value)
void SetRegistryId(Aws::String &&value)
const Aws::String & GetRepositoryName() const
ListImagesRequest & WithRepositoryName(const char *value)
ListImagesRequest & WithRepositoryName(Aws::String &&value)
ListImagesRequest & WithNextToken(const Aws::String &value)
void SetFilter(ListImagesFilter &&value)
const Aws::String & GetNextToken() const
ListImagesRequest & WithRegistryId(const Aws::String &value)
ListImagesRequest & WithRegistryId(const char *value)
void SetRegistryId(const char *value)
ListImagesRequest & WithRepositoryName(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
void SetRepositoryName(const Aws::String &value)
void SetRegistryId(const Aws::String &value)
const ListImagesFilter & GetFilter() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String