AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
41
42
44
50 inline const Aws::String& GetStateMachineVersionArn() const{ return m_stateMachineVersionArn; }
51 inline bool StateMachineVersionArnHasBeenSet() const { return m_stateMachineVersionArnHasBeenSet; }
52 inline void SetStateMachineVersionArn(const Aws::String& value) { m_stateMachineVersionArnHasBeenSet = true; m_stateMachineVersionArn = value; }
53 inline void SetStateMachineVersionArn(Aws::String&& value) { m_stateMachineVersionArnHasBeenSet = true; m_stateMachineVersionArn = std::move(value); }
54 inline void SetStateMachineVersionArn(const char* value) { m_stateMachineVersionArnHasBeenSet = true; m_stateMachineVersionArn.assign(value); }
57 inline RoutingConfigurationListItem& WithStateMachineVersionArn(const char* value) { SetStateMachineVersionArn(value); return *this;}
59
61
65 inline int GetWeight() const{ return m_weight; }
66 inline bool WeightHasBeenSet() const { return m_weightHasBeenSet; }
67 inline void SetWeight(int value) { m_weightHasBeenSet = true; m_weight = value; }
68 inline RoutingConfigurationListItem& WithWeight(int value) { SetWeight(value); return *this;}
70 private:
71
72 Aws::String m_stateMachineVersionArn;
73 bool m_stateMachineVersionArnHasBeenSet = false;
74
75 int m_weight;
76 bool m_weightHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace SFN
81} // namespace Aws
AWS_SFN_API RoutingConfigurationListItem(Aws::Utils::Json::JsonView jsonValue)
RoutingConfigurationListItem & WithStateMachineVersionArn(const Aws::String &value)
RoutingConfigurationListItem & WithStateMachineVersionArn(Aws::String &&value)
AWS_SFN_API RoutingConfigurationListItem & operator=(Aws::Utils::Json::JsonView jsonValue)
RoutingConfigurationListItem & WithStateMachineVersionArn(const char *value)
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