AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
ListSolutionsRequest.h
1
6#pragma once
7#include <aws/partnercentral-selling/PartnerCentralSelling_EXPORTS.h>
8#include <aws/partnercentral-selling/PartnerCentralSellingRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/partnercentral-selling/model/SolutionSort.h>
12#include <aws/partnercentral-selling/model/SolutionStatus.h>
13#include <utility>
14
15namespace Aws
16{
17namespace PartnerCentralSelling
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_PARTNERCENTRALSELLING_API ListSolutionsRequest() = default;
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "ListSolutions"; }
34
35 AWS_PARTNERCENTRALSELLING_API Aws::String SerializePayload() const override;
36
37 AWS_PARTNERCENTRALSELLING_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
38
39
41
49 inline const Aws::String& GetCatalog() const { return m_catalog; }
50 inline bool CatalogHasBeenSet() const { return m_catalogHasBeenSet; }
51 template<typename CatalogT = Aws::String>
52 void SetCatalog(CatalogT&& value) { m_catalogHasBeenSet = true; m_catalog = std::forward<CatalogT>(value); }
53 template<typename CatalogT = Aws::String>
54 ListSolutionsRequest& WithCatalog(CatalogT&& value) { SetCatalog(std::forward<CatalogT>(value)); return *this;}
56
58
64 inline const Aws::Vector<Aws::String>& GetCategory() const { return m_category; }
65 inline bool CategoryHasBeenSet() const { return m_categoryHasBeenSet; }
66 template<typename CategoryT = Aws::Vector<Aws::String>>
67 void SetCategory(CategoryT&& value) { m_categoryHasBeenSet = true; m_category = std::forward<CategoryT>(value); }
68 template<typename CategoryT = Aws::Vector<Aws::String>>
69 ListSolutionsRequest& WithCategory(CategoryT&& value) { SetCategory(std::forward<CategoryT>(value)); return *this;}
70 template<typename CategoryT = Aws::String>
71 ListSolutionsRequest& AddCategory(CategoryT&& value) { m_categoryHasBeenSet = true; m_category.emplace_back(std::forward<CategoryT>(value)); return *this; }
73
75
80 inline const Aws::Vector<Aws::String>& GetIdentifier() const { return m_identifier; }
81 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
82 template<typename IdentifierT = Aws::Vector<Aws::String>>
83 void SetIdentifier(IdentifierT&& value) { m_identifierHasBeenSet = true; m_identifier = std::forward<IdentifierT>(value); }
84 template<typename IdentifierT = Aws::Vector<Aws::String>>
85 ListSolutionsRequest& WithIdentifier(IdentifierT&& value) { SetIdentifier(std::forward<IdentifierT>(value)); return *this;}
86 template<typename IdentifierT = Aws::String>
87 ListSolutionsRequest& AddIdentifier(IdentifierT&& value) { m_identifierHasBeenSet = true; m_identifier.emplace_back(std::forward<IdentifierT>(value)); return *this; }
89
91
96 inline int GetMaxResults() const { return m_maxResults; }
97 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
98 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
99 inline ListSolutionsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
101
103
108 inline const Aws::String& GetNextToken() const { return m_nextToken; }
109 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
110 template<typename NextTokenT = Aws::String>
111 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
112 template<typename NextTokenT = Aws::String>
113 ListSolutionsRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
115
117
121 inline const SolutionSort& GetSort() const { return m_sort; }
122 inline bool SortHasBeenSet() const { return m_sortHasBeenSet; }
123 template<typename SortT = SolutionSort>
124 void SetSort(SortT&& value) { m_sortHasBeenSet = true; m_sort = std::forward<SortT>(value); }
125 template<typename SortT = SolutionSort>
126 ListSolutionsRequest& WithSort(SortT&& value) { SetSort(std::forward<SortT>(value)); return *this;}
128
130
134 inline const Aws::Vector<SolutionStatus>& GetStatus() const { return m_status; }
135 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
136 template<typename StatusT = Aws::Vector<SolutionStatus>>
137 void SetStatus(StatusT&& value) { m_statusHasBeenSet = true; m_status = std::forward<StatusT>(value); }
138 template<typename StatusT = Aws::Vector<SolutionStatus>>
139 ListSolutionsRequest& WithStatus(StatusT&& value) { SetStatus(std::forward<StatusT>(value)); return *this;}
140 inline ListSolutionsRequest& AddStatus(SolutionStatus value) { m_statusHasBeenSet = true; m_status.push_back(value); return *this; }
142 private:
143
144 Aws::String m_catalog;
145 bool m_catalogHasBeenSet = false;
146
147 Aws::Vector<Aws::String> m_category;
148 bool m_categoryHasBeenSet = false;
149
150 Aws::Vector<Aws::String> m_identifier;
151 bool m_identifierHasBeenSet = false;
152
153 int m_maxResults{0};
154 bool m_maxResultsHasBeenSet = false;
155
156 Aws::String m_nextToken;
157 bool m_nextTokenHasBeenSet = false;
158
159 SolutionSort m_sort;
160 bool m_sortHasBeenSet = false;
161
163 bool m_statusHasBeenSet = false;
164 };
165
166} // namespace Model
167} // namespace PartnerCentralSelling
168} // namespace Aws
ListSolutionsRequest & AddIdentifier(IdentifierT &&value)
ListSolutionsRequest & WithIdentifier(IdentifierT &&value)
ListSolutionsRequest & WithCategory(CategoryT &&value)
AWS_PARTNERCENTRALSELLING_API ListSolutionsRequest()=default
virtual const char * GetServiceRequestName() const override
ListSolutionsRequest & WithNextToken(NextTokenT &&value)
AWS_PARTNERCENTRALSELLING_API Aws::String SerializePayload() const override
ListSolutionsRequest & WithCatalog(CatalogT &&value)
const Aws::Vector< Aws::String > & GetIdentifier() const
const Aws::Vector< Aws::String > & GetCategory() const
ListSolutionsRequest & AddStatus(SolutionStatus value)
AWS_PARTNERCENTRALSELLING_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListSolutionsRequest & AddCategory(CategoryT &&value)
const Aws::Vector< SolutionStatus > & GetStatus() const
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