AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
Project.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/AwsPartition.h>
11#include <aws/partnercentral-selling/model/CompetitorName.h>
12#include <aws/partnercentral-selling/model/DeliveryModel.h>
13#include <aws/partnercentral-selling/model/ExpectedCustomerSpend.h>
14#include <aws/partnercentral-selling/model/SalesActivity.h>
15
16#include <utility>
17
18namespace Aws {
19namespace Utils {
20namespace Json {
21class JsonValue;
22class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace PartnerCentralSelling {
26namespace Model {
27
34class Project {
35 public:
36 AWS_PARTNERCENTRALSELLING_API Project() = default;
37 AWS_PARTNERCENTRALSELLING_API Project(Aws::Utils::Json::JsonView jsonValue);
38 AWS_PARTNERCENTRALSELLING_API Project& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const;
40
42
59 inline const Aws::Vector<DeliveryModel>& GetDeliveryModels() const { return m_deliveryModels; }
60 inline bool DeliveryModelsHasBeenSet() const { return m_deliveryModelsHasBeenSet; }
61 template <typename DeliveryModelsT = Aws::Vector<DeliveryModel>>
62 void SetDeliveryModels(DeliveryModelsT&& value) {
63 m_deliveryModelsHasBeenSet = true;
64 m_deliveryModels = std::forward<DeliveryModelsT>(value);
65 }
66 template <typename DeliveryModelsT = Aws::Vector<DeliveryModel>>
67 Project& WithDeliveryModels(DeliveryModelsT&& value) {
68 SetDeliveryModels(std::forward<DeliveryModelsT>(value));
69 return *this;
70 }
72 m_deliveryModelsHasBeenSet = true;
73 m_deliveryModels.push_back(value);
74 return *this;
75 }
77
79
84 inline const Aws::Vector<ExpectedCustomerSpend>& GetExpectedCustomerSpend() const { return m_expectedCustomerSpend; }
85 inline bool ExpectedCustomerSpendHasBeenSet() const { return m_expectedCustomerSpendHasBeenSet; }
86 template <typename ExpectedCustomerSpendT = Aws::Vector<ExpectedCustomerSpend>>
87 void SetExpectedCustomerSpend(ExpectedCustomerSpendT&& value) {
88 m_expectedCustomerSpendHasBeenSet = true;
89 m_expectedCustomerSpend = std::forward<ExpectedCustomerSpendT>(value);
90 }
91 template <typename ExpectedCustomerSpendT = Aws::Vector<ExpectedCustomerSpend>>
92 Project& WithExpectedCustomerSpend(ExpectedCustomerSpendT&& value) {
93 SetExpectedCustomerSpend(std::forward<ExpectedCustomerSpendT>(value));
94 return *this;
95 }
96 template <typename ExpectedCustomerSpendT = ExpectedCustomerSpend>
97 Project& AddExpectedCustomerSpend(ExpectedCustomerSpendT&& value) {
98 m_expectedCustomerSpendHasBeenSet = true;
99 m_expectedCustomerSpend.emplace_back(std::forward<ExpectedCustomerSpendT>(value));
100 return *this;
101 }
103
105
108 inline const Aws::String& GetTitle() const { return m_title; }
109 inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
110 template <typename TitleT = Aws::String>
111 void SetTitle(TitleT&& value) {
112 m_titleHasBeenSet = true;
113 m_title = std::forward<TitleT>(value);
114 }
115 template <typename TitleT = Aws::String>
116 Project& WithTitle(TitleT&& value) {
117 SetTitle(std::forward<TitleT>(value));
118 return *this;
119 }
121
123
134 inline const Aws::Vector<Aws::String>& GetApnPrograms() const { return m_apnPrograms; }
135 inline bool ApnProgramsHasBeenSet() const { return m_apnProgramsHasBeenSet; }
136 template <typename ApnProgramsT = Aws::Vector<Aws::String>>
137 void SetApnPrograms(ApnProgramsT&& value) {
138 m_apnProgramsHasBeenSet = true;
139 m_apnPrograms = std::forward<ApnProgramsT>(value);
140 }
141 template <typename ApnProgramsT = Aws::Vector<Aws::String>>
142 Project& WithApnPrograms(ApnProgramsT&& value) {
143 SetApnPrograms(std::forward<ApnProgramsT>(value));
144 return *this;
145 }
146 template <typename ApnProgramsT = Aws::String>
147 Project& AddApnPrograms(ApnProgramsT&& value) {
148 m_apnProgramsHasBeenSet = true;
149 m_apnPrograms.emplace_back(std::forward<ApnProgramsT>(value));
150 return *this;
151 }
153
155
168 inline const Aws::String& GetCustomerBusinessProblem() const { return m_customerBusinessProblem; }
169 inline bool CustomerBusinessProblemHasBeenSet() const { return m_customerBusinessProblemHasBeenSet; }
170 template <typename CustomerBusinessProblemT = Aws::String>
171 void SetCustomerBusinessProblem(CustomerBusinessProblemT&& value) {
172 m_customerBusinessProblemHasBeenSet = true;
173 m_customerBusinessProblem = std::forward<CustomerBusinessProblemT>(value);
174 }
175 template <typename CustomerBusinessProblemT = Aws::String>
176 Project& WithCustomerBusinessProblem(CustomerBusinessProblemT&& value) {
177 SetCustomerBusinessProblem(std::forward<CustomerBusinessProblemT>(value));
178 return *this;
179 }
181
183
204 inline const Aws::String& GetCustomerUseCase() const { return m_customerUseCase; }
205 inline bool CustomerUseCaseHasBeenSet() const { return m_customerUseCaseHasBeenSet; }
206 template <typename CustomerUseCaseT = Aws::String>
207 void SetCustomerUseCase(CustomerUseCaseT&& value) {
208 m_customerUseCaseHasBeenSet = true;
209 m_customerUseCase = std::forward<CustomerUseCaseT>(value);
210 }
211 template <typename CustomerUseCaseT = Aws::String>
212 Project& WithCustomerUseCase(CustomerUseCaseT&& value) {
213 SetCustomerUseCase(std::forward<CustomerUseCaseT>(value));
214 return *this;
215 }
217
219
222 inline const Aws::String& GetRelatedOpportunityIdentifier() const { return m_relatedOpportunityIdentifier; }
223 inline bool RelatedOpportunityIdentifierHasBeenSet() const { return m_relatedOpportunityIdentifierHasBeenSet; }
224 template <typename RelatedOpportunityIdentifierT = Aws::String>
225 void SetRelatedOpportunityIdentifier(RelatedOpportunityIdentifierT&& value) {
226 m_relatedOpportunityIdentifierHasBeenSet = true;
227 m_relatedOpportunityIdentifier = std::forward<RelatedOpportunityIdentifierT>(value);
228 }
229 template <typename RelatedOpportunityIdentifierT = Aws::String>
230 Project& WithRelatedOpportunityIdentifier(RelatedOpportunityIdentifierT&& value) {
231 SetRelatedOpportunityIdentifier(std::forward<RelatedOpportunityIdentifierT>(value));
232 return *this;
233 }
235
237
256 inline const Aws::Vector<SalesActivity>& GetSalesActivities() const { return m_salesActivities; }
257 inline bool SalesActivitiesHasBeenSet() const { return m_salesActivitiesHasBeenSet; }
258 template <typename SalesActivitiesT = Aws::Vector<SalesActivity>>
259 void SetSalesActivities(SalesActivitiesT&& value) {
260 m_salesActivitiesHasBeenSet = true;
261 m_salesActivities = std::forward<SalesActivitiesT>(value);
262 }
263 template <typename SalesActivitiesT = Aws::Vector<SalesActivity>>
264 Project& WithSalesActivities(SalesActivitiesT&& value) {
265 SetSalesActivities(std::forward<SalesActivitiesT>(value));
266 return *this;
267 }
269 m_salesActivitiesHasBeenSet = true;
270 m_salesActivities.push_back(value);
271 return *this;
272 }
274
276
280 inline CompetitorName GetCompetitorName() const { return m_competitorName; }
281 inline bool CompetitorNameHasBeenSet() const { return m_competitorNameHasBeenSet; }
283 m_competitorNameHasBeenSet = true;
284 m_competitorName = value;
285 }
287 SetCompetitorName(value);
288 return *this;
289 }
291
293
297 inline const Aws::String& GetOtherCompetitorNames() const { return m_otherCompetitorNames; }
298 inline bool OtherCompetitorNamesHasBeenSet() const { return m_otherCompetitorNamesHasBeenSet; }
299 template <typename OtherCompetitorNamesT = Aws::String>
300 void SetOtherCompetitorNames(OtherCompetitorNamesT&& value) {
301 m_otherCompetitorNamesHasBeenSet = true;
302 m_otherCompetitorNames = std::forward<OtherCompetitorNamesT>(value);
303 }
304 template <typename OtherCompetitorNamesT = Aws::String>
305 Project& WithOtherCompetitorNames(OtherCompetitorNamesT&& value) {
306 SetOtherCompetitorNames(std::forward<OtherCompetitorNamesT>(value));
307 return *this;
308 }
310
312
317 inline const Aws::String& GetOtherSolutionDescription() const { return m_otherSolutionDescription; }
318 inline bool OtherSolutionDescriptionHasBeenSet() const { return m_otherSolutionDescriptionHasBeenSet; }
319 template <typename OtherSolutionDescriptionT = Aws::String>
320 void SetOtherSolutionDescription(OtherSolutionDescriptionT&& value) {
321 m_otherSolutionDescriptionHasBeenSet = true;
322 m_otherSolutionDescription = std::forward<OtherSolutionDescriptionT>(value);
323 }
324 template <typename OtherSolutionDescriptionT = Aws::String>
325 Project& WithOtherSolutionDescription(OtherSolutionDescriptionT&& value) {
326 SetOtherSolutionDescription(std::forward<OtherSolutionDescriptionT>(value));
327 return *this;
328 }
330
332
336 inline const Aws::String& GetAdditionalComments() const { return m_additionalComments; }
337 inline bool AdditionalCommentsHasBeenSet() const { return m_additionalCommentsHasBeenSet; }
338 template <typename AdditionalCommentsT = Aws::String>
339 void SetAdditionalComments(AdditionalCommentsT&& value) {
340 m_additionalCommentsHasBeenSet = true;
341 m_additionalComments = std::forward<AdditionalCommentsT>(value);
342 }
343 template <typename AdditionalCommentsT = Aws::String>
344 Project& WithAdditionalComments(AdditionalCommentsT&& value) {
345 SetAdditionalComments(std::forward<AdditionalCommentsT>(value));
346 return *this;
347 }
349
351
356 inline AwsPartition GetAwsPartition() const { return m_awsPartition; }
357 inline bool AwsPartitionHasBeenSet() const { return m_awsPartitionHasBeenSet; }
358 inline void SetAwsPartition(AwsPartition value) {
359 m_awsPartitionHasBeenSet = true;
360 m_awsPartition = value;
361 }
363 SetAwsPartition(value);
364 return *this;
365 }
367 private:
368 Aws::Vector<DeliveryModel> m_deliveryModels;
369
370 Aws::Vector<ExpectedCustomerSpend> m_expectedCustomerSpend;
371
372 Aws::String m_title;
373
374 Aws::Vector<Aws::String> m_apnPrograms;
375
376 Aws::String m_customerBusinessProblem;
377
378 Aws::String m_customerUseCase;
379
380 Aws::String m_relatedOpportunityIdentifier;
381
382 Aws::Vector<SalesActivity> m_salesActivities;
383
384 CompetitorName m_competitorName{CompetitorName::NOT_SET};
385
386 Aws::String m_otherCompetitorNames;
387
388 Aws::String m_otherSolutionDescription;
389
390 Aws::String m_additionalComments;
391
392 AwsPartition m_awsPartition{AwsPartition::NOT_SET};
393 bool m_deliveryModelsHasBeenSet = false;
394 bool m_expectedCustomerSpendHasBeenSet = false;
395 bool m_titleHasBeenSet = false;
396 bool m_apnProgramsHasBeenSet = false;
397 bool m_customerBusinessProblemHasBeenSet = false;
398 bool m_customerUseCaseHasBeenSet = false;
399 bool m_relatedOpportunityIdentifierHasBeenSet = false;
400 bool m_salesActivitiesHasBeenSet = false;
401 bool m_competitorNameHasBeenSet = false;
402 bool m_otherCompetitorNamesHasBeenSet = false;
403 bool m_otherSolutionDescriptionHasBeenSet = false;
404 bool m_additionalCommentsHasBeenSet = false;
405 bool m_awsPartitionHasBeenSet = false;
406};
407
408} // namespace Model
409} // namespace PartnerCentralSelling
410} // namespace Aws
Project & WithCompetitorName(CompetitorName value)
Definition Project.h:286
void SetDeliveryModels(DeliveryModelsT &&value)
Definition Project.h:62
const Aws::String & GetRelatedOpportunityIdentifier() const
Definition Project.h:222
const Aws::Vector< Aws::String > & GetApnPrograms() const
Definition Project.h:134
Project & WithCustomerBusinessProblem(CustomerBusinessProblemT &&value)
Definition Project.h:176
void SetAdditionalComments(AdditionalCommentsT &&value)
Definition Project.h:339
Project & AddApnPrograms(ApnProgramsT &&value)
Definition Project.h:147
Project & AddDeliveryModels(DeliveryModel value)
Definition Project.h:71
const Aws::String & GetCustomerUseCase() const
Definition Project.h:204
Project & WithAwsPartition(AwsPartition value)
Definition Project.h:362
Project & WithDeliveryModels(DeliveryModelsT &&value)
Definition Project.h:67
Project & WithAdditionalComments(AdditionalCommentsT &&value)
Definition Project.h:344
AWS_PARTNERCENTRALSELLING_API Project(Aws::Utils::Json::JsonView jsonValue)
void SetCustomerUseCase(CustomerUseCaseT &&value)
Definition Project.h:207
Project & WithApnPrograms(ApnProgramsT &&value)
Definition Project.h:142
const Aws::Vector< ExpectedCustomerSpend > & GetExpectedCustomerSpend() const
Definition Project.h:84
void SetOtherCompetitorNames(OtherCompetitorNamesT &&value)
Definition Project.h:300
Project & AddSalesActivities(SalesActivity value)
Definition Project.h:268
CompetitorName GetCompetitorName() const
Definition Project.h:280
Project & WithRelatedOpportunityIdentifier(RelatedOpportunityIdentifierT &&value)
Definition Project.h:230
const Aws::String & GetOtherSolutionDescription() const
Definition Project.h:317
const Aws::String & GetTitle() const
Definition Project.h:108
const Aws::String & GetOtherCompetitorNames() const
Definition Project.h:297
AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSalesActivities(SalesActivitiesT &&value)
Definition Project.h:259
const Aws::String & GetCustomerBusinessProblem() const
Definition Project.h:168
void SetCompetitorName(CompetitorName value)
Definition Project.h:282
AWS_PARTNERCENTRALSELLING_API Project & operator=(Aws::Utils::Json::JsonView jsonValue)
Project & WithCustomerUseCase(CustomerUseCaseT &&value)
Definition Project.h:212
Project & WithSalesActivities(SalesActivitiesT &&value)
Definition Project.h:264
AWS_PARTNERCENTRALSELLING_API Project()=default
void SetOtherSolutionDescription(OtherSolutionDescriptionT &&value)
Definition Project.h:320
Project & AddExpectedCustomerSpend(ExpectedCustomerSpendT &&value)
Definition Project.h:97
void SetCustomerBusinessProblem(CustomerBusinessProblemT &&value)
Definition Project.h:171
Project & WithExpectedCustomerSpend(ExpectedCustomerSpendT &&value)
Definition Project.h:92
void SetApnPrograms(ApnProgramsT &&value)
Definition Project.h:137
const Aws::Vector< DeliveryModel > & GetDeliveryModels() const
Definition Project.h:59
void SetAwsPartition(AwsPartition value)
Definition Project.h:358
void SetExpectedCustomerSpend(ExpectedCustomerSpendT &&value)
Definition Project.h:87
Project & WithOtherSolutionDescription(OtherSolutionDescriptionT &&value)
Definition Project.h:325
Project & WithOtherCompetitorNames(OtherCompetitorNamesT &&value)
Definition Project.h:305
const Aws::Vector< SalesActivity > & GetSalesActivities() const
Definition Project.h:256
void SetRelatedOpportunityIdentifier(RelatedOpportunityIdentifierT &&value)
Definition Project.h:225
Project & WithTitle(TitleT &&value)
Definition Project.h:116
const Aws::String & GetAdditionalComments() const
Definition Project.h:336
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue