AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EvaluationFormSummary.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Connect
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_CONNECT_API EvaluationFormSummary();
38 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetEvaluationFormId() const{ return m_evaluationFormId; }
46 inline bool EvaluationFormIdHasBeenSet() const { return m_evaluationFormIdHasBeenSet; }
47 inline void SetEvaluationFormId(const Aws::String& value) { m_evaluationFormIdHasBeenSet = true; m_evaluationFormId = value; }
48 inline void SetEvaluationFormId(Aws::String&& value) { m_evaluationFormIdHasBeenSet = true; m_evaluationFormId = std::move(value); }
49 inline void SetEvaluationFormId(const char* value) { m_evaluationFormIdHasBeenSet = true; m_evaluationFormId.assign(value); }
50 inline EvaluationFormSummary& WithEvaluationFormId(const Aws::String& value) { SetEvaluationFormId(value); return *this;}
51 inline EvaluationFormSummary& WithEvaluationFormId(Aws::String&& value) { SetEvaluationFormId(std::move(value)); return *this;}
52 inline EvaluationFormSummary& WithEvaluationFormId(const char* value) { SetEvaluationFormId(value); return *this;}
54
56
59 inline const Aws::String& GetEvaluationFormArn() const{ return m_evaluationFormArn; }
60 inline bool EvaluationFormArnHasBeenSet() const { return m_evaluationFormArnHasBeenSet; }
61 inline void SetEvaluationFormArn(const Aws::String& value) { m_evaluationFormArnHasBeenSet = true; m_evaluationFormArn = value; }
62 inline void SetEvaluationFormArn(Aws::String&& value) { m_evaluationFormArnHasBeenSet = true; m_evaluationFormArn = std::move(value); }
63 inline void SetEvaluationFormArn(const char* value) { m_evaluationFormArnHasBeenSet = true; m_evaluationFormArn.assign(value); }
64 inline EvaluationFormSummary& WithEvaluationFormArn(const Aws::String& value) { SetEvaluationFormArn(value); return *this;}
65 inline EvaluationFormSummary& WithEvaluationFormArn(Aws::String&& value) { SetEvaluationFormArn(std::move(value)); return *this;}
66 inline EvaluationFormSummary& WithEvaluationFormArn(const char* value) { SetEvaluationFormArn(value); return *this;}
68
70
73 inline const Aws::String& GetTitle() const{ return m_title; }
74 inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
75 inline void SetTitle(const Aws::String& value) { m_titleHasBeenSet = true; m_title = value; }
76 inline void SetTitle(Aws::String&& value) { m_titleHasBeenSet = true; m_title = std::move(value); }
77 inline void SetTitle(const char* value) { m_titleHasBeenSet = true; m_title.assign(value); }
78 inline EvaluationFormSummary& WithTitle(const Aws::String& value) { SetTitle(value); return *this;}
79 inline EvaluationFormSummary& WithTitle(Aws::String&& value) { SetTitle(std::move(value)); return *this;}
80 inline EvaluationFormSummary& WithTitle(const char* value) { SetTitle(value); return *this;}
82
84
87 inline const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; }
88 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
89 inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; }
90 inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); }
91 inline EvaluationFormSummary& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;}
92 inline EvaluationFormSummary& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;}
94
96
100 inline const Aws::String& GetCreatedBy() const{ return m_createdBy; }
101 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
102 inline void SetCreatedBy(const Aws::String& value) { m_createdByHasBeenSet = true; m_createdBy = value; }
103 inline void SetCreatedBy(Aws::String&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); }
104 inline void SetCreatedBy(const char* value) { m_createdByHasBeenSet = true; m_createdBy.assign(value); }
105 inline EvaluationFormSummary& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;}
106 inline EvaluationFormSummary& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;}
107 inline EvaluationFormSummary& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;}
109
111
114 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
115 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
116 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; }
117 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); }
119 inline EvaluationFormSummary& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
121
123
127 inline const Aws::String& GetLastModifiedBy() const{ return m_lastModifiedBy; }
128 inline bool LastModifiedByHasBeenSet() const { return m_lastModifiedByHasBeenSet; }
129 inline void SetLastModifiedBy(const Aws::String& value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy = value; }
130 inline void SetLastModifiedBy(Aws::String&& value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy = std::move(value); }
131 inline void SetLastModifiedBy(const char* value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy.assign(value); }
132 inline EvaluationFormSummary& WithLastModifiedBy(const Aws::String& value) { SetLastModifiedBy(value); return *this;}
133 inline EvaluationFormSummary& WithLastModifiedBy(Aws::String&& value) { SetLastModifiedBy(std::move(value)); return *this;}
134 inline EvaluationFormSummary& WithLastModifiedBy(const char* value) { SetLastModifiedBy(value); return *this;}
136
138
141 inline const Aws::Utils::DateTime& GetLastActivatedTime() const{ return m_lastActivatedTime; }
142 inline bool LastActivatedTimeHasBeenSet() const { return m_lastActivatedTimeHasBeenSet; }
143 inline void SetLastActivatedTime(const Aws::Utils::DateTime& value) { m_lastActivatedTimeHasBeenSet = true; m_lastActivatedTime = value; }
144 inline void SetLastActivatedTime(Aws::Utils::DateTime&& value) { m_lastActivatedTimeHasBeenSet = true; m_lastActivatedTime = std::move(value); }
148
150
154 inline const Aws::String& GetLastActivatedBy() const{ return m_lastActivatedBy; }
155 inline bool LastActivatedByHasBeenSet() const { return m_lastActivatedByHasBeenSet; }
156 inline void SetLastActivatedBy(const Aws::String& value) { m_lastActivatedByHasBeenSet = true; m_lastActivatedBy = value; }
157 inline void SetLastActivatedBy(Aws::String&& value) { m_lastActivatedByHasBeenSet = true; m_lastActivatedBy = std::move(value); }
158 inline void SetLastActivatedBy(const char* value) { m_lastActivatedByHasBeenSet = true; m_lastActivatedBy.assign(value); }
159 inline EvaluationFormSummary& WithLastActivatedBy(const Aws::String& value) { SetLastActivatedBy(value); return *this;}
160 inline EvaluationFormSummary& WithLastActivatedBy(Aws::String&& value) { SetLastActivatedBy(std::move(value)); return *this;}
161 inline EvaluationFormSummary& WithLastActivatedBy(const char* value) { SetLastActivatedBy(value); return *this;}
163
165
168 inline int GetLatestVersion() const{ return m_latestVersion; }
169 inline bool LatestVersionHasBeenSet() const { return m_latestVersionHasBeenSet; }
170 inline void SetLatestVersion(int value) { m_latestVersionHasBeenSet = true; m_latestVersion = value; }
171 inline EvaluationFormSummary& WithLatestVersion(int value) { SetLatestVersion(value); return *this;}
173
175
178 inline int GetActiveVersion() const{ return m_activeVersion; }
179 inline bool ActiveVersionHasBeenSet() const { return m_activeVersionHasBeenSet; }
180 inline void SetActiveVersion(int value) { m_activeVersionHasBeenSet = true; m_activeVersion = value; }
181 inline EvaluationFormSummary& WithActiveVersion(int value) { SetActiveVersion(value); return *this;}
183 private:
184
185 Aws::String m_evaluationFormId;
186 bool m_evaluationFormIdHasBeenSet = false;
187
188 Aws::String m_evaluationFormArn;
189 bool m_evaluationFormArnHasBeenSet = false;
190
191 Aws::String m_title;
192 bool m_titleHasBeenSet = false;
193
194 Aws::Utils::DateTime m_createdTime;
195 bool m_createdTimeHasBeenSet = false;
196
197 Aws::String m_createdBy;
198 bool m_createdByHasBeenSet = false;
199
200 Aws::Utils::DateTime m_lastModifiedTime;
201 bool m_lastModifiedTimeHasBeenSet = false;
202
203 Aws::String m_lastModifiedBy;
204 bool m_lastModifiedByHasBeenSet = false;
205
206 Aws::Utils::DateTime m_lastActivatedTime;
207 bool m_lastActivatedTimeHasBeenSet = false;
208
209 Aws::String m_lastActivatedBy;
210 bool m_lastActivatedByHasBeenSet = false;
211
212 int m_latestVersion;
213 bool m_latestVersionHasBeenSet = false;
214
215 int m_activeVersion;
216 bool m_activeVersionHasBeenSet = false;
217 };
218
219} // namespace Model
220} // namespace Connect
221} // namespace Aws
EvaluationFormSummary & WithCreatedBy(Aws::String &&value)
EvaluationFormSummary & WithEvaluationFormId(Aws::String &&value)
void SetLastActivatedTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetLastActivatedTime() const
const Aws::Utils::DateTime & GetLastModifiedTime() const
EvaluationFormSummary & WithEvaluationFormArn(const char *value)
EvaluationFormSummary & WithCreatedTime(const Aws::Utils::DateTime &value)
void SetEvaluationFormArn(const Aws::String &value)
EvaluationFormSummary & WithActiveVersion(int value)
AWS_CONNECT_API EvaluationFormSummary(Aws::Utils::Json::JsonView jsonValue)
EvaluationFormSummary & WithCreatedBy(const Aws::String &value)
EvaluationFormSummary & WithLastModifiedTime(const Aws::Utils::DateTime &value)
EvaluationFormSummary & WithTitle(Aws::String &&value)
void SetCreatedTime(Aws::Utils::DateTime &&value)
EvaluationFormSummary & WithCreatedTime(Aws::Utils::DateTime &&value)
void SetCreatedTime(const Aws::Utils::DateTime &value)
EvaluationFormSummary & WithTitle(const char *value)
EvaluationFormSummary & WithCreatedBy(const char *value)
EvaluationFormSummary & WithLastActivatedTime(const Aws::Utils::DateTime &value)
EvaluationFormSummary & WithLastActivatedBy(const char *value)
EvaluationFormSummary & WithEvaluationFormArn(Aws::String &&value)
AWS_CONNECT_API EvaluationFormSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
EvaluationFormSummary & WithLastModifiedBy(const char *value)
void SetLastActivatedBy(const Aws::String &value)
EvaluationFormSummary & WithLatestVersion(int value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetCreatedTime() const
void SetLastActivatedTime(const Aws::Utils::DateTime &value)
void SetEvaluationFormId(const Aws::String &value)
EvaluationFormSummary & WithTitle(const Aws::String &value)
EvaluationFormSummary & WithEvaluationFormId(const char *value)
EvaluationFormSummary & WithEvaluationFormId(const Aws::String &value)
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
EvaluationFormSummary & WithLastActivatedBy(Aws::String &&value)
EvaluationFormSummary & WithLastModifiedTime(Aws::Utils::DateTime &&value)
EvaluationFormSummary & WithEvaluationFormArn(const Aws::String &value)
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
EvaluationFormSummary & WithLastActivatedTime(Aws::Utils::DateTime &&value)
EvaluationFormSummary & WithLastActivatedBy(const Aws::String &value)
EvaluationFormSummary & WithLastModifiedBy(Aws::String &&value)
EvaluationFormSummary & WithLastModifiedBy(const Aws::String &value)
void SetLastModifiedBy(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue