AWS SDK for C++

AWS SDK for C++ Version 1.11.871

Loading...
Searching...
No Matches
RelatedEntityIdentifiers.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/partnercentral-selling/PartnerCentralSelling_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace PartnerCentralSelling {
21namespace Model {
22
32 public:
33 AWS_PARTNERCENTRALSELLING_API RelatedEntityIdentifiers() = default;
34 AWS_PARTNERCENTRALSELLING_API RelatedEntityIdentifiers(Aws::Utils::Json::JsonView jsonValue);
35 AWS_PARTNERCENTRALSELLING_API RelatedEntityIdentifiers& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
48 inline const Aws::Vector<Aws::String>& GetAwsMarketplaceOffers() const { return m_awsMarketplaceOffers; }
49 inline bool AwsMarketplaceOffersHasBeenSet() const { return m_awsMarketplaceOffersHasBeenSet; }
50 template <typename AwsMarketplaceOffersT = Aws::Vector<Aws::String>>
51 void SetAwsMarketplaceOffers(AwsMarketplaceOffersT&& value) {
52 m_awsMarketplaceOffersHasBeenSet = true;
53 m_awsMarketplaceOffers = std::forward<AwsMarketplaceOffersT>(value);
54 }
55 template <typename AwsMarketplaceOffersT = Aws::Vector<Aws::String>>
56 RelatedEntityIdentifiers& WithAwsMarketplaceOffers(AwsMarketplaceOffersT&& value) {
57 SetAwsMarketplaceOffers(std::forward<AwsMarketplaceOffersT>(value));
58 return *this;
59 }
60 template <typename AwsMarketplaceOffersT = Aws::String>
61 RelatedEntityIdentifiers& AddAwsMarketplaceOffers(AwsMarketplaceOffersT&& value) {
62 m_awsMarketplaceOffersHasBeenSet = true;
63 m_awsMarketplaceOffers.emplace_back(std::forward<AwsMarketplaceOffersT>(value));
64 return *this;
65 }
67
69
76 inline const Aws::Vector<Aws::String>& GetAwsMarketplaceOfferSets() const { return m_awsMarketplaceOfferSets; }
77 inline bool AwsMarketplaceOfferSetsHasBeenSet() const { return m_awsMarketplaceOfferSetsHasBeenSet; }
78 template <typename AwsMarketplaceOfferSetsT = Aws::Vector<Aws::String>>
79 void SetAwsMarketplaceOfferSets(AwsMarketplaceOfferSetsT&& value) {
80 m_awsMarketplaceOfferSetsHasBeenSet = true;
81 m_awsMarketplaceOfferSets = std::forward<AwsMarketplaceOfferSetsT>(value);
82 }
83 template <typename AwsMarketplaceOfferSetsT = Aws::Vector<Aws::String>>
84 RelatedEntityIdentifiers& WithAwsMarketplaceOfferSets(AwsMarketplaceOfferSetsT&& value) {
85 SetAwsMarketplaceOfferSets(std::forward<AwsMarketplaceOfferSetsT>(value));
86 return *this;
87 }
88 template <typename AwsMarketplaceOfferSetsT = Aws::String>
89 RelatedEntityIdentifiers& AddAwsMarketplaceOfferSets(AwsMarketplaceOfferSetsT&& value) {
90 m_awsMarketplaceOfferSetsHasBeenSet = true;
91 m_awsMarketplaceOfferSets.emplace_back(std::forward<AwsMarketplaceOfferSetsT>(value));
92 return *this;
93 }
95
97
109 inline const Aws::Vector<Aws::String>& GetSolutions() const { return m_solutions; }
110 inline bool SolutionsHasBeenSet() const { return m_solutionsHasBeenSet; }
111 template <typename SolutionsT = Aws::Vector<Aws::String>>
112 void SetSolutions(SolutionsT&& value) {
113 m_solutionsHasBeenSet = true;
114 m_solutions = std::forward<SolutionsT>(value);
115 }
116 template <typename SolutionsT = Aws::Vector<Aws::String>>
118 SetSolutions(std::forward<SolutionsT>(value));
119 return *this;
120 }
121 template <typename SolutionsT = Aws::String>
123 m_solutionsHasBeenSet = true;
124 m_solutions.emplace_back(std::forward<SolutionsT>(value));
125 return *this;
126 }
128
130
141 inline const Aws::Vector<Aws::String>& GetAwsProducts() const { return m_awsProducts; }
142 inline bool AwsProductsHasBeenSet() const { return m_awsProductsHasBeenSet; }
143 template <typename AwsProductsT = Aws::Vector<Aws::String>>
144 void SetAwsProducts(AwsProductsT&& value) {
145 m_awsProductsHasBeenSet = true;
146 m_awsProducts = std::forward<AwsProductsT>(value);
147 }
148 template <typename AwsProductsT = Aws::Vector<Aws::String>>
150 SetAwsProducts(std::forward<AwsProductsT>(value));
151 return *this;
152 }
153 template <typename AwsProductsT = Aws::String>
155 m_awsProductsHasBeenSet = true;
156 m_awsProducts.emplace_back(std::forward<AwsProductsT>(value));
157 return *this;
158 }
160
162
167 inline const Aws::Vector<Aws::String>& GetAwsMarketplaceSolutions() const { return m_awsMarketplaceSolutions; }
168 inline bool AwsMarketplaceSolutionsHasBeenSet() const { return m_awsMarketplaceSolutionsHasBeenSet; }
169 template <typename AwsMarketplaceSolutionsT = Aws::Vector<Aws::String>>
170 void SetAwsMarketplaceSolutions(AwsMarketplaceSolutionsT&& value) {
171 m_awsMarketplaceSolutionsHasBeenSet = true;
172 m_awsMarketplaceSolutions = std::forward<AwsMarketplaceSolutionsT>(value);
173 }
174 template <typename AwsMarketplaceSolutionsT = Aws::Vector<Aws::String>>
175 RelatedEntityIdentifiers& WithAwsMarketplaceSolutions(AwsMarketplaceSolutionsT&& value) {
176 SetAwsMarketplaceSolutions(std::forward<AwsMarketplaceSolutionsT>(value));
177 return *this;
178 }
179 template <typename AwsMarketplaceSolutionsT = Aws::String>
180 RelatedEntityIdentifiers& AddAwsMarketplaceSolutions(AwsMarketplaceSolutionsT&& value) {
181 m_awsMarketplaceSolutionsHasBeenSet = true;
182 m_awsMarketplaceSolutions.emplace_back(std::forward<AwsMarketplaceSolutionsT>(value));
183 return *this;
184 }
186
188
193 inline const Aws::Vector<Aws::String>& GetAwsMarketplaceProducts() const { return m_awsMarketplaceProducts; }
194 inline bool AwsMarketplaceProductsHasBeenSet() const { return m_awsMarketplaceProductsHasBeenSet; }
195 template <typename AwsMarketplaceProductsT = Aws::Vector<Aws::String>>
196 void SetAwsMarketplaceProducts(AwsMarketplaceProductsT&& value) {
197 m_awsMarketplaceProductsHasBeenSet = true;
198 m_awsMarketplaceProducts = std::forward<AwsMarketplaceProductsT>(value);
199 }
200 template <typename AwsMarketplaceProductsT = Aws::Vector<Aws::String>>
201 RelatedEntityIdentifiers& WithAwsMarketplaceProducts(AwsMarketplaceProductsT&& value) {
202 SetAwsMarketplaceProducts(std::forward<AwsMarketplaceProductsT>(value));
203 return *this;
204 }
205 template <typename AwsMarketplaceProductsT = Aws::String>
206 RelatedEntityIdentifiers& AddAwsMarketplaceProducts(AwsMarketplaceProductsT&& value) {
207 m_awsMarketplaceProductsHasBeenSet = true;
208 m_awsMarketplaceProducts.emplace_back(std::forward<AwsMarketplaceProductsT>(value));
209 return *this;
210 }
212 private:
213 Aws::Vector<Aws::String> m_awsMarketplaceOffers;
214
215 Aws::Vector<Aws::String> m_awsMarketplaceOfferSets;
216
217 Aws::Vector<Aws::String> m_solutions;
218
219 Aws::Vector<Aws::String> m_awsProducts;
220
221 Aws::Vector<Aws::String> m_awsMarketplaceSolutions;
222
223 Aws::Vector<Aws::String> m_awsMarketplaceProducts;
224 bool m_awsMarketplaceOffersHasBeenSet = false;
225 bool m_awsMarketplaceOfferSetsHasBeenSet = false;
226 bool m_solutionsHasBeenSet = false;
227 bool m_awsProductsHasBeenSet = false;
228 bool m_awsMarketplaceSolutionsHasBeenSet = false;
229 bool m_awsMarketplaceProductsHasBeenSet = false;
230};
231
232} // namespace Model
233} // namespace PartnerCentralSelling
234} // namespace Aws
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue