AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
AwsOpportunityProject.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/AwsPartition.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 AwsOpportunityProject() = default;
33 AWS_PARTNERCENTRALSELLING_API AwsOpportunityProject(Aws::Utils::Json::JsonView jsonValue);
34 AWS_PARTNERCENTRALSELLING_API AwsOpportunityProject& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
46 inline const Aws::Vector<ExpectedCustomerSpend>& GetExpectedCustomerSpend() const { return m_expectedCustomerSpend; }
47 inline bool ExpectedCustomerSpendHasBeenSet() const { return m_expectedCustomerSpendHasBeenSet; }
48 template <typename ExpectedCustomerSpendT = Aws::Vector<ExpectedCustomerSpend>>
49 void SetExpectedCustomerSpend(ExpectedCustomerSpendT&& value) {
50 m_expectedCustomerSpendHasBeenSet = true;
51 m_expectedCustomerSpend = std::forward<ExpectedCustomerSpendT>(value);
52 }
53 template <typename ExpectedCustomerSpendT = Aws::Vector<ExpectedCustomerSpend>>
54 AwsOpportunityProject& WithExpectedCustomerSpend(ExpectedCustomerSpendT&& value) {
55 SetExpectedCustomerSpend(std::forward<ExpectedCustomerSpendT>(value));
56 return *this;
57 }
58 template <typename ExpectedCustomerSpendT = ExpectedCustomerSpend>
59 AwsOpportunityProject& AddExpectedCustomerSpend(ExpectedCustomerSpendT&& value) {
60 m_expectedCustomerSpendHasBeenSet = true;
61 m_expectedCustomerSpend.emplace_back(std::forward<ExpectedCustomerSpendT>(value));
62 return *this;
63 }
65
67
72 inline AwsPartition GetAwsPartition() const { return m_awsPartition; }
73 inline bool AwsPartitionHasBeenSet() const { return m_awsPartitionHasBeenSet; }
74 inline void SetAwsPartition(AwsPartition value) {
75 m_awsPartitionHasBeenSet = true;
76 m_awsPartition = value;
77 }
79 SetAwsPartition(value);
80 return *this;
81 }
83 private:
84 Aws::Vector<ExpectedCustomerSpend> m_expectedCustomerSpend;
85
86 AwsPartition m_awsPartition{AwsPartition::NOT_SET};
87 bool m_expectedCustomerSpendHasBeenSet = false;
88 bool m_awsPartitionHasBeenSet = false;
89};
90
91} // namespace Model
92} // namespace PartnerCentralSelling
93} // namespace Aws
AWS_PARTNERCENTRALSELLING_API AwsOpportunityProject(Aws::Utils::Json::JsonView jsonValue)
AwsOpportunityProject & WithExpectedCustomerSpend(ExpectedCustomerSpendT &&value)
AWS_PARTNERCENTRALSELLING_API AwsOpportunityProject & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_PARTNERCENTRALSELLING_API AwsOpportunityProject()=default
AwsOpportunityProject & WithAwsPartition(AwsPartition value)
AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const
AwsOpportunityProject & AddExpectedCustomerSpend(ExpectedCustomerSpendT &&value)
const Aws::Vector< ExpectedCustomerSpend > & GetExpectedCustomerSpend() const
void SetExpectedCustomerSpend(ExpectedCustomerSpendT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue