AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
SendWorkflowStepActionRequest.h
1
6#pragma once
7#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
8#include <aws/imagebuilder/ImagebuilderRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/imagebuilder/model/WorkflowStepActionType.h>
11#include <utility>
12#include <aws/core/utils/UUID.h>
13
14namespace Aws
15{
16namespace imagebuilder
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_IMAGEBUILDER_API SendWorkflowStepActionRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "SendWorkflowStepAction"; }
33
34 AWS_IMAGEBUILDER_API Aws::String SerializePayload() const override;
35
36
38
41 inline const Aws::String& GetStepExecutionId() const { return m_stepExecutionId; }
42 inline bool StepExecutionIdHasBeenSet() const { return m_stepExecutionIdHasBeenSet; }
43 template<typename StepExecutionIdT = Aws::String>
44 void SetStepExecutionId(StepExecutionIdT&& value) { m_stepExecutionIdHasBeenSet = true; m_stepExecutionId = std::forward<StepExecutionIdT>(value); }
45 template<typename StepExecutionIdT = Aws::String>
46 SendWorkflowStepActionRequest& WithStepExecutionId(StepExecutionIdT&& value) { SetStepExecutionId(std::forward<StepExecutionIdT>(value)); return *this;}
48
50
54 inline const Aws::String& GetImageBuildVersionArn() const { return m_imageBuildVersionArn; }
55 inline bool ImageBuildVersionArnHasBeenSet() const { return m_imageBuildVersionArnHasBeenSet; }
56 template<typename ImageBuildVersionArnT = Aws::String>
57 void SetImageBuildVersionArn(ImageBuildVersionArnT&& value) { m_imageBuildVersionArnHasBeenSet = true; m_imageBuildVersionArn = std::forward<ImageBuildVersionArnT>(value); }
58 template<typename ImageBuildVersionArnT = Aws::String>
59 SendWorkflowStepActionRequest& WithImageBuildVersionArn(ImageBuildVersionArnT&& value) { SetImageBuildVersionArn(std::forward<ImageBuildVersionArnT>(value)); return *this;}
61
63
68 inline WorkflowStepActionType GetAction() const { return m_action; }
69 inline bool ActionHasBeenSet() const { return m_actionHasBeenSet; }
70 inline void SetAction(WorkflowStepActionType value) { m_actionHasBeenSet = true; m_action = value; }
73
75
78 inline const Aws::String& GetReason() const { return m_reason; }
79 inline bool ReasonHasBeenSet() const { return m_reasonHasBeenSet; }
80 template<typename ReasonT = Aws::String>
81 void SetReason(ReasonT&& value) { m_reasonHasBeenSet = true; m_reason = std::forward<ReasonT>(value); }
82 template<typename ReasonT = Aws::String>
83 SendWorkflowStepActionRequest& WithReason(ReasonT&& value) { SetReason(std::forward<ReasonT>(value)); return *this;}
85
87
93 inline const Aws::String& GetClientToken() const { return m_clientToken; }
94 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
95 template<typename ClientTokenT = Aws::String>
96 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::forward<ClientTokenT>(value); }
97 template<typename ClientTokenT = Aws::String>
98 SendWorkflowStepActionRequest& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(value)); return *this;}
100 private:
101
102 Aws::String m_stepExecutionId;
103 bool m_stepExecutionIdHasBeenSet = false;
104
105 Aws::String m_imageBuildVersionArn;
106 bool m_imageBuildVersionArnHasBeenSet = false;
107
109 bool m_actionHasBeenSet = false;
110
111 Aws::String m_reason;
112 bool m_reasonHasBeenSet = false;
113
115 bool m_clientTokenHasBeenSet = true;
116 };
117
118} // namespace Model
119} // namespace imagebuilder
120} // namespace Aws
static Aws::Utils::UUID PseudoRandomUUID()
SendWorkflowStepActionRequest & WithStepExecutionId(StepExecutionIdT &&value)
SendWorkflowStepActionRequest & WithReason(ReasonT &&value)
SendWorkflowStepActionRequest & WithImageBuildVersionArn(ImageBuildVersionArnT &&value)
AWS_IMAGEBUILDER_API SendWorkflowStepActionRequest()=default
AWS_IMAGEBUILDER_API Aws::String SerializePayload() const override
SendWorkflowStepActionRequest & WithClientToken(ClientTokenT &&value)
SendWorkflowStepActionRequest & WithAction(WorkflowStepActionType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String