AWS SDK for C++

AWS SDK for C++ Version 1.11.870

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 ProspectingResultCustomer& GetCustomer() const { return m_customer; }
45 inline bool CustomerHasBeenSet() const { return m_customerHasBeenSet; }
46 template <typename CustomerT = ProspectingResultCustomer>
47 void SetCustomer(CustomerT&& value) {
48 m_customerHasBeenSet = true;
49 m_customer = std::forward<CustomerT>(value);
50 }
51 template <typename CustomerT = ProspectingResultCustomer>
52 ProspectingResultAws& WithCustomer(CustomerT&& value) {
53 SetCustomer(std::forward<CustomerT>(value));
54 return *this;
55 }
57
59
64 inline const ProspectingInsights& GetInsights() const { return m_insights; }
65 inline bool InsightsHasBeenSet() const { return m_insightsHasBeenSet; }
66 template <typename InsightsT = ProspectingInsights>
67 void SetInsights(InsightsT&& value) {
68 m_insightsHasBeenSet = true;
69 m_insights = std::forward<InsightsT>(value);
70 }
71 template <typename InsightsT = ProspectingInsights>
72 ProspectingResultAws& WithInsights(InsightsT&& value) {
73 SetInsights(std::forward<InsightsT>(value));
74 return *this;
75 }
77
79
83 inline const Aws::Utils::DateTime& GetStartTime() const { return m_startTime; }
84 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
85 template <typename StartTimeT = Aws::Utils::DateTime>
86 void SetStartTime(StartTimeT&& value) {
87 m_startTimeHasBeenSet = true;
88 m_startTime = std::forward<StartTimeT>(value);
89 }
90 template <typename StartTimeT = Aws::Utils::DateTime>
91 ProspectingResultAws& WithStartTime(StartTimeT&& value) {
92 SetStartTime(std::forward<StartTimeT>(value));
93 return *this;
94 }
96
98
102 inline const Aws::Utils::DateTime& GetEndTime() const { return m_endTime; }
103 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
104 template <typename EndTimeT = Aws::Utils::DateTime>
105 void SetEndTime(EndTimeT&& value) {
106 m_endTimeHasBeenSet = true;
107 m_endTime = std::forward<EndTimeT>(value);
108 }
109 template <typename EndTimeT = Aws::Utils::DateTime>
111 SetEndTime(std::forward<EndTimeT>(value));
112 return *this;
113 }
115
117
120 inline const Aws::String& GetTaskId() const { return m_taskId; }
121 inline bool TaskIdHasBeenSet() const { return m_taskIdHasBeenSet; }
122 template <typename TaskIdT = Aws::String>
123 void SetTaskId(TaskIdT&& value) {
124 m_taskIdHasBeenSet = true;
125 m_taskId = std::forward<TaskIdT>(value);
126 }
127 template <typename TaskIdT = Aws::String>
129 SetTaskId(std::forward<TaskIdT>(value));
130 return *this;
131 }
133
135
139 inline const Aws::String& GetTaskArn() const { return m_taskArn; }
140 inline bool TaskArnHasBeenSet() const { return m_taskArnHasBeenSet; }
141 template <typename TaskArnT = Aws::String>
142 void SetTaskArn(TaskArnT&& value) {
143 m_taskArnHasBeenSet = true;
144 m_taskArn = std::forward<TaskArnT>(value);
145 }
146 template <typename TaskArnT = Aws::String>
148 SetTaskArn(std::forward<TaskArnT>(value));
149 return *this;
150 }
152
154
158 inline const Aws::String& GetTaskName() const { return m_taskName; }
159 inline bool TaskNameHasBeenSet() const { return m_taskNameHasBeenSet; }
160 template <typename TaskNameT = Aws::String>
161 void SetTaskName(TaskNameT&& value) {
162 m_taskNameHasBeenSet = true;
163 m_taskName = std::forward<TaskNameT>(value);
164 }
165 template <typename TaskNameT = Aws::String>
166 ProspectingResultAws& WithTaskName(TaskNameT&& value) {
167 SetTaskName(std::forward<TaskNameT>(value));
168 return *this;
169 }
171 private:
172 ProspectingResultCustomer m_customer;
173
174 ProspectingInsights m_insights;
175
176 Aws::Utils::DateTime m_startTime{};
177
178 Aws::Utils::DateTime m_endTime{};
179
180 Aws::String m_taskId;
181
182 Aws::String m_taskArn;
183
184 Aws::String m_taskName;
185 bool m_customerHasBeenSet = false;
186 bool m_insightsHasBeenSet = false;
187 bool m_startTimeHasBeenSet = false;
188 bool m_endTimeHasBeenSet = false;
189 bool m_taskIdHasBeenSet = false;
190 bool m_taskArnHasBeenSet = false;
191 bool m_taskNameHasBeenSet = 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