AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
LifeCycleSummary.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/partnercentral-selling/model/ReviewStatus.h>
11#include <aws/partnercentral-selling/model/Stage.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
51 inline ClosedLostReason GetClosedLostReason() const { return m_closedLostReason; }
52 inline bool ClosedLostReasonHasBeenSet() const { return m_closedLostReasonHasBeenSet; }
53 inline void SetClosedLostReason(ClosedLostReason value) { m_closedLostReasonHasBeenSet = true; m_closedLostReason = value; }
56
58
63 inline const Aws::String& GetNextSteps() const { return m_nextSteps; }
64 inline bool NextStepsHasBeenSet() const { return m_nextStepsHasBeenSet; }
65 template<typename NextStepsT = Aws::String>
66 void SetNextSteps(NextStepsT&& value) { m_nextStepsHasBeenSet = true; m_nextSteps = std::forward<NextStepsT>(value); }
67 template<typename NextStepsT = Aws::String>
68 LifeCycleSummary& WithNextSteps(NextStepsT&& value) { SetNextSteps(std::forward<NextStepsT>(value)); return *this;}
70
72
76 inline const Aws::String& GetReviewComments() const { return m_reviewComments; }
77 inline bool ReviewCommentsHasBeenSet() const { return m_reviewCommentsHasBeenSet; }
78 template<typename ReviewCommentsT = Aws::String>
79 void SetReviewComments(ReviewCommentsT&& value) { m_reviewCommentsHasBeenSet = true; m_reviewComments = std::forward<ReviewCommentsT>(value); }
80 template<typename ReviewCommentsT = Aws::String>
81 LifeCycleSummary& WithReviewComments(ReviewCommentsT&& value) { SetReviewComments(std::forward<ReviewCommentsT>(value)); return *this;}
83
85
112 inline ReviewStatus GetReviewStatus() const { return m_reviewStatus; }
113 inline bool ReviewStatusHasBeenSet() const { return m_reviewStatusHasBeenSet; }
114 inline void SetReviewStatus(ReviewStatus value) { m_reviewStatusHasBeenSet = true; m_reviewStatus = value; }
115 inline LifeCycleSummary& WithReviewStatus(ReviewStatus value) { SetReviewStatus(value); return *this;}
117
119
125 inline const Aws::String& GetReviewStatusReason() const { return m_reviewStatusReason; }
126 inline bool ReviewStatusReasonHasBeenSet() const { return m_reviewStatusReasonHasBeenSet; }
127 template<typename ReviewStatusReasonT = Aws::String>
128 void SetReviewStatusReason(ReviewStatusReasonT&& value) { m_reviewStatusReasonHasBeenSet = true; m_reviewStatusReason = std::forward<ReviewStatusReasonT>(value); }
129 template<typename ReviewStatusReasonT = Aws::String>
130 LifeCycleSummary& WithReviewStatusReason(ReviewStatusReasonT&& value) { SetReviewStatusReason(std::forward<ReviewStatusReasonT>(value)); return *this;}
132
134
157 inline Stage GetStage() const { return m_stage; }
158 inline bool StageHasBeenSet() const { return m_stageHasBeenSet; }
159 inline void SetStage(Stage value) { m_stageHasBeenSet = true; m_stage = value; }
160 inline LifeCycleSummary& WithStage(Stage value) { SetStage(value); return *this;}
162
164
171 inline const Aws::String& GetTargetCloseDate() const { return m_targetCloseDate; }
172 inline bool TargetCloseDateHasBeenSet() const { return m_targetCloseDateHasBeenSet; }
173 template<typename TargetCloseDateT = Aws::String>
174 void SetTargetCloseDate(TargetCloseDateT&& value) { m_targetCloseDateHasBeenSet = true; m_targetCloseDate = std::forward<TargetCloseDateT>(value); }
175 template<typename TargetCloseDateT = Aws::String>
176 LifeCycleSummary& WithTargetCloseDate(TargetCloseDateT&& value) { SetTargetCloseDate(std::forward<TargetCloseDateT>(value)); return *this;}
178 private:
179
181 bool m_closedLostReasonHasBeenSet = false;
182
183 Aws::String m_nextSteps;
184 bool m_nextStepsHasBeenSet = false;
185
186 Aws::String m_reviewComments;
187 bool m_reviewCommentsHasBeenSet = false;
188
189 ReviewStatus m_reviewStatus{ReviewStatus::NOT_SET};
190 bool m_reviewStatusHasBeenSet = false;
191
192 Aws::String m_reviewStatusReason;
193 bool m_reviewStatusReasonHasBeenSet = false;
194
195 Stage m_stage{Stage::NOT_SET};
196 bool m_stageHasBeenSet = false;
197
198 Aws::String m_targetCloseDate;
199 bool m_targetCloseDateHasBeenSet = 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