AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
ProjectDetails.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/partnercentral-selling/PartnerCentralSelling_EXPORTS.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
32 public:
33 AWS_PARTNERCENTRALSELLING_API ProjectDetails() = default;
34 AWS_PARTNERCENTRALSELLING_API ProjectDetails(Aws::Utils::Json::JsonView jsonValue);
35 AWS_PARTNERCENTRALSELLING_API ProjectDetails& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
43 inline const Aws::String& GetBusinessProblem() const { return m_businessProblem; }
44 inline bool BusinessProblemHasBeenSet() const { return m_businessProblemHasBeenSet; }
45 template <typename BusinessProblemT = Aws::String>
46 void SetBusinessProblem(BusinessProblemT&& value) {
47 m_businessProblemHasBeenSet = true;
48 m_businessProblem = std::forward<BusinessProblemT>(value);
49 }
50 template <typename BusinessProblemT = Aws::String>
51 ProjectDetails& WithBusinessProblem(BusinessProblemT&& value) {
52 SetBusinessProblem(std::forward<BusinessProblemT>(value));
53 return *this;
54 }
56
58
62 inline const Aws::String& GetTitle() const { return m_title; }
63 inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
64 template <typename TitleT = Aws::String>
65 void SetTitle(TitleT&& value) {
66 m_titleHasBeenSet = true;
67 m_title = std::forward<TitleT>(value);
68 }
69 template <typename TitleT = Aws::String>
70 ProjectDetails& WithTitle(TitleT&& value) {
71 SetTitle(std::forward<TitleT>(value));
72 return *this;
73 }
75
77
81 inline const Aws::String& GetTargetCompletionDate() const { return m_targetCompletionDate; }
82 inline bool TargetCompletionDateHasBeenSet() const { return m_targetCompletionDateHasBeenSet; }
83 template <typename TargetCompletionDateT = Aws::String>
84 void SetTargetCompletionDate(TargetCompletionDateT&& value) {
85 m_targetCompletionDateHasBeenSet = true;
86 m_targetCompletionDate = std::forward<TargetCompletionDateT>(value);
87 }
88 template <typename TargetCompletionDateT = Aws::String>
89 ProjectDetails& WithTargetCompletionDate(TargetCompletionDateT&& value) {
90 SetTargetCompletionDate(std::forward<TargetCompletionDateT>(value));
91 return *this;
92 }
94
96
101 inline const Aws::Vector<ExpectedCustomerSpend>& GetExpectedCustomerSpend() const { return m_expectedCustomerSpend; }
102 inline bool ExpectedCustomerSpendHasBeenSet() const { return m_expectedCustomerSpendHasBeenSet; }
103 template <typename ExpectedCustomerSpendT = Aws::Vector<ExpectedCustomerSpend>>
104 void SetExpectedCustomerSpend(ExpectedCustomerSpendT&& value) {
105 m_expectedCustomerSpendHasBeenSet = true;
106 m_expectedCustomerSpend = std::forward<ExpectedCustomerSpendT>(value);
107 }
108 template <typename ExpectedCustomerSpendT = Aws::Vector<ExpectedCustomerSpend>>
109 ProjectDetails& WithExpectedCustomerSpend(ExpectedCustomerSpendT&& value) {
110 SetExpectedCustomerSpend(std::forward<ExpectedCustomerSpendT>(value));
111 return *this;
112 }
113 template <typename ExpectedCustomerSpendT = ExpectedCustomerSpend>
114 ProjectDetails& AddExpectedCustomerSpend(ExpectedCustomerSpendT&& value) {
115 m_expectedCustomerSpendHasBeenSet = true;
116 m_expectedCustomerSpend.emplace_back(std::forward<ExpectedCustomerSpendT>(value));
117 return *this;
118 }
120 private:
121 Aws::String m_businessProblem;
122
123 Aws::String m_title;
124
125 Aws::String m_targetCompletionDate;
126
127 Aws::Vector<ExpectedCustomerSpend> m_expectedCustomerSpend;
128 bool m_businessProblemHasBeenSet = false;
129 bool m_titleHasBeenSet = false;
130 bool m_targetCompletionDateHasBeenSet = false;
131 bool m_expectedCustomerSpendHasBeenSet = false;
132};
133
134} // namespace Model
135} // namespace PartnerCentralSelling
136} // 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