AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.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
51 inline const Aws::String& GetAdditionalComments() const { return m_additionalComments; }
52 inline bool AdditionalCommentsHasBeenSet() const { return m_additionalCommentsHasBeenSet; }
53 template<typename AdditionalCommentsT = Aws::String>
54 void SetAdditionalComments(AdditionalCommentsT&& value) { m_additionalCommentsHasBeenSet = true; m_additionalComments = std::forward<AdditionalCommentsT>(value); }
55 template<typename AdditionalCommentsT = Aws::String>
56 Project& WithAdditionalComments(AdditionalCommentsT&& value) { SetAdditionalComments(std::forward<AdditionalCommentsT>(value)); return *this;}
58
60
71 inline const Aws::Vector<Aws::String>& GetApnPrograms() const { return m_apnPrograms; }
72 inline bool ApnProgramsHasBeenSet() const { return m_apnProgramsHasBeenSet; }
73 template<typename ApnProgramsT = Aws::Vector<Aws::String>>
74 void SetApnPrograms(ApnProgramsT&& value) { m_apnProgramsHasBeenSet = true; m_apnPrograms = std::forward<ApnProgramsT>(value); }
75 template<typename ApnProgramsT = Aws::Vector<Aws::String>>
76 Project& WithApnPrograms(ApnProgramsT&& value) { SetApnPrograms(std::forward<ApnProgramsT>(value)); return *this;}
77 template<typename ApnProgramsT = Aws::String>
78 Project& AddApnPrograms(ApnProgramsT&& value) { m_apnProgramsHasBeenSet = true; m_apnPrograms.emplace_back(std::forward<ApnProgramsT>(value)); return *this; }
80
82
86 inline CompetitorName GetCompetitorName() const { return m_competitorName; }
87 inline bool CompetitorNameHasBeenSet() const { return m_competitorNameHasBeenSet; }
88 inline void SetCompetitorName(CompetitorName value) { m_competitorNameHasBeenSet = true; m_competitorName = value; }
89 inline Project& WithCompetitorName(CompetitorName value) { SetCompetitorName(value); return *this;}
91
93
106 inline const Aws::String& GetCustomerBusinessProblem() const { return m_customerBusinessProblem; }
107 inline bool CustomerBusinessProblemHasBeenSet() const { return m_customerBusinessProblemHasBeenSet; }
108 template<typename CustomerBusinessProblemT = Aws::String>
109 void SetCustomerBusinessProblem(CustomerBusinessProblemT&& value) { m_customerBusinessProblemHasBeenSet = true; m_customerBusinessProblem = std::forward<CustomerBusinessProblemT>(value); }
110 template<typename CustomerBusinessProblemT = Aws::String>
111 Project& WithCustomerBusinessProblem(CustomerBusinessProblemT&& value) { SetCustomerBusinessProblem(std::forward<CustomerBusinessProblemT>(value)); return *this;}
113
115
136 inline const Aws::String& GetCustomerUseCase() const { return m_customerUseCase; }
137 inline bool CustomerUseCaseHasBeenSet() const { return m_customerUseCaseHasBeenSet; }
138 template<typename CustomerUseCaseT = Aws::String>
139 void SetCustomerUseCase(CustomerUseCaseT&& value) { m_customerUseCaseHasBeenSet = true; m_customerUseCase = std::forward<CustomerUseCaseT>(value); }
140 template<typename CustomerUseCaseT = Aws::String>
141 Project& WithCustomerUseCase(CustomerUseCaseT&& value) { SetCustomerUseCase(std::forward<CustomerUseCaseT>(value)); return *this;}
143
145
162 inline const Aws::Vector<DeliveryModel>& GetDeliveryModels() const { return m_deliveryModels; }
163 inline bool DeliveryModelsHasBeenSet() const { return m_deliveryModelsHasBeenSet; }
164 template<typename DeliveryModelsT = Aws::Vector<DeliveryModel>>
165 void SetDeliveryModels(DeliveryModelsT&& value) { m_deliveryModelsHasBeenSet = true; m_deliveryModels = std::forward<DeliveryModelsT>(value); }
166 template<typename DeliveryModelsT = Aws::Vector<DeliveryModel>>
167 Project& WithDeliveryModels(DeliveryModelsT&& value) { SetDeliveryModels(std::forward<DeliveryModelsT>(value)); return *this;}
168 inline Project& AddDeliveryModels(DeliveryModel value) { m_deliveryModelsHasBeenSet = true; m_deliveryModels.push_back(value); return *this; }
170
172
177 inline const Aws::Vector<ExpectedCustomerSpend>& GetExpectedCustomerSpend() const { return m_expectedCustomerSpend; }
178 inline bool ExpectedCustomerSpendHasBeenSet() const { return m_expectedCustomerSpendHasBeenSet; }
179 template<typename ExpectedCustomerSpendT = Aws::Vector<ExpectedCustomerSpend>>
180 void SetExpectedCustomerSpend(ExpectedCustomerSpendT&& value) { m_expectedCustomerSpendHasBeenSet = true; m_expectedCustomerSpend = std::forward<ExpectedCustomerSpendT>(value); }
181 template<typename ExpectedCustomerSpendT = Aws::Vector<ExpectedCustomerSpend>>
182 Project& WithExpectedCustomerSpend(ExpectedCustomerSpendT&& value) { SetExpectedCustomerSpend(std::forward<ExpectedCustomerSpendT>(value)); return *this;}
183 template<typename ExpectedCustomerSpendT = ExpectedCustomerSpend>
184 Project& AddExpectedCustomerSpend(ExpectedCustomerSpendT&& value) { m_expectedCustomerSpendHasBeenSet = true; m_expectedCustomerSpend.emplace_back(std::forward<ExpectedCustomerSpendT>(value)); return *this; }
186
188
192 inline const Aws::String& GetOtherCompetitorNames() const { return m_otherCompetitorNames; }
193 inline bool OtherCompetitorNamesHasBeenSet() const { return m_otherCompetitorNamesHasBeenSet; }
194 template<typename OtherCompetitorNamesT = Aws::String>
195 void SetOtherCompetitorNames(OtherCompetitorNamesT&& value) { m_otherCompetitorNamesHasBeenSet = true; m_otherCompetitorNames = std::forward<OtherCompetitorNamesT>(value); }
196 template<typename OtherCompetitorNamesT = Aws::String>
197 Project& WithOtherCompetitorNames(OtherCompetitorNamesT&& value) { SetOtherCompetitorNames(std::forward<OtherCompetitorNamesT>(value)); return *this;}
199
201
206 inline const Aws::String& GetOtherSolutionDescription() const { return m_otherSolutionDescription; }
207 inline bool OtherSolutionDescriptionHasBeenSet() const { return m_otherSolutionDescriptionHasBeenSet; }
208 template<typename OtherSolutionDescriptionT = Aws::String>
209 void SetOtherSolutionDescription(OtherSolutionDescriptionT&& value) { m_otherSolutionDescriptionHasBeenSet = true; m_otherSolutionDescription = std::forward<OtherSolutionDescriptionT>(value); }
210 template<typename OtherSolutionDescriptionT = Aws::String>
211 Project& WithOtherSolutionDescription(OtherSolutionDescriptionT&& value) { SetOtherSolutionDescription(std::forward<OtherSolutionDescriptionT>(value)); return *this;}
213
215
218 inline const Aws::String& GetRelatedOpportunityIdentifier() const { return m_relatedOpportunityIdentifier; }
219 inline bool RelatedOpportunityIdentifierHasBeenSet() const { return m_relatedOpportunityIdentifierHasBeenSet; }
220 template<typename RelatedOpportunityIdentifierT = Aws::String>
221 void SetRelatedOpportunityIdentifier(RelatedOpportunityIdentifierT&& value) { m_relatedOpportunityIdentifierHasBeenSet = true; m_relatedOpportunityIdentifier = std::forward<RelatedOpportunityIdentifierT>(value); }
222 template<typename RelatedOpportunityIdentifierT = Aws::String>
223 Project& WithRelatedOpportunityIdentifier(RelatedOpportunityIdentifierT&& value) { SetRelatedOpportunityIdentifier(std::forward<RelatedOpportunityIdentifierT>(value)); return *this;}
225
227
246 inline const Aws::Vector<SalesActivity>& GetSalesActivities() const { return m_salesActivities; }
247 inline bool SalesActivitiesHasBeenSet() const { return m_salesActivitiesHasBeenSet; }
248 template<typename SalesActivitiesT = Aws::Vector<SalesActivity>>
249 void SetSalesActivities(SalesActivitiesT&& value) { m_salesActivitiesHasBeenSet = true; m_salesActivities = std::forward<SalesActivitiesT>(value); }
250 template<typename SalesActivitiesT = Aws::Vector<SalesActivity>>
251 Project& WithSalesActivities(SalesActivitiesT&& value) { SetSalesActivities(std::forward<SalesActivitiesT>(value)); return *this;}
252 inline Project& AddSalesActivities(SalesActivity value) { m_salesActivitiesHasBeenSet = true; m_salesActivities.push_back(value); return *this; }
254
256
259 inline const Aws::String& GetTitle() const { return m_title; }
260 inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
261 template<typename TitleT = Aws::String>
262 void SetTitle(TitleT&& value) { m_titleHasBeenSet = true; m_title = std::forward<TitleT>(value); }
263 template<typename TitleT = Aws::String>
264 Project& WithTitle(TitleT&& value) { SetTitle(std::forward<TitleT>(value)); return *this;}
266 private:
267
268 Aws::String m_additionalComments;
269 bool m_additionalCommentsHasBeenSet = false;
270
271 Aws::Vector<Aws::String> m_apnPrograms;
272 bool m_apnProgramsHasBeenSet = false;
273
274 CompetitorName m_competitorName{CompetitorName::NOT_SET};
275 bool m_competitorNameHasBeenSet = false;
276
277 Aws::String m_customerBusinessProblem;
278 bool m_customerBusinessProblemHasBeenSet = false;
279
280 Aws::String m_customerUseCase;
281 bool m_customerUseCaseHasBeenSet = false;
282
283 Aws::Vector<DeliveryModel> m_deliveryModels;
284 bool m_deliveryModelsHasBeenSet = false;
285
286 Aws::Vector<ExpectedCustomerSpend> m_expectedCustomerSpend;
287 bool m_expectedCustomerSpendHasBeenSet = false;
288
289 Aws::String m_otherCompetitorNames;
290 bool m_otherCompetitorNamesHasBeenSet = false;
291
292 Aws::String m_otherSolutionDescription;
293 bool m_otherSolutionDescriptionHasBeenSet = false;
294
295 Aws::String m_relatedOpportunityIdentifier;
296 bool m_relatedOpportunityIdentifierHasBeenSet = false;
297
298 Aws::Vector<SalesActivity> m_salesActivities;
299 bool m_salesActivitiesHasBeenSet = false;
300
301 Aws::String m_title;
302 bool m_titleHasBeenSet = false;
303 };
304
305} // namespace Model
306} // namespace PartnerCentralSelling
307} // namespace Aws
Project & WithCompetitorName(CompetitorName value)
Definition Project.h:89
void SetDeliveryModels(DeliveryModelsT &&value)
Definition Project.h:165
const Aws::String & GetRelatedOpportunityIdentifier() const
Definition Project.h:218
const Aws::Vector< Aws::String > & GetApnPrograms() const
Definition Project.h:71
Project & WithCustomerBusinessProblem(CustomerBusinessProblemT &&value)
Definition Project.h:111
void SetAdditionalComments(AdditionalCommentsT &&value)
Definition Project.h:54
Project & AddApnPrograms(ApnProgramsT &&value)
Definition Project.h:78
Project & AddDeliveryModels(DeliveryModel value)
Definition Project.h:168
const Aws::String & GetCustomerUseCase() const
Definition Project.h:136
Project & WithDeliveryModels(DeliveryModelsT &&value)
Definition Project.h:167
Project & WithAdditionalComments(AdditionalCommentsT &&value)
Definition Project.h:56
AWS_PARTNERCENTRALSELLING_API Project(Aws::Utils::Json::JsonView jsonValue)
void SetCustomerUseCase(CustomerUseCaseT &&value)
Definition Project.h:139
Project & WithApnPrograms(ApnProgramsT &&value)
Definition Project.h:76
const Aws::Vector< ExpectedCustomerSpend > & GetExpectedCustomerSpend() const
Definition Project.h:177
void SetOtherCompetitorNames(OtherCompetitorNamesT &&value)
Definition Project.h:195
Project & AddSalesActivities(SalesActivity value)
Definition Project.h:252
CompetitorName GetCompetitorName() const
Definition Project.h:86
Project & WithRelatedOpportunityIdentifier(RelatedOpportunityIdentifierT &&value)
Definition Project.h:223
const Aws::String & GetOtherSolutionDescription() const
Definition Project.h:206
const Aws::String & GetTitle() const
Definition Project.h:259
const Aws::String & GetOtherCompetitorNames() const
Definition Project.h:192
AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSalesActivities(SalesActivitiesT &&value)
Definition Project.h:249
const Aws::String & GetCustomerBusinessProblem() const
Definition Project.h:106
void SetCompetitorName(CompetitorName value)
Definition Project.h:88
AWS_PARTNERCENTRALSELLING_API Project & operator=(Aws::Utils::Json::JsonView jsonValue)
Project & WithCustomerUseCase(CustomerUseCaseT &&value)
Definition Project.h:141
Project & WithSalesActivities(SalesActivitiesT &&value)
Definition Project.h:251
AWS_PARTNERCENTRALSELLING_API Project()=default
void SetOtherSolutionDescription(OtherSolutionDescriptionT &&value)
Definition Project.h:209
Project & AddExpectedCustomerSpend(ExpectedCustomerSpendT &&value)
Definition Project.h:184
void SetCustomerBusinessProblem(CustomerBusinessProblemT &&value)
Definition Project.h:109
Project & WithExpectedCustomerSpend(ExpectedCustomerSpendT &&value)
Definition Project.h:182
void SetApnPrograms(ApnProgramsT &&value)
Definition Project.h:74
const Aws::Vector< DeliveryModel > & GetDeliveryModels() const
Definition Project.h:162
void SetExpectedCustomerSpend(ExpectedCustomerSpendT &&value)
Definition Project.h:180
Project & WithOtherSolutionDescription(OtherSolutionDescriptionT &&value)
Definition Project.h:211
Project & WithOtherCompetitorNames(OtherCompetitorNamesT &&value)
Definition Project.h:197
const Aws::Vector< SalesActivity > & GetSalesActivities() const
Definition Project.h:246
void SetRelatedOpportunityIdentifier(RelatedOpportunityIdentifierT &&value)
Definition Project.h:221
Project & WithTitle(TitleT &&value)
Definition Project.h:264
const Aws::String & GetAdditionalComments() const
Definition Project.h:51
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue