AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AwsStepFunctionStateMachineDetails.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/securityhub/model/AwsStepFunctionStateMachineLoggingConfigurationDetails.h>
10#include <aws/securityhub/model/AwsStepFunctionStateMachineTracingConfigurationDetails.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace SecurityHub
24{
25namespace Model
26{
27
35 {
36 public:
40 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
50 inline const Aws::String& GetLabel() const{ return m_label; }
51 inline bool LabelHasBeenSet() const { return m_labelHasBeenSet; }
52 inline void SetLabel(const Aws::String& value) { m_labelHasBeenSet = true; m_label = value; }
53 inline void SetLabel(Aws::String&& value) { m_labelHasBeenSet = true; m_label = std::move(value); }
54 inline void SetLabel(const char* value) { m_labelHasBeenSet = true; m_label.assign(value); }
55 inline AwsStepFunctionStateMachineDetails& WithLabel(const Aws::String& value) { SetLabel(value); return *this;}
56 inline AwsStepFunctionStateMachineDetails& WithLabel(Aws::String&& value) { SetLabel(std::move(value)); return *this;}
57 inline AwsStepFunctionStateMachineDetails& WithLabel(const char* value) { SetLabel(value); return *this;}
59
61
64 inline const AwsStepFunctionStateMachineLoggingConfigurationDetails& GetLoggingConfiguration() const{ return m_loggingConfiguration; }
65 inline bool LoggingConfigurationHasBeenSet() const { return m_loggingConfigurationHasBeenSet; }
66 inline void SetLoggingConfiguration(const AwsStepFunctionStateMachineLoggingConfigurationDetails& value) { m_loggingConfigurationHasBeenSet = true; m_loggingConfiguration = value; }
67 inline void SetLoggingConfiguration(AwsStepFunctionStateMachineLoggingConfigurationDetails&& value) { m_loggingConfigurationHasBeenSet = true; m_loggingConfiguration = std::move(value); }
71
73
76 inline const Aws::String& GetName() const{ return m_name; }
77 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
78 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
79 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
80 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
81 inline AwsStepFunctionStateMachineDetails& WithName(const Aws::String& value) { SetName(value); return *this;}
82 inline AwsStepFunctionStateMachineDetails& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
83 inline AwsStepFunctionStateMachineDetails& WithName(const char* value) { SetName(value); return *this;}
85
87
91 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
92 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
93 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
94 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
95 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
96 inline AwsStepFunctionStateMachineDetails& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
97 inline AwsStepFunctionStateMachineDetails& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
98 inline AwsStepFunctionStateMachineDetails& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
100
102
105 inline const Aws::String& GetStateMachineArn() const{ return m_stateMachineArn; }
106 inline bool StateMachineArnHasBeenSet() const { return m_stateMachineArnHasBeenSet; }
107 inline void SetStateMachineArn(const Aws::String& value) { m_stateMachineArnHasBeenSet = true; m_stateMachineArn = value; }
108 inline void SetStateMachineArn(Aws::String&& value) { m_stateMachineArnHasBeenSet = true; m_stateMachineArn = std::move(value); }
109 inline void SetStateMachineArn(const char* value) { m_stateMachineArnHasBeenSet = true; m_stateMachineArn.assign(value); }
112 inline AwsStepFunctionStateMachineDetails& WithStateMachineArn(const char* value) { SetStateMachineArn(value); return *this;}
114
116
119 inline const Aws::String& GetStatus() const{ return m_status; }
120 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
121 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
122 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
123 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
124 inline AwsStepFunctionStateMachineDetails& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
125 inline AwsStepFunctionStateMachineDetails& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
126 inline AwsStepFunctionStateMachineDetails& WithStatus(const char* value) { SetStatus(value); return *this;}
128
130
133 inline const AwsStepFunctionStateMachineTracingConfigurationDetails& GetTracingConfiguration() const{ return m_tracingConfiguration; }
134 inline bool TracingConfigurationHasBeenSet() const { return m_tracingConfigurationHasBeenSet; }
135 inline void SetTracingConfiguration(const AwsStepFunctionStateMachineTracingConfigurationDetails& value) { m_tracingConfigurationHasBeenSet = true; m_tracingConfiguration = value; }
136 inline void SetTracingConfiguration(AwsStepFunctionStateMachineTracingConfigurationDetails&& value) { m_tracingConfigurationHasBeenSet = true; m_tracingConfiguration = std::move(value); }
140
142
145 inline const Aws::String& GetType() const{ return m_type; }
146 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
147 inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; }
148 inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
149 inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); }
150 inline AwsStepFunctionStateMachineDetails& WithType(const Aws::String& value) { SetType(value); return *this;}
151 inline AwsStepFunctionStateMachineDetails& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;}
152 inline AwsStepFunctionStateMachineDetails& WithType(const char* value) { SetType(value); return *this;}
154 private:
155
156 Aws::String m_label;
157 bool m_labelHasBeenSet = false;
158
160 bool m_loggingConfigurationHasBeenSet = false;
161
162 Aws::String m_name;
163 bool m_nameHasBeenSet = false;
164
165 Aws::String m_roleArn;
166 bool m_roleArnHasBeenSet = false;
167
168 Aws::String m_stateMachineArn;
169 bool m_stateMachineArnHasBeenSet = false;
170
171 Aws::String m_status;
172 bool m_statusHasBeenSet = false;
173
175 bool m_tracingConfigurationHasBeenSet = false;
176
177 Aws::String m_type;
178 bool m_typeHasBeenSet = false;
179 };
180
181} // namespace Model
182} // namespace SecurityHub
183} // namespace Aws
AwsStepFunctionStateMachineDetails & WithStateMachineArn(Aws::String &&value)
AwsStepFunctionStateMachineDetails & WithLoggingConfiguration(const AwsStepFunctionStateMachineLoggingConfigurationDetails &value)
AwsStepFunctionStateMachineDetails & WithName(const Aws::String &value)
void SetLoggingConfiguration(const AwsStepFunctionStateMachineLoggingConfigurationDetails &value)
AwsStepFunctionStateMachineDetails & WithStateMachineArn(const Aws::String &value)
void SetTracingConfiguration(const AwsStepFunctionStateMachineTracingConfigurationDetails &value)
AwsStepFunctionStateMachineDetails & WithName(Aws::String &&value)
AwsStepFunctionStateMachineDetails & WithType(const char *value)
AwsStepFunctionStateMachineDetails & WithType(Aws::String &&value)
AwsStepFunctionStateMachineDetails & WithRoleArn(const char *value)
AWS_SECURITYHUB_API AwsStepFunctionStateMachineDetails(Aws::Utils::Json::JsonView jsonValue)
AwsStepFunctionStateMachineDetails & WithTracingConfiguration(AwsStepFunctionStateMachineTracingConfigurationDetails &&value)
AwsStepFunctionStateMachineDetails & WithLabel(const char *value)
AwsStepFunctionStateMachineDetails & WithType(const Aws::String &value)
AwsStepFunctionStateMachineDetails & WithStatus(const Aws::String &value)
AWS_SECURITYHUB_API AwsStepFunctionStateMachineDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsStepFunctionStateMachineDetails & WithStateMachineArn(const char *value)
void SetLoggingConfiguration(AwsStepFunctionStateMachineLoggingConfigurationDetails &&value)
AwsStepFunctionStateMachineDetails & WithLabel(const Aws::String &value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTracingConfiguration(AwsStepFunctionStateMachineTracingConfigurationDetails &&value)
AwsStepFunctionStateMachineDetails & WithRoleArn(Aws::String &&value)
AwsStepFunctionStateMachineDetails & WithLoggingConfiguration(AwsStepFunctionStateMachineLoggingConfigurationDetails &&value)
AwsStepFunctionStateMachineDetails & WithName(const char *value)
const AwsStepFunctionStateMachineTracingConfigurationDetails & GetTracingConfiguration() const
const AwsStepFunctionStateMachineLoggingConfigurationDetails & GetLoggingConfiguration() const
AwsStepFunctionStateMachineDetails & WithStatus(Aws::String &&value)
AwsStepFunctionStateMachineDetails & WithLabel(Aws::String &&value)
AwsStepFunctionStateMachineDetails & WithStatus(const char *value)
AwsStepFunctionStateMachineDetails & WithTracingConfiguration(const AwsStepFunctionStateMachineTracingConfigurationDetails &value)
AwsStepFunctionStateMachineDetails & WithRoleArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue