AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
ProjectView.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/DeliveryModel.h>
11#include <aws/partnercentral-selling/model/ExpectedCustomerSpend.h>
12#include <aws/partnercentral-selling/model/SalesActivity.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace PartnerCentralSelling
26{
27namespace Model
28{
29
37 {
38 public:
39 AWS_PARTNERCENTRALSELLING_API ProjectView() = default;
40 AWS_PARTNERCENTRALSELLING_API ProjectView(Aws::Utils::Json::JsonView jsonValue);
41 AWS_PARTNERCENTRALSELLING_API ProjectView& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
50 inline const Aws::String& GetCustomerUseCase() const { return m_customerUseCase; }
51 inline bool CustomerUseCaseHasBeenSet() const { return m_customerUseCaseHasBeenSet; }
52 template<typename CustomerUseCaseT = Aws::String>
53 void SetCustomerUseCase(CustomerUseCaseT&& value) { m_customerUseCaseHasBeenSet = true; m_customerUseCase = std::forward<CustomerUseCaseT>(value); }
54 template<typename CustomerUseCaseT = Aws::String>
55 ProjectView& WithCustomerUseCase(CustomerUseCaseT&& value) { SetCustomerUseCase(std::forward<CustomerUseCaseT>(value)); return *this;}
57
59
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 ProjectView& WithDeliveryModels(DeliveryModelsT&& value) { SetDeliveryModels(std::forward<DeliveryModelsT>(value)); return *this;}
70 inline ProjectView& 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 ProjectView& WithExpectedCustomerSpend(ExpectedCustomerSpendT&& value) { SetExpectedCustomerSpend(std::forward<ExpectedCustomerSpendT>(value)); return *this;}
85 template<typename ExpectedCustomerSpendT = ExpectedCustomerSpend>
86 ProjectView& AddExpectedCustomerSpend(ExpectedCustomerSpendT&& value) { m_expectedCustomerSpendHasBeenSet = true; m_expectedCustomerSpend.emplace_back(std::forward<ExpectedCustomerSpendT>(value)); return *this; }
88
90
94 inline const Aws::String& GetOtherSolutionDescription() const { return m_otherSolutionDescription; }
95 inline bool OtherSolutionDescriptionHasBeenSet() const { return m_otherSolutionDescriptionHasBeenSet; }
96 template<typename OtherSolutionDescriptionT = Aws::String>
97 void SetOtherSolutionDescription(OtherSolutionDescriptionT&& value) { m_otherSolutionDescriptionHasBeenSet = true; m_otherSolutionDescription = std::forward<OtherSolutionDescriptionT>(value); }
98 template<typename OtherSolutionDescriptionT = Aws::String>
99 ProjectView& WithOtherSolutionDescription(OtherSolutionDescriptionT&& value) { SetOtherSolutionDescription(std::forward<OtherSolutionDescriptionT>(value)); return *this;}
101
103
109 inline const Aws::Vector<SalesActivity>& GetSalesActivities() const { return m_salesActivities; }
110 inline bool SalesActivitiesHasBeenSet() const { return m_salesActivitiesHasBeenSet; }
111 template<typename SalesActivitiesT = Aws::Vector<SalesActivity>>
112 void SetSalesActivities(SalesActivitiesT&& value) { m_salesActivitiesHasBeenSet = true; m_salesActivities = std::forward<SalesActivitiesT>(value); }
113 template<typename SalesActivitiesT = Aws::Vector<SalesActivity>>
114 ProjectView& WithSalesActivities(SalesActivitiesT&& value) { SetSalesActivities(std::forward<SalesActivitiesT>(value)); return *this;}
115 inline ProjectView& AddSalesActivities(SalesActivity value) { m_salesActivitiesHasBeenSet = true; m_salesActivities.push_back(value); return *this; }
117 private:
118
119 Aws::String m_customerUseCase;
120 bool m_customerUseCaseHasBeenSet = false;
121
122 Aws::Vector<DeliveryModel> m_deliveryModels;
123 bool m_deliveryModelsHasBeenSet = false;
124
125 Aws::Vector<ExpectedCustomerSpend> m_expectedCustomerSpend;
126 bool m_expectedCustomerSpendHasBeenSet = false;
127
128 Aws::String m_otherSolutionDescription;
129 bool m_otherSolutionDescriptionHasBeenSet = false;
130
131 Aws::Vector<SalesActivity> m_salesActivities;
132 bool m_salesActivitiesHasBeenSet = false;
133 };
134
135} // namespace Model
136} // namespace PartnerCentralSelling
137} // namespace Aws
ProjectView & WithDeliveryModels(DeliveryModelsT &&value)
Definition ProjectView.h:69
const Aws::Vector< ExpectedCustomerSpend > & GetExpectedCustomerSpend() const
Definition ProjectView.h:79
void SetOtherSolutionDescription(OtherSolutionDescriptionT &&value)
Definition ProjectView.h:97
ProjectView & WithOtherSolutionDescription(OtherSolutionDescriptionT &&value)
Definition ProjectView.h:99
ProjectView & AddExpectedCustomerSpend(ExpectedCustomerSpendT &&value)
Definition ProjectView.h:86
ProjectView & WithCustomerUseCase(CustomerUseCaseT &&value)
Definition ProjectView.h:55
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:70
void SetExpectedCustomerSpend(ExpectedCustomerSpendT &&value)
Definition ProjectView.h:82
void SetCustomerUseCase(CustomerUseCaseT &&value)
Definition ProjectView.h:53
ProjectView & AddSalesActivities(SalesActivity value)
ProjectView & WithExpectedCustomerSpend(ExpectedCustomerSpendT &&value)
Definition ProjectView.h:84
const Aws::Vector< DeliveryModel > & GetDeliveryModels() const
Definition ProjectView.h:64
AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetCustomerUseCase() const
Definition ProjectView.h:50
void SetDeliveryModels(DeliveryModelsT &&value)
Definition ProjectView.h:67
AWS_PARTNERCENTRALSELLING_API ProjectView(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetOtherSolutionDescription() const
Definition ProjectView.h:94
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