AWS SDK for C++  1.9.102
AWS SDK for C++
UpdateStateMachineRequest.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace SFN
17 {
18 namespace Model
19 {
20 
24  {
25  public:
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 "UpdateStateMachine"; }
33 
34  Aws::String SerializePayload() const override;
35 
37 
38 
42  inline const Aws::String& GetStateMachineArn() const{ return m_stateMachineArn; }
43 
47  inline bool StateMachineArnHasBeenSet() const { return m_stateMachineArnHasBeenSet; }
48 
52  inline void SetStateMachineArn(const Aws::String& value) { m_stateMachineArnHasBeenSet = true; m_stateMachineArn = value; }
53 
57  inline void SetStateMachineArn(Aws::String&& value) { m_stateMachineArnHasBeenSet = true; m_stateMachineArn = std::move(value); }
58 
62  inline void SetStateMachineArn(const char* value) { m_stateMachineArnHasBeenSet = true; m_stateMachineArn.assign(value); }
63 
67  inline UpdateStateMachineRequest& WithStateMachineArn(const Aws::String& value) { SetStateMachineArn(value); return *this;}
68 
72  inline UpdateStateMachineRequest& WithStateMachineArn(Aws::String&& value) { SetStateMachineArn(std::move(value)); return *this;}
73 
77  inline UpdateStateMachineRequest& WithStateMachineArn(const char* value) { SetStateMachineArn(value); return *this;}
78 
79 
85  inline const Aws::String& GetDefinition() const{ return m_definition; }
86 
92  inline bool DefinitionHasBeenSet() const { return m_definitionHasBeenSet; }
93 
99  inline void SetDefinition(const Aws::String& value) { m_definitionHasBeenSet = true; m_definition = value; }
100 
106  inline void SetDefinition(Aws::String&& value) { m_definitionHasBeenSet = true; m_definition = std::move(value); }
107 
113  inline void SetDefinition(const char* value) { m_definitionHasBeenSet = true; m_definition.assign(value); }
114 
120  inline UpdateStateMachineRequest& WithDefinition(const Aws::String& value) { SetDefinition(value); return *this;}
121 
127  inline UpdateStateMachineRequest& WithDefinition(Aws::String&& value) { SetDefinition(std::move(value)); return *this;}
128 
134  inline UpdateStateMachineRequest& WithDefinition(const char* value) { SetDefinition(value); return *this;}
135 
136 
140  inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
141 
145  inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
146 
150  inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
151 
155  inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
156 
160  inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
161 
165  inline UpdateStateMachineRequest& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
166 
170  inline UpdateStateMachineRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
171 
175  inline UpdateStateMachineRequest& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
176 
177 
182  inline const LoggingConfiguration& GetLoggingConfiguration() const{ return m_loggingConfiguration; }
183 
188  inline bool LoggingConfigurationHasBeenSet() const { return m_loggingConfigurationHasBeenSet; }
189 
194  inline void SetLoggingConfiguration(const LoggingConfiguration& value) { m_loggingConfigurationHasBeenSet = true; m_loggingConfiguration = value; }
195 
200  inline void SetLoggingConfiguration(LoggingConfiguration&& value) { m_loggingConfigurationHasBeenSet = true; m_loggingConfiguration = std::move(value); }
201 
206  inline UpdateStateMachineRequest& WithLoggingConfiguration(const LoggingConfiguration& value) { SetLoggingConfiguration(value); return *this;}
207 
212  inline UpdateStateMachineRequest& WithLoggingConfiguration(LoggingConfiguration&& value) { SetLoggingConfiguration(std::move(value)); return *this;}
213 
214 
218  inline const TracingConfiguration& GetTracingConfiguration() const{ return m_tracingConfiguration; }
219 
223  inline bool TracingConfigurationHasBeenSet() const { return m_tracingConfigurationHasBeenSet; }
224 
228  inline void SetTracingConfiguration(const TracingConfiguration& value) { m_tracingConfigurationHasBeenSet = true; m_tracingConfiguration = value; }
229 
233  inline void SetTracingConfiguration(TracingConfiguration&& value) { m_tracingConfigurationHasBeenSet = true; m_tracingConfiguration = std::move(value); }
234 
238  inline UpdateStateMachineRequest& WithTracingConfiguration(const TracingConfiguration& value) { SetTracingConfiguration(value); return *this;}
239 
243  inline UpdateStateMachineRequest& WithTracingConfiguration(TracingConfiguration&& value) { SetTracingConfiguration(std::move(value)); return *this;}
244 
245  private:
246 
247  Aws::String m_stateMachineArn;
248  bool m_stateMachineArnHasBeenSet;
249 
250  Aws::String m_definition;
251  bool m_definitionHasBeenSet;
252 
253  Aws::String m_roleArn;
254  bool m_roleArnHasBeenSet;
255 
256  LoggingConfiguration m_loggingConfiguration;
257  bool m_loggingConfigurationHasBeenSet;
258 
259  TracingConfiguration m_tracingConfiguration;
260  bool m_tracingConfigurationHasBeenSet;
261  };
262 
263 } // namespace Model
264 } // namespace SFN
265 } // namespace Aws
Aws::SFN::Model::UpdateStateMachineRequest::WithDefinition
UpdateStateMachineRequest & WithDefinition(const Aws::String &value)
Definition: UpdateStateMachineRequest.h:120
TracingConfiguration.h
Aws::SFN::Model::TracingConfiguration
Definition: TracingConfiguration.h:31
Aws::SFN::Model::UpdateStateMachineRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::SFN::Model::UpdateStateMachineRequest::WithStateMachineArn
UpdateStateMachineRequest & WithStateMachineArn(Aws::String &&value)
Definition: UpdateStateMachineRequest.h:72
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::SFN::Model::UpdateStateMachineRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateStateMachineRequest.h:32
Aws::SFN::Model::UpdateStateMachineRequest::SetDefinition
void SetDefinition(Aws::String &&value)
Definition: UpdateStateMachineRequest.h:106
Aws::SFN::SFNRequest
Definition: SFNRequest.h:17
Aws::SFN::Model::UpdateStateMachineRequest::GetTracingConfiguration
const TracingConfiguration & GetTracingConfiguration() const
Definition: UpdateStateMachineRequest.h:218
Aws::SFN::Model::UpdateStateMachineRequest::UpdateStateMachineRequest
UpdateStateMachineRequest()
AWS_SFN_API
#define AWS_SFN_API
Definition: SFN_EXPORTS.h:28
Aws::SFN::Model::UpdateStateMachineRequest::WithStateMachineArn
UpdateStateMachineRequest & WithStateMachineArn(const char *value)
Definition: UpdateStateMachineRequest.h:77
SFN_EXPORTS.h
Aws::SFN::Model::UpdateStateMachineRequest::SetRoleArn
void SetRoleArn(const char *value)
Definition: UpdateStateMachineRequest.h:160
Aws::SFN::Model::UpdateStateMachineRequest::RoleArnHasBeenSet
bool RoleArnHasBeenSet() const
Definition: UpdateStateMachineRequest.h:145
LoggingConfiguration.h
Aws::SFN::Model::UpdateStateMachineRequest::TracingConfigurationHasBeenSet
bool TracingConfigurationHasBeenSet() const
Definition: UpdateStateMachineRequest.h:223
Aws::SFN::Model::UpdateStateMachineRequest::WithDefinition
UpdateStateMachineRequest & WithDefinition(Aws::String &&value)
Definition: UpdateStateMachineRequest.h:127
Aws::SFN::Model::UpdateStateMachineRequest::SetTracingConfiguration
void SetTracingConfiguration(const TracingConfiguration &value)
Definition: UpdateStateMachineRequest.h:228
Aws::SFN::Model::UpdateStateMachineRequest::SetStateMachineArn
void SetStateMachineArn(const char *value)
Definition: UpdateStateMachineRequest.h:62
Aws::SFN::Model::UpdateStateMachineRequest::SetRoleArn
void SetRoleArn(const Aws::String &value)
Definition: UpdateStateMachineRequest.h:150
Aws::SFN::Model::UpdateStateMachineRequest::WithRoleArn
UpdateStateMachineRequest & WithRoleArn(const char *value)
Definition: UpdateStateMachineRequest.h:175
Aws::SFN::Model::UpdateStateMachineRequest::SetStateMachineArn
void SetStateMachineArn(Aws::String &&value)
Definition: UpdateStateMachineRequest.h:57
Aws::SFN::Model::UpdateStateMachineRequest::WithDefinition
UpdateStateMachineRequest & WithDefinition(const char *value)
Definition: UpdateStateMachineRequest.h:134
Aws::SFN::Model::UpdateStateMachineRequest::WithLoggingConfiguration
UpdateStateMachineRequest & WithLoggingConfiguration(const LoggingConfiguration &value)
Definition: UpdateStateMachineRequest.h:206
Aws::SFN::Model::UpdateStateMachineRequest::SetLoggingConfiguration
void SetLoggingConfiguration(LoggingConfiguration &&value)
Definition: UpdateStateMachineRequest.h:200
Aws::SFN::Model::UpdateStateMachineRequest::WithRoleArn
UpdateStateMachineRequest & WithRoleArn(const Aws::String &value)
Definition: UpdateStateMachineRequest.h:165
Aws::SFN::Model::UpdateStateMachineRequest::DefinitionHasBeenSet
bool DefinitionHasBeenSet() const
Definition: UpdateStateMachineRequest.h:92
SFNRequest.h
AWSString.h
Aws::SFN::Model::UpdateStateMachineRequest::SetRoleArn
void SetRoleArn(Aws::String &&value)
Definition: UpdateStateMachineRequest.h:155
Aws::SFN::Model::UpdateStateMachineRequest::StateMachineArnHasBeenSet
bool StateMachineArnHasBeenSet() const
Definition: UpdateStateMachineRequest.h:47
Aws::SFN::Model::UpdateStateMachineRequest::GetLoggingConfiguration
const LoggingConfiguration & GetLoggingConfiguration() const
Definition: UpdateStateMachineRequest.h:182
Aws::SFN::Model::UpdateStateMachineRequest::WithRoleArn
UpdateStateMachineRequest & WithRoleArn(Aws::String &&value)
Definition: UpdateStateMachineRequest.h:170
Aws::SFN::Model::UpdateStateMachineRequest::GetRoleArn
const Aws::String & GetRoleArn() const
Definition: UpdateStateMachineRequest.h:140
Aws::SFN::Model::UpdateStateMachineRequest::WithTracingConfiguration
UpdateStateMachineRequest & WithTracingConfiguration(const TracingConfiguration &value)
Definition: UpdateStateMachineRequest.h:238
Aws::SFN::Model::LoggingConfiguration
Definition: LoggingConfiguration.h:35
Aws
Definition: AccessManagementClient.h:15
Aws::SFN::Model::UpdateStateMachineRequest::GetDefinition
const Aws::String & GetDefinition() const
Definition: UpdateStateMachineRequest.h:85
Aws::SFN::Model::UpdateStateMachineRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SFN::Model::UpdateStateMachineRequest::SetDefinition
void SetDefinition(const Aws::String &value)
Definition: UpdateStateMachineRequest.h:99
Aws::SFN::Model::UpdateStateMachineRequest::SetDefinition
void SetDefinition(const char *value)
Definition: UpdateStateMachineRequest.h:113
Aws::SFN::Model::UpdateStateMachineRequest::LoggingConfigurationHasBeenSet
bool LoggingConfigurationHasBeenSet() const
Definition: UpdateStateMachineRequest.h:188
Aws::SFN::Model::UpdateStateMachineRequest::SetLoggingConfiguration
void SetLoggingConfiguration(const LoggingConfiguration &value)
Definition: UpdateStateMachineRequest.h:194
Aws::SFN::Model::UpdateStateMachineRequest::SetStateMachineArn
void SetStateMachineArn(const Aws::String &value)
Definition: UpdateStateMachineRequest.h:52
Aws::SFN::Model::UpdateStateMachineRequest::WithStateMachineArn
UpdateStateMachineRequest & WithStateMachineArn(const Aws::String &value)
Definition: UpdateStateMachineRequest.h:67
Aws::SFN::Model::UpdateStateMachineRequest::GetStateMachineArn
const Aws::String & GetStateMachineArn() const
Definition: UpdateStateMachineRequest.h:42
Aws::SFN::Model::UpdateStateMachineRequest
Definition: UpdateStateMachineRequest.h:24
Aws::SFN::Model::UpdateStateMachineRequest::SetTracingConfiguration
void SetTracingConfiguration(TracingConfiguration &&value)
Definition: UpdateStateMachineRequest.h:233
Aws::SFN::Model::UpdateStateMachineRequest::WithLoggingConfiguration
UpdateStateMachineRequest & WithLoggingConfiguration(LoggingConfiguration &&value)
Definition: UpdateStateMachineRequest.h:212
Aws::SFN::Model::UpdateStateMachineRequest::WithTracingConfiguration
UpdateStateMachineRequest & WithTracingConfiguration(TracingConfiguration &&value)
Definition: UpdateStateMachineRequest.h:243