AWS SDK for C++  1.9.132
AWS SDK for C++
StepFunctionsAction.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iot/IoT_EXPORTS.h>
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace IoT
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
46  inline const Aws::String& GetExecutionNamePrefix() const{ return m_executionNamePrefix; }
47 
53  inline bool ExecutionNamePrefixHasBeenSet() const { return m_executionNamePrefixHasBeenSet; }
54 
60  inline void SetExecutionNamePrefix(const Aws::String& value) { m_executionNamePrefixHasBeenSet = true; m_executionNamePrefix = value; }
61 
67  inline void SetExecutionNamePrefix(Aws::String&& value) { m_executionNamePrefixHasBeenSet = true; m_executionNamePrefix = std::move(value); }
68 
74  inline void SetExecutionNamePrefix(const char* value) { m_executionNamePrefixHasBeenSet = true; m_executionNamePrefix.assign(value); }
75 
81  inline StepFunctionsAction& WithExecutionNamePrefix(const Aws::String& value) { SetExecutionNamePrefix(value); return *this;}
82 
88  inline StepFunctionsAction& WithExecutionNamePrefix(Aws::String&& value) { SetExecutionNamePrefix(std::move(value)); return *this;}
89 
95  inline StepFunctionsAction& WithExecutionNamePrefix(const char* value) { SetExecutionNamePrefix(value); return *this;}
96 
97 
102  inline const Aws::String& GetStateMachineName() const{ return m_stateMachineName; }
103 
108  inline bool StateMachineNameHasBeenSet() const { return m_stateMachineNameHasBeenSet; }
109 
114  inline void SetStateMachineName(const Aws::String& value) { m_stateMachineNameHasBeenSet = true; m_stateMachineName = value; }
115 
120  inline void SetStateMachineName(Aws::String&& value) { m_stateMachineNameHasBeenSet = true; m_stateMachineName = std::move(value); }
121 
126  inline void SetStateMachineName(const char* value) { m_stateMachineNameHasBeenSet = true; m_stateMachineName.assign(value); }
127 
132  inline StepFunctionsAction& WithStateMachineName(const Aws::String& value) { SetStateMachineName(value); return *this;}
133 
138  inline StepFunctionsAction& WithStateMachineName(Aws::String&& value) { SetStateMachineName(std::move(value)); return *this;}
139 
144  inline StepFunctionsAction& WithStateMachineName(const char* value) { SetStateMachineName(value); return *this;}
145 
146 
151  inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
152 
157  inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
158 
163  inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
164 
169  inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
170 
175  inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
176 
181  inline StepFunctionsAction& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
182 
187  inline StepFunctionsAction& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
188 
193  inline StepFunctionsAction& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
194 
195  private:
196 
197  Aws::String m_executionNamePrefix;
198  bool m_executionNamePrefixHasBeenSet;
199 
200  Aws::String m_stateMachineName;
201  bool m_stateMachineNameHasBeenSet;
202 
203  Aws::String m_roleArn;
204  bool m_roleArnHasBeenSet;
205  };
206 
207 } // namespace Model
208 } // namespace IoT
209 } // namespace Aws
Aws::IoT::Model::StepFunctionsAction::SetStateMachineName
void SetStateMachineName(const char *value)
Definition: StepFunctionsAction.h:126
Aws::IoT::Model::StepFunctionsAction::WithRoleArn
StepFunctionsAction & WithRoleArn(const char *value)
Definition: StepFunctionsAction.h:193
Aws::IoT::Model::StepFunctionsAction::ExecutionNamePrefixHasBeenSet
bool ExecutionNamePrefixHasBeenSet() const
Definition: StepFunctionsAction.h:53
Aws::IoT::Model::StepFunctionsAction::WithExecutionNamePrefix
StepFunctionsAction & WithExecutionNamePrefix(const char *value)
Definition: StepFunctionsAction.h:95
Aws::IoT::Model::StepFunctionsAction::WithRoleArn
StepFunctionsAction & WithRoleArn(Aws::String &&value)
Definition: StepFunctionsAction.h:187
Aws::IoT::Model::StepFunctionsAction
Definition: StepFunctionsAction.h:33
Aws::IoT::Model::StepFunctionsAction::WithStateMachineName
StepFunctionsAction & WithStateMachineName(const Aws::String &value)
Definition: StepFunctionsAction.h:132
Aws::IoT::Model::StepFunctionsAction::WithRoleArn
StepFunctionsAction & WithRoleArn(const Aws::String &value)
Definition: StepFunctionsAction.h:181
Aws::IoT::Model::StepFunctionsAction::SetExecutionNamePrefix
void SetExecutionNamePrefix(const char *value)
Definition: StepFunctionsAction.h:74
Aws::IoT::Model::StepFunctionsAction::operator=
StepFunctionsAction & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::IoT::Model::StepFunctionsAction::StepFunctionsAction
StepFunctionsAction(Aws::Utils::Json::JsonView jsonValue)
Aws::IoT::Model::StepFunctionsAction::GetExecutionNamePrefix
const Aws::String & GetExecutionNamePrefix() const
Definition: StepFunctionsAction.h:46
Aws::IoT::Model::StepFunctionsAction::GetStateMachineName
const Aws::String & GetStateMachineName() const
Definition: StepFunctionsAction.h:102
Aws::IoT::Model::StepFunctionsAction::RoleArnHasBeenSet
bool RoleArnHasBeenSet() const
Definition: StepFunctionsAction.h:157
Aws::IoT::Model::StepFunctionsAction::SetStateMachineName
void SetStateMachineName(const Aws::String &value)
Definition: StepFunctionsAction.h:114
Aws::IoT::Model::StepFunctionsAction::StepFunctionsAction
StepFunctionsAction()
Aws::IoT::Model::StepFunctionsAction::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::IoT::Model::StepFunctionsAction::SetExecutionNamePrefix
void SetExecutionNamePrefix(const Aws::String &value)
Definition: StepFunctionsAction.h:60
Aws::IoT::Model::StepFunctionsAction::SetRoleArn
void SetRoleArn(const Aws::String &value)
Definition: StepFunctionsAction.h:163
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::IoT::Model::StepFunctionsAction::SetRoleArn
void SetRoleArn(Aws::String &&value)
Definition: StepFunctionsAction.h:169
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::IoT::Model::StepFunctionsAction::WithExecutionNamePrefix
StepFunctionsAction & WithExecutionNamePrefix(const Aws::String &value)
Definition: StepFunctionsAction.h:81
Aws::IoT::Model::StepFunctionsAction::GetRoleArn
const Aws::String & GetRoleArn() const
Definition: StepFunctionsAction.h:151
Aws::IoT::Model::StepFunctionsAction::SetStateMachineName
void SetStateMachineName(Aws::String &&value)
Definition: StepFunctionsAction.h:120
Aws::IoT::Model::StepFunctionsAction::SetRoleArn
void SetRoleArn(const char *value)
Definition: StepFunctionsAction.h:175
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::StepFunctionsAction::WithStateMachineName
StepFunctionsAction & WithStateMachineName(const char *value)
Definition: StepFunctionsAction.h:144
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
Aws::IoT::Model::StepFunctionsAction::StateMachineNameHasBeenSet
bool StateMachineNameHasBeenSet() const
Definition: StepFunctionsAction.h:108
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoT::Model::StepFunctionsAction::WithExecutionNamePrefix
StepFunctionsAction & WithExecutionNamePrefix(Aws::String &&value)
Definition: StepFunctionsAction.h:88
Aws::IoT::Model::StepFunctionsAction::SetExecutionNamePrefix
void SetExecutionNamePrefix(Aws::String &&value)
Definition: StepFunctionsAction.h:67
Aws::IoT::Model::StepFunctionsAction::WithStateMachineName
StepFunctionsAction & WithStateMachineName(Aws::String &&value)
Definition: StepFunctionsAction.h:138
IoT_EXPORTS.h