AWS SDK for C++

AWS SDK for C++ Version 1.11.637

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/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.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
51 inline const Aws::Vector<DeliveryModel>& GetDeliveryModels() const { return m_deliveryModels; }
52 inline bool DeliveryModelsHasBeenSet() const { return m_deliveryModelsHasBeenSet; }
53 template<typename DeliveryModelsT = Aws::Vector<DeliveryModel>>
54 void SetDeliveryModels(DeliveryModelsT&& value) { m_deliveryModelsHasBeenSet = true; m_deliveryModels = std::forward<DeliveryModelsT>(value); }
55 template<typename DeliveryModelsT = Aws::Vector<DeliveryModel>>
56 ProjectView& WithDeliveryModels(DeliveryModelsT&& value) { SetDeliveryModels(std::forward<DeliveryModelsT>(value)); return *this;}
57 inline ProjectView& AddDeliveryModels(DeliveryModel value) { m_deliveryModelsHasBeenSet = true; m_deliveryModels.push_back(value); return *this; }
59
61
66 inline const Aws::Vector<ExpectedCustomerSpend>& GetExpectedCustomerSpend() const { return m_expectedCustomerSpend; }
67 inline bool ExpectedCustomerSpendHasBeenSet() const { return m_expectedCustomerSpendHasBeenSet; }
68 template<typename ExpectedCustomerSpendT = Aws::Vector<ExpectedCustomerSpend>>
69 void SetExpectedCustomerSpend(ExpectedCustomerSpendT&& value) { m_expectedCustomerSpendHasBeenSet = true; m_expectedCustomerSpend = std::forward<ExpectedCustomerSpendT>(value); }
70 template<typename ExpectedCustomerSpendT = Aws::Vector<ExpectedCustomerSpend>>
71 ProjectView& WithExpectedCustomerSpend(ExpectedCustomerSpendT&& value) { SetExpectedCustomerSpend(std::forward<ExpectedCustomerSpendT>(value)); return *this;}
72 template<typename ExpectedCustomerSpendT = ExpectedCustomerSpend>
73 ProjectView& AddExpectedCustomerSpend(ExpectedCustomerSpendT&& value) { m_expectedCustomerSpendHasBeenSet = true; m_expectedCustomerSpend.emplace_back(std::forward<ExpectedCustomerSpendT>(value)); return *this; }
75
77
81 inline const Aws::String& GetCustomerUseCase() const { return m_customerUseCase; }
82 inline bool CustomerUseCaseHasBeenSet() const { return m_customerUseCaseHasBeenSet; }
83 template<typename CustomerUseCaseT = Aws::String>
84 void SetCustomerUseCase(CustomerUseCaseT&& value) { m_customerUseCaseHasBeenSet = true; m_customerUseCase = std::forward<CustomerUseCaseT>(value); }
85 template<typename CustomerUseCaseT = Aws::String>
86 ProjectView& WithCustomerUseCase(CustomerUseCaseT&& value) { SetCustomerUseCase(std::forward<CustomerUseCaseT>(value)); return *this;}
88
90
96 inline const Aws::Vector<SalesActivity>& GetSalesActivities() const { return m_salesActivities; }
97 inline bool SalesActivitiesHasBeenSet() const { return m_salesActivitiesHasBeenSet; }
98 template<typename SalesActivitiesT = Aws::Vector<SalesActivity>>
99 void SetSalesActivities(SalesActivitiesT&& value) { m_salesActivitiesHasBeenSet = true; m_salesActivities = std::forward<SalesActivitiesT>(value); }
100 template<typename SalesActivitiesT = Aws::Vector<SalesActivity>>
101 ProjectView& WithSalesActivities(SalesActivitiesT&& value) { SetSalesActivities(std::forward<SalesActivitiesT>(value)); return *this;}
102 inline ProjectView& AddSalesActivities(SalesActivity value) { m_salesActivitiesHasBeenSet = true; m_salesActivities.push_back(value); return *this; }
104
106
110 inline const Aws::String& GetOtherSolutionDescription() const { return m_otherSolutionDescription; }
111 inline bool OtherSolutionDescriptionHasBeenSet() const { return m_otherSolutionDescriptionHasBeenSet; }
112 template<typename OtherSolutionDescriptionT = Aws::String>
113 void SetOtherSolutionDescription(OtherSolutionDescriptionT&& value) { m_otherSolutionDescriptionHasBeenSet = true; m_otherSolutionDescription = std::forward<OtherSolutionDescriptionT>(value); }
114 template<typename OtherSolutionDescriptionT = Aws::String>
115 ProjectView& WithOtherSolutionDescription(OtherSolutionDescriptionT&& value) { SetOtherSolutionDescription(std::forward<OtherSolutionDescriptionT>(value)); return *this;}
117 private:
118
119 Aws::Vector<DeliveryModel> m_deliveryModels;
120 bool m_deliveryModelsHasBeenSet = false;
121
122 Aws::Vector<ExpectedCustomerSpend> m_expectedCustomerSpend;
123 bool m_expectedCustomerSpendHasBeenSet = false;
124
125 Aws::String m_customerUseCase;
126 bool m_customerUseCaseHasBeenSet = false;
127
128 Aws::Vector<SalesActivity> m_salesActivities;
129 bool m_salesActivitiesHasBeenSet = false;
130
131 Aws::String m_otherSolutionDescription;
132 bool m_otherSolutionDescriptionHasBeenSet = false;
133 };
134
135} // namespace Model
136} // namespace PartnerCentralSelling
137} // namespace Aws
ProjectView & WithDeliveryModels(DeliveryModelsT &&value)
Definition ProjectView.h:56
const Aws::Vector< ExpectedCustomerSpend > & GetExpectedCustomerSpend() const
Definition ProjectView.h:66
void SetOtherSolutionDescription(OtherSolutionDescriptionT &&value)
ProjectView & WithOtherSolutionDescription(OtherSolutionDescriptionT &&value)
ProjectView & AddExpectedCustomerSpend(ExpectedCustomerSpendT &&value)
Definition ProjectView.h:73
ProjectView & WithCustomerUseCase(CustomerUseCaseT &&value)
Definition ProjectView.h:86
AWS_PARTNERCENTRALSELLING_API ProjectView & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< SalesActivity > & GetSalesActivities() const
Definition ProjectView.h:96
AWS_PARTNERCENTRALSELLING_API ProjectView()=default
ProjectView & AddDeliveryModels(DeliveryModel value)
Definition ProjectView.h:57
void SetExpectedCustomerSpend(ExpectedCustomerSpendT &&value)
Definition ProjectView.h:69
void SetCustomerUseCase(CustomerUseCaseT &&value)
Definition ProjectView.h:84
ProjectView & AddSalesActivities(SalesActivity value)
ProjectView & WithExpectedCustomerSpend(ExpectedCustomerSpendT &&value)
Definition ProjectView.h:71
const Aws::Vector< DeliveryModel > & GetDeliveryModels() const
Definition ProjectView.h:51
AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetCustomerUseCase() const
Definition ProjectView.h:81
void SetDeliveryModels(DeliveryModelsT &&value)
Definition ProjectView.h:54
AWS_PARTNERCENTRALSELLING_API ProjectView(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetOtherSolutionDescription() const
ProjectView & WithSalesActivities(SalesActivitiesT &&value)
void SetSalesActivities(SalesActivitiesT &&value)
Definition ProjectView.h:99
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue