AWS SDK for C++

AWS SDK for C++ Version 1.11.820

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/ExpectedContractDuration.h>
12#include <aws/partnercentral-selling/model/ExpectedCustomerSpend.h>
13#include <aws/partnercentral-selling/model/SalesActivity.h>
14
15#include <utility>
16
17namespace Aws {
18namespace Utils {
19namespace Json {
20class JsonValue;
21class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace PartnerCentralSelling {
25namespace Model {
26
34 public:
35 AWS_PARTNERCENTRALSELLING_API ProjectView() = default;
36 AWS_PARTNERCENTRALSELLING_API ProjectView(Aws::Utils::Json::JsonView jsonValue);
37 AWS_PARTNERCENTRALSELLING_API ProjectView& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const;
39
41
46 inline const Aws::Vector<DeliveryModel>& GetDeliveryModels() const { return m_deliveryModels; }
47 inline bool DeliveryModelsHasBeenSet() const { return m_deliveryModelsHasBeenSet; }
48 template <typename DeliveryModelsT = Aws::Vector<DeliveryModel>>
49 void SetDeliveryModels(DeliveryModelsT&& value) {
50 m_deliveryModelsHasBeenSet = true;
51 m_deliveryModels = std::forward<DeliveryModelsT>(value);
52 }
53 template <typename DeliveryModelsT = Aws::Vector<DeliveryModel>>
54 ProjectView& WithDeliveryModels(DeliveryModelsT&& value) {
55 SetDeliveryModels(std::forward<DeliveryModelsT>(value));
56 return *this;
57 }
59 m_deliveryModelsHasBeenSet = true;
60 m_deliveryModels.push_back(value);
61 return *this;
62 }
64
66
71 inline const Aws::Vector<ExpectedCustomerSpend>& GetExpectedCustomerSpend() const { return m_expectedCustomerSpend; }
72 inline bool ExpectedCustomerSpendHasBeenSet() const { return m_expectedCustomerSpendHasBeenSet; }
73 template <typename ExpectedCustomerSpendT = Aws::Vector<ExpectedCustomerSpend>>
74 void SetExpectedCustomerSpend(ExpectedCustomerSpendT&& value) {
75 m_expectedCustomerSpendHasBeenSet = true;
76 m_expectedCustomerSpend = std::forward<ExpectedCustomerSpendT>(value);
77 }
78 template <typename ExpectedCustomerSpendT = Aws::Vector<ExpectedCustomerSpend>>
79 ProjectView& WithExpectedCustomerSpend(ExpectedCustomerSpendT&& value) {
80 SetExpectedCustomerSpend(std::forward<ExpectedCustomerSpendT>(value));
81 return *this;
82 }
83 template <typename ExpectedCustomerSpendT = ExpectedCustomerSpend>
84 ProjectView& AddExpectedCustomerSpend(ExpectedCustomerSpendT&& value) {
85 m_expectedCustomerSpendHasBeenSet = true;
86 m_expectedCustomerSpend.emplace_back(std::forward<ExpectedCustomerSpendT>(value));
87 return *this;
88 }
90
92
97 inline const ExpectedContractDuration& GetExpectedContractDuration() const { return m_expectedContractDuration; }
98 inline bool ExpectedContractDurationHasBeenSet() const { return m_expectedContractDurationHasBeenSet; }
99 template <typename ExpectedContractDurationT = ExpectedContractDuration>
100 void SetExpectedContractDuration(ExpectedContractDurationT&& value) {
101 m_expectedContractDurationHasBeenSet = true;
102 m_expectedContractDuration = std::forward<ExpectedContractDurationT>(value);
103 }
104 template <typename ExpectedContractDurationT = ExpectedContractDuration>
105 ProjectView& WithExpectedContractDuration(ExpectedContractDurationT&& value) {
106 SetExpectedContractDuration(std::forward<ExpectedContractDurationT>(value));
107 return *this;
108 }
110
112
116 inline const Aws::String& GetCustomerUseCase() const { return m_customerUseCase; }
117 inline bool CustomerUseCaseHasBeenSet() const { return m_customerUseCaseHasBeenSet; }
118 template <typename CustomerUseCaseT = Aws::String>
119 void SetCustomerUseCase(CustomerUseCaseT&& value) {
120 m_customerUseCaseHasBeenSet = true;
121 m_customerUseCase = std::forward<CustomerUseCaseT>(value);
122 }
123 template <typename CustomerUseCaseT = Aws::String>
124 ProjectView& WithCustomerUseCase(CustomerUseCaseT&& value) {
125 SetCustomerUseCase(std::forward<CustomerUseCaseT>(value));
126 return *this;
127 }
129
131
137 inline const Aws::Vector<SalesActivity>& GetSalesActivities() const { return m_salesActivities; }
138 inline bool SalesActivitiesHasBeenSet() const { return m_salesActivitiesHasBeenSet; }
139 template <typename SalesActivitiesT = Aws::Vector<SalesActivity>>
140 void SetSalesActivities(SalesActivitiesT&& value) {
141 m_salesActivitiesHasBeenSet = true;
142 m_salesActivities = std::forward<SalesActivitiesT>(value);
143 }
144 template <typename SalesActivitiesT = Aws::Vector<SalesActivity>>
145 ProjectView& WithSalesActivities(SalesActivitiesT&& value) {
146 SetSalesActivities(std::forward<SalesActivitiesT>(value));
147 return *this;
148 }
150 m_salesActivitiesHasBeenSet = true;
151 m_salesActivities.push_back(value);
152 return *this;
153 }
155
157
161 inline const Aws::String& GetOtherSolutionDescription() const { return m_otherSolutionDescription; }
162 inline bool OtherSolutionDescriptionHasBeenSet() const { return m_otherSolutionDescriptionHasBeenSet; }
163 template <typename OtherSolutionDescriptionT = Aws::String>
164 void SetOtherSolutionDescription(OtherSolutionDescriptionT&& value) {
165 m_otherSolutionDescriptionHasBeenSet = true;
166 m_otherSolutionDescription = std::forward<OtherSolutionDescriptionT>(value);
167 }
168 template <typename OtherSolutionDescriptionT = Aws::String>
169 ProjectView& WithOtherSolutionDescription(OtherSolutionDescriptionT&& value) {
170 SetOtherSolutionDescription(std::forward<OtherSolutionDescriptionT>(value));
171 return *this;
172 }
174 private:
175 Aws::Vector<DeliveryModel> m_deliveryModels;
176
177 Aws::Vector<ExpectedCustomerSpend> m_expectedCustomerSpend;
178
179 ExpectedContractDuration m_expectedContractDuration;
180
181 Aws::String m_customerUseCase;
182
183 Aws::Vector<SalesActivity> m_salesActivities;
184
185 Aws::String m_otherSolutionDescription;
186 bool m_deliveryModelsHasBeenSet = false;
187 bool m_expectedCustomerSpendHasBeenSet = false;
188 bool m_expectedContractDurationHasBeenSet = false;
189 bool m_customerUseCaseHasBeenSet = false;
190 bool m_salesActivitiesHasBeenSet = false;
191 bool m_otherSolutionDescriptionHasBeenSet = false;
192};
193
194} // namespace Model
195} // namespace PartnerCentralSelling
196} // namespace Aws
ProjectView & WithDeliveryModels(DeliveryModelsT &&value)
Definition ProjectView.h:54
const Aws::Vector< ExpectedCustomerSpend > & GetExpectedCustomerSpend() const
Definition ProjectView.h:71
void SetOtherSolutionDescription(OtherSolutionDescriptionT &&value)
ProjectView & WithOtherSolutionDescription(OtherSolutionDescriptionT &&value)
ProjectView & AddExpectedCustomerSpend(ExpectedCustomerSpendT &&value)
Definition ProjectView.h:84
void SetExpectedContractDuration(ExpectedContractDurationT &&value)
const ExpectedContractDuration & GetExpectedContractDuration() const
Definition ProjectView.h:97
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:58
void SetExpectedCustomerSpend(ExpectedCustomerSpendT &&value)
Definition ProjectView.h:74
void SetCustomerUseCase(CustomerUseCaseT &&value)
ProjectView & AddSalesActivities(SalesActivity value)
ProjectView & WithExpectedCustomerSpend(ExpectedCustomerSpendT &&value)
Definition ProjectView.h:79
const Aws::Vector< DeliveryModel > & GetDeliveryModels() const
Definition ProjectView.h:46
AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetCustomerUseCase() const
void SetDeliveryModels(DeliveryModelsT &&value)
Definition ProjectView.h:49
AWS_PARTNERCENTRALSELLING_API ProjectView(Aws::Utils::Json::JsonView jsonValue)
ProjectView & WithExpectedContractDuration(ExpectedContractDurationT &&value)
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