AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EvaluationFormVersionSummary.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/EvaluationFormVersionStatus.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
34 {
35 public:
39 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetEvaluationFormArn() const{ return m_evaluationFormArn; }
47 inline bool EvaluationFormArnHasBeenSet() const { return m_evaluationFormArnHasBeenSet; }
48 inline void SetEvaluationFormArn(const Aws::String& value) { m_evaluationFormArnHasBeenSet = true; m_evaluationFormArn = value; }
49 inline void SetEvaluationFormArn(Aws::String&& value) { m_evaluationFormArnHasBeenSet = true; m_evaluationFormArn = std::move(value); }
50 inline void SetEvaluationFormArn(const char* value) { m_evaluationFormArnHasBeenSet = true; m_evaluationFormArn.assign(value); }
52 inline EvaluationFormVersionSummary& WithEvaluationFormArn(Aws::String&& value) { SetEvaluationFormArn(std::move(value)); return *this;}
53 inline EvaluationFormVersionSummary& WithEvaluationFormArn(const char* value) { SetEvaluationFormArn(value); return *this;}
55
57
60 inline const Aws::String& GetEvaluationFormId() const{ return m_evaluationFormId; }
61 inline bool EvaluationFormIdHasBeenSet() const { return m_evaluationFormIdHasBeenSet; }
62 inline void SetEvaluationFormId(const Aws::String& value) { m_evaluationFormIdHasBeenSet = true; m_evaluationFormId = value; }
63 inline void SetEvaluationFormId(Aws::String&& value) { m_evaluationFormIdHasBeenSet = true; m_evaluationFormId = std::move(value); }
64 inline void SetEvaluationFormId(const char* value) { m_evaluationFormIdHasBeenSet = true; m_evaluationFormId.assign(value); }
66 inline EvaluationFormVersionSummary& WithEvaluationFormId(Aws::String&& value) { SetEvaluationFormId(std::move(value)); return *this;}
67 inline EvaluationFormVersionSummary& WithEvaluationFormId(const char* value) { SetEvaluationFormId(value); return *this;}
69
71
74 inline int GetEvaluationFormVersion() const{ return m_evaluationFormVersion; }
75 inline bool EvaluationFormVersionHasBeenSet() const { return m_evaluationFormVersionHasBeenSet; }
76 inline void SetEvaluationFormVersion(int value) { m_evaluationFormVersionHasBeenSet = true; m_evaluationFormVersion = value; }
79
81
84 inline bool GetLocked() const{ return m_locked; }
85 inline bool LockedHasBeenSet() const { return m_lockedHasBeenSet; }
86 inline void SetLocked(bool value) { m_lockedHasBeenSet = true; m_locked = value; }
87 inline EvaluationFormVersionSummary& WithLocked(bool value) { SetLocked(value); return *this;}
89
91
94 inline const EvaluationFormVersionStatus& GetStatus() const{ return m_status; }
95 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
96 inline void SetStatus(const EvaluationFormVersionStatus& value) { m_statusHasBeenSet = true; m_status = value; }
97 inline void SetStatus(EvaluationFormVersionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
99 inline EvaluationFormVersionSummary& WithStatus(EvaluationFormVersionStatus&& value) { SetStatus(std::move(value)); return *this;}
101
103
106 inline const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; }
107 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
108 inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; }
109 inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); }
111 inline EvaluationFormVersionSummary& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;}
113
115
119 inline const Aws::String& GetCreatedBy() const{ return m_createdBy; }
120 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
121 inline void SetCreatedBy(const Aws::String& value) { m_createdByHasBeenSet = true; m_createdBy = value; }
122 inline void SetCreatedBy(Aws::String&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); }
123 inline void SetCreatedBy(const char* value) { m_createdByHasBeenSet = true; m_createdBy.assign(value); }
124 inline EvaluationFormVersionSummary& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;}
125 inline EvaluationFormVersionSummary& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;}
126 inline EvaluationFormVersionSummary& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;}
128
130
133 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
134 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
135 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; }
136 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); }
140
142
146 inline const Aws::String& GetLastModifiedBy() const{ return m_lastModifiedBy; }
147 inline bool LastModifiedByHasBeenSet() const { return m_lastModifiedByHasBeenSet; }
148 inline void SetLastModifiedBy(const Aws::String& value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy = value; }
149 inline void SetLastModifiedBy(Aws::String&& value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy = std::move(value); }
150 inline void SetLastModifiedBy(const char* value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy.assign(value); }
152 inline EvaluationFormVersionSummary& WithLastModifiedBy(Aws::String&& value) { SetLastModifiedBy(std::move(value)); return *this;}
153 inline EvaluationFormVersionSummary& WithLastModifiedBy(const char* value) { SetLastModifiedBy(value); return *this;}
155 private:
156
157 Aws::String m_evaluationFormArn;
158 bool m_evaluationFormArnHasBeenSet = false;
159
160 Aws::String m_evaluationFormId;
161 bool m_evaluationFormIdHasBeenSet = false;
162
163 int m_evaluationFormVersion;
164 bool m_evaluationFormVersionHasBeenSet = false;
165
166 bool m_locked;
167 bool m_lockedHasBeenSet = false;
168
170 bool m_statusHasBeenSet = false;
171
172 Aws::Utils::DateTime m_createdTime;
173 bool m_createdTimeHasBeenSet = false;
174
175 Aws::String m_createdBy;
176 bool m_createdByHasBeenSet = false;
177
178 Aws::Utils::DateTime m_lastModifiedTime;
179 bool m_lastModifiedTimeHasBeenSet = false;
180
181 Aws::String m_lastModifiedBy;
182 bool m_lastModifiedByHasBeenSet = false;
183 };
184
185} // namespace Model
186} // namespace Connect
187} // namespace Aws
EvaluationFormVersionSummary & WithCreatedTime(Aws::Utils::DateTime &&value)
EvaluationFormVersionSummary & WithCreatedBy(Aws::String &&value)
const EvaluationFormVersionStatus & GetStatus() const
AWS_CONNECT_API EvaluationFormVersionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
EvaluationFormVersionSummary & WithEvaluationFormId(Aws::String &&value)
EvaluationFormVersionSummary & WithEvaluationFormArn(Aws::String &&value)
EvaluationFormVersionSummary & WithLastModifiedTime(Aws::Utils::DateTime &&value)
EvaluationFormVersionSummary & WithEvaluationFormId(const char *value)
void SetStatus(EvaluationFormVersionStatus &&value)
EvaluationFormVersionSummary & WithCreatedBy(const char *value)
EvaluationFormVersionSummary & WithStatus(EvaluationFormVersionStatus &&value)
EvaluationFormVersionSummary & WithEvaluationFormArn(const char *value)
EvaluationFormVersionSummary & WithLastModifiedTime(const Aws::Utils::DateTime &value)
EvaluationFormVersionSummary & WithEvaluationFormArn(const Aws::String &value)
void SetStatus(const EvaluationFormVersionStatus &value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONNECT_API EvaluationFormVersionSummary(Aws::Utils::Json::JsonView jsonValue)
EvaluationFormVersionSummary & WithLastModifiedBy(const Aws::String &value)
EvaluationFormVersionSummary & WithCreatedTime(const Aws::Utils::DateTime &value)
EvaluationFormVersionSummary & WithCreatedBy(const Aws::String &value)
EvaluationFormVersionSummary & WithEvaluationFormId(const Aws::String &value)
EvaluationFormVersionSummary & WithEvaluationFormVersion(int value)
EvaluationFormVersionSummary & WithLastModifiedBy(Aws::String &&value)
EvaluationFormVersionSummary & WithStatus(const EvaluationFormVersionStatus &value)
EvaluationFormVersionSummary & WithLastModifiedBy(const char *value)
EvaluationFormVersionSummary & WithLocked(bool value)
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue