AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
AwsOpportunityLifeCycle.h
1
6#pragma once
7#include <aws/partnercentral-selling/PartnerCentralSelling_EXPORTS.h>
8#include <aws/partnercentral-selling/model/AwsClosedLostReason.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/AwsOpportunityStage.h>
12#include <aws/partnercentral-selling/model/ProfileNextStepsHistory.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace PartnerCentralSelling
26{
27namespace Model
28{
29
38 {
39 public:
40 AWS_PARTNERCENTRALSELLING_API AwsOpportunityLifeCycle() = default;
41 AWS_PARTNERCENTRALSELLING_API AwsOpportunityLifeCycle(Aws::Utils::Json::JsonView jsonValue);
42 AWS_PARTNERCENTRALSELLING_API AwsOpportunityLifeCycle& operator=(Aws::Utils::Json::JsonView jsonValue);
43 AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
52 inline AwsClosedLostReason GetClosedLostReason() const { return m_closedLostReason; }
53 inline bool ClosedLostReasonHasBeenSet() const { return m_closedLostReasonHasBeenSet; }
54 inline void SetClosedLostReason(AwsClosedLostReason value) { m_closedLostReasonHasBeenSet = true; m_closedLostReason = value; }
57
59
64 inline const Aws::String& GetNextSteps() const { return m_nextSteps; }
65 inline bool NextStepsHasBeenSet() const { return m_nextStepsHasBeenSet; }
66 template<typename NextStepsT = Aws::String>
67 void SetNextSteps(NextStepsT&& value) { m_nextStepsHasBeenSet = true; m_nextSteps = std::forward<NextStepsT>(value); }
68 template<typename NextStepsT = Aws::String>
69 AwsOpportunityLifeCycle& WithNextSteps(NextStepsT&& value) { SetNextSteps(std::forward<NextStepsT>(value)); return *this;}
71
73
78 inline const Aws::Vector<ProfileNextStepsHistory>& GetNextStepsHistory() const { return m_nextStepsHistory; }
79 inline bool NextStepsHistoryHasBeenSet() const { return m_nextStepsHistoryHasBeenSet; }
80 template<typename NextStepsHistoryT = Aws::Vector<ProfileNextStepsHistory>>
81 void SetNextStepsHistory(NextStepsHistoryT&& value) { m_nextStepsHistoryHasBeenSet = true; m_nextStepsHistory = std::forward<NextStepsHistoryT>(value); }
82 template<typename NextStepsHistoryT = Aws::Vector<ProfileNextStepsHistory>>
83 AwsOpportunityLifeCycle& WithNextStepsHistory(NextStepsHistoryT&& value) { SetNextStepsHistory(std::forward<NextStepsHistoryT>(value)); return *this;}
84 template<typename NextStepsHistoryT = ProfileNextStepsHistory>
85 AwsOpportunityLifeCycle& AddNextStepsHistory(NextStepsHistoryT&& value) { m_nextStepsHistoryHasBeenSet = true; m_nextStepsHistory.emplace_back(std::forward<NextStepsHistoryT>(value)); return *this; }
87
89
94 inline AwsOpportunityStage GetStage() const { return m_stage; }
95 inline bool StageHasBeenSet() const { return m_stageHasBeenSet; }
96 inline void SetStage(AwsOpportunityStage value) { m_stageHasBeenSet = true; m_stage = value; }
97 inline AwsOpportunityLifeCycle& WithStage(AwsOpportunityStage value) { SetStage(value); return *this;}
99
101
106 inline const Aws::String& GetTargetCloseDate() const { return m_targetCloseDate; }
107 inline bool TargetCloseDateHasBeenSet() const { return m_targetCloseDateHasBeenSet; }
108 template<typename TargetCloseDateT = Aws::String>
109 void SetTargetCloseDate(TargetCloseDateT&& value) { m_targetCloseDateHasBeenSet = true; m_targetCloseDate = std::forward<TargetCloseDateT>(value); }
110 template<typename TargetCloseDateT = Aws::String>
111 AwsOpportunityLifeCycle& WithTargetCloseDate(TargetCloseDateT&& value) { SetTargetCloseDate(std::forward<TargetCloseDateT>(value)); return *this;}
113 private:
114
116 bool m_closedLostReasonHasBeenSet = false;
117
118 Aws::String m_nextSteps;
119 bool m_nextStepsHasBeenSet = false;
120
121 Aws::Vector<ProfileNextStepsHistory> m_nextStepsHistory;
122 bool m_nextStepsHistoryHasBeenSet = false;
123
125 bool m_stageHasBeenSet = false;
126
127 Aws::String m_targetCloseDate;
128 bool m_targetCloseDateHasBeenSet = false;
129 };
130
131} // namespace Model
132} // namespace PartnerCentralSelling
133} // namespace Aws
AwsOpportunityLifeCycle & WithClosedLostReason(AwsClosedLostReason value)
AwsOpportunityLifeCycle & WithNextSteps(NextStepsT &&value)
AwsOpportunityLifeCycle & WithTargetCloseDate(TargetCloseDateT &&value)
AwsOpportunityLifeCycle & WithNextStepsHistory(NextStepsHistoryT &&value)
AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_PARTNERCENTRALSELLING_API AwsOpportunityLifeCycle()=default
const Aws::Vector< ProfileNextStepsHistory > & GetNextStepsHistory() const
AwsOpportunityLifeCycle & AddNextStepsHistory(NextStepsHistoryT &&value)
AWS_PARTNERCENTRALSELLING_API AwsOpportunityLifeCycle(Aws::Utils::Json::JsonView jsonValue)
AWS_PARTNERCENTRALSELLING_API AwsOpportunityLifeCycle & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsOpportunityLifeCycle & WithStage(AwsOpportunityStage 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