7#include <aws/core/utils/Document.h>
8#include <aws/core/utils/UUID.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/devops-agent/DevOpsAgentRequest.h>
11#include <aws/devops-agent/DevOpsAgent_EXPORTS.h>
12#include <aws/devops-agent/model/TriggerCondition.h>
17namespace DevOpsAgent {
44 template <
typename AgentSpaceIdT = Aws::String>
46 m_agentSpaceIdHasBeenSet =
true;
47 m_agentSpaceId = std::forward<AgentSpaceIdT>(value);
49 template <
typename AgentSpaceIdT = Aws::String>
62 template <
typename TypeT = Aws::String>
64 m_typeHasBeenSet =
true;
65 m_type = std::forward<TypeT>(value);
67 template <
typename TypeT = Aws::String>
69 SetType(std::forward<TypeT>(value));
80 template <
typename ConditionT = TriggerCondition>
82 m_conditionHasBeenSet =
true;
83 m_condition = std::forward<ConditionT>(value);
85 template <
typename ConditionT = TriggerCondition>
98 template <
typename ActionT = Aws::Utils::Document>
100 m_actionHasBeenSet =
true;
101 m_action = std::forward<ActionT>(value);
103 template <
typename ActionT = Aws::Utils::Document>
116 template <
typename StatusT = Aws::String>
118 m_statusHasBeenSet =
true;
119 m_status = std::forward<StatusT>(value);
121 template <
typename StatusT = Aws::String>
134 template <
typename ClientTokenT = Aws::String>
136 m_clientTokenHasBeenSet =
true;
137 m_clientToken = std::forward<ClientTokenT>(value);
139 template <
typename ClientTokenT = Aws::String>
157 bool m_agentSpaceIdHasBeenSet =
false;
158 bool m_typeHasBeenSet =
false;
159 bool m_conditionHasBeenSet =
false;
160 bool m_actionHasBeenSet =
false;
161 bool m_statusHasBeenSet =
false;
162 bool m_clientTokenHasBeenSet =
true;
void SetType(TypeT &&value)
const Aws::String & GetType() const
CreateTriggerRequest & WithStatus(StatusT &&value)
void SetClientToken(ClientTokenT &&value)
CreateTriggerRequest & WithCondition(ConditionT &&value)
const Aws::String & GetStatus() const
bool StatusHasBeenSet() const
const Aws::String & GetClientToken() const
bool TypeHasBeenSet() const
Aws::Utils::DocumentView GetAction() const
AWS_DEVOPSAGENT_API Aws::String SerializePayload() const override
AWS_DEVOPSAGENT_API CreateTriggerRequest()=default
CreateTriggerRequest & WithAction(ActionT &&value)
void SetAgentSpaceId(AgentSpaceIdT &&value)
bool AgentSpaceIdHasBeenSet() const
bool ClientTokenHasBeenSet() const
void SetStatus(StatusT &&value)
CreateTriggerRequest & WithAgentSpaceId(AgentSpaceIdT &&value)
const Aws::String & GetAgentSpaceId() const
CreateTriggerRequest & WithType(TypeT &&value)
bool ActionHasBeenSet() const
virtual const char * GetServiceRequestName() const override
void SetAction(ActionT &&value)
void SetCondition(ConditionT &&value)
const TriggerCondition & GetCondition() const
bool ConditionHasBeenSet() const
CreateTriggerRequest & WithClientToken(ClientTokenT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String