AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
LifeCycle.h
1
6#pragma once
7#include <aws/partnercentral-selling/PartnerCentralSelling_EXPORTS.h>
8#include <aws/partnercentral-selling/model/ClosedLostReason.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/partnercentral-selling/model/ReviewStatus.h>
12#include <aws/partnercentral-selling/model/Stage.h>
13#include <aws/partnercentral-selling/model/NextStepsHistory.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace PartnerCentralSelling
27{
28namespace Model
29{
30
38 {
39 public:
40 AWS_PARTNERCENTRALSELLING_API LifeCycle() = default;
41 AWS_PARTNERCENTRALSELLING_API LifeCycle(Aws::Utils::Json::JsonView jsonValue);
42 AWS_PARTNERCENTRALSELLING_API LifeCycle& operator=(Aws::Utils::Json::JsonView jsonValue);
43 AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
76 inline ClosedLostReason GetClosedLostReason() const { return m_closedLostReason; }
77 inline bool ClosedLostReasonHasBeenSet() const { return m_closedLostReasonHasBeenSet; }
78 inline void SetClosedLostReason(ClosedLostReason value) { m_closedLostReasonHasBeenSet = true; m_closedLostReason = value; }
81
83
88 inline const Aws::String& GetNextSteps() const { return m_nextSteps; }
89 inline bool NextStepsHasBeenSet() const { return m_nextStepsHasBeenSet; }
90 template<typename NextStepsT = Aws::String>
91 void SetNextSteps(NextStepsT&& value) { m_nextStepsHasBeenSet = true; m_nextSteps = std::forward<NextStepsT>(value); }
92 template<typename NextStepsT = Aws::String>
93 LifeCycle& WithNextSteps(NextStepsT&& value) { SetNextSteps(std::forward<NextStepsT>(value)); return *this;}
95
97
101 inline const Aws::Vector<NextStepsHistory>& GetNextStepsHistory() const { return m_nextStepsHistory; }
102 inline bool NextStepsHistoryHasBeenSet() const { return m_nextStepsHistoryHasBeenSet; }
103 template<typename NextStepsHistoryT = Aws::Vector<NextStepsHistory>>
104 void SetNextStepsHistory(NextStepsHistoryT&& value) { m_nextStepsHistoryHasBeenSet = true; m_nextStepsHistory = std::forward<NextStepsHistoryT>(value); }
105 template<typename NextStepsHistoryT = Aws::Vector<NextStepsHistory>>
106 LifeCycle& WithNextStepsHistory(NextStepsHistoryT&& value) { SetNextStepsHistory(std::forward<NextStepsHistoryT>(value)); return *this;}
107 template<typename NextStepsHistoryT = NextStepsHistory>
108 LifeCycle& AddNextStepsHistory(NextStepsHistoryT&& value) { m_nextStepsHistoryHasBeenSet = true; m_nextStepsHistory.emplace_back(std::forward<NextStepsHistoryT>(value)); return *this; }
110
112
116 inline const Aws::String& GetReviewComments() const { return m_reviewComments; }
117 inline bool ReviewCommentsHasBeenSet() const { return m_reviewCommentsHasBeenSet; }
118 template<typename ReviewCommentsT = Aws::String>
119 void SetReviewComments(ReviewCommentsT&& value) { m_reviewCommentsHasBeenSet = true; m_reviewComments = std::forward<ReviewCommentsT>(value); }
120 template<typename ReviewCommentsT = Aws::String>
121 LifeCycle& WithReviewComments(ReviewCommentsT&& value) { SetReviewComments(std::forward<ReviewCommentsT>(value)); return *this;}
123
125
153 inline ReviewStatus GetReviewStatus() const { return m_reviewStatus; }
154 inline bool ReviewStatusHasBeenSet() const { return m_reviewStatusHasBeenSet; }
155 inline void SetReviewStatus(ReviewStatus value) { m_reviewStatusHasBeenSet = true; m_reviewStatus = value; }
156 inline LifeCycle& WithReviewStatus(ReviewStatus value) { SetReviewStatus(value); return *this;}
158
160
166 inline const Aws::String& GetReviewStatusReason() const { return m_reviewStatusReason; }
167 inline bool ReviewStatusReasonHasBeenSet() const { return m_reviewStatusReasonHasBeenSet; }
168 template<typename ReviewStatusReasonT = Aws::String>
169 void SetReviewStatusReason(ReviewStatusReasonT&& value) { m_reviewStatusReasonHasBeenSet = true; m_reviewStatusReason = std::forward<ReviewStatusReasonT>(value); }
170 template<typename ReviewStatusReasonT = Aws::String>
171 LifeCycle& WithReviewStatusReason(ReviewStatusReasonT&& value) { SetReviewStatusReason(std::forward<ReviewStatusReasonT>(value)); return *this;}
173
175
198 inline Stage GetStage() const { return m_stage; }
199 inline bool StageHasBeenSet() const { return m_stageHasBeenSet; }
200 inline void SetStage(Stage value) { m_stageHasBeenSet = true; m_stage = value; }
201 inline LifeCycle& WithStage(Stage value) { SetStage(value); return *this;}
203
205
212 inline const Aws::String& GetTargetCloseDate() const { return m_targetCloseDate; }
213 inline bool TargetCloseDateHasBeenSet() const { return m_targetCloseDateHasBeenSet; }
214 template<typename TargetCloseDateT = Aws::String>
215 void SetTargetCloseDate(TargetCloseDateT&& value) { m_targetCloseDateHasBeenSet = true; m_targetCloseDate = std::forward<TargetCloseDateT>(value); }
216 template<typename TargetCloseDateT = Aws::String>
217 LifeCycle& WithTargetCloseDate(TargetCloseDateT&& value) { SetTargetCloseDate(std::forward<TargetCloseDateT>(value)); return *this;}
219 private:
220
222 bool m_closedLostReasonHasBeenSet = false;
223
224 Aws::String m_nextSteps;
225 bool m_nextStepsHasBeenSet = false;
226
227 Aws::Vector<NextStepsHistory> m_nextStepsHistory;
228 bool m_nextStepsHistoryHasBeenSet = false;
229
230 Aws::String m_reviewComments;
231 bool m_reviewCommentsHasBeenSet = false;
232
233 ReviewStatus m_reviewStatus{ReviewStatus::NOT_SET};
234 bool m_reviewStatusHasBeenSet = false;
235
236 Aws::String m_reviewStatusReason;
237 bool m_reviewStatusReasonHasBeenSet = false;
238
239 Stage m_stage{Stage::NOT_SET};
240 bool m_stageHasBeenSet = false;
241
242 Aws::String m_targetCloseDate;
243 bool m_targetCloseDateHasBeenSet = false;
244 };
245
246} // namespace Model
247} // namespace PartnerCentralSelling
248} // namespace Aws
AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const
ClosedLostReason GetClosedLostReason() const
Definition LifeCycle.h:76
LifeCycle & WithNextStepsHistory(NextStepsHistoryT &&value)
Definition LifeCycle.h:106
void SetNextStepsHistory(NextStepsHistoryT &&value)
Definition LifeCycle.h:104
LifeCycle & WithReviewComments(ReviewCommentsT &&value)
Definition LifeCycle.h:121
AWS_PARTNERCENTRALSELLING_API LifeCycle(Aws::Utils::Json::JsonView jsonValue)
void SetTargetCloseDate(TargetCloseDateT &&value)
Definition LifeCycle.h:215
LifeCycle & WithReviewStatusReason(ReviewStatusReasonT &&value)
Definition LifeCycle.h:171
const Aws::String & GetReviewStatusReason() const
Definition LifeCycle.h:166
void SetReviewStatusReason(ReviewStatusReasonT &&value)
Definition LifeCycle.h:169
void SetNextSteps(NextStepsT &&value)
Definition LifeCycle.h:91
LifeCycle & WithClosedLostReason(ClosedLostReason value)
Definition LifeCycle.h:79
LifeCycle & WithNextSteps(NextStepsT &&value)
Definition LifeCycle.h:93
void SetReviewComments(ReviewCommentsT &&value)
Definition LifeCycle.h:119
void SetClosedLostReason(ClosedLostReason value)
Definition LifeCycle.h:78
const Aws::String & GetReviewComments() const
Definition LifeCycle.h:116
const Aws::Vector< NextStepsHistory > & GetNextStepsHistory() const
Definition LifeCycle.h:101
AWS_PARTNERCENTRALSELLING_API LifeCycle & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetTargetCloseDate() const
Definition LifeCycle.h:212
AWS_PARTNERCENTRALSELLING_API LifeCycle()=default
LifeCycle & WithReviewStatus(ReviewStatus value)
Definition LifeCycle.h:156
LifeCycle & AddNextStepsHistory(NextStepsHistoryT &&value)
Definition LifeCycle.h:108
const Aws::String & GetNextSteps() const
Definition LifeCycle.h:88
void SetReviewStatus(ReviewStatus value)
Definition LifeCycle.h:155
LifeCycle & WithTargetCloseDate(TargetCloseDateT &&value)
Definition LifeCycle.h:217
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue