AWS SDK for C++

AWS SDK for C++ Version 1.11.637

Loading...
Searching...
No Matches
LifeCycleSummary.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 <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace PartnerCentralSelling
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_PARTNERCENTRALSELLING_API LifeCycleSummary() = default;
39 AWS_PARTNERCENTRALSELLING_API LifeCycleSummary(Aws::Utils::Json::JsonView jsonValue);
40 AWS_PARTNERCENTRALSELLING_API LifeCycleSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
68 inline Stage GetStage() const { return m_stage; }
69 inline bool StageHasBeenSet() const { return m_stageHasBeenSet; }
70 inline void SetStage(Stage value) { m_stageHasBeenSet = true; m_stage = value; }
71 inline LifeCycleSummary& WithStage(Stage value) { SetStage(value); return *this;}
73
75
81 inline ClosedLostReason GetClosedLostReason() const { return m_closedLostReason; }
82 inline bool ClosedLostReasonHasBeenSet() const { return m_closedLostReasonHasBeenSet; }
83 inline void SetClosedLostReason(ClosedLostReason value) { m_closedLostReasonHasBeenSet = true; m_closedLostReason = value; }
86
88
93 inline const Aws::String& GetNextSteps() const { return m_nextSteps; }
94 inline bool NextStepsHasBeenSet() const { return m_nextStepsHasBeenSet; }
95 template<typename NextStepsT = Aws::String>
96 void SetNextSteps(NextStepsT&& value) { m_nextStepsHasBeenSet = true; m_nextSteps = std::forward<NextStepsT>(value); }
97 template<typename NextStepsT = Aws::String>
98 LifeCycleSummary& WithNextSteps(NextStepsT&& value) { SetNextSteps(std::forward<NextStepsT>(value)); return *this;}
100
102
109 inline const Aws::String& GetTargetCloseDate() const { return m_targetCloseDate; }
110 inline bool TargetCloseDateHasBeenSet() const { return m_targetCloseDateHasBeenSet; }
111 template<typename TargetCloseDateT = Aws::String>
112 void SetTargetCloseDate(TargetCloseDateT&& value) { m_targetCloseDateHasBeenSet = true; m_targetCloseDate = std::forward<TargetCloseDateT>(value); }
113 template<typename TargetCloseDateT = Aws::String>
114 LifeCycleSummary& WithTargetCloseDate(TargetCloseDateT&& value) { SetTargetCloseDate(std::forward<TargetCloseDateT>(value)); return *this;}
116
118
145 inline ReviewStatus GetReviewStatus() const { return m_reviewStatus; }
146 inline bool ReviewStatusHasBeenSet() const { return m_reviewStatusHasBeenSet; }
147 inline void SetReviewStatus(ReviewStatus value) { m_reviewStatusHasBeenSet = true; m_reviewStatus = value; }
148 inline LifeCycleSummary& WithReviewStatus(ReviewStatus value) { SetReviewStatus(value); return *this;}
150
152
156 inline const Aws::String& GetReviewComments() const { return m_reviewComments; }
157 inline bool ReviewCommentsHasBeenSet() const { return m_reviewCommentsHasBeenSet; }
158 template<typename ReviewCommentsT = Aws::String>
159 void SetReviewComments(ReviewCommentsT&& value) { m_reviewCommentsHasBeenSet = true; m_reviewComments = std::forward<ReviewCommentsT>(value); }
160 template<typename ReviewCommentsT = Aws::String>
161 LifeCycleSummary& WithReviewComments(ReviewCommentsT&& value) { SetReviewComments(std::forward<ReviewCommentsT>(value)); return *this;}
163
165
171 inline const Aws::String& GetReviewStatusReason() const { return m_reviewStatusReason; }
172 inline bool ReviewStatusReasonHasBeenSet() const { return m_reviewStatusReasonHasBeenSet; }
173 template<typename ReviewStatusReasonT = Aws::String>
174 void SetReviewStatusReason(ReviewStatusReasonT&& value) { m_reviewStatusReasonHasBeenSet = true; m_reviewStatusReason = std::forward<ReviewStatusReasonT>(value); }
175 template<typename ReviewStatusReasonT = Aws::String>
176 LifeCycleSummary& WithReviewStatusReason(ReviewStatusReasonT&& value) { SetReviewStatusReason(std::forward<ReviewStatusReasonT>(value)); return *this;}
178 private:
179
180 Stage m_stage{Stage::NOT_SET};
181 bool m_stageHasBeenSet = false;
182
184 bool m_closedLostReasonHasBeenSet = false;
185
186 Aws::String m_nextSteps;
187 bool m_nextStepsHasBeenSet = false;
188
189 Aws::String m_targetCloseDate;
190 bool m_targetCloseDateHasBeenSet = false;
191
192 ReviewStatus m_reviewStatus{ReviewStatus::NOT_SET};
193 bool m_reviewStatusHasBeenSet = false;
194
195 Aws::String m_reviewComments;
196 bool m_reviewCommentsHasBeenSet = false;
197
198 Aws::String m_reviewStatusReason;
199 bool m_reviewStatusReasonHasBeenSet = false;
200 };
201
202} // namespace Model
203} // namespace PartnerCentralSelling
204} // namespace Aws
LifeCycleSummary & WithReviewComments(ReviewCommentsT &&value)
LifeCycleSummary & WithNextSteps(NextStepsT &&value)
LifeCycleSummary & WithReviewStatus(ReviewStatus value)
AWS_PARTNERCENTRALSELLING_API LifeCycleSummary()=default
LifeCycleSummary & WithClosedLostReason(ClosedLostReason value)
LifeCycleSummary & WithReviewStatusReason(ReviewStatusReasonT &&value)
void SetReviewStatusReason(ReviewStatusReasonT &&value)
AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const
LifeCycleSummary & WithTargetCloseDate(TargetCloseDateT &&value)
AWS_PARTNERCENTRALSELLING_API LifeCycleSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_PARTNERCENTRALSELLING_API LifeCycleSummary(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue