AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
ProjectDetails.h
1
6#pragma once
7#include <aws/partnercentral-selling/PartnerCentralSelling_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.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
36 {
37 public:
38 AWS_PARTNERCENTRALSELLING_API ProjectDetails() = default;
39 AWS_PARTNERCENTRALSELLING_API ProjectDetails(Aws::Utils::Json::JsonView jsonValue);
40 AWS_PARTNERCENTRALSELLING_API ProjectDetails& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline const Aws::String& GetBusinessProblem() const { return m_businessProblem; }
50 inline bool BusinessProblemHasBeenSet() const { return m_businessProblemHasBeenSet; }
51 template<typename BusinessProblemT = Aws::String>
52 void SetBusinessProblem(BusinessProblemT&& value) { m_businessProblemHasBeenSet = true; m_businessProblem = std::forward<BusinessProblemT>(value); }
53 template<typename BusinessProblemT = Aws::String>
54 ProjectDetails& WithBusinessProblem(BusinessProblemT&& value) { SetBusinessProblem(std::forward<BusinessProblemT>(value)); return *this;}
56
58
63 inline const Aws::Vector<ExpectedCustomerSpend>& GetExpectedCustomerSpend() const { return m_expectedCustomerSpend; }
64 inline bool ExpectedCustomerSpendHasBeenSet() const { return m_expectedCustomerSpendHasBeenSet; }
65 template<typename ExpectedCustomerSpendT = Aws::Vector<ExpectedCustomerSpend>>
66 void SetExpectedCustomerSpend(ExpectedCustomerSpendT&& value) { m_expectedCustomerSpendHasBeenSet = true; m_expectedCustomerSpend = std::forward<ExpectedCustomerSpendT>(value); }
67 template<typename ExpectedCustomerSpendT = Aws::Vector<ExpectedCustomerSpend>>
68 ProjectDetails& WithExpectedCustomerSpend(ExpectedCustomerSpendT&& value) { SetExpectedCustomerSpend(std::forward<ExpectedCustomerSpendT>(value)); return *this;}
69 template<typename ExpectedCustomerSpendT = ExpectedCustomerSpend>
70 ProjectDetails& AddExpectedCustomerSpend(ExpectedCustomerSpendT&& value) { m_expectedCustomerSpendHasBeenSet = true; m_expectedCustomerSpend.emplace_back(std::forward<ExpectedCustomerSpendT>(value)); return *this; }
72
74
78 inline const Aws::String& GetTargetCompletionDate() const { return m_targetCompletionDate; }
79 inline bool TargetCompletionDateHasBeenSet() const { return m_targetCompletionDateHasBeenSet; }
80 template<typename TargetCompletionDateT = Aws::String>
81 void SetTargetCompletionDate(TargetCompletionDateT&& value) { m_targetCompletionDateHasBeenSet = true; m_targetCompletionDate = std::forward<TargetCompletionDateT>(value); }
82 template<typename TargetCompletionDateT = Aws::String>
83 ProjectDetails& WithTargetCompletionDate(TargetCompletionDateT&& value) { SetTargetCompletionDate(std::forward<TargetCompletionDateT>(value)); return *this;}
85
87
91 inline const Aws::String& GetTitle() const { return m_title; }
92 inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
93 template<typename TitleT = Aws::String>
94 void SetTitle(TitleT&& value) { m_titleHasBeenSet = true; m_title = std::forward<TitleT>(value); }
95 template<typename TitleT = Aws::String>
96 ProjectDetails& WithTitle(TitleT&& value) { SetTitle(std::forward<TitleT>(value)); return *this;}
98 private:
99
100 Aws::String m_businessProblem;
101 bool m_businessProblemHasBeenSet = false;
102
103 Aws::Vector<ExpectedCustomerSpend> m_expectedCustomerSpend;
104 bool m_expectedCustomerSpendHasBeenSet = false;
105
106 Aws::String m_targetCompletionDate;
107 bool m_targetCompletionDateHasBeenSet = false;
108
109 Aws::String m_title;
110 bool m_titleHasBeenSet = false;
111 };
112
113} // namespace Model
114} // namespace PartnerCentralSelling
115} // namespace Aws
ProjectDetails & WithTitle(TitleT &&value)
ProjectDetails & AddExpectedCustomerSpend(ExpectedCustomerSpendT &&value)
void SetBusinessProblem(BusinessProblemT &&value)
ProjectDetails & WithBusinessProblem(BusinessProblemT &&value)
const Aws::Vector< ExpectedCustomerSpend > & GetExpectedCustomerSpend() const
AWS_PARTNERCENTRALSELLING_API ProjectDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
ProjectDetails & WithTargetCompletionDate(TargetCompletionDateT &&value)
AWS_PARTNERCENTRALSELLING_API ProjectDetails(Aws::Utils::Json::JsonView jsonValue)
void SetTargetCompletionDate(TargetCompletionDateT &&value)
void SetExpectedCustomerSpend(ExpectedCustomerSpendT &&value)
AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const
ProjectDetails & WithExpectedCustomerSpend(ExpectedCustomerSpendT &&value)
AWS_PARTNERCENTRALSELLING_API ProjectDetails()=default
const Aws::String & GetTargetCompletionDate() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue