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>
26namespace PartnerCentralSelling
40 AWS_PARTNERCENTRALSELLING_API
LifeCycle() =
default;
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>
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>>
107 template<
typename NextStepsHistoryT = NextStepsHistory>
108 LifeCycle&
AddNextStepsHistory(NextStepsHistoryT&& value) { m_nextStepsHistoryHasBeenSet =
true; m_nextStepsHistory.emplace_back(std::forward<NextStepsHistoryT>(value));
return *
this; }
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>
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>
200 inline void SetStage(
Stage value) { m_stageHasBeenSet =
true; m_stage = value; }
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>
222 bool m_closedLostReasonHasBeenSet =
false;
225 bool m_nextStepsHasBeenSet =
false;
228 bool m_nextStepsHistoryHasBeenSet =
false;
231 bool m_reviewCommentsHasBeenSet =
false;
234 bool m_reviewStatusHasBeenSet =
false;
237 bool m_reviewStatusReasonHasBeenSet =
false;
240 bool m_stageHasBeenSet =
false;
243 bool m_targetCloseDateHasBeenSet =
false;
AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const
ClosedLostReason GetClosedLostReason() const
LifeCycle & WithNextStepsHistory(NextStepsHistoryT &&value)
void SetNextStepsHistory(NextStepsHistoryT &&value)
LifeCycle & WithReviewComments(ReviewCommentsT &&value)
bool ReviewStatusReasonHasBeenSet() const
AWS_PARTNERCENTRALSELLING_API LifeCycle(Aws::Utils::Json::JsonView jsonValue)
bool ReviewCommentsHasBeenSet() const
void SetTargetCloseDate(TargetCloseDateT &&value)
LifeCycle & WithReviewStatusReason(ReviewStatusReasonT &&value)
bool NextStepsHasBeenSet() const
void SetStage(Stage value)
const Aws::String & GetReviewStatusReason() const
bool ReviewStatusHasBeenSet() const
ReviewStatus GetReviewStatus() const
void SetReviewStatusReason(ReviewStatusReasonT &&value)
bool ClosedLostReasonHasBeenSet() const
bool NextStepsHistoryHasBeenSet() const
void SetNextSteps(NextStepsT &&value)
LifeCycle & WithClosedLostReason(ClosedLostReason value)
bool TargetCloseDateHasBeenSet() const
LifeCycle & WithNextSteps(NextStepsT &&value)
void SetReviewComments(ReviewCommentsT &&value)
bool StageHasBeenSet() const
void SetClosedLostReason(ClosedLostReason value)
const Aws::String & GetReviewComments() const
const Aws::Vector< NextStepsHistory > & GetNextStepsHistory() const
AWS_PARTNERCENTRALSELLING_API LifeCycle & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetTargetCloseDate() const
AWS_PARTNERCENTRALSELLING_API LifeCycle()=default
LifeCycle & WithReviewStatus(ReviewStatus value)
LifeCycle & AddNextStepsHistory(NextStepsHistoryT &&value)
const Aws::String & GetNextSteps() const
LifeCycle & WithStage(Stage value)
void SetReviewStatus(ReviewStatus value)
LifeCycle & WithTargetCloseDate(TargetCloseDateT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue