AWS SDK for C++

AWS SDK for C++ Version 1.11.638

Loading...
Searching...
No Matches
LifeCycle.h
1
6#pragma once
7#include <aws/partnercentral-selling/PartnerCentralSelling_EXPORTS.h>
8#include <aws/partnercentral-selling/model/Stage.h>
9#include <aws/partnercentral-selling/model/ClosedLostReason.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/partnercentral-selling/model/ReviewStatus.h>
12#include <aws/core/utils/memory/stl/AWSVector.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
70 inline Stage GetStage() const { return m_stage; }
71 inline bool StageHasBeenSet() const { return m_stageHasBeenSet; }
72 inline void SetStage(Stage value) { m_stageHasBeenSet = true; m_stage = value; }
73 inline LifeCycle& WithStage(Stage value) { SetStage(value); return *this;}
75
77
106 inline ClosedLostReason GetClosedLostReason() const { return m_closedLostReason; }
107 inline bool ClosedLostReasonHasBeenSet() const { return m_closedLostReasonHasBeenSet; }
108 inline void SetClosedLostReason(ClosedLostReason value) { m_closedLostReasonHasBeenSet = true; m_closedLostReason = value; }
111
113
118 inline const Aws::String& GetNextSteps() const { return m_nextSteps; }
119 inline bool NextStepsHasBeenSet() const { return m_nextStepsHasBeenSet; }
120 template<typename NextStepsT = Aws::String>
121 void SetNextSteps(NextStepsT&& value) { m_nextStepsHasBeenSet = true; m_nextSteps = std::forward<NextStepsT>(value); }
122 template<typename NextStepsT = Aws::String>
123 LifeCycle& WithNextSteps(NextStepsT&& value) { SetNextSteps(std::forward<NextStepsT>(value)); return *this;}
125
127
134 inline const Aws::String& GetTargetCloseDate() const { return m_targetCloseDate; }
135 inline bool TargetCloseDateHasBeenSet() const { return m_targetCloseDateHasBeenSet; }
136 template<typename TargetCloseDateT = Aws::String>
137 void SetTargetCloseDate(TargetCloseDateT&& value) { m_targetCloseDateHasBeenSet = true; m_targetCloseDate = std::forward<TargetCloseDateT>(value); }
138 template<typename TargetCloseDateT = Aws::String>
139 LifeCycle& WithTargetCloseDate(TargetCloseDateT&& value) { SetTargetCloseDate(std::forward<TargetCloseDateT>(value)); return *this;}
141
143
171 inline ReviewStatus GetReviewStatus() const { return m_reviewStatus; }
172 inline bool ReviewStatusHasBeenSet() const { return m_reviewStatusHasBeenSet; }
173 inline void SetReviewStatus(ReviewStatus value) { m_reviewStatusHasBeenSet = true; m_reviewStatus = value; }
174 inline LifeCycle& WithReviewStatus(ReviewStatus value) { SetReviewStatus(value); return *this;}
176
178
184 inline const Aws::String& GetReviewComments() const { return m_reviewComments; }
185 inline bool ReviewCommentsHasBeenSet() const { return m_reviewCommentsHasBeenSet; }
186 template<typename ReviewCommentsT = Aws::String>
187 void SetReviewComments(ReviewCommentsT&& value) { m_reviewCommentsHasBeenSet = true; m_reviewComments = std::forward<ReviewCommentsT>(value); }
188 template<typename ReviewCommentsT = Aws::String>
189 LifeCycle& WithReviewComments(ReviewCommentsT&& value) { SetReviewComments(std::forward<ReviewCommentsT>(value)); return *this;}
191
193
200 inline const Aws::String& GetReviewStatusReason() const { return m_reviewStatusReason; }
201 inline bool ReviewStatusReasonHasBeenSet() const { return m_reviewStatusReasonHasBeenSet; }
202 template<typename ReviewStatusReasonT = Aws::String>
203 void SetReviewStatusReason(ReviewStatusReasonT&& value) { m_reviewStatusReasonHasBeenSet = true; m_reviewStatusReason = std::forward<ReviewStatusReasonT>(value); }
204 template<typename ReviewStatusReasonT = Aws::String>
205 LifeCycle& WithReviewStatusReason(ReviewStatusReasonT&& value) { SetReviewStatusReason(std::forward<ReviewStatusReasonT>(value)); return *this;}
207
209
213 inline const Aws::Vector<NextStepsHistory>& GetNextStepsHistory() const { return m_nextStepsHistory; }
214 inline bool NextStepsHistoryHasBeenSet() const { return m_nextStepsHistoryHasBeenSet; }
215 template<typename NextStepsHistoryT = Aws::Vector<NextStepsHistory>>
216 void SetNextStepsHistory(NextStepsHistoryT&& value) { m_nextStepsHistoryHasBeenSet = true; m_nextStepsHistory = std::forward<NextStepsHistoryT>(value); }
217 template<typename NextStepsHistoryT = Aws::Vector<NextStepsHistory>>
218 LifeCycle& WithNextStepsHistory(NextStepsHistoryT&& value) { SetNextStepsHistory(std::forward<NextStepsHistoryT>(value)); return *this;}
219 template<typename NextStepsHistoryT = NextStepsHistory>
220 LifeCycle& AddNextStepsHistory(NextStepsHistoryT&& value) { m_nextStepsHistoryHasBeenSet = true; m_nextStepsHistory.emplace_back(std::forward<NextStepsHistoryT>(value)); return *this; }
222 private:
223
224 Stage m_stage{Stage::NOT_SET};
225 bool m_stageHasBeenSet = false;
226
228 bool m_closedLostReasonHasBeenSet = false;
229
230 Aws::String m_nextSteps;
231 bool m_nextStepsHasBeenSet = false;
232
233 Aws::String m_targetCloseDate;
234 bool m_targetCloseDateHasBeenSet = false;
235
236 ReviewStatus m_reviewStatus{ReviewStatus::NOT_SET};
237 bool m_reviewStatusHasBeenSet = false;
238
239 Aws::String m_reviewComments;
240 bool m_reviewCommentsHasBeenSet = false;
241
242 Aws::String m_reviewStatusReason;
243 bool m_reviewStatusReasonHasBeenSet = false;
244
245 Aws::Vector<NextStepsHistory> m_nextStepsHistory;
246 bool m_nextStepsHistoryHasBeenSet = false;
247 };
248
249} // namespace Model
250} // namespace PartnerCentralSelling
251} // namespace Aws
AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const
ClosedLostReason GetClosedLostReason() const
Definition LifeCycle.h:106
LifeCycle & WithNextStepsHistory(NextStepsHistoryT &&value)
Definition LifeCycle.h:218
void SetNextStepsHistory(NextStepsHistoryT &&value)
Definition LifeCycle.h:216
LifeCycle & WithReviewComments(ReviewCommentsT &&value)
Definition LifeCycle.h:189
AWS_PARTNERCENTRALSELLING_API LifeCycle(Aws::Utils::Json::JsonView jsonValue)
void SetTargetCloseDate(TargetCloseDateT &&value)
Definition LifeCycle.h:137
LifeCycle & WithReviewStatusReason(ReviewStatusReasonT &&value)
Definition LifeCycle.h:205
const Aws::String & GetReviewStatusReason() const
Definition LifeCycle.h:200
void SetReviewStatusReason(ReviewStatusReasonT &&value)
Definition LifeCycle.h:203
LifeCycle & WithClosedLostReason(ClosedLostReason value)
Definition LifeCycle.h:109
LifeCycle & WithNextSteps(NextStepsT &&value)
Definition LifeCycle.h:123
void SetReviewComments(ReviewCommentsT &&value)
Definition LifeCycle.h:187
void SetClosedLostReason(ClosedLostReason value)
Definition LifeCycle.h:108
const Aws::String & GetReviewComments() const
Definition LifeCycle.h:184
const Aws::Vector< NextStepsHistory > & GetNextStepsHistory() const
Definition LifeCycle.h:213
AWS_PARTNERCENTRALSELLING_API LifeCycle & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetTargetCloseDate() const
Definition LifeCycle.h:134
AWS_PARTNERCENTRALSELLING_API LifeCycle()=default
LifeCycle & WithReviewStatus(ReviewStatus value)
Definition LifeCycle.h:174
LifeCycle & AddNextStepsHistory(NextStepsHistoryT &&value)
Definition LifeCycle.h:220
const Aws::String & GetNextSteps() const
Definition LifeCycle.h:118
void SetReviewStatus(ReviewStatus value)
Definition LifeCycle.h:173
LifeCycle & WithTargetCloseDate(TargetCloseDateT &&value)
Definition LifeCycle.h:139
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue