AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ContactEvaluation.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/connect/model/Status.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Connect
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_CONNECT_API ContactEvaluation() = default;
40 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetFormId() const { return m_formId; }
48 inline bool FormIdHasBeenSet() const { return m_formIdHasBeenSet; }
49 template<typename FormIdT = Aws::String>
50 void SetFormId(FormIdT&& value) { m_formIdHasBeenSet = true; m_formId = std::forward<FormIdT>(value); }
51 template<typename FormIdT = Aws::String>
52 ContactEvaluation& WithFormId(FormIdT&& value) { SetFormId(std::forward<FormIdT>(value)); return *this;}
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) { m_evaluationArnHasBeenSet = true; m_evaluationArn = std::forward<EvaluationArnT>(value); }
63 template<typename EvaluationArnT = Aws::String>
64 ContactEvaluation& WithEvaluationArn(EvaluationArnT&& value) { SetEvaluationArn(std::forward<EvaluationArnT>(value)); return *this;}
66
68
71 inline Status GetStatus() const { return m_status; }
72 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
73 inline void SetStatus(Status value) { m_statusHasBeenSet = true; m_status = value; }
74 inline ContactEvaluation& WithStatus(Status value) { SetStatus(value); return *this;}
76
78
81 inline const Aws::Utils::DateTime& GetStartTimestamp() const { return m_startTimestamp; }
82 inline bool StartTimestampHasBeenSet() const { return m_startTimestampHasBeenSet; }
83 template<typename StartTimestampT = Aws::Utils::DateTime>
84 void SetStartTimestamp(StartTimestampT&& value) { m_startTimestampHasBeenSet = true; m_startTimestamp = std::forward<StartTimestampT>(value); }
85 template<typename StartTimestampT = Aws::Utils::DateTime>
86 ContactEvaluation& WithStartTimestamp(StartTimestampT&& value) { SetStartTimestamp(std::forward<StartTimestampT>(value)); return *this;}
88
90
93 inline const Aws::Utils::DateTime& GetEndTimestamp() const { return m_endTimestamp; }
94 inline bool EndTimestampHasBeenSet() const { return m_endTimestampHasBeenSet; }
95 template<typename EndTimestampT = Aws::Utils::DateTime>
96 void SetEndTimestamp(EndTimestampT&& value) { m_endTimestampHasBeenSet = true; m_endTimestamp = std::forward<EndTimestampT>(value); }
97 template<typename EndTimestampT = Aws::Utils::DateTime>
98 ContactEvaluation& WithEndTimestamp(EndTimestampT&& value) { SetEndTimestamp(std::forward<EndTimestampT>(value)); return *this;}
100
102
105 inline const Aws::Utils::DateTime& GetDeleteTimestamp() const { return m_deleteTimestamp; }
106 inline bool DeleteTimestampHasBeenSet() const { return m_deleteTimestampHasBeenSet; }
107 template<typename DeleteTimestampT = Aws::Utils::DateTime>
108 void SetDeleteTimestamp(DeleteTimestampT&& value) { m_deleteTimestampHasBeenSet = true; m_deleteTimestamp = std::forward<DeleteTimestampT>(value); }
109 template<typename DeleteTimestampT = Aws::Utils::DateTime>
110 ContactEvaluation& WithDeleteTimestamp(DeleteTimestampT&& value) { SetDeleteTimestamp(std::forward<DeleteTimestampT>(value)); return *this;}
112
114
117 inline const Aws::String& GetExportLocation() const { return m_exportLocation; }
118 inline bool ExportLocationHasBeenSet() const { return m_exportLocationHasBeenSet; }
119 template<typename ExportLocationT = Aws::String>
120 void SetExportLocation(ExportLocationT&& value) { m_exportLocationHasBeenSet = true; m_exportLocation = std::forward<ExportLocationT>(value); }
121 template<typename ExportLocationT = Aws::String>
122 ContactEvaluation& WithExportLocation(ExportLocationT&& value) { SetExportLocation(std::forward<ExportLocationT>(value)); return *this;}
124 private:
125
126 Aws::String m_formId;
127 bool m_formIdHasBeenSet = false;
128
129 Aws::String m_evaluationArn;
130 bool m_evaluationArnHasBeenSet = false;
131
132 Status m_status{Status::NOT_SET};
133 bool m_statusHasBeenSet = false;
134
135 Aws::Utils::DateTime m_startTimestamp{};
136 bool m_startTimestampHasBeenSet = false;
137
138 Aws::Utils::DateTime m_endTimestamp{};
139 bool m_endTimestampHasBeenSet = false;
140
141 Aws::Utils::DateTime m_deleteTimestamp{};
142 bool m_deleteTimestampHasBeenSet = false;
143
144 Aws::String m_exportLocation;
145 bool m_exportLocationHasBeenSet = false;
146 };
147
148} // namespace Model
149} // namespace Connect
150} // 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