AWS SDK for C++

AWS SDK for C++ Version 1.11.719

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 private:
161 Aws::Vector<Aws::String> m_awsMarketplaceOffers;
162
163 Aws::Vector<Aws::String> m_awsMarketplaceOfferSets;
164
165 Aws::Vector<Aws::String> m_solutions;
166
167 Aws::Vector<Aws::String> m_awsProducts;
168 bool m_awsMarketplaceOffersHasBeenSet = false;
169 bool m_awsMarketplaceOfferSetsHasBeenSet = false;
170 bool m_solutionsHasBeenSet = false;
171 bool m_awsProductsHasBeenSet = false;
172};
173
174} // namespace Model
175} // namespace PartnerCentralSelling
176} // namespace Aws
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue