AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
ProjectSummary.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/partnercentral-selling/model/DeliveryModel.h>
10#include <aws/partnercentral-selling/model/ExpectedCustomerSpend.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace PartnerCentralSelling
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_PARTNERCENTRALSELLING_API ProjectSummary() = default;
38 AWS_PARTNERCENTRALSELLING_API ProjectSummary(Aws::Utils::Json::JsonView jsonValue);
39 AWS_PARTNERCENTRALSELLING_API ProjectSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
61 inline const Aws::Vector<DeliveryModel>& GetDeliveryModels() const { return m_deliveryModels; }
62 inline bool DeliveryModelsHasBeenSet() const { return m_deliveryModelsHasBeenSet; }
63 template<typename DeliveryModelsT = Aws::Vector<DeliveryModel>>
64 void SetDeliveryModels(DeliveryModelsT&& value) { m_deliveryModelsHasBeenSet = true; m_deliveryModels = std::forward<DeliveryModelsT>(value); }
65 template<typename DeliveryModelsT = Aws::Vector<DeliveryModel>>
66 ProjectSummary& WithDeliveryModels(DeliveryModelsT&& value) { SetDeliveryModels(std::forward<DeliveryModelsT>(value)); return *this;}
67 inline ProjectSummary& AddDeliveryModels(DeliveryModel value) { m_deliveryModelsHasBeenSet = true; m_deliveryModels.push_back(value); return *this; }
69
71
75 inline const Aws::Vector<ExpectedCustomerSpend>& GetExpectedCustomerSpend() const { return m_expectedCustomerSpend; }
76 inline bool ExpectedCustomerSpendHasBeenSet() const { return m_expectedCustomerSpendHasBeenSet; }
77 template<typename ExpectedCustomerSpendT = Aws::Vector<ExpectedCustomerSpend>>
78 void SetExpectedCustomerSpend(ExpectedCustomerSpendT&& value) { m_expectedCustomerSpendHasBeenSet = true; m_expectedCustomerSpend = std::forward<ExpectedCustomerSpendT>(value); }
79 template<typename ExpectedCustomerSpendT = Aws::Vector<ExpectedCustomerSpend>>
80 ProjectSummary& WithExpectedCustomerSpend(ExpectedCustomerSpendT&& value) { SetExpectedCustomerSpend(std::forward<ExpectedCustomerSpendT>(value)); return *this;}
81 template<typename ExpectedCustomerSpendT = ExpectedCustomerSpend>
82 ProjectSummary& AddExpectedCustomerSpend(ExpectedCustomerSpendT&& value) { m_expectedCustomerSpendHasBeenSet = true; m_expectedCustomerSpend.emplace_back(std::forward<ExpectedCustomerSpendT>(value)); return *this; }
84 private:
85
86 Aws::Vector<DeliveryModel> m_deliveryModels;
87 bool m_deliveryModelsHasBeenSet = false;
88
89 Aws::Vector<ExpectedCustomerSpend> m_expectedCustomerSpend;
90 bool m_expectedCustomerSpendHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace PartnerCentralSelling
95} // 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