AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListCertificatesRequest.h
1
6#pragma once
7#include <aws/acm/ACM_EXPORTS.h>
8#include <aws/acm/ACMRequest.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/acm/model/Filters.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/acm/model/SortBy.h>
13#include <aws/acm/model/SortOrder.h>
14#include <aws/acm/model/CertificateStatus.h>
15#include <utility>
16
17namespace Aws
18{
19namespace ACM
20{
21namespace Model
22{
23
27 {
28 public:
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "ListCertificates"; }
36
37 AWS_ACM_API Aws::String SerializePayload() const override;
38
40
41
43
46 inline const Aws::Vector<CertificateStatus>& GetCertificateStatuses() const{ return m_certificateStatuses; }
47 inline bool CertificateStatusesHasBeenSet() const { return m_certificateStatusesHasBeenSet; }
48 inline void SetCertificateStatuses(const Aws::Vector<CertificateStatus>& value) { m_certificateStatusesHasBeenSet = true; m_certificateStatuses = value; }
49 inline void SetCertificateStatuses(Aws::Vector<CertificateStatus>&& value) { m_certificateStatusesHasBeenSet = true; m_certificateStatuses = std::move(value); }
52 inline ListCertificatesRequest& AddCertificateStatuses(const CertificateStatus& value) { m_certificateStatusesHasBeenSet = true; m_certificateStatuses.push_back(value); return *this; }
53 inline ListCertificatesRequest& AddCertificateStatuses(CertificateStatus&& value) { m_certificateStatusesHasBeenSet = true; m_certificateStatuses.push_back(std::move(value)); return *this; }
55
57
61 inline const Filters& GetIncludes() const{ return m_includes; }
62 inline bool IncludesHasBeenSet() const { return m_includesHasBeenSet; }
63 inline void SetIncludes(const Filters& value) { m_includesHasBeenSet = true; m_includes = value; }
64 inline void SetIncludes(Filters&& value) { m_includesHasBeenSet = true; m_includes = std::move(value); }
65 inline ListCertificatesRequest& WithIncludes(const Filters& value) { SetIncludes(value); return *this;}
66 inline ListCertificatesRequest& WithIncludes(Filters&& value) { SetIncludes(std::move(value)); return *this;}
68
70
75 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
76 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
77 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
78 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
79 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
80 inline ListCertificatesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
81 inline ListCertificatesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
82 inline ListCertificatesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
84
86
93 inline int GetMaxItems() const{ return m_maxItems; }
94 inline bool MaxItemsHasBeenSet() const { return m_maxItemsHasBeenSet; }
95 inline void SetMaxItems(int value) { m_maxItemsHasBeenSet = true; m_maxItems = value; }
96 inline ListCertificatesRequest& WithMaxItems(int value) { SetMaxItems(value); return *this;}
98
100
104 inline const SortBy& GetSortBy() const{ return m_sortBy; }
105 inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; }
106 inline void SetSortBy(const SortBy& value) { m_sortByHasBeenSet = true; m_sortBy = value; }
107 inline void SetSortBy(SortBy&& value) { m_sortByHasBeenSet = true; m_sortBy = std::move(value); }
108 inline ListCertificatesRequest& WithSortBy(const SortBy& value) { SetSortBy(value); return *this;}
109 inline ListCertificatesRequest& WithSortBy(SortBy&& value) { SetSortBy(std::move(value)); return *this;}
111
113
117 inline const SortOrder& GetSortOrder() const{ return m_sortOrder; }
118 inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; }
119 inline void SetSortOrder(const SortOrder& value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; }
120 inline void SetSortOrder(SortOrder&& value) { m_sortOrderHasBeenSet = true; m_sortOrder = std::move(value); }
121 inline ListCertificatesRequest& WithSortOrder(const SortOrder& value) { SetSortOrder(value); return *this;}
122 inline ListCertificatesRequest& WithSortOrder(SortOrder&& value) { SetSortOrder(std::move(value)); return *this;}
124 private:
125
126 Aws::Vector<CertificateStatus> m_certificateStatuses;
127 bool m_certificateStatusesHasBeenSet = false;
128
129 Filters m_includes;
130 bool m_includesHasBeenSet = false;
131
132 Aws::String m_nextToken;
133 bool m_nextTokenHasBeenSet = false;
134
135 int m_maxItems;
136 bool m_maxItemsHasBeenSet = false;
137
138 SortBy m_sortBy;
139 bool m_sortByHasBeenSet = false;
140
141 SortOrder m_sortOrder;
142 bool m_sortOrderHasBeenSet = false;
143 };
144
145} // namespace Model
146} // namespace ACM
147} // namespace Aws
AWS_ACM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetCertificateStatuses(const Aws::Vector< CertificateStatus > &value)
ListCertificatesRequest & WithNextToken(Aws::String &&value)
ListCertificatesRequest & WithNextToken(const Aws::String &value)
ListCertificatesRequest & WithNextToken(const char *value)
ListCertificatesRequest & WithSortOrder(const SortOrder &value)
const Aws::Vector< CertificateStatus > & GetCertificateStatuses() const
ListCertificatesRequest & WithIncludes(Filters &&value)
ListCertificatesRequest & WithCertificateStatuses(const Aws::Vector< CertificateStatus > &value)
ListCertificatesRequest & AddCertificateStatuses(CertificateStatus &&value)
ListCertificatesRequest & WithCertificateStatuses(Aws::Vector< CertificateStatus > &&value)
ListCertificatesRequest & WithMaxItems(int value)
ListCertificatesRequest & AddCertificateStatuses(const CertificateStatus &value)
ListCertificatesRequest & WithSortOrder(SortOrder &&value)
AWS_ACM_API Aws::String SerializePayload() const override
ListCertificatesRequest & WithIncludes(const Filters &value)
void SetCertificateStatuses(Aws::Vector< CertificateStatus > &&value)
virtual const char * GetServiceRequestName() const override
ListCertificatesRequest & WithSortBy(SortBy &&value)
ListCertificatesRequest & WithSortBy(const SortBy &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