AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
DescribeStateMachineAliasResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/states/SFN_EXPORTS.h>
12#include <aws/states/model/RoutingConfigurationListItem.h>
13
14#include <utility>
15
16namespace Aws {
17template <typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils {
21namespace Json {
22class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace SFN {
26namespace Model {
28 public:
29 AWS_SFN_API DescribeStateMachineAliasResult() = default;
32
34
37 inline const Aws::String& GetStateMachineAliasArn() const { return m_stateMachineAliasArn; }
38 template <typename StateMachineAliasArnT = Aws::String>
39 void SetStateMachineAliasArn(StateMachineAliasArnT&& value) {
40 m_stateMachineAliasArnHasBeenSet = true;
41 m_stateMachineAliasArn = std::forward<StateMachineAliasArnT>(value);
42 }
43 template <typename StateMachineAliasArnT = Aws::String>
45 SetStateMachineAliasArn(std::forward<StateMachineAliasArnT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetName() const { return m_name; }
55 template <typename NameT = Aws::String>
56 void SetName(NameT&& value) {
57 m_nameHasBeenSet = true;
58 m_name = std::forward<NameT>(value);
59 }
60 template <typename NameT = Aws::String>
62 SetName(std::forward<NameT>(value));
63 return *this;
64 }
66
68
71 inline const Aws::String& GetDescription() const { return m_description; }
72 template <typename DescriptionT = Aws::String>
73 void SetDescription(DescriptionT&& value) {
74 m_descriptionHasBeenSet = true;
75 m_description = std::forward<DescriptionT>(value);
76 }
77 template <typename DescriptionT = Aws::String>
79 SetDescription(std::forward<DescriptionT>(value));
80 return *this;
81 }
83
85
88 inline const Aws::Vector<RoutingConfigurationListItem>& GetRoutingConfiguration() const { return m_routingConfiguration; }
89 template <typename RoutingConfigurationT = Aws::Vector<RoutingConfigurationListItem>>
90 void SetRoutingConfiguration(RoutingConfigurationT&& value) {
91 m_routingConfigurationHasBeenSet = true;
92 m_routingConfiguration = std::forward<RoutingConfigurationT>(value);
93 }
94 template <typename RoutingConfigurationT = Aws::Vector<RoutingConfigurationListItem>>
96 SetRoutingConfiguration(std::forward<RoutingConfigurationT>(value));
97 return *this;
98 }
99 template <typename RoutingConfigurationT = RoutingConfigurationListItem>
101 m_routingConfigurationHasBeenSet = true;
102 m_routingConfiguration.emplace_back(std::forward<RoutingConfigurationT>(value));
103 return *this;
104 }
106
108
111 inline const Aws::Utils::DateTime& GetCreationDate() const { return m_creationDate; }
112 template <typename CreationDateT = Aws::Utils::DateTime>
113 void SetCreationDate(CreationDateT&& value) {
114 m_creationDateHasBeenSet = true;
115 m_creationDate = std::forward<CreationDateT>(value);
116 }
117 template <typename CreationDateT = Aws::Utils::DateTime>
119 SetCreationDate(std::forward<CreationDateT>(value));
120 return *this;
121 }
123
125
129 inline const Aws::Utils::DateTime& GetUpdateDate() const { return m_updateDate; }
130 template <typename UpdateDateT = Aws::Utils::DateTime>
131 void SetUpdateDate(UpdateDateT&& value) {
132 m_updateDateHasBeenSet = true;
133 m_updateDate = std::forward<UpdateDateT>(value);
134 }
135 template <typename UpdateDateT = Aws::Utils::DateTime>
137 SetUpdateDate(std::forward<UpdateDateT>(value));
138 return *this;
139 }
141
143
144 inline const Aws::String& GetRequestId() const { return m_requestId; }
145 template <typename RequestIdT = Aws::String>
146 void SetRequestId(RequestIdT&& value) {
147 m_requestIdHasBeenSet = true;
148 m_requestId = std::forward<RequestIdT>(value);
149 }
150 template <typename RequestIdT = Aws::String>
152 SetRequestId(std::forward<RequestIdT>(value));
153 return *this;
154 }
156 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
157
158 private:
159 Aws::String m_stateMachineAliasArn;
160
161 Aws::String m_name;
162
163 Aws::String m_description;
164
165 Aws::Vector<RoutingConfigurationListItem> m_routingConfiguration;
166
167 Aws::Utils::DateTime m_creationDate{};
168
169 Aws::Utils::DateTime m_updateDate{};
170
171 Aws::String m_requestId;
172 Aws::Http::HttpResponseCode m_HttpResponseCode;
173 bool m_stateMachineAliasArnHasBeenSet = false;
174 bool m_nameHasBeenSet = false;
175 bool m_descriptionHasBeenSet = false;
176 bool m_routingConfigurationHasBeenSet = false;
177 bool m_creationDateHasBeenSet = false;
178 bool m_updateDateHasBeenSet = false;
179 bool m_requestIdHasBeenSet = false;
180};
181
182} // namespace Model
183} // namespace SFN
184} // 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