AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
RoutingConfigurationListItem.h
1
6#pragma once
7#include <aws/states/SFN_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SFN
22{
23namespace Model
24{
25
35 {
36 public:
37 AWS_SFN_API RoutingConfigurationListItem() = default;
41
42
44
50 inline const Aws::String& GetStateMachineVersionArn() const { return m_stateMachineVersionArn; }
51 inline bool StateMachineVersionArnHasBeenSet() const { return m_stateMachineVersionArnHasBeenSet; }
52 template<typename StateMachineVersionArnT = Aws::String>
53 void SetStateMachineVersionArn(StateMachineVersionArnT&& value) { m_stateMachineVersionArnHasBeenSet = true; m_stateMachineVersionArn = std::forward<StateMachineVersionArnT>(value); }
54 template<typename StateMachineVersionArnT = Aws::String>
55 RoutingConfigurationListItem& WithStateMachineVersionArn(StateMachineVersionArnT&& value) { SetStateMachineVersionArn(std::forward<StateMachineVersionArnT>(value)); return *this;}
57
59
63 inline int GetWeight() const { return m_weight; }
64 inline bool WeightHasBeenSet() const { return m_weightHasBeenSet; }
65 inline void SetWeight(int value) { m_weightHasBeenSet = true; m_weight = value; }
66 inline RoutingConfigurationListItem& WithWeight(int value) { SetWeight(value); return *this;}
68 private:
69
70 Aws::String m_stateMachineVersionArn;
71 bool m_stateMachineVersionArnHasBeenSet = false;
72
73 int m_weight{0};
74 bool m_weightHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace SFN
79} // namespace Aws
AWS_SFN_API RoutingConfigurationListItem()=default
AWS_SFN_API RoutingConfigurationListItem(Aws::Utils::Json::JsonView jsonValue)
RoutingConfigurationListItem & WithStateMachineVersionArn(StateMachineVersionArnT &&value)
void SetStateMachineVersionArn(StateMachineVersionArnT &&value)
AWS_SFN_API RoutingConfigurationListItem & operator=(Aws::Utils::Json::JsonView jsonValue)
RoutingConfigurationListItem & WithWeight(int value)
AWS_SFN_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue