AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CreateStateMachineAliasResult.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/DateTime.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace SFN
25{
26namespace Model
27{
29 {
30 public:
31 AWS_SFN_API CreateStateMachineAliasResult() = default;
34
35
37
41 inline const Aws::String& GetStateMachineAliasArn() const { return m_stateMachineAliasArn; }
42 template<typename StateMachineAliasArnT = Aws::String>
43 void SetStateMachineAliasArn(StateMachineAliasArnT&& value) { m_stateMachineAliasArnHasBeenSet = true; m_stateMachineAliasArn = std::forward<StateMachineAliasArnT>(value); }
44 template<typename StateMachineAliasArnT = Aws::String>
45 CreateStateMachineAliasResult& WithStateMachineAliasArn(StateMachineAliasArnT&& value) { SetStateMachineAliasArn(std::forward<StateMachineAliasArnT>(value)); return *this;}
47
49
52 inline const Aws::Utils::DateTime& GetCreationDate() const { return m_creationDate; }
53 template<typename CreationDateT = Aws::Utils::DateTime>
54 void SetCreationDate(CreationDateT&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::forward<CreationDateT>(value); }
55 template<typename CreationDateT = Aws::Utils::DateTime>
56 CreateStateMachineAliasResult& WithCreationDate(CreationDateT&& value) { SetCreationDate(std::forward<CreationDateT>(value)); return *this;}
58
60
61 inline const Aws::String& GetRequestId() const { return m_requestId; }
62 template<typename RequestIdT = Aws::String>
63 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
64 template<typename RequestIdT = Aws::String>
65 CreateStateMachineAliasResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
67 private:
68
69 Aws::String m_stateMachineAliasArn;
70 bool m_stateMachineAliasArnHasBeenSet = false;
71
72 Aws::Utils::DateTime m_creationDate{};
73 bool m_creationDateHasBeenSet = false;
74
75 Aws::String m_requestId;
76 bool m_requestIdHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace SFN
81} // namespace Aws
CreateStateMachineAliasResult & WithCreationDate(CreationDateT &&value)
AWS_SFN_API CreateStateMachineAliasResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_SFN_API CreateStateMachineAliasResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateStateMachineAliasResult & WithRequestId(RequestIdT &&value)
void SetStateMachineAliasArn(StateMachineAliasArnT &&value)
CreateStateMachineAliasResult & WithStateMachineAliasArn(StateMachineAliasArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue