AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
RelatedEntityIdentifiers.h
1
6#pragma once
7#include <aws/partnercentral-selling/PartnerCentralSelling_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace PartnerCentralSelling
23{
24namespace Model
25{
26
36 {
37 public:
38 AWS_PARTNERCENTRALSELLING_API RelatedEntityIdentifiers() = default;
39 AWS_PARTNERCENTRALSELLING_API RelatedEntityIdentifiers(Aws::Utils::Json::JsonView jsonValue);
40 AWS_PARTNERCENTRALSELLING_API RelatedEntityIdentifiers& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
54 inline const Aws::Vector<Aws::String>& GetAwsMarketplaceOffers() const { return m_awsMarketplaceOffers; }
55 inline bool AwsMarketplaceOffersHasBeenSet() const { return m_awsMarketplaceOffersHasBeenSet; }
56 template<typename AwsMarketplaceOffersT = Aws::Vector<Aws::String>>
57 void SetAwsMarketplaceOffers(AwsMarketplaceOffersT&& value) { m_awsMarketplaceOffersHasBeenSet = true; m_awsMarketplaceOffers = std::forward<AwsMarketplaceOffersT>(value); }
58 template<typename AwsMarketplaceOffersT = Aws::Vector<Aws::String>>
59 RelatedEntityIdentifiers& WithAwsMarketplaceOffers(AwsMarketplaceOffersT&& value) { SetAwsMarketplaceOffers(std::forward<AwsMarketplaceOffersT>(value)); return *this;}
60 template<typename AwsMarketplaceOffersT = Aws::String>
61 RelatedEntityIdentifiers& AddAwsMarketplaceOffers(AwsMarketplaceOffersT&& value) { m_awsMarketplaceOffersHasBeenSet = true; m_awsMarketplaceOffers.emplace_back(std::forward<AwsMarketplaceOffersT>(value)); return *this; }
63
65
76 inline const Aws::Vector<Aws::String>& GetAwsProducts() const { return m_awsProducts; }
77 inline bool AwsProductsHasBeenSet() const { return m_awsProductsHasBeenSet; }
78 template<typename AwsProductsT = Aws::Vector<Aws::String>>
79 void SetAwsProducts(AwsProductsT&& value) { m_awsProductsHasBeenSet = true; m_awsProducts = std::forward<AwsProductsT>(value); }
80 template<typename AwsProductsT = Aws::Vector<Aws::String>>
81 RelatedEntityIdentifiers& WithAwsProducts(AwsProductsT&& value) { SetAwsProducts(std::forward<AwsProductsT>(value)); return *this;}
82 template<typename AwsProductsT = Aws::String>
83 RelatedEntityIdentifiers& AddAwsProducts(AwsProductsT&& value) { m_awsProductsHasBeenSet = true; m_awsProducts.emplace_back(std::forward<AwsProductsT>(value)); return *this; }
85
87
99 inline const Aws::Vector<Aws::String>& GetSolutions() const { return m_solutions; }
100 inline bool SolutionsHasBeenSet() const { return m_solutionsHasBeenSet; }
101 template<typename SolutionsT = Aws::Vector<Aws::String>>
102 void SetSolutions(SolutionsT&& value) { m_solutionsHasBeenSet = true; m_solutions = std::forward<SolutionsT>(value); }
103 template<typename SolutionsT = Aws::Vector<Aws::String>>
104 RelatedEntityIdentifiers& WithSolutions(SolutionsT&& value) { SetSolutions(std::forward<SolutionsT>(value)); return *this;}
105 template<typename SolutionsT = Aws::String>
106 RelatedEntityIdentifiers& AddSolutions(SolutionsT&& value) { m_solutionsHasBeenSet = true; m_solutions.emplace_back(std::forward<SolutionsT>(value)); return *this; }
108 private:
109
110 Aws::Vector<Aws::String> m_awsMarketplaceOffers;
111 bool m_awsMarketplaceOffersHasBeenSet = false;
112
113 Aws::Vector<Aws::String> m_awsProducts;
114 bool m_awsProductsHasBeenSet = false;
115
116 Aws::Vector<Aws::String> m_solutions;
117 bool m_solutionsHasBeenSet = false;
118 };
119
120} // namespace Model
121} // namespace PartnerCentralSelling
122} // namespace Aws
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue