AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename EvaluationFormIdT = Aws::String>
48 void SetEvaluationFormId(EvaluationFormIdT&& value) { m_evaluationFormIdHasBeenSet = true; m_evaluationFormId = std::forward<EvaluationFormIdT>(value); }
49 template<typename EvaluationFormIdT = Aws::String>
50 EvaluationFormSummary& WithEvaluationFormId(EvaluationFormIdT&& value) { SetEvaluationFormId(std::forward<EvaluationFormIdT>(value)); return *this;}
52
54
57 inline const Aws::String& GetEvaluationFormArn() const { return m_evaluationFormArn; }
58 inline bool EvaluationFormArnHasBeenSet() const { return m_evaluationFormArnHasBeenSet; }
59 template<typename EvaluationFormArnT = Aws::String>
60 void SetEvaluationFormArn(EvaluationFormArnT&& value) { m_evaluationFormArnHasBeenSet = true; m_evaluationFormArn = std::forward<EvaluationFormArnT>(value); }
61 template<typename EvaluationFormArnT = Aws::String>
62 EvaluationFormSummary& WithEvaluationFormArn(EvaluationFormArnT&& value) { SetEvaluationFormArn(std::forward<EvaluationFormArnT>(value)); return *this;}
64
66
69 inline const Aws::String& GetTitle() const { return m_title; }
70 inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
71 template<typename TitleT = Aws::String>
72 void SetTitle(TitleT&& value) { m_titleHasBeenSet = true; m_title = std::forward<TitleT>(value); }
73 template<typename TitleT = Aws::String>
74 EvaluationFormSummary& WithTitle(TitleT&& value) { SetTitle(std::forward<TitleT>(value)); return *this;}
76
78
81 inline const Aws::Utils::DateTime& GetCreatedTime() const { return m_createdTime; }
82 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
83 template<typename CreatedTimeT = Aws::Utils::DateTime>
84 void SetCreatedTime(CreatedTimeT&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::forward<CreatedTimeT>(value); }
85 template<typename CreatedTimeT = Aws::Utils::DateTime>
86 EvaluationFormSummary& WithCreatedTime(CreatedTimeT&& value) { SetCreatedTime(std::forward<CreatedTimeT>(value)); return *this;}
88
90
94 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
95 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
96 template<typename CreatedByT = Aws::String>
97 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet = true; m_createdBy = std::forward<CreatedByT>(value); }
98 template<typename CreatedByT = Aws::String>
99 EvaluationFormSummary& WithCreatedBy(CreatedByT&& value) { SetCreatedBy(std::forward<CreatedByT>(value)); return *this;}
101
103
106 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
107 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
108 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
109 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
110 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
111 EvaluationFormSummary& WithLastModifiedTime(LastModifiedTimeT&& value) { SetLastModifiedTime(std::forward<LastModifiedTimeT>(value)); return *this;}
113
115
119 inline const Aws::String& GetLastModifiedBy() const { return m_lastModifiedBy; }
120 inline bool LastModifiedByHasBeenSet() const { return m_lastModifiedByHasBeenSet; }
121 template<typename LastModifiedByT = Aws::String>
122 void SetLastModifiedBy(LastModifiedByT&& value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy = std::forward<LastModifiedByT>(value); }
123 template<typename LastModifiedByT = Aws::String>
124 EvaluationFormSummary& WithLastModifiedBy(LastModifiedByT&& value) { SetLastModifiedBy(std::forward<LastModifiedByT>(value)); return *this;}
126
128
131 inline const Aws::Utils::DateTime& GetLastActivatedTime() const { return m_lastActivatedTime; }
132 inline bool LastActivatedTimeHasBeenSet() const { return m_lastActivatedTimeHasBeenSet; }
133 template<typename LastActivatedTimeT = Aws::Utils::DateTime>
134 void SetLastActivatedTime(LastActivatedTimeT&& value) { m_lastActivatedTimeHasBeenSet = true; m_lastActivatedTime = std::forward<LastActivatedTimeT>(value); }
135 template<typename LastActivatedTimeT = Aws::Utils::DateTime>
136 EvaluationFormSummary& WithLastActivatedTime(LastActivatedTimeT&& value) { SetLastActivatedTime(std::forward<LastActivatedTimeT>(value)); return *this;}
138
140
144 inline const Aws::String& GetLastActivatedBy() const { return m_lastActivatedBy; }
145 inline bool LastActivatedByHasBeenSet() const { return m_lastActivatedByHasBeenSet; }
146 template<typename LastActivatedByT = Aws::String>
147 void SetLastActivatedBy(LastActivatedByT&& value) { m_lastActivatedByHasBeenSet = true; m_lastActivatedBy = std::forward<LastActivatedByT>(value); }
148 template<typename LastActivatedByT = Aws::String>
149 EvaluationFormSummary& WithLastActivatedBy(LastActivatedByT&& value) { SetLastActivatedBy(std::forward<LastActivatedByT>(value)); return *this;}
151
153
156 inline int GetLatestVersion() const { return m_latestVersion; }
157 inline bool LatestVersionHasBeenSet() const { return m_latestVersionHasBeenSet; }
158 inline void SetLatestVersion(int value) { m_latestVersionHasBeenSet = true; m_latestVersion = value; }
159 inline EvaluationFormSummary& WithLatestVersion(int value) { SetLatestVersion(value); return *this;}
161
163
166 inline int GetActiveVersion() const { return m_activeVersion; }
167 inline bool ActiveVersionHasBeenSet() const { return m_activeVersionHasBeenSet; }
168 inline void SetActiveVersion(int value) { m_activeVersionHasBeenSet = true; m_activeVersion = value; }
169 inline EvaluationFormSummary& WithActiveVersion(int value) { SetActiveVersion(value); return *this;}
171 private:
172
173 Aws::String m_evaluationFormId;
174 bool m_evaluationFormIdHasBeenSet = false;
175
176 Aws::String m_evaluationFormArn;
177 bool m_evaluationFormArnHasBeenSet = false;
178
179 Aws::String m_title;
180 bool m_titleHasBeenSet = false;
181
182 Aws::Utils::DateTime m_createdTime{};
183 bool m_createdTimeHasBeenSet = false;
184
185 Aws::String m_createdBy;
186 bool m_createdByHasBeenSet = false;
187
188 Aws::Utils::DateTime m_lastModifiedTime{};
189 bool m_lastModifiedTimeHasBeenSet = false;
190
191 Aws::String m_lastModifiedBy;
192 bool m_lastModifiedByHasBeenSet = false;
193
194 Aws::Utils::DateTime m_lastActivatedTime{};
195 bool m_lastActivatedTimeHasBeenSet = false;
196
197 Aws::String m_lastActivatedBy;
198 bool m_lastActivatedByHasBeenSet = false;
199
200 int m_latestVersion{0};
201 bool m_latestVersionHasBeenSet = false;
202
203 int m_activeVersion{0};
204 bool m_activeVersionHasBeenSet = false;
205 };
206
207} // namespace Model
208} // namespace Connect
209} // namespace Aws
void SetLastActivatedBy(LastActivatedByT &&value)
const Aws::Utils::DateTime & GetLastActivatedTime() const
const Aws::Utils::DateTime & GetLastModifiedTime() const
EvaluationFormSummary & WithCreatedBy(CreatedByT &&value)
EvaluationFormSummary & WithEvaluationFormArn(EvaluationFormArnT &&value)
void SetEvaluationFormArn(EvaluationFormArnT &&value)
EvaluationFormSummary & WithActiveVersion(int value)
EvaluationFormSummary & WithLastModifiedBy(LastModifiedByT &&value)
AWS_CONNECT_API EvaluationFormSummary()=default
AWS_CONNECT_API EvaluationFormSummary(Aws::Utils::Json::JsonView jsonValue)
void SetLastModifiedTime(LastModifiedTimeT &&value)
void SetLastActivatedTime(LastActivatedTimeT &&value)
AWS_CONNECT_API EvaluationFormSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
EvaluationFormSummary & WithEvaluationFormId(EvaluationFormIdT &&value)
EvaluationFormSummary & WithLastActivatedBy(LastActivatedByT &&value)
EvaluationFormSummary & WithLatestVersion(int value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
EvaluationFormSummary & WithLastModifiedTime(LastModifiedTimeT &&value)
const Aws::Utils::DateTime & GetCreatedTime() const
EvaluationFormSummary & WithCreatedTime(CreatedTimeT &&value)
void SetEvaluationFormId(EvaluationFormIdT &&value)
EvaluationFormSummary & WithTitle(TitleT &&value)
EvaluationFormSummary & WithLastActivatedTime(LastActivatedTimeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue