AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
ProjectView.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#include <aws/partnercentral-selling/model/DeliveryModel.h>
11#include <aws/partnercentral-selling/model/ExpectedCustomerSpend.h>
12#include <aws/partnercentral-selling/model/SalesActivity.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Utils {
18namespace Json {
19class JsonValue;
20class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace PartnerCentralSelling {
24namespace Model {
25
33 public:
34 AWS_PARTNERCENTRALSELLING_API ProjectView() = default;
35 AWS_PARTNERCENTRALSELLING_API ProjectView(Aws::Utils::Json::JsonView jsonValue);
36 AWS_PARTNERCENTRALSELLING_API ProjectView& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
45 inline const Aws::Vector<DeliveryModel>& GetDeliveryModels() const { return m_deliveryModels; }
46 inline bool DeliveryModelsHasBeenSet() const { return m_deliveryModelsHasBeenSet; }
47 template <typename DeliveryModelsT = Aws::Vector<DeliveryModel>>
48 void SetDeliveryModels(DeliveryModelsT&& value) {
49 m_deliveryModelsHasBeenSet = true;
50 m_deliveryModels = std::forward<DeliveryModelsT>(value);
51 }
52 template <typename DeliveryModelsT = Aws::Vector<DeliveryModel>>
53 ProjectView& WithDeliveryModels(DeliveryModelsT&& value) {
54 SetDeliveryModels(std::forward<DeliveryModelsT>(value));
55 return *this;
56 }
58 m_deliveryModelsHasBeenSet = true;
59 m_deliveryModels.push_back(value);
60 return *this;
61 }
63
65
70 inline const Aws::Vector<ExpectedCustomerSpend>& GetExpectedCustomerSpend() const { return m_expectedCustomerSpend; }
71 inline bool ExpectedCustomerSpendHasBeenSet() const { return m_expectedCustomerSpendHasBeenSet; }
72 template <typename ExpectedCustomerSpendT = Aws::Vector<ExpectedCustomerSpend>>
73 void SetExpectedCustomerSpend(ExpectedCustomerSpendT&& value) {
74 m_expectedCustomerSpendHasBeenSet = true;
75 m_expectedCustomerSpend = std::forward<ExpectedCustomerSpendT>(value);
76 }
77 template <typename ExpectedCustomerSpendT = Aws::Vector<ExpectedCustomerSpend>>
78 ProjectView& WithExpectedCustomerSpend(ExpectedCustomerSpendT&& value) {
79 SetExpectedCustomerSpend(std::forward<ExpectedCustomerSpendT>(value));
80 return *this;
81 }
82 template <typename ExpectedCustomerSpendT = ExpectedCustomerSpend>
83 ProjectView& AddExpectedCustomerSpend(ExpectedCustomerSpendT&& value) {
84 m_expectedCustomerSpendHasBeenSet = true;
85 m_expectedCustomerSpend.emplace_back(std::forward<ExpectedCustomerSpendT>(value));
86 return *this;
87 }
89
91
95 inline const Aws::String& GetCustomerUseCase() const { return m_customerUseCase; }
96 inline bool CustomerUseCaseHasBeenSet() const { return m_customerUseCaseHasBeenSet; }
97 template <typename CustomerUseCaseT = Aws::String>
98 void SetCustomerUseCase(CustomerUseCaseT&& value) {
99 m_customerUseCaseHasBeenSet = true;
100 m_customerUseCase = std::forward<CustomerUseCaseT>(value);
101 }
102 template <typename CustomerUseCaseT = Aws::String>
103 ProjectView& WithCustomerUseCase(CustomerUseCaseT&& value) {
104 SetCustomerUseCase(std::forward<CustomerUseCaseT>(value));
105 return *this;
106 }
108
110
116 inline const Aws::Vector<SalesActivity>& GetSalesActivities() const { return m_salesActivities; }
117 inline bool SalesActivitiesHasBeenSet() const { return m_salesActivitiesHasBeenSet; }
118 template <typename SalesActivitiesT = Aws::Vector<SalesActivity>>
119 void SetSalesActivities(SalesActivitiesT&& value) {
120 m_salesActivitiesHasBeenSet = true;
121 m_salesActivities = std::forward<SalesActivitiesT>(value);
122 }
123 template <typename SalesActivitiesT = Aws::Vector<SalesActivity>>
124 ProjectView& WithSalesActivities(SalesActivitiesT&& value) {
125 SetSalesActivities(std::forward<SalesActivitiesT>(value));
126 return *this;
127 }
129 m_salesActivitiesHasBeenSet = true;
130 m_salesActivities.push_back(value);
131 return *this;
132 }
134
136
140 inline const Aws::String& GetOtherSolutionDescription() const { return m_otherSolutionDescription; }
141 inline bool OtherSolutionDescriptionHasBeenSet() const { return m_otherSolutionDescriptionHasBeenSet; }
142 template <typename OtherSolutionDescriptionT = Aws::String>
143 void SetOtherSolutionDescription(OtherSolutionDescriptionT&& value) {
144 m_otherSolutionDescriptionHasBeenSet = true;
145 m_otherSolutionDescription = std::forward<OtherSolutionDescriptionT>(value);
146 }
147 template <typename OtherSolutionDescriptionT = Aws::String>
148 ProjectView& WithOtherSolutionDescription(OtherSolutionDescriptionT&& value) {
149 SetOtherSolutionDescription(std::forward<OtherSolutionDescriptionT>(value));
150 return *this;
151 }
153 private:
154 Aws::Vector<DeliveryModel> m_deliveryModels;
155
156 Aws::Vector<ExpectedCustomerSpend> m_expectedCustomerSpend;
157
158 Aws::String m_customerUseCase;
159
160 Aws::Vector<SalesActivity> m_salesActivities;
161
162 Aws::String m_otherSolutionDescription;
163 bool m_deliveryModelsHasBeenSet = false;
164 bool m_expectedCustomerSpendHasBeenSet = false;
165 bool m_customerUseCaseHasBeenSet = false;
166 bool m_salesActivitiesHasBeenSet = false;
167 bool m_otherSolutionDescriptionHasBeenSet = false;
168};
169
170} // namespace Model
171} // namespace PartnerCentralSelling
172} // namespace Aws
ProjectView & WithDeliveryModels(DeliveryModelsT &&value)
Definition ProjectView.h:53
const Aws::Vector< ExpectedCustomerSpend > & GetExpectedCustomerSpend() const
Definition ProjectView.h:70
void SetOtherSolutionDescription(OtherSolutionDescriptionT &&value)
ProjectView & WithOtherSolutionDescription(OtherSolutionDescriptionT &&value)
ProjectView & AddExpectedCustomerSpend(ExpectedCustomerSpendT &&value)
Definition ProjectView.h:83
ProjectView & WithCustomerUseCase(CustomerUseCaseT &&value)
AWS_PARTNERCENTRALSELLING_API ProjectView & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< SalesActivity > & GetSalesActivities() const
AWS_PARTNERCENTRALSELLING_API ProjectView()=default
ProjectView & AddDeliveryModels(DeliveryModel value)
Definition ProjectView.h:57
void SetExpectedCustomerSpend(ExpectedCustomerSpendT &&value)
Definition ProjectView.h:73
void SetCustomerUseCase(CustomerUseCaseT &&value)
Definition ProjectView.h:98
ProjectView & AddSalesActivities(SalesActivity value)
ProjectView & WithExpectedCustomerSpend(ExpectedCustomerSpendT &&value)
Definition ProjectView.h:78
const Aws::Vector< DeliveryModel > & GetDeliveryModels() const
Definition ProjectView.h:45
AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetCustomerUseCase() const
Definition ProjectView.h:95
void SetDeliveryModels(DeliveryModelsT &&value)
Definition ProjectView.h:48
AWS_PARTNERCENTRALSELLING_API ProjectView(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetOtherSolutionDescription() const
ProjectView & WithSalesActivities(SalesActivitiesT &&value)
void SetSalesActivities(SalesActivitiesT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue