AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
ContactEvaluation.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/Status.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Connect {
22namespace Model {
23
31 public:
32 AWS_CONNECT_API ContactEvaluation() = default;
35 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetFormId() const { return m_formId; }
42 inline bool FormIdHasBeenSet() const { return m_formIdHasBeenSet; }
43 template <typename FormIdT = Aws::String>
44 void SetFormId(FormIdT&& value) {
45 m_formIdHasBeenSet = true;
46 m_formId = std::forward<FormIdT>(value);
47 }
48 template <typename FormIdT = Aws::String>
49 ContactEvaluation& WithFormId(FormIdT&& value) {
50 SetFormId(std::forward<FormIdT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetEvaluationArn() const { return m_evaluationArn; }
60 inline bool EvaluationArnHasBeenSet() const { return m_evaluationArnHasBeenSet; }
61 template <typename EvaluationArnT = Aws::String>
62 void SetEvaluationArn(EvaluationArnT&& value) {
63 m_evaluationArnHasBeenSet = true;
64 m_evaluationArn = std::forward<EvaluationArnT>(value);
65 }
66 template <typename EvaluationArnT = Aws::String>
67 ContactEvaluation& WithEvaluationArn(EvaluationArnT&& value) {
68 SetEvaluationArn(std::forward<EvaluationArnT>(value));
69 return *this;
70 }
72
74
77 inline Status GetStatus() const { return m_status; }
78 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
79 inline void SetStatus(Status value) {
80 m_statusHasBeenSet = true;
81 m_status = value;
82 }
84 SetStatus(value);
85 return *this;
86 }
88
90
93 inline const Aws::Utils::DateTime& GetStartTimestamp() const { return m_startTimestamp; }
94 inline bool StartTimestampHasBeenSet() const { return m_startTimestampHasBeenSet; }
95 template <typename StartTimestampT = Aws::Utils::DateTime>
96 void SetStartTimestamp(StartTimestampT&& value) {
97 m_startTimestampHasBeenSet = true;
98 m_startTimestamp = std::forward<StartTimestampT>(value);
99 }
100 template <typename StartTimestampT = Aws::Utils::DateTime>
101 ContactEvaluation& WithStartTimestamp(StartTimestampT&& value) {
102 SetStartTimestamp(std::forward<StartTimestampT>(value));
103 return *this;
104 }
106
108
111 inline const Aws::Utils::DateTime& GetEndTimestamp() const { return m_endTimestamp; }
112 inline bool EndTimestampHasBeenSet() const { return m_endTimestampHasBeenSet; }
113 template <typename EndTimestampT = Aws::Utils::DateTime>
114 void SetEndTimestamp(EndTimestampT&& value) {
115 m_endTimestampHasBeenSet = true;
116 m_endTimestamp = std::forward<EndTimestampT>(value);
117 }
118 template <typename EndTimestampT = Aws::Utils::DateTime>
119 ContactEvaluation& WithEndTimestamp(EndTimestampT&& value) {
120 SetEndTimestamp(std::forward<EndTimestampT>(value));
121 return *this;
122 }
124
126
129 inline const Aws::Utils::DateTime& GetDeleteTimestamp() const { return m_deleteTimestamp; }
130 inline bool DeleteTimestampHasBeenSet() const { return m_deleteTimestampHasBeenSet; }
131 template <typename DeleteTimestampT = Aws::Utils::DateTime>
132 void SetDeleteTimestamp(DeleteTimestampT&& value) {
133 m_deleteTimestampHasBeenSet = true;
134 m_deleteTimestamp = std::forward<DeleteTimestampT>(value);
135 }
136 template <typename DeleteTimestampT = Aws::Utils::DateTime>
137 ContactEvaluation& WithDeleteTimestamp(DeleteTimestampT&& value) {
138 SetDeleteTimestamp(std::forward<DeleteTimestampT>(value));
139 return *this;
140 }
142
144
147 inline const Aws::String& GetExportLocation() const { return m_exportLocation; }
148 inline bool ExportLocationHasBeenSet() const { return m_exportLocationHasBeenSet; }
149 template <typename ExportLocationT = Aws::String>
150 void SetExportLocation(ExportLocationT&& value) {
151 m_exportLocationHasBeenSet = true;
152 m_exportLocation = std::forward<ExportLocationT>(value);
153 }
154 template <typename ExportLocationT = Aws::String>
155 ContactEvaluation& WithExportLocation(ExportLocationT&& value) {
156 SetExportLocation(std::forward<ExportLocationT>(value));
157 return *this;
158 }
160 private:
161 Aws::String m_formId;
162
163 Aws::String m_evaluationArn;
164
165 Status m_status{Status::NOT_SET};
166
167 Aws::Utils::DateTime m_startTimestamp{};
168
169 Aws::Utils::DateTime m_endTimestamp{};
170
171 Aws::Utils::DateTime m_deleteTimestamp{};
172
173 Aws::String m_exportLocation;
174 bool m_formIdHasBeenSet = false;
175 bool m_evaluationArnHasBeenSet = false;
176 bool m_statusHasBeenSet = false;
177 bool m_startTimestampHasBeenSet = false;
178 bool m_endTimestampHasBeenSet = false;
179 bool m_deleteTimestampHasBeenSet = false;
180 bool m_exportLocationHasBeenSet = false;
181};
182
183} // namespace Model
184} // namespace Connect
185} // namespace Aws
void SetStartTimestamp(StartTimestampT &&value)
ContactEvaluation & WithEvaluationArn(EvaluationArnT &&value)
const Aws::Utils::DateTime & GetStartTimestamp() const
AWS_CONNECT_API ContactEvaluation & operator=(Aws::Utils::Json::JsonView jsonValue)
ContactEvaluation & WithEndTimestamp(EndTimestampT &&value)
ContactEvaluation & WithDeleteTimestamp(DeleteTimestampT &&value)
ContactEvaluation & WithStartTimestamp(StartTimestampT &&value)
AWS_CONNECT_API ContactEvaluation(Aws::Utils::Json::JsonView jsonValue)
void SetEvaluationArn(EvaluationArnT &&value)
AWS_CONNECT_API ContactEvaluation()=default
void SetEndTimestamp(EndTimestampT &&value)
ContactEvaluation & WithStatus(Status value)
const Aws::Utils::DateTime & GetDeleteTimestamp() const
ContactEvaluation & WithExportLocation(ExportLocationT &&value)
void SetDeleteTimestamp(DeleteTimestampT &&value)
const Aws::Utils::DateTime & GetEndTimestamp() const
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetExportLocation(ExportLocationT &&value)
const Aws::String & GetFormId() const
const Aws::String & GetExportLocation() const
ContactEvaluation & WithFormId(FormIdT &&value)
const Aws::String & GetEvaluationArn() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue