AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateStateMachineRequest.h
1
6#pragma once
7#include <aws/states/SFN_EXPORTS.h>
8#include <aws/states/SFNRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/states/model/LoggingConfiguration.h>
11#include <aws/states/model/TracingConfiguration.h>
12#include <aws/states/model/EncryptionConfiguration.h>
13#include <utility>
14
15namespace Aws
16{
17namespace SFN
18{
19namespace Model
20{
21
25 {
26 public:
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "UpdateStateMachine"; }
34
35 AWS_SFN_API Aws::String SerializePayload() const override;
36
38
39
41
44 inline const Aws::String& GetStateMachineArn() const{ return m_stateMachineArn; }
45 inline bool StateMachineArnHasBeenSet() const { return m_stateMachineArnHasBeenSet; }
46 inline void SetStateMachineArn(const Aws::String& value) { m_stateMachineArnHasBeenSet = true; m_stateMachineArn = value; }
47 inline void SetStateMachineArn(Aws::String&& value) { m_stateMachineArnHasBeenSet = true; m_stateMachineArn = std::move(value); }
48 inline void SetStateMachineArn(const char* value) { m_stateMachineArnHasBeenSet = true; m_stateMachineArn.assign(value); }
49 inline UpdateStateMachineRequest& WithStateMachineArn(const Aws::String& value) { SetStateMachineArn(value); return *this;}
50 inline UpdateStateMachineRequest& WithStateMachineArn(Aws::String&& value) { SetStateMachineArn(std::move(value)); return *this;}
51 inline UpdateStateMachineRequest& WithStateMachineArn(const char* value) { SetStateMachineArn(value); return *this;}
53
55
60 inline const Aws::String& GetDefinition() const{ return m_definition; }
61 inline bool DefinitionHasBeenSet() const { return m_definitionHasBeenSet; }
62 inline void SetDefinition(const Aws::String& value) { m_definitionHasBeenSet = true; m_definition = value; }
63 inline void SetDefinition(Aws::String&& value) { m_definitionHasBeenSet = true; m_definition = std::move(value); }
64 inline void SetDefinition(const char* value) { m_definitionHasBeenSet = true; m_definition.assign(value); }
65 inline UpdateStateMachineRequest& WithDefinition(const Aws::String& value) { SetDefinition(value); return *this;}
66 inline UpdateStateMachineRequest& WithDefinition(Aws::String&& value) { SetDefinition(std::move(value)); return *this;}
67 inline UpdateStateMachineRequest& WithDefinition(const char* value) { SetDefinition(value); return *this;}
69
71
74 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
75 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
76 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
77 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
78 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
79 inline UpdateStateMachineRequest& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
80 inline UpdateStateMachineRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
81 inline UpdateStateMachineRequest& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
83
85
89 inline const LoggingConfiguration& GetLoggingConfiguration() const{ return m_loggingConfiguration; }
90 inline bool LoggingConfigurationHasBeenSet() const { return m_loggingConfigurationHasBeenSet; }
91 inline void SetLoggingConfiguration(const LoggingConfiguration& value) { m_loggingConfigurationHasBeenSet = true; m_loggingConfiguration = value; }
92 inline void SetLoggingConfiguration(LoggingConfiguration&& value) { m_loggingConfigurationHasBeenSet = true; m_loggingConfiguration = std::move(value); }
96
98
101 inline const TracingConfiguration& GetTracingConfiguration() const{ return m_tracingConfiguration; }
102 inline bool TracingConfigurationHasBeenSet() const { return m_tracingConfigurationHasBeenSet; }
103 inline void SetTracingConfiguration(const TracingConfiguration& value) { m_tracingConfigurationHasBeenSet = true; m_tracingConfiguration = value; }
104 inline void SetTracingConfiguration(TracingConfiguration&& value) { m_tracingConfigurationHasBeenSet = true; m_tracingConfiguration = std::move(value); }
108
110
115 inline bool GetPublish() const{ return m_publish; }
116 inline bool PublishHasBeenSet() const { return m_publishHasBeenSet; }
117 inline void SetPublish(bool value) { m_publishHasBeenSet = true; m_publish = value; }
118 inline UpdateStateMachineRequest& WithPublish(bool value) { SetPublish(value); return *this;}
120
122
127 inline const Aws::String& GetVersionDescription() const{ return m_versionDescription; }
128 inline bool VersionDescriptionHasBeenSet() const { return m_versionDescriptionHasBeenSet; }
129 inline void SetVersionDescription(const Aws::String& value) { m_versionDescriptionHasBeenSet = true; m_versionDescription = value; }
130 inline void SetVersionDescription(Aws::String&& value) { m_versionDescriptionHasBeenSet = true; m_versionDescription = std::move(value); }
131 inline void SetVersionDescription(const char* value) { m_versionDescriptionHasBeenSet = true; m_versionDescription.assign(value); }
133 inline UpdateStateMachineRequest& WithVersionDescription(Aws::String&& value) { SetVersionDescription(std::move(value)); return *this;}
134 inline UpdateStateMachineRequest& WithVersionDescription(const char* value) { SetVersionDescription(value); return *this;}
136
138
141 inline const EncryptionConfiguration& GetEncryptionConfiguration() const{ return m_encryptionConfiguration; }
142 inline bool EncryptionConfigurationHasBeenSet() const { return m_encryptionConfigurationHasBeenSet; }
143 inline void SetEncryptionConfiguration(const EncryptionConfiguration& value) { m_encryptionConfigurationHasBeenSet = true; m_encryptionConfiguration = value; }
144 inline void SetEncryptionConfiguration(EncryptionConfiguration&& value) { m_encryptionConfigurationHasBeenSet = true; m_encryptionConfiguration = std::move(value); }
148 private:
149
150 Aws::String m_stateMachineArn;
151 bool m_stateMachineArnHasBeenSet = false;
152
153 Aws::String m_definition;
154 bool m_definitionHasBeenSet = false;
155
156 Aws::String m_roleArn;
157 bool m_roleArnHasBeenSet = false;
158
159 LoggingConfiguration m_loggingConfiguration;
160 bool m_loggingConfigurationHasBeenSet = false;
161
162 TracingConfiguration m_tracingConfiguration;
163 bool m_tracingConfigurationHasBeenSet = false;
164
165 bool m_publish;
166 bool m_publishHasBeenSet = false;
167
168 Aws::String m_versionDescription;
169 bool m_versionDescriptionHasBeenSet = false;
170
171 EncryptionConfiguration m_encryptionConfiguration;
172 bool m_encryptionConfigurationHasBeenSet = false;
173 };
174
175} // namespace Model
176} // namespace SFN
177} // namespace Aws
void SetLoggingConfiguration(const LoggingConfiguration &value)
UpdateStateMachineRequest & WithDefinition(const char *value)
UpdateStateMachineRequest & WithVersionDescription(const Aws::String &value)
UpdateStateMachineRequest & WithStateMachineArn(const Aws::String &value)
UpdateStateMachineRequest & WithDefinition(Aws::String &&value)
UpdateStateMachineRequest & WithEncryptionConfiguration(const EncryptionConfiguration &value)
const LoggingConfiguration & GetLoggingConfiguration() const
UpdateStateMachineRequest & WithPublish(bool value)
void SetTracingConfiguration(const TracingConfiguration &value)
void SetEncryptionConfiguration(EncryptionConfiguration &&value)
void SetTracingConfiguration(TracingConfiguration &&value)
UpdateStateMachineRequest & WithVersionDescription(const char *value)
const EncryptionConfiguration & GetEncryptionConfiguration() const
AWS_SFN_API Aws::String SerializePayload() const override
void SetEncryptionConfiguration(const EncryptionConfiguration &value)
UpdateStateMachineRequest & WithStateMachineArn(Aws::String &&value)
UpdateStateMachineRequest & WithDefinition(const Aws::String &value)
UpdateStateMachineRequest & WithRoleArn(const Aws::String &value)
UpdateStateMachineRequest & WithRoleArn(Aws::String &&value)
UpdateStateMachineRequest & WithTracingConfiguration(const TracingConfiguration &value)
UpdateStateMachineRequest & WithStateMachineArn(const char *value)
UpdateStateMachineRequest & WithRoleArn(const char *value)
UpdateStateMachineRequest & WithEncryptionConfiguration(EncryptionConfiguration &&value)
UpdateStateMachineRequest & WithLoggingConfiguration(LoggingConfiguration &&value)
const TracingConfiguration & GetTracingConfiguration() const
UpdateStateMachineRequest & WithLoggingConfiguration(const LoggingConfiguration &value)
void SetLoggingConfiguration(LoggingConfiguration &&value)
UpdateStateMachineRequest & WithTracingConfiguration(TracingConfiguration &&value)
UpdateStateMachineRequest & WithVersionDescription(Aws::String &&value)
AWS_SFN_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
virtual const char * GetServiceRequestName() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String