7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/Document.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/devops-agent/DevOpsAgent_EXPORTS.h>
11#include <aws/devops-agent/model/TriggerCondition.h>
22namespace DevOpsAgent {
44 template <
typename TriggerIdT = Aws::String>
46 m_triggerIdHasBeenSet =
true;
47 m_triggerId = std::forward<TriggerIdT>(value);
49 template <
typename TriggerIdT = Aws::String>
62 template <
typename AgentSpaceIdT = Aws::String>
64 m_agentSpaceIdHasBeenSet =
true;
65 m_agentSpaceId = std::forward<AgentSpaceIdT>(value);
67 template <
typename AgentSpaceIdT = Aws::String>
80 template <
typename TypeT = Aws::String>
82 m_typeHasBeenSet =
true;
83 m_type = std::forward<TypeT>(value);
85 template <
typename TypeT = Aws::String>
87 SetType(std::forward<TypeT>(value));
98 template <
typename ConditionT = TriggerCondition>
100 m_conditionHasBeenSet =
true;
101 m_condition = std::forward<ConditionT>(value);
103 template <
typename ConditionT = TriggerCondition>
116 template <
typename ActionT = Aws::Utils::Document>
118 m_actionHasBeenSet =
true;
119 m_action = std::forward<ActionT>(value);
121 template <
typename ActionT = Aws::Utils::Document>
134 template <
typename StatusT = Aws::String>
136 m_statusHasBeenSet =
true;
137 m_status = std::forward<StatusT>(value);
139 template <
typename StatusT = Aws::String>
152 template <
typename CreatedAtT = Aws::Utils::DateTime>
154 m_createdAtHasBeenSet =
true;
155 m_createdAt = std::forward<CreatedAtT>(value);
157 template <
typename CreatedAtT = Aws::Utils::DateTime>
170 template <
typename UpdatedAtT = Aws::Utils::DateTime>
172 m_updatedAtHasBeenSet =
true;
173 m_updatedAt = std::forward<UpdatedAtT>(value);
175 template <
typename UpdatedAtT = Aws::Utils::DateTime>
197 bool m_triggerIdHasBeenSet =
false;
198 bool m_agentSpaceIdHasBeenSet =
false;
199 bool m_typeHasBeenSet =
false;
200 bool m_conditionHasBeenSet =
false;
201 bool m_actionHasBeenSet =
false;
202 bool m_statusHasBeenSet =
false;
203 bool m_createdAtHasBeenSet =
false;
204 bool m_updatedAtHasBeenSet =
false;
const Aws::String & GetAgentSpaceId() const
AWS_DEVOPSAGENT_API Trigger(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetUpdatedAt() const
void SetCondition(ConditionT &&value)
void SetAction(ActionT &&value)
void SetAgentSpaceId(AgentSpaceIdT &&value)
void SetTriggerId(TriggerIdT &&value)
bool ConditionHasBeenSet() const
void SetCreatedAt(CreatedAtT &&value)
void SetUpdatedAt(UpdatedAtT &&value)
Trigger & WithUpdatedAt(UpdatedAtT &&value)
Aws::Utils::DocumentView GetAction() const
Trigger & WithCondition(ConditionT &&value)
void SetType(TypeT &&value)
AWS_DEVOPSAGENT_API Trigger()=default
bool TypeHasBeenSet() const
bool TriggerIdHasBeenSet() const
Trigger & WithAction(ActionT &&value)
bool StatusHasBeenSet() const
AWS_DEVOPSAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
Trigger & WithTriggerId(TriggerIdT &&value)
Trigger & WithStatus(StatusT &&value)
const Aws::String & GetTriggerId() const
Trigger & WithType(TypeT &&value)
const Aws::String & GetType() const
Trigger & WithAgentSpaceId(AgentSpaceIdT &&value)
const TriggerCondition & GetCondition() const
bool CreatedAtHasBeenSet() const
AWS_DEVOPSAGENT_API Trigger & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetCreatedAt() const
void SetStatus(StatusT &&value)
bool UpdatedAtHasBeenSet() const
Trigger & WithCreatedAt(CreatedAtT &&value)
bool AgentSpaceIdHasBeenSet() const
const Aws::String & GetStatus() const
bool ActionHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue