AWS SDK for C++

AWS SDK for C++ Version 1.11.844

Loading...
Searching...
No Matches
ThreatModelJobSummary.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/securityagent/SecurityAgent_EXPORTS.h>
10#include <aws/securityagent/model/JobStatus.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SecurityAgent {
22namespace Model {
23
31 public:
32 AWS_SECURITYAGENT_API ThreatModelJobSummary() = default;
33 AWS_SECURITYAGENT_API ThreatModelJobSummary(Aws::Utils::Json::JsonView jsonValue);
35 AWS_SECURITYAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetThreatModelJobId() const { return m_threatModelJobId; }
42 inline bool ThreatModelJobIdHasBeenSet() const { return m_threatModelJobIdHasBeenSet; }
43 template <typename ThreatModelJobIdT = Aws::String>
44 void SetThreatModelJobId(ThreatModelJobIdT&& value) {
45 m_threatModelJobIdHasBeenSet = true;
46 m_threatModelJobId = std::forward<ThreatModelJobIdT>(value);
47 }
48 template <typename ThreatModelJobIdT = Aws::String>
49 ThreatModelJobSummary& WithThreatModelJobId(ThreatModelJobIdT&& value) {
50 SetThreatModelJobId(std::forward<ThreatModelJobIdT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetThreatModelId() const { return m_threatModelId; }
60 inline bool ThreatModelIdHasBeenSet() const { return m_threatModelIdHasBeenSet; }
61 template <typename ThreatModelIdT = Aws::String>
62 void SetThreatModelId(ThreatModelIdT&& value) {
63 m_threatModelIdHasBeenSet = true;
64 m_threatModelId = std::forward<ThreatModelIdT>(value);
65 }
66 template <typename ThreatModelIdT = Aws::String>
67 ThreatModelJobSummary& WithThreatModelId(ThreatModelIdT&& value) {
68 SetThreatModelId(std::forward<ThreatModelIdT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::String& GetAgentSpaceId() const { return m_agentSpaceId; }
78 inline bool AgentSpaceIdHasBeenSet() const { return m_agentSpaceIdHasBeenSet; }
79 template <typename AgentSpaceIdT = Aws::String>
80 void SetAgentSpaceId(AgentSpaceIdT&& value) {
81 m_agentSpaceIdHasBeenSet = true;
82 m_agentSpaceId = std::forward<AgentSpaceIdT>(value);
83 }
84 template <typename AgentSpaceIdT = Aws::String>
85 ThreatModelJobSummary& WithAgentSpaceId(AgentSpaceIdT&& value) {
86 SetAgentSpaceId(std::forward<AgentSpaceIdT>(value));
87 return *this;
88 }
90
92
95 inline const Aws::String& GetTitle() const { return m_title; }
96 inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
97 template <typename TitleT = Aws::String>
98 void SetTitle(TitleT&& value) {
99 m_titleHasBeenSet = true;
100 m_title = std::forward<TitleT>(value);
101 }
102 template <typename TitleT = Aws::String>
104 SetTitle(std::forward<TitleT>(value));
105 return *this;
106 }
108
110
113 inline JobStatus GetStatus() const { return m_status; }
114 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
115 inline void SetStatus(JobStatus value) {
116 m_statusHasBeenSet = true;
117 m_status = value;
118 }
120 SetStatus(value);
121 return *this;
122 }
124
126
129 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
130 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
131 template <typename CreatedAtT = Aws::Utils::DateTime>
132 void SetCreatedAt(CreatedAtT&& value) {
133 m_createdAtHasBeenSet = true;
134 m_createdAt = std::forward<CreatedAtT>(value);
135 }
136 template <typename CreatedAtT = Aws::Utils::DateTime>
138 SetCreatedAt(std::forward<CreatedAtT>(value));
139 return *this;
140 }
142
144
147 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
148 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
149 template <typename UpdatedAtT = Aws::Utils::DateTime>
150 void SetUpdatedAt(UpdatedAtT&& value) {
151 m_updatedAtHasBeenSet = true;
152 m_updatedAt = std::forward<UpdatedAtT>(value);
153 }
154 template <typename UpdatedAtT = Aws::Utils::DateTime>
156 SetUpdatedAt(std::forward<UpdatedAtT>(value));
157 return *this;
158 }
160 private:
161 Aws::String m_threatModelJobId;
162
163 Aws::String m_threatModelId;
164
165 Aws::String m_agentSpaceId;
166
167 Aws::String m_title;
168
170
171 Aws::Utils::DateTime m_createdAt{};
172
173 Aws::Utils::DateTime m_updatedAt{};
174 bool m_threatModelJobIdHasBeenSet = false;
175 bool m_threatModelIdHasBeenSet = false;
176 bool m_agentSpaceIdHasBeenSet = false;
177 bool m_titleHasBeenSet = false;
178 bool m_statusHasBeenSet = false;
179 bool m_createdAtHasBeenSet = false;
180 bool m_updatedAtHasBeenSet = false;
181};
182
183} // namespace Model
184} // namespace SecurityAgent
185} // namespace Aws
const Aws::Utils::DateTime & GetCreatedAt() const
AWS_SECURITYAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetUpdatedAt() const
ThreatModelJobSummary & WithTitle(TitleT &&value)
ThreatModelJobSummary & WithThreatModelId(ThreatModelIdT &&value)
ThreatModelJobSummary & WithThreatModelJobId(ThreatModelJobIdT &&value)
ThreatModelJobSummary & WithStatus(JobStatus value)
ThreatModelJobSummary & WithUpdatedAt(UpdatedAtT &&value)
ThreatModelJobSummary & WithAgentSpaceId(AgentSpaceIdT &&value)
AWS_SECURITYAGENT_API ThreatModelJobSummary(Aws::Utils::Json::JsonView jsonValue)
ThreatModelJobSummary & WithCreatedAt(CreatedAtT &&value)
AWS_SECURITYAGENT_API ThreatModelJobSummary()=default
AWS_SECURITYAGENT_API ThreatModelJobSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue