AWS SDK for C++

AWS SDK for C++ Version 1.11.832

Loading...
Searching...
No Matches
ProspectingResultAws.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/partnercentral-selling/PartnerCentralSelling_EXPORTS.h>
10#include <aws/partnercentral-selling/model/ProspectingInsights.h>
11#include <aws/partnercentral-selling/model/ProspectingResultCustomer.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
33 public:
34 AWS_PARTNERCENTRALSELLING_API ProspectingResultAws() = default;
35 AWS_PARTNERCENTRALSELLING_API ProspectingResultAws(Aws::Utils::Json::JsonView jsonValue);
36 AWS_PARTNERCENTRALSELLING_API ProspectingResultAws& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
44 inline const Aws::Utils::DateTime& GetStartTime() const { return m_startTime; }
45 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
46 template <typename StartTimeT = Aws::Utils::DateTime>
47 void SetStartTime(StartTimeT&& value) {
48 m_startTimeHasBeenSet = true;
49 m_startTime = std::forward<StartTimeT>(value);
50 }
51 template <typename StartTimeT = Aws::Utils::DateTime>
52 ProspectingResultAws& WithStartTime(StartTimeT&& value) {
53 SetStartTime(std::forward<StartTimeT>(value));
54 return *this;
55 }
57
59
63 inline const Aws::Utils::DateTime& GetEndTime() const { return m_endTime; }
64 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
65 template <typename EndTimeT = Aws::Utils::DateTime>
66 void SetEndTime(EndTimeT&& value) {
67 m_endTimeHasBeenSet = true;
68 m_endTime = std::forward<EndTimeT>(value);
69 }
70 template <typename EndTimeT = Aws::Utils::DateTime>
71 ProspectingResultAws& WithEndTime(EndTimeT&& value) {
72 SetEndTime(std::forward<EndTimeT>(value));
73 return *this;
74 }
76
78
81 inline const Aws::String& GetTaskId() const { return m_taskId; }
82 inline bool TaskIdHasBeenSet() const { return m_taskIdHasBeenSet; }
83 template <typename TaskIdT = Aws::String>
84 void SetTaskId(TaskIdT&& value) {
85 m_taskIdHasBeenSet = true;
86 m_taskId = std::forward<TaskIdT>(value);
87 }
88 template <typename TaskIdT = Aws::String>
89 ProspectingResultAws& WithTaskId(TaskIdT&& value) {
90 SetTaskId(std::forward<TaskIdT>(value));
91 return *this;
92 }
94
96
100 inline const Aws::String& GetTaskArn() const { return m_taskArn; }
101 inline bool TaskArnHasBeenSet() const { return m_taskArnHasBeenSet; }
102 template <typename TaskArnT = Aws::String>
103 void SetTaskArn(TaskArnT&& value) {
104 m_taskArnHasBeenSet = true;
105 m_taskArn = std::forward<TaskArnT>(value);
106 }
107 template <typename TaskArnT = Aws::String>
109 SetTaskArn(std::forward<TaskArnT>(value));
110 return *this;
111 }
113
115
119 inline const Aws::String& GetTaskName() const { return m_taskName; }
120 inline bool TaskNameHasBeenSet() const { return m_taskNameHasBeenSet; }
121 template <typename TaskNameT = Aws::String>
122 void SetTaskName(TaskNameT&& value) {
123 m_taskNameHasBeenSet = true;
124 m_taskName = std::forward<TaskNameT>(value);
125 }
126 template <typename TaskNameT = Aws::String>
127 ProspectingResultAws& WithTaskName(TaskNameT&& value) {
128 SetTaskName(std::forward<TaskNameT>(value));
129 return *this;
130 }
132
134
138 inline const ProspectingResultCustomer& GetCustomer() const { return m_customer; }
139 inline bool CustomerHasBeenSet() const { return m_customerHasBeenSet; }
140 template <typename CustomerT = ProspectingResultCustomer>
141 void SetCustomer(CustomerT&& value) {
142 m_customerHasBeenSet = true;
143 m_customer = std::forward<CustomerT>(value);
144 }
145 template <typename CustomerT = ProspectingResultCustomer>
146 ProspectingResultAws& WithCustomer(CustomerT&& value) {
147 SetCustomer(std::forward<CustomerT>(value));
148 return *this;
149 }
151
153
158 inline const ProspectingInsights& GetInsights() const { return m_insights; }
159 inline bool InsightsHasBeenSet() const { return m_insightsHasBeenSet; }
160 template <typename InsightsT = ProspectingInsights>
161 void SetInsights(InsightsT&& value) {
162 m_insightsHasBeenSet = true;
163 m_insights = std::forward<InsightsT>(value);
164 }
165 template <typename InsightsT = ProspectingInsights>
166 ProspectingResultAws& WithInsights(InsightsT&& value) {
167 SetInsights(std::forward<InsightsT>(value));
168 return *this;
169 }
171 private:
172 Aws::Utils::DateTime m_startTime{};
173
174 Aws::Utils::DateTime m_endTime{};
175
176 Aws::String m_taskId;
177
178 Aws::String m_taskArn;
179
180 Aws::String m_taskName;
181
182 ProspectingResultCustomer m_customer;
183
184 ProspectingInsights m_insights;
185 bool m_startTimeHasBeenSet = false;
186 bool m_endTimeHasBeenSet = false;
187 bool m_taskIdHasBeenSet = false;
188 bool m_taskArnHasBeenSet = false;
189 bool m_taskNameHasBeenSet = false;
190 bool m_customerHasBeenSet = false;
191 bool m_insightsHasBeenSet = false;
192};
193
194} // namespace Model
195} // namespace PartnerCentralSelling
196} // namespace Aws
ProspectingResultAws & WithTaskArn(TaskArnT &&value)
ProspectingResultAws & WithInsights(InsightsT &&value)
AWS_PARTNERCENTRALSELLING_API ProspectingResultAws(Aws::Utils::Json::JsonView jsonValue)
ProspectingResultAws & WithEndTime(EndTimeT &&value)
AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_PARTNERCENTRALSELLING_API ProspectingResultAws()=default
ProspectingResultAws & WithCustomer(CustomerT &&value)
ProspectingResultAws & WithStartTime(StartTimeT &&value)
ProspectingResultAws & WithTaskName(TaskNameT &&value)
const ProspectingResultCustomer & GetCustomer() const
AWS_PARTNERCENTRALSELLING_API ProspectingResultAws & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue