AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DescribeStateMachineAliasResult.h
1
6#pragma once
7#include <aws/states/SFN_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/states/model/RoutingConfigurationListItem.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace SFN
27{
28namespace Model
29{
31 {
32 public:
33 AWS_SFN_API DescribeStateMachineAliasResult() = default;
36
37
39
42 inline const Aws::String& GetStateMachineAliasArn() const { return m_stateMachineAliasArn; }
43 template<typename StateMachineAliasArnT = Aws::String>
44 void SetStateMachineAliasArn(StateMachineAliasArnT&& value) { m_stateMachineAliasArnHasBeenSet = true; m_stateMachineAliasArn = std::forward<StateMachineAliasArnT>(value); }
45 template<typename StateMachineAliasArnT = Aws::String>
46 DescribeStateMachineAliasResult& WithStateMachineAliasArn(StateMachineAliasArnT&& value) { SetStateMachineAliasArn(std::forward<StateMachineAliasArnT>(value)); return *this;}
48
50
53 inline const Aws::String& GetName() const { return m_name; }
54 template<typename NameT = Aws::String>
55 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
56 template<typename NameT = Aws::String>
57 DescribeStateMachineAliasResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
59
61
64 inline const Aws::String& GetDescription() const { return m_description; }
65 template<typename DescriptionT = Aws::String>
66 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
67 template<typename DescriptionT = Aws::String>
68 DescribeStateMachineAliasResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
70
72
75 inline const Aws::Vector<RoutingConfigurationListItem>& GetRoutingConfiguration() const { return m_routingConfiguration; }
76 template<typename RoutingConfigurationT = Aws::Vector<RoutingConfigurationListItem>>
77 void SetRoutingConfiguration(RoutingConfigurationT&& value) { m_routingConfigurationHasBeenSet = true; m_routingConfiguration = std::forward<RoutingConfigurationT>(value); }
78 template<typename RoutingConfigurationT = Aws::Vector<RoutingConfigurationListItem>>
79 DescribeStateMachineAliasResult& WithRoutingConfiguration(RoutingConfigurationT&& value) { SetRoutingConfiguration(std::forward<RoutingConfigurationT>(value)); return *this;}
80 template<typename RoutingConfigurationT = RoutingConfigurationListItem>
81 DescribeStateMachineAliasResult& AddRoutingConfiguration(RoutingConfigurationT&& value) { m_routingConfigurationHasBeenSet = true; m_routingConfiguration.emplace_back(std::forward<RoutingConfigurationT>(value)); return *this; }
83
85
88 inline const Aws::Utils::DateTime& GetCreationDate() const { return m_creationDate; }
89 template<typename CreationDateT = Aws::Utils::DateTime>
90 void SetCreationDate(CreationDateT&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::forward<CreationDateT>(value); }
91 template<typename CreationDateT = Aws::Utils::DateTime>
92 DescribeStateMachineAliasResult& WithCreationDate(CreationDateT&& value) { SetCreationDate(std::forward<CreationDateT>(value)); return *this;}
94
96
100 inline const Aws::Utils::DateTime& GetUpdateDate() const { return m_updateDate; }
101 template<typename UpdateDateT = Aws::Utils::DateTime>
102 void SetUpdateDate(UpdateDateT&& value) { m_updateDateHasBeenSet = true; m_updateDate = std::forward<UpdateDateT>(value); }
103 template<typename UpdateDateT = Aws::Utils::DateTime>
104 DescribeStateMachineAliasResult& WithUpdateDate(UpdateDateT&& value) { SetUpdateDate(std::forward<UpdateDateT>(value)); return *this;}
106
108
109 inline const Aws::String& GetRequestId() const { return m_requestId; }
110 template<typename RequestIdT = Aws::String>
111 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
112 template<typename RequestIdT = Aws::String>
113 DescribeStateMachineAliasResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
115 private:
116
117 Aws::String m_stateMachineAliasArn;
118 bool m_stateMachineAliasArnHasBeenSet = false;
119
120 Aws::String m_name;
121 bool m_nameHasBeenSet = false;
122
123 Aws::String m_description;
124 bool m_descriptionHasBeenSet = false;
125
126 Aws::Vector<RoutingConfigurationListItem> m_routingConfiguration;
127 bool m_routingConfigurationHasBeenSet = false;
128
129 Aws::Utils::DateTime m_creationDate{};
130 bool m_creationDateHasBeenSet = false;
131
132 Aws::Utils::DateTime m_updateDate{};
133 bool m_updateDateHasBeenSet = false;
134
135 Aws::String m_requestId;
136 bool m_requestIdHasBeenSet = false;
137 };
138
139} // namespace Model
140} // namespace SFN
141} // namespace Aws
DescribeStateMachineAliasResult & WithRoutingConfiguration(RoutingConfigurationT &&value)
DescribeStateMachineAliasResult & WithRequestId(RequestIdT &&value)
DescribeStateMachineAliasResult & WithDescription(DescriptionT &&value)
AWS_SFN_API DescribeStateMachineAliasResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeStateMachineAliasResult & AddRoutingConfiguration(RoutingConfigurationT &&value)
DescribeStateMachineAliasResult & WithName(NameT &&value)
const Aws::Vector< RoutingConfigurationListItem > & GetRoutingConfiguration() const
AWS_SFN_API DescribeStateMachineAliasResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeStateMachineAliasResult & WithUpdateDate(UpdateDateT &&value)
DescribeStateMachineAliasResult & WithCreationDate(CreationDateT &&value)
DescribeStateMachineAliasResult & WithStateMachineAliasArn(StateMachineAliasArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue