AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
AwsOpportunityRelatedEntities.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 AwsOpportunityRelatedEntities() = default;
34 AWS_PARTNERCENTRALSELLING_API AwsOpportunityRelatedEntities(Aws::Utils::Json::JsonView jsonValue);
35 AWS_PARTNERCENTRALSELLING_API AwsOpportunityRelatedEntities& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
43 inline const Aws::Vector<Aws::String>& GetAwsProducts() const { return m_awsProducts; }
44 inline bool AwsProductsHasBeenSet() const { return m_awsProductsHasBeenSet; }
45 template <typename AwsProductsT = Aws::Vector<Aws::String>>
46 void SetAwsProducts(AwsProductsT&& value) {
47 m_awsProductsHasBeenSet = true;
48 m_awsProducts = std::forward<AwsProductsT>(value);
49 }
50 template <typename AwsProductsT = Aws::Vector<Aws::String>>
52 SetAwsProducts(std::forward<AwsProductsT>(value));
53 return *this;
54 }
55 template <typename AwsProductsT = Aws::String>
57 m_awsProductsHasBeenSet = true;
58 m_awsProducts.emplace_back(std::forward<AwsProductsT>(value));
59 return *this;
60 }
62
64
69 inline const Aws::Vector<Aws::String>& GetSolutions() const { return m_solutions; }
70 inline bool SolutionsHasBeenSet() const { return m_solutionsHasBeenSet; }
71 template <typename SolutionsT = Aws::Vector<Aws::String>>
72 void SetSolutions(SolutionsT&& value) {
73 m_solutionsHasBeenSet = true;
74 m_solutions = std::forward<SolutionsT>(value);
75 }
76 template <typename SolutionsT = Aws::Vector<Aws::String>>
78 SetSolutions(std::forward<SolutionsT>(value));
79 return *this;
80 }
81 template <typename SolutionsT = Aws::String>
83 m_solutionsHasBeenSet = true;
84 m_solutions.emplace_back(std::forward<SolutionsT>(value));
85 return *this;
86 }
88 private:
89 Aws::Vector<Aws::String> m_awsProducts;
90
91 Aws::Vector<Aws::String> m_solutions;
92 bool m_awsProductsHasBeenSet = false;
93 bool m_solutionsHasBeenSet = false;
94};
95
96} // namespace Model
97} // namespace PartnerCentralSelling
98} // namespace Aws
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue