7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/devops-agent/DevOpsAgent_EXPORTS.h>
9#include <aws/devops-agent/model/ApprovalActionType.h>
20namespace DevOpsAgent {
51 template <
typename ToolUseIdT = Aws::String>
53 m_toolUseIdHasBeenSet =
true;
54 m_toolUseId = std::forward<ToolUseIdT>(value);
56 template <
typename ToolUseIdT = Aws::String>
71 template <
typename InterruptIdT = Aws::String>
73 m_interruptIdHasBeenSet =
true;
74 m_interruptId = std::forward<InterruptIdT>(value);
76 template <
typename InterruptIdT = Aws::String>
89 template <
typename ApprovalIdT = Aws::String>
91 m_approvalIdHasBeenSet =
true;
92 m_approvalId = std::forward<ApprovalIdT>(value);
94 template <
typename ApprovalIdT = Aws::String>
109 template <
typename ButtonTextT = Aws::String>
111 m_buttonTextHasBeenSet =
true;
112 m_buttonText = std::forward<ButtonTextT>(value);
114 template <
typename ButtonTextT = Aws::String>
128 m_actionHasBeenSet =
true;
146 bool m_toolUseIdHasBeenSet =
false;
147 bool m_interruptIdHasBeenSet =
false;
148 bool m_approvalIdHasBeenSet =
false;
149 bool m_buttonTextHasBeenSet =
false;
150 bool m_actionHasBeenSet =
false;
const Aws::String & GetToolUseId() const
ApprovalAction & WithApprovalId(ApprovalIdT &&value)
AWS_DEVOPSAGENT_API ApprovalAction()=default
AWS_DEVOPSAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
ApprovalAction & WithAction(ApprovalActionType value)
void SetAction(ApprovalActionType value)
const Aws::String & GetInterruptId() const
void SetToolUseId(ToolUseIdT &&value)
bool ActionHasBeenSet() const
AWS_DEVOPSAGENT_API ApprovalAction & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetInterruptId(InterruptIdT &&value)
const Aws::String & GetButtonText() const
ApprovalAction & WithToolUseId(ToolUseIdT &&value)
ApprovalAction & WithInterruptId(InterruptIdT &&value)
bool InterruptIdHasBeenSet() const
void SetApprovalId(ApprovalIdT &&value)
bool ButtonTextHasBeenSet() const
ApprovalActionType GetAction() const
bool ApprovalIdHasBeenSet() const
const Aws::String & GetApprovalId() const
AWS_DEVOPSAGENT_API ApprovalAction(Aws::Utils::Json::JsonView jsonValue)
void SetButtonText(ButtonTextT &&value)
ApprovalAction & WithButtonText(ButtonTextT &&value)
bool ToolUseIdHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue