AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
LifeCycleSummary.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/partnercentral-selling/PartnerCentralSelling_EXPORTS.h>
9#include <aws/partnercentral-selling/model/ClosedLostReason.h>
10#include <aws/partnercentral-selling/model/ReviewStatus.h>
11#include <aws/partnercentral-selling/model/Stage.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace PartnerCentralSelling {
23namespace Model {
24
32 public:
33 AWS_PARTNERCENTRALSELLING_API LifeCycleSummary() = default;
34 AWS_PARTNERCENTRALSELLING_API LifeCycleSummary(Aws::Utils::Json::JsonView jsonValue);
35 AWS_PARTNERCENTRALSELLING_API LifeCycleSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
62 inline Stage GetStage() const { return m_stage; }
63 inline bool StageHasBeenSet() const { return m_stageHasBeenSet; }
64 inline void SetStage(Stage value) {
65 m_stageHasBeenSet = true;
66 m_stage = value;
67 }
69 SetStage(value);
70 return *this;
71 }
73
75
81 inline ClosedLostReason GetClosedLostReason() const { return m_closedLostReason; }
82 inline bool ClosedLostReasonHasBeenSet() const { return m_closedLostReasonHasBeenSet; }
84 m_closedLostReasonHasBeenSet = true;
85 m_closedLostReason = value;
86 }
89 return *this;
90 }
92
94
99 inline const Aws::String& GetNextSteps() const { return m_nextSteps; }
100 inline bool NextStepsHasBeenSet() const { return m_nextStepsHasBeenSet; }
101 template <typename NextStepsT = Aws::String>
102 void SetNextSteps(NextStepsT&& value) {
103 m_nextStepsHasBeenSet = true;
104 m_nextSteps = std::forward<NextStepsT>(value);
105 }
106 template <typename NextStepsT = Aws::String>
107 LifeCycleSummary& WithNextSteps(NextStepsT&& value) {
108 SetNextSteps(std::forward<NextStepsT>(value));
109 return *this;
110 }
112
114
121 inline const Aws::String& GetTargetCloseDate() const { return m_targetCloseDate; }
122 inline bool TargetCloseDateHasBeenSet() const { return m_targetCloseDateHasBeenSet; }
123 template <typename TargetCloseDateT = Aws::String>
124 void SetTargetCloseDate(TargetCloseDateT&& value) {
125 m_targetCloseDateHasBeenSet = true;
126 m_targetCloseDate = std::forward<TargetCloseDateT>(value);
127 }
128 template <typename TargetCloseDateT = Aws::String>
129 LifeCycleSummary& WithTargetCloseDate(TargetCloseDateT&& value) {
130 SetTargetCloseDate(std::forward<TargetCloseDateT>(value));
131 return *this;
132 }
134
136
163 inline ReviewStatus GetReviewStatus() const { return m_reviewStatus; }
164 inline bool ReviewStatusHasBeenSet() const { return m_reviewStatusHasBeenSet; }
165 inline void SetReviewStatus(ReviewStatus value) {
166 m_reviewStatusHasBeenSet = true;
167 m_reviewStatus = value;
168 }
170 SetReviewStatus(value);
171 return *this;
172 }
174
176
180 inline const Aws::String& GetReviewComments() const { return m_reviewComments; }
181 inline bool ReviewCommentsHasBeenSet() const { return m_reviewCommentsHasBeenSet; }
182 template <typename ReviewCommentsT = Aws::String>
183 void SetReviewComments(ReviewCommentsT&& value) {
184 m_reviewCommentsHasBeenSet = true;
185 m_reviewComments = std::forward<ReviewCommentsT>(value);
186 }
187 template <typename ReviewCommentsT = Aws::String>
188 LifeCycleSummary& WithReviewComments(ReviewCommentsT&& value) {
189 SetReviewComments(std::forward<ReviewCommentsT>(value));
190 return *this;
191 }
193
195
201 inline const Aws::String& GetReviewStatusReason() const { return m_reviewStatusReason; }
202 inline bool ReviewStatusReasonHasBeenSet() const { return m_reviewStatusReasonHasBeenSet; }
203 template <typename ReviewStatusReasonT = Aws::String>
204 void SetReviewStatusReason(ReviewStatusReasonT&& value) {
205 m_reviewStatusReasonHasBeenSet = true;
206 m_reviewStatusReason = std::forward<ReviewStatusReasonT>(value);
207 }
208 template <typename ReviewStatusReasonT = Aws::String>
209 LifeCycleSummary& WithReviewStatusReason(ReviewStatusReasonT&& value) {
210 SetReviewStatusReason(std::forward<ReviewStatusReasonT>(value));
211 return *this;
212 }
214 private:
215 Stage m_stage{Stage::NOT_SET};
216
218
219 Aws::String m_nextSteps;
220
221 Aws::String m_targetCloseDate;
222
223 ReviewStatus m_reviewStatus{ReviewStatus::NOT_SET};
224
225 Aws::String m_reviewComments;
226
227 Aws::String m_reviewStatusReason;
228 bool m_stageHasBeenSet = false;
229 bool m_closedLostReasonHasBeenSet = false;
230 bool m_nextStepsHasBeenSet = false;
231 bool m_targetCloseDateHasBeenSet = false;
232 bool m_reviewStatusHasBeenSet = false;
233 bool m_reviewCommentsHasBeenSet = false;
234 bool m_reviewStatusReasonHasBeenSet = false;
235};
236
237} // namespace Model
238} // namespace PartnerCentralSelling
239} // 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