AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
LifeCycleForView.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/ReviewStatus.h>
10#include <aws/partnercentral-selling/model/Stage.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace PartnerCentralSelling {
22namespace Model {
23
31 public:
32 AWS_PARTNERCENTRALSELLING_API LifeCycleForView() = default;
33 AWS_PARTNERCENTRALSELLING_API LifeCycleForView(Aws::Utils::Json::JsonView jsonValue);
34 AWS_PARTNERCENTRALSELLING_API LifeCycleForView& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetTargetCloseDate() const { return m_targetCloseDate; }
42 inline bool TargetCloseDateHasBeenSet() const { return m_targetCloseDateHasBeenSet; }
43 template <typename TargetCloseDateT = Aws::String>
44 void SetTargetCloseDate(TargetCloseDateT&& value) {
45 m_targetCloseDateHasBeenSet = true;
46 m_targetCloseDate = std::forward<TargetCloseDateT>(value);
47 }
48 template <typename TargetCloseDateT = Aws::String>
49 LifeCycleForView& WithTargetCloseDate(TargetCloseDateT&& value) {
50 SetTargetCloseDate(std::forward<TargetCloseDateT>(value));
51 return *this;
52 }
54
56
60 inline ReviewStatus GetReviewStatus() const { return m_reviewStatus; }
61 inline bool ReviewStatusHasBeenSet() const { return m_reviewStatusHasBeenSet; }
62 inline void SetReviewStatus(ReviewStatus value) {
63 m_reviewStatusHasBeenSet = true;
64 m_reviewStatus = value;
65 }
67 SetReviewStatus(value);
68 return *this;
69 }
71
73
76 inline Stage GetStage() const { return m_stage; }
77 inline bool StageHasBeenSet() const { return m_stageHasBeenSet; }
78 inline void SetStage(Stage value) {
79 m_stageHasBeenSet = true;
80 m_stage = value;
81 }
83 SetStage(value);
84 return *this;
85 }
87
89
92 inline const Aws::String& GetNextSteps() const { return m_nextSteps; }
93 inline bool NextStepsHasBeenSet() const { return m_nextStepsHasBeenSet; }
94 template <typename NextStepsT = Aws::String>
95 void SetNextSteps(NextStepsT&& value) {
96 m_nextStepsHasBeenSet = true;
97 m_nextSteps = std::forward<NextStepsT>(value);
98 }
99 template <typename NextStepsT = Aws::String>
100 LifeCycleForView& WithNextSteps(NextStepsT&& value) {
101 SetNextSteps(std::forward<NextStepsT>(value));
102 return *this;
103 }
105 private:
106 Aws::String m_targetCloseDate;
107
108 ReviewStatus m_reviewStatus{ReviewStatus::NOT_SET};
109
110 Stage m_stage{Stage::NOT_SET};
111
112 Aws::String m_nextSteps;
113 bool m_targetCloseDateHasBeenSet = false;
114 bool m_reviewStatusHasBeenSet = false;
115 bool m_stageHasBeenSet = false;
116 bool m_nextStepsHasBeenSet = false;
117};
118
119} // namespace Model
120} // namespace PartnerCentralSelling
121} // namespace Aws
AWS_PARTNERCENTRALSELLING_API LifeCycleForView(Aws::Utils::Json::JsonView jsonValue)
LifeCycleForView & WithTargetCloseDate(TargetCloseDateT &&value)
AWS_PARTNERCENTRALSELLING_API LifeCycleForView()=default
LifeCycleForView & WithReviewStatus(ReviewStatus value)
AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const
LifeCycleForView & WithNextSteps(NextStepsT &&value)
AWS_PARTNERCENTRALSELLING_API LifeCycleForView & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue