AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
ProjectSummary.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/partnercentral-selling/PartnerCentralSelling_EXPORTS.h>
9#include <aws/partnercentral-selling/model/DeliveryModel.h>
10#include <aws/partnercentral-selling/model/ExpectedCustomerSpend.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace PartnerCentralSelling {
22namespace Model {
23
31 public:
32 AWS_PARTNERCENTRALSELLING_API ProjectSummary() = default;
33 AWS_PARTNERCENTRALSELLING_API ProjectSummary(Aws::Utils::Json::JsonView jsonValue);
34 AWS_PARTNERCENTRALSELLING_API ProjectSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
55 inline const Aws::Vector<DeliveryModel>& GetDeliveryModels() const { return m_deliveryModels; }
56 inline bool DeliveryModelsHasBeenSet() const { return m_deliveryModelsHasBeenSet; }
57 template <typename DeliveryModelsT = Aws::Vector<DeliveryModel>>
58 void SetDeliveryModels(DeliveryModelsT&& value) {
59 m_deliveryModelsHasBeenSet = true;
60 m_deliveryModels = std::forward<DeliveryModelsT>(value);
61 }
62 template <typename DeliveryModelsT = Aws::Vector<DeliveryModel>>
63 ProjectSummary& WithDeliveryModels(DeliveryModelsT&& value) {
64 SetDeliveryModels(std::forward<DeliveryModelsT>(value));
65 return *this;
66 }
68 m_deliveryModelsHasBeenSet = true;
69 m_deliveryModels.push_back(value);
70 return *this;
71 }
73
75
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) {
83 m_expectedCustomerSpendHasBeenSet = true;
84 m_expectedCustomerSpend = std::forward<ExpectedCustomerSpendT>(value);
85 }
86 template <typename ExpectedCustomerSpendT = Aws::Vector<ExpectedCustomerSpend>>
87 ProjectSummary& WithExpectedCustomerSpend(ExpectedCustomerSpendT&& value) {
88 SetExpectedCustomerSpend(std::forward<ExpectedCustomerSpendT>(value));
89 return *this;
90 }
91 template <typename ExpectedCustomerSpendT = ExpectedCustomerSpend>
92 ProjectSummary& AddExpectedCustomerSpend(ExpectedCustomerSpendT&& value) {
93 m_expectedCustomerSpendHasBeenSet = true;
94 m_expectedCustomerSpend.emplace_back(std::forward<ExpectedCustomerSpendT>(value));
95 return *this;
96 }
98 private:
99 Aws::Vector<DeliveryModel> m_deliveryModels;
100
101 Aws::Vector<ExpectedCustomerSpend> m_expectedCustomerSpend;
102 bool m_deliveryModelsHasBeenSet = false;
103 bool m_expectedCustomerSpendHasBeenSet = false;
104};
105
106} // namespace Model
107} // namespace PartnerCentralSelling
108} // namespace Aws
ProjectSummary & AddExpectedCustomerSpend(ExpectedCustomerSpendT &&value)
AWS_PARTNERCENTRALSELLING_API ProjectSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDeliveryModels(DeliveryModelsT &&value)
void SetExpectedCustomerSpend(ExpectedCustomerSpendT &&value)
const Aws::Vector< DeliveryModel > & GetDeliveryModels() const
ProjectSummary & WithExpectedCustomerSpend(ExpectedCustomerSpendT &&value)
AWS_PARTNERCENTRALSELLING_API ProjectSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_PARTNERCENTRALSELLING_API ProjectSummary()=default
const Aws::Vector< ExpectedCustomerSpend > & GetExpectedCustomerSpend() const
ProjectSummary & WithDeliveryModels(DeliveryModelsT &&value)
AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const
ProjectSummary & AddDeliveryModels(DeliveryModel value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue