AWS SDK for C++

AWS SDK for C++ Version 1.11.763

Loading...
Searching...
No Matches
StepFunctionsAction.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/iot/IoT_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace IoT {
20namespace Model {
21
29 public:
30 AWS_IOT_API StepFunctionsAction() = default;
34
36
41 inline const Aws::String& GetExecutionNamePrefix() const { return m_executionNamePrefix; }
42 inline bool ExecutionNamePrefixHasBeenSet() const { return m_executionNamePrefixHasBeenSet; }
43 template <typename ExecutionNamePrefixT = Aws::String>
44 void SetExecutionNamePrefix(ExecutionNamePrefixT&& value) {
45 m_executionNamePrefixHasBeenSet = true;
46 m_executionNamePrefix = std::forward<ExecutionNamePrefixT>(value);
47 }
48 template <typename ExecutionNamePrefixT = Aws::String>
49 StepFunctionsAction& WithExecutionNamePrefix(ExecutionNamePrefixT&& value) {
50 SetExecutionNamePrefix(std::forward<ExecutionNamePrefixT>(value));
51 return *this;
52 }
54
56
60 inline const Aws::String& GetStateMachineName() const { return m_stateMachineName; }
61 inline bool StateMachineNameHasBeenSet() const { return m_stateMachineNameHasBeenSet; }
62 template <typename StateMachineNameT = Aws::String>
63 void SetStateMachineName(StateMachineNameT&& value) {
64 m_stateMachineNameHasBeenSet = true;
65 m_stateMachineName = std::forward<StateMachineNameT>(value);
66 }
67 template <typename StateMachineNameT = Aws::String>
68 StepFunctionsAction& WithStateMachineName(StateMachineNameT&& value) {
69 SetStateMachineName(std::forward<StateMachineNameT>(value));
70 return *this;
71 }
73
75
79 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
80 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
81 template <typename RoleArnT = Aws::String>
82 void SetRoleArn(RoleArnT&& value) {
83 m_roleArnHasBeenSet = true;
84 m_roleArn = std::forward<RoleArnT>(value);
85 }
86 template <typename RoleArnT = Aws::String>
87 StepFunctionsAction& WithRoleArn(RoleArnT&& value) {
88 SetRoleArn(std::forward<RoleArnT>(value));
89 return *this;
90 }
92 private:
93 Aws::String m_executionNamePrefix;
94
95 Aws::String m_stateMachineName;
96
97 Aws::String m_roleArn;
98 bool m_executionNamePrefixHasBeenSet = false;
99 bool m_stateMachineNameHasBeenSet = false;
100 bool m_roleArnHasBeenSet = false;
101};
102
103} // namespace Model
104} // namespace IoT
105} // namespace Aws
StepFunctionsAction & WithStateMachineName(StateMachineNameT &&value)
StepFunctionsAction & WithRoleArn(RoleArnT &&value)
const Aws::String & GetRoleArn() const
const Aws::String & GetStateMachineName() const
StepFunctionsAction & WithExecutionNamePrefix(ExecutionNamePrefixT &&value)
AWS_IOT_API StepFunctionsAction()=default
void SetExecutionNamePrefix(ExecutionNamePrefixT &&value)
AWS_IOT_API StepFunctionsAction & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IOT_API StepFunctionsAction(Aws::Utils::Json::JsonView jsonValue)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetStateMachineName(StateMachineNameT &&value)
const Aws::String & GetExecutionNamePrefix() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue