AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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:
36 AWS_CONNECT_API EvaluationFormVersionSummary() = default;
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 template<typename EvaluationFormArnT = Aws::String>
49 void SetEvaluationFormArn(EvaluationFormArnT&& value) { m_evaluationFormArnHasBeenSet = true; m_evaluationFormArn = std::forward<EvaluationFormArnT>(value); }
50 template<typename EvaluationFormArnT = Aws::String>
51 EvaluationFormVersionSummary& WithEvaluationFormArn(EvaluationFormArnT&& value) { SetEvaluationFormArn(std::forward<EvaluationFormArnT>(value)); return *this;}
53
55
58 inline const Aws::String& GetEvaluationFormId() const { return m_evaluationFormId; }
59 inline bool EvaluationFormIdHasBeenSet() const { return m_evaluationFormIdHasBeenSet; }
60 template<typename EvaluationFormIdT = Aws::String>
61 void SetEvaluationFormId(EvaluationFormIdT&& value) { m_evaluationFormIdHasBeenSet = true; m_evaluationFormId = std::forward<EvaluationFormIdT>(value); }
62 template<typename EvaluationFormIdT = Aws::String>
63 EvaluationFormVersionSummary& WithEvaluationFormId(EvaluationFormIdT&& value) { SetEvaluationFormId(std::forward<EvaluationFormIdT>(value)); return *this;}
65
67
70 inline int GetEvaluationFormVersion() const { return m_evaluationFormVersion; }
71 inline bool EvaluationFormVersionHasBeenSet() const { return m_evaluationFormVersionHasBeenSet; }
72 inline void SetEvaluationFormVersion(int value) { m_evaluationFormVersionHasBeenSet = true; m_evaluationFormVersion = value; }
75
77
80 inline bool GetLocked() const { return m_locked; }
81 inline bool LockedHasBeenSet() const { return m_lockedHasBeenSet; }
82 inline void SetLocked(bool value) { m_lockedHasBeenSet = true; m_locked = value; }
83 inline EvaluationFormVersionSummary& WithLocked(bool value) { SetLocked(value); return *this;}
85
87
90 inline EvaluationFormVersionStatus GetStatus() const { return m_status; }
91 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
92 inline void SetStatus(EvaluationFormVersionStatus value) { m_statusHasBeenSet = true; m_status = value; }
95
97
100 inline const Aws::Utils::DateTime& GetCreatedTime() const { return m_createdTime; }
101 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
102 template<typename CreatedTimeT = Aws::Utils::DateTime>
103 void SetCreatedTime(CreatedTimeT&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::forward<CreatedTimeT>(value); }
104 template<typename CreatedTimeT = Aws::Utils::DateTime>
105 EvaluationFormVersionSummary& WithCreatedTime(CreatedTimeT&& value) { SetCreatedTime(std::forward<CreatedTimeT>(value)); return *this;}
107
109
113 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
114 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
115 template<typename CreatedByT = Aws::String>
116 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet = true; m_createdBy = std::forward<CreatedByT>(value); }
117 template<typename CreatedByT = Aws::String>
118 EvaluationFormVersionSummary& WithCreatedBy(CreatedByT&& value) { SetCreatedBy(std::forward<CreatedByT>(value)); return *this;}
120
122
125 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
126 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
127 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
128 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
129 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
130 EvaluationFormVersionSummary& WithLastModifiedTime(LastModifiedTimeT&& value) { SetLastModifiedTime(std::forward<LastModifiedTimeT>(value)); return *this;}
132
134
138 inline const Aws::String& GetLastModifiedBy() const { return m_lastModifiedBy; }
139 inline bool LastModifiedByHasBeenSet() const { return m_lastModifiedByHasBeenSet; }
140 template<typename LastModifiedByT = Aws::String>
141 void SetLastModifiedBy(LastModifiedByT&& value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy = std::forward<LastModifiedByT>(value); }
142 template<typename LastModifiedByT = Aws::String>
143 EvaluationFormVersionSummary& WithLastModifiedBy(LastModifiedByT&& value) { SetLastModifiedBy(std::forward<LastModifiedByT>(value)); return *this;}
145 private:
146
147 Aws::String m_evaluationFormArn;
148 bool m_evaluationFormArnHasBeenSet = false;
149
150 Aws::String m_evaluationFormId;
151 bool m_evaluationFormIdHasBeenSet = false;
152
153 int m_evaluationFormVersion{0};
154 bool m_evaluationFormVersionHasBeenSet = false;
155
156 bool m_locked{false};
157 bool m_lockedHasBeenSet = false;
158
160 bool m_statusHasBeenSet = false;
161
162 Aws::Utils::DateTime m_createdTime{};
163 bool m_createdTimeHasBeenSet = false;
164
165 Aws::String m_createdBy;
166 bool m_createdByHasBeenSet = false;
167
168 Aws::Utils::DateTime m_lastModifiedTime{};
169 bool m_lastModifiedTimeHasBeenSet = false;
170
171 Aws::String m_lastModifiedBy;
172 bool m_lastModifiedByHasBeenSet = false;
173 };
174
175} // namespace Model
176} // namespace Connect
177} // namespace Aws
EvaluationFormVersionSummary & WithLastModifiedTime(LastModifiedTimeT &&value)
EvaluationFormVersionSummary & WithLastModifiedBy(LastModifiedByT &&value)
EvaluationFormVersionSummary & WithEvaluationFormArn(EvaluationFormArnT &&value)
AWS_CONNECT_API EvaluationFormVersionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
EvaluationFormVersionSummary & WithEvaluationFormId(EvaluationFormIdT &&value)
AWS_CONNECT_API EvaluationFormVersionSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API EvaluationFormVersionSummary()=default
EvaluationFormVersionSummary & WithCreatedBy(CreatedByT &&value)
EvaluationFormVersionSummary & WithEvaluationFormVersion(int value)
EvaluationFormVersionSummary & WithStatus(EvaluationFormVersionStatus value)
EvaluationFormVersionSummary & WithCreatedTime(CreatedTimeT &&value)
EvaluationFormVersionSummary & WithLocked(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue