AWS SDK for C++

AWS SDK for C++ Version 1.11.637

Loading...
Searching...
No Matches
Project.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 <aws/partnercentral-selling/model/CompetitorName.h>
11#include <aws/partnercentral-selling/model/DeliveryModel.h>
12#include <aws/partnercentral-selling/model/ExpectedCustomerSpend.h>
13#include <aws/partnercentral-selling/model/SalesActivity.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace PartnerCentralSelling
27{
28namespace Model
29{
30
37 class Project
38 {
39 public:
40 AWS_PARTNERCENTRALSELLING_API Project() = default;
41 AWS_PARTNERCENTRALSELLING_API Project(Aws::Utils::Json::JsonView jsonValue);
42 AWS_PARTNERCENTRALSELLING_API Project& operator=(Aws::Utils::Json::JsonView jsonValue);
43 AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
64 inline const Aws::Vector<DeliveryModel>& GetDeliveryModels() const { return m_deliveryModels; }
65 inline bool DeliveryModelsHasBeenSet() const { return m_deliveryModelsHasBeenSet; }
66 template<typename DeliveryModelsT = Aws::Vector<DeliveryModel>>
67 void SetDeliveryModels(DeliveryModelsT&& value) { m_deliveryModelsHasBeenSet = true; m_deliveryModels = std::forward<DeliveryModelsT>(value); }
68 template<typename DeliveryModelsT = Aws::Vector<DeliveryModel>>
69 Project& WithDeliveryModels(DeliveryModelsT&& value) { SetDeliveryModels(std::forward<DeliveryModelsT>(value)); return *this;}
70 inline Project& AddDeliveryModels(DeliveryModel value) { m_deliveryModelsHasBeenSet = true; m_deliveryModels.push_back(value); return *this; }
72
74
79 inline const Aws::Vector<ExpectedCustomerSpend>& GetExpectedCustomerSpend() const { return m_expectedCustomerSpend; }
80 inline bool ExpectedCustomerSpendHasBeenSet() const { return m_expectedCustomerSpendHasBeenSet; }
81 template<typename ExpectedCustomerSpendT = Aws::Vector<ExpectedCustomerSpend>>
82 void SetExpectedCustomerSpend(ExpectedCustomerSpendT&& value) { m_expectedCustomerSpendHasBeenSet = true; m_expectedCustomerSpend = std::forward<ExpectedCustomerSpendT>(value); }
83 template<typename ExpectedCustomerSpendT = Aws::Vector<ExpectedCustomerSpend>>
84 Project& WithExpectedCustomerSpend(ExpectedCustomerSpendT&& value) { SetExpectedCustomerSpend(std::forward<ExpectedCustomerSpendT>(value)); return *this;}
85 template<typename ExpectedCustomerSpendT = ExpectedCustomerSpend>
86 Project& AddExpectedCustomerSpend(ExpectedCustomerSpendT&& value) { m_expectedCustomerSpendHasBeenSet = true; m_expectedCustomerSpend.emplace_back(std::forward<ExpectedCustomerSpendT>(value)); return *this; }
88
90
93 inline const Aws::String& GetTitle() const { return m_title; }
94 inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
95 template<typename TitleT = Aws::String>
96 void SetTitle(TitleT&& value) { m_titleHasBeenSet = true; m_title = std::forward<TitleT>(value); }
97 template<typename TitleT = Aws::String>
98 Project& WithTitle(TitleT&& value) { SetTitle(std::forward<TitleT>(value)); return *this;}
100
102
113 inline const Aws::Vector<Aws::String>& GetApnPrograms() const { return m_apnPrograms; }
114 inline bool ApnProgramsHasBeenSet() const { return m_apnProgramsHasBeenSet; }
115 template<typename ApnProgramsT = Aws::Vector<Aws::String>>
116 void SetApnPrograms(ApnProgramsT&& value) { m_apnProgramsHasBeenSet = true; m_apnPrograms = std::forward<ApnProgramsT>(value); }
117 template<typename ApnProgramsT = Aws::Vector<Aws::String>>
118 Project& WithApnPrograms(ApnProgramsT&& value) { SetApnPrograms(std::forward<ApnProgramsT>(value)); return *this;}
119 template<typename ApnProgramsT = Aws::String>
120 Project& AddApnPrograms(ApnProgramsT&& value) { m_apnProgramsHasBeenSet = true; m_apnPrograms.emplace_back(std::forward<ApnProgramsT>(value)); return *this; }
122
124
137 inline const Aws::String& GetCustomerBusinessProblem() const { return m_customerBusinessProblem; }
138 inline bool CustomerBusinessProblemHasBeenSet() const { return m_customerBusinessProblemHasBeenSet; }
139 template<typename CustomerBusinessProblemT = Aws::String>
140 void SetCustomerBusinessProblem(CustomerBusinessProblemT&& value) { m_customerBusinessProblemHasBeenSet = true; m_customerBusinessProblem = std::forward<CustomerBusinessProblemT>(value); }
141 template<typename CustomerBusinessProblemT = Aws::String>
142 Project& WithCustomerBusinessProblem(CustomerBusinessProblemT&& value) { SetCustomerBusinessProblem(std::forward<CustomerBusinessProblemT>(value)); return *this;}
144
146
167 inline const Aws::String& GetCustomerUseCase() const { return m_customerUseCase; }
168 inline bool CustomerUseCaseHasBeenSet() const { return m_customerUseCaseHasBeenSet; }
169 template<typename CustomerUseCaseT = Aws::String>
170 void SetCustomerUseCase(CustomerUseCaseT&& value) { m_customerUseCaseHasBeenSet = true; m_customerUseCase = std::forward<CustomerUseCaseT>(value); }
171 template<typename CustomerUseCaseT = Aws::String>
172 Project& WithCustomerUseCase(CustomerUseCaseT&& value) { SetCustomerUseCase(std::forward<CustomerUseCaseT>(value)); return *this;}
174
176
179 inline const Aws::String& GetRelatedOpportunityIdentifier() const { return m_relatedOpportunityIdentifier; }
180 inline bool RelatedOpportunityIdentifierHasBeenSet() const { return m_relatedOpportunityIdentifierHasBeenSet; }
181 template<typename RelatedOpportunityIdentifierT = Aws::String>
182 void SetRelatedOpportunityIdentifier(RelatedOpportunityIdentifierT&& value) { m_relatedOpportunityIdentifierHasBeenSet = true; m_relatedOpportunityIdentifier = std::forward<RelatedOpportunityIdentifierT>(value); }
183 template<typename RelatedOpportunityIdentifierT = Aws::String>
184 Project& WithRelatedOpportunityIdentifier(RelatedOpportunityIdentifierT&& value) { SetRelatedOpportunityIdentifier(std::forward<RelatedOpportunityIdentifierT>(value)); return *this;}
186
188
207 inline const Aws::Vector<SalesActivity>& GetSalesActivities() const { return m_salesActivities; }
208 inline bool SalesActivitiesHasBeenSet() const { return m_salesActivitiesHasBeenSet; }
209 template<typename SalesActivitiesT = Aws::Vector<SalesActivity>>
210 void SetSalesActivities(SalesActivitiesT&& value) { m_salesActivitiesHasBeenSet = true; m_salesActivities = std::forward<SalesActivitiesT>(value); }
211 template<typename SalesActivitiesT = Aws::Vector<SalesActivity>>
212 Project& WithSalesActivities(SalesActivitiesT&& value) { SetSalesActivities(std::forward<SalesActivitiesT>(value)); return *this;}
213 inline Project& AddSalesActivities(SalesActivity value) { m_salesActivitiesHasBeenSet = true; m_salesActivities.push_back(value); return *this; }
215
217
221 inline CompetitorName GetCompetitorName() const { return m_competitorName; }
222 inline bool CompetitorNameHasBeenSet() const { return m_competitorNameHasBeenSet; }
223 inline void SetCompetitorName(CompetitorName value) { m_competitorNameHasBeenSet = true; m_competitorName = value; }
224 inline Project& WithCompetitorName(CompetitorName value) { SetCompetitorName(value); return *this;}
226
228
232 inline const Aws::String& GetOtherCompetitorNames() const { return m_otherCompetitorNames; }
233 inline bool OtherCompetitorNamesHasBeenSet() const { return m_otherCompetitorNamesHasBeenSet; }
234 template<typename OtherCompetitorNamesT = Aws::String>
235 void SetOtherCompetitorNames(OtherCompetitorNamesT&& value) { m_otherCompetitorNamesHasBeenSet = true; m_otherCompetitorNames = std::forward<OtherCompetitorNamesT>(value); }
236 template<typename OtherCompetitorNamesT = Aws::String>
237 Project& WithOtherCompetitorNames(OtherCompetitorNamesT&& value) { SetOtherCompetitorNames(std::forward<OtherCompetitorNamesT>(value)); return *this;}
239
241
246 inline const Aws::String& GetOtherSolutionDescription() const { return m_otherSolutionDescription; }
247 inline bool OtherSolutionDescriptionHasBeenSet() const { return m_otherSolutionDescriptionHasBeenSet; }
248 template<typename OtherSolutionDescriptionT = Aws::String>
249 void SetOtherSolutionDescription(OtherSolutionDescriptionT&& value) { m_otherSolutionDescriptionHasBeenSet = true; m_otherSolutionDescription = std::forward<OtherSolutionDescriptionT>(value); }
250 template<typename OtherSolutionDescriptionT = Aws::String>
251 Project& WithOtherSolutionDescription(OtherSolutionDescriptionT&& value) { SetOtherSolutionDescription(std::forward<OtherSolutionDescriptionT>(value)); return *this;}
253
255
259 inline const Aws::String& GetAdditionalComments() const { return m_additionalComments; }
260 inline bool AdditionalCommentsHasBeenSet() const { return m_additionalCommentsHasBeenSet; }
261 template<typename AdditionalCommentsT = Aws::String>
262 void SetAdditionalComments(AdditionalCommentsT&& value) { m_additionalCommentsHasBeenSet = true; m_additionalComments = std::forward<AdditionalCommentsT>(value); }
263 template<typename AdditionalCommentsT = Aws::String>
264 Project& WithAdditionalComments(AdditionalCommentsT&& value) { SetAdditionalComments(std::forward<AdditionalCommentsT>(value)); return *this;}
266 private:
267
268 Aws::Vector<DeliveryModel> m_deliveryModels;
269 bool m_deliveryModelsHasBeenSet = false;
270
271 Aws::Vector<ExpectedCustomerSpend> m_expectedCustomerSpend;
272 bool m_expectedCustomerSpendHasBeenSet = false;
273
274 Aws::String m_title;
275 bool m_titleHasBeenSet = false;
276
277 Aws::Vector<Aws::String> m_apnPrograms;
278 bool m_apnProgramsHasBeenSet = false;
279
280 Aws::String m_customerBusinessProblem;
281 bool m_customerBusinessProblemHasBeenSet = false;
282
283 Aws::String m_customerUseCase;
284 bool m_customerUseCaseHasBeenSet = false;
285
286 Aws::String m_relatedOpportunityIdentifier;
287 bool m_relatedOpportunityIdentifierHasBeenSet = false;
288
289 Aws::Vector<SalesActivity> m_salesActivities;
290 bool m_salesActivitiesHasBeenSet = false;
291
292 CompetitorName m_competitorName{CompetitorName::NOT_SET};
293 bool m_competitorNameHasBeenSet = false;
294
295 Aws::String m_otherCompetitorNames;
296 bool m_otherCompetitorNamesHasBeenSet = false;
297
298 Aws::String m_otherSolutionDescription;
299 bool m_otherSolutionDescriptionHasBeenSet = false;
300
301 Aws::String m_additionalComments;
302 bool m_additionalCommentsHasBeenSet = false;
303 };
304
305} // namespace Model
306} // namespace PartnerCentralSelling
307} // namespace Aws
Project & WithCompetitorName(CompetitorName value)
Definition Project.h:224
void SetDeliveryModels(DeliveryModelsT &&value)
Definition Project.h:67
const Aws::String & GetRelatedOpportunityIdentifier() const
Definition Project.h:179
const Aws::Vector< Aws::String > & GetApnPrograms() const
Definition Project.h:113
Project & WithCustomerBusinessProblem(CustomerBusinessProblemT &&value)
Definition Project.h:142
void SetAdditionalComments(AdditionalCommentsT &&value)
Definition Project.h:262
Project & AddApnPrograms(ApnProgramsT &&value)
Definition Project.h:120
Project & AddDeliveryModels(DeliveryModel value)
Definition Project.h:70
const Aws::String & GetCustomerUseCase() const
Definition Project.h:167
Project & WithDeliveryModels(DeliveryModelsT &&value)
Definition Project.h:69
Project & WithAdditionalComments(AdditionalCommentsT &&value)
Definition Project.h:264
AWS_PARTNERCENTRALSELLING_API Project(Aws::Utils::Json::JsonView jsonValue)
void SetCustomerUseCase(CustomerUseCaseT &&value)
Definition Project.h:170
Project & WithApnPrograms(ApnProgramsT &&value)
Definition Project.h:118
const Aws::Vector< ExpectedCustomerSpend > & GetExpectedCustomerSpend() const
Definition Project.h:79
void SetOtherCompetitorNames(OtherCompetitorNamesT &&value)
Definition Project.h:235
Project & AddSalesActivities(SalesActivity value)
Definition Project.h:213
CompetitorName GetCompetitorName() const
Definition Project.h:221
Project & WithRelatedOpportunityIdentifier(RelatedOpportunityIdentifierT &&value)
Definition Project.h:184
const Aws::String & GetOtherSolutionDescription() const
Definition Project.h:246
const Aws::String & GetTitle() const
Definition Project.h:93
const Aws::String & GetOtherCompetitorNames() const
Definition Project.h:232
AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSalesActivities(SalesActivitiesT &&value)
Definition Project.h:210
const Aws::String & GetCustomerBusinessProblem() const
Definition Project.h:137
void SetCompetitorName(CompetitorName value)
Definition Project.h:223
AWS_PARTNERCENTRALSELLING_API Project & operator=(Aws::Utils::Json::JsonView jsonValue)
Project & WithCustomerUseCase(CustomerUseCaseT &&value)
Definition Project.h:172
Project & WithSalesActivities(SalesActivitiesT &&value)
Definition Project.h:212
AWS_PARTNERCENTRALSELLING_API Project()=default
void SetOtherSolutionDescription(OtherSolutionDescriptionT &&value)
Definition Project.h:249
Project & AddExpectedCustomerSpend(ExpectedCustomerSpendT &&value)
Definition Project.h:86
void SetCustomerBusinessProblem(CustomerBusinessProblemT &&value)
Definition Project.h:140
Project & WithExpectedCustomerSpend(ExpectedCustomerSpendT &&value)
Definition Project.h:84
void SetApnPrograms(ApnProgramsT &&value)
Definition Project.h:116
const Aws::Vector< DeliveryModel > & GetDeliveryModels() const
Definition Project.h:64
void SetExpectedCustomerSpend(ExpectedCustomerSpendT &&value)
Definition Project.h:82
Project & WithOtherSolutionDescription(OtherSolutionDescriptionT &&value)
Definition Project.h:251
Project & WithOtherCompetitorNames(OtherCompetitorNamesT &&value)
Definition Project.h:237
const Aws::Vector< SalesActivity > & GetSalesActivities() const
Definition Project.h:207
void SetRelatedOpportunityIdentifier(RelatedOpportunityIdentifierT &&value)
Definition Project.h:182
Project & WithTitle(TitleT &&value)
Definition Project.h:98
const Aws::String & GetAdditionalComments() const
Definition Project.h:259
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue