AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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:
37 AWS_SECURITYHUB_API AwsStepFunctionStateMachineDetails() = default;
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 template<typename LabelT = Aws::String>
53 void SetLabel(LabelT&& value) { m_labelHasBeenSet = true; m_label = std::forward<LabelT>(value); }
54 template<typename LabelT = Aws::String>
55 AwsStepFunctionStateMachineDetails& WithLabel(LabelT&& value) { SetLabel(std::forward<LabelT>(value)); return *this;}
57
59
62 inline const AwsStepFunctionStateMachineLoggingConfigurationDetails& GetLoggingConfiguration() const { return m_loggingConfiguration; }
63 inline bool LoggingConfigurationHasBeenSet() const { return m_loggingConfigurationHasBeenSet; }
64 template<typename LoggingConfigurationT = AwsStepFunctionStateMachineLoggingConfigurationDetails>
65 void SetLoggingConfiguration(LoggingConfigurationT&& value) { m_loggingConfigurationHasBeenSet = true; m_loggingConfiguration = std::forward<LoggingConfigurationT>(value); }
66 template<typename LoggingConfigurationT = AwsStepFunctionStateMachineLoggingConfigurationDetails>
67 AwsStepFunctionStateMachineDetails& WithLoggingConfiguration(LoggingConfigurationT&& value) { SetLoggingConfiguration(std::forward<LoggingConfigurationT>(value)); return *this;}
69
71
74 inline const Aws::String& GetName() const { return m_name; }
75 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
76 template<typename NameT = Aws::String>
77 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
78 template<typename NameT = Aws::String>
79 AwsStepFunctionStateMachineDetails& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
81
83
87 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
88 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
89 template<typename RoleArnT = Aws::String>
90 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
91 template<typename RoleArnT = Aws::String>
92 AwsStepFunctionStateMachineDetails& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
94
96
99 inline const Aws::String& GetStateMachineArn() const { return m_stateMachineArn; }
100 inline bool StateMachineArnHasBeenSet() const { return m_stateMachineArnHasBeenSet; }
101 template<typename StateMachineArnT = Aws::String>
102 void SetStateMachineArn(StateMachineArnT&& value) { m_stateMachineArnHasBeenSet = true; m_stateMachineArn = std::forward<StateMachineArnT>(value); }
103 template<typename StateMachineArnT = Aws::String>
104 AwsStepFunctionStateMachineDetails& WithStateMachineArn(StateMachineArnT&& value) { SetStateMachineArn(std::forward<StateMachineArnT>(value)); return *this;}
106
108
111 inline const Aws::String& GetStatus() const { return m_status; }
112 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
113 template<typename StatusT = Aws::String>
114 void SetStatus(StatusT&& value) { m_statusHasBeenSet = true; m_status = std::forward<StatusT>(value); }
115 template<typename StatusT = Aws::String>
116 AwsStepFunctionStateMachineDetails& WithStatus(StatusT&& value) { SetStatus(std::forward<StatusT>(value)); return *this;}
118
120
123 inline const AwsStepFunctionStateMachineTracingConfigurationDetails& GetTracingConfiguration() const { return m_tracingConfiguration; }
124 inline bool TracingConfigurationHasBeenSet() const { return m_tracingConfigurationHasBeenSet; }
125 template<typename TracingConfigurationT = AwsStepFunctionStateMachineTracingConfigurationDetails>
126 void SetTracingConfiguration(TracingConfigurationT&& value) { m_tracingConfigurationHasBeenSet = true; m_tracingConfiguration = std::forward<TracingConfigurationT>(value); }
127 template<typename TracingConfigurationT = AwsStepFunctionStateMachineTracingConfigurationDetails>
128 AwsStepFunctionStateMachineDetails& WithTracingConfiguration(TracingConfigurationT&& value) { SetTracingConfiguration(std::forward<TracingConfigurationT>(value)); return *this;}
130
132
135 inline const Aws::String& GetType() const { return m_type; }
136 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
137 template<typename TypeT = Aws::String>
138 void SetType(TypeT&& value) { m_typeHasBeenSet = true; m_type = std::forward<TypeT>(value); }
139 template<typename TypeT = Aws::String>
140 AwsStepFunctionStateMachineDetails& WithType(TypeT&& value) { SetType(std::forward<TypeT>(value)); return *this;}
142 private:
143
144 Aws::String m_label;
145 bool m_labelHasBeenSet = false;
146
148 bool m_loggingConfigurationHasBeenSet = false;
149
150 Aws::String m_name;
151 bool m_nameHasBeenSet = false;
152
153 Aws::String m_roleArn;
154 bool m_roleArnHasBeenSet = false;
155
156 Aws::String m_stateMachineArn;
157 bool m_stateMachineArnHasBeenSet = false;
158
159 Aws::String m_status;
160 bool m_statusHasBeenSet = false;
161
163 bool m_tracingConfigurationHasBeenSet = false;
164
165 Aws::String m_type;
166 bool m_typeHasBeenSet = false;
167 };
168
169} // namespace Model
170} // namespace SecurityHub
171} // namespace Aws
AwsStepFunctionStateMachineDetails & WithStatus(StatusT &&value)
AwsStepFunctionStateMachineDetails & WithStateMachineArn(StateMachineArnT &&value)
AwsStepFunctionStateMachineDetails & WithLoggingConfiguration(LoggingConfigurationT &&value)
AWS_SECURITYHUB_API AwsStepFunctionStateMachineDetails(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API AwsStepFunctionStateMachineDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsStepFunctionStateMachineDetails & WithTracingConfiguration(TracingConfigurationT &&value)
AwsStepFunctionStateMachineDetails & WithLabel(LabelT &&value)
AwsStepFunctionStateMachineDetails & WithRoleArn(RoleArnT &&value)
AWS_SECURITYHUB_API AwsStepFunctionStateMachineDetails()=default
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
const AwsStepFunctionStateMachineTracingConfigurationDetails & GetTracingConfiguration() const
const AwsStepFunctionStateMachineLoggingConfigurationDetails & GetLoggingConfiguration() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue