AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetStepExecutionId(const Aws::String& value) { m_stepExecutionIdHasBeenSet = true; m_stepExecutionId = value; }
44 inline void SetStepExecutionId(Aws::String&& value) { m_stepExecutionIdHasBeenSet = true; m_stepExecutionId = std::move(value); }
45 inline void SetStepExecutionId(const char* value) { m_stepExecutionIdHasBeenSet = true; m_stepExecutionId.assign(value); }
47 inline SendWorkflowStepActionRequest& WithStepExecutionId(Aws::String&& value) { SetStepExecutionId(std::move(value)); return *this;}
48 inline SendWorkflowStepActionRequest& WithStepExecutionId(const char* value) { SetStepExecutionId(value); return *this;}
50
52
56 inline const Aws::String& GetImageBuildVersionArn() const{ return m_imageBuildVersionArn; }
57 inline bool ImageBuildVersionArnHasBeenSet() const { return m_imageBuildVersionArnHasBeenSet; }
58 inline void SetImageBuildVersionArn(const Aws::String& value) { m_imageBuildVersionArnHasBeenSet = true; m_imageBuildVersionArn = value; }
59 inline void SetImageBuildVersionArn(Aws::String&& value) { m_imageBuildVersionArnHasBeenSet = true; m_imageBuildVersionArn = std::move(value); }
60 inline void SetImageBuildVersionArn(const char* value) { m_imageBuildVersionArnHasBeenSet = true; m_imageBuildVersionArn.assign(value); }
63 inline SendWorkflowStepActionRequest& WithImageBuildVersionArn(const char* value) { SetImageBuildVersionArn(value); return *this;}
65
67
72 inline const WorkflowStepActionType& GetAction() const{ return m_action; }
73 inline bool ActionHasBeenSet() const { return m_actionHasBeenSet; }
74 inline void SetAction(const WorkflowStepActionType& value) { m_actionHasBeenSet = true; m_action = value; }
75 inline void SetAction(WorkflowStepActionType&& value) { m_actionHasBeenSet = true; m_action = std::move(value); }
76 inline SendWorkflowStepActionRequest& WithAction(const WorkflowStepActionType& value) { SetAction(value); return *this;}
77 inline SendWorkflowStepActionRequest& WithAction(WorkflowStepActionType&& value) { SetAction(std::move(value)); return *this;}
79
81
84 inline const Aws::String& GetReason() const{ return m_reason; }
85 inline bool ReasonHasBeenSet() const { return m_reasonHasBeenSet; }
86 inline void SetReason(const Aws::String& value) { m_reasonHasBeenSet = true; m_reason = value; }
87 inline void SetReason(Aws::String&& value) { m_reasonHasBeenSet = true; m_reason = std::move(value); }
88 inline void SetReason(const char* value) { m_reasonHasBeenSet = true; m_reason.assign(value); }
89 inline SendWorkflowStepActionRequest& WithReason(const Aws::String& value) { SetReason(value); return *this;}
90 inline SendWorkflowStepActionRequest& WithReason(Aws::String&& value) { SetReason(std::move(value)); return *this;}
91 inline SendWorkflowStepActionRequest& WithReason(const char* value) { SetReason(value); return *this;}
93
95
101 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
102 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
103 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
104 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
105 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
106 inline SendWorkflowStepActionRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
107 inline SendWorkflowStepActionRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
108 inline SendWorkflowStepActionRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
110 private:
111
112 Aws::String m_stepExecutionId;
113 bool m_stepExecutionIdHasBeenSet = false;
114
115 Aws::String m_imageBuildVersionArn;
116 bool m_imageBuildVersionArnHasBeenSet = false;
117
118 WorkflowStepActionType m_action;
119 bool m_actionHasBeenSet = false;
120
121 Aws::String m_reason;
122 bool m_reasonHasBeenSet = false;
123
124 Aws::String m_clientToken;
125 bool m_clientTokenHasBeenSet = false;
126 };
127
128} // namespace Model
129} // namespace imagebuilder
130} // namespace Aws
SendWorkflowStepActionRequest & WithStepExecutionId(const char *value)
SendWorkflowStepActionRequest & WithReason(Aws::String &&value)
SendWorkflowStepActionRequest & WithAction(const WorkflowStepActionType &value)
SendWorkflowStepActionRequest & WithReason(const Aws::String &value)
AWS_IMAGEBUILDER_API Aws::String SerializePayload() const override
SendWorkflowStepActionRequest & WithImageBuildVersionArn(const char *value)
SendWorkflowStepActionRequest & WithImageBuildVersionArn(const Aws::String &value)
SendWorkflowStepActionRequest & WithImageBuildVersionArn(Aws::String &&value)
SendWorkflowStepActionRequest & WithStepExecutionId(const Aws::String &value)
SendWorkflowStepActionRequest & WithStepExecutionId(Aws::String &&value)
SendWorkflowStepActionRequest & WithClientToken(Aws::String &&value)
SendWorkflowStepActionRequest & WithAction(WorkflowStepActionType &&value)
SendWorkflowStepActionRequest & WithClientToken(const Aws::String &value)
SendWorkflowStepActionRequest & WithClientToken(const char *value)
SendWorkflowStepActionRequest & WithReason(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String