AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
AwsOpportunityRelatedEntities.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 AwsOpportunityRelatedEntities() = default;
39 AWS_PARTNERCENTRALSELLING_API AwsOpportunityRelatedEntities(Aws::Utils::Json::JsonView jsonValue);
40 AWS_PARTNERCENTRALSELLING_API AwsOpportunityRelatedEntities& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline const Aws::Vector<Aws::String>& GetAwsProducts() const { return m_awsProducts; }
50 inline bool AwsProductsHasBeenSet() const { return m_awsProductsHasBeenSet; }
51 template<typename AwsProductsT = Aws::Vector<Aws::String>>
52 void SetAwsProducts(AwsProductsT&& value) { m_awsProductsHasBeenSet = true; m_awsProducts = std::forward<AwsProductsT>(value); }
53 template<typename AwsProductsT = Aws::Vector<Aws::String>>
54 AwsOpportunityRelatedEntities& WithAwsProducts(AwsProductsT&& value) { SetAwsProducts(std::forward<AwsProductsT>(value)); return *this;}
55 template<typename AwsProductsT = Aws::String>
56 AwsOpportunityRelatedEntities& AddAwsProducts(AwsProductsT&& value) { m_awsProductsHasBeenSet = true; m_awsProducts.emplace_back(std::forward<AwsProductsT>(value)); return *this; }
58
60
65 inline const Aws::Vector<Aws::String>& GetSolutions() const { return m_solutions; }
66 inline bool SolutionsHasBeenSet() const { return m_solutionsHasBeenSet; }
67 template<typename SolutionsT = Aws::Vector<Aws::String>>
68 void SetSolutions(SolutionsT&& value) { m_solutionsHasBeenSet = true; m_solutions = std::forward<SolutionsT>(value); }
69 template<typename SolutionsT = Aws::Vector<Aws::String>>
70 AwsOpportunityRelatedEntities& WithSolutions(SolutionsT&& value) { SetSolutions(std::forward<SolutionsT>(value)); return *this;}
71 template<typename SolutionsT = Aws::String>
72 AwsOpportunityRelatedEntities& AddSolutions(SolutionsT&& value) { m_solutionsHasBeenSet = true; m_solutions.emplace_back(std::forward<SolutionsT>(value)); return *this; }
74 private:
75
76 Aws::Vector<Aws::String> m_awsProducts;
77 bool m_awsProductsHasBeenSet = false;
78
79 Aws::Vector<Aws::String> m_solutions;
80 bool m_solutionsHasBeenSet = false;
81 };
82
83} // namespace Model
84} // namespace PartnerCentralSelling
85} // namespace Aws
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue