AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateStateMachineResult.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:
34
35
37
40 inline const Aws::String& GetStateMachineArn() const{ return m_stateMachineArn; }
41 inline void SetStateMachineArn(const Aws::String& value) { m_stateMachineArn = value; }
42 inline void SetStateMachineArn(Aws::String&& value) { m_stateMachineArn = std::move(value); }
43 inline void SetStateMachineArn(const char* value) { m_stateMachineArn.assign(value); }
44 inline CreateStateMachineResult& WithStateMachineArn(const Aws::String& value) { SetStateMachineArn(value); return *this;}
45 inline CreateStateMachineResult& WithStateMachineArn(Aws::String&& value) { SetStateMachineArn(std::move(value)); return *this;}
46 inline CreateStateMachineResult& WithStateMachineArn(const char* value) { SetStateMachineArn(value); return *this;}
48
50
53 inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
54 inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDate = value; }
55 inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDate = std::move(value); }
57 inline CreateStateMachineResult& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;}
59
61
66 inline const Aws::String& GetStateMachineVersionArn() const{ return m_stateMachineVersionArn; }
67 inline void SetStateMachineVersionArn(const Aws::String& value) { m_stateMachineVersionArn = value; }
68 inline void SetStateMachineVersionArn(Aws::String&& value) { m_stateMachineVersionArn = std::move(value); }
69 inline void SetStateMachineVersionArn(const char* value) { m_stateMachineVersionArn.assign(value); }
72 inline CreateStateMachineResult& WithStateMachineVersionArn(const char* value) { SetStateMachineVersionArn(value); return *this;}
74
76
77 inline const Aws::String& GetRequestId() const{ return m_requestId; }
78 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
79 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
80 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
81 inline CreateStateMachineResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
82 inline CreateStateMachineResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
83 inline CreateStateMachineResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
85 private:
86
87 Aws::String m_stateMachineArn;
88
89 Aws::Utils::DateTime m_creationDate;
90
91 Aws::String m_stateMachineVersionArn;
92
93 Aws::String m_requestId;
94 };
95
96} // namespace Model
97} // namespace SFN
98} // namespace Aws
void SetCreationDate(Aws::Utils::DateTime &&value)
AWS_SFN_API CreateStateMachineResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateStateMachineResult & WithCreationDate(Aws::Utils::DateTime &&value)
CreateStateMachineResult & WithRequestId(const Aws::String &value)
CreateStateMachineResult & WithRequestId(Aws::String &&value)
CreateStateMachineResult & WithCreationDate(const Aws::Utils::DateTime &value)
CreateStateMachineResult & WithRequestId(const char *value)
void SetStateMachineArn(const Aws::String &value)
void SetCreationDate(const Aws::Utils::DateTime &value)
CreateStateMachineResult & WithStateMachineVersionArn(const Aws::String &value)
CreateStateMachineResult & WithStateMachineArn(const Aws::String &value)
AWS_SFN_API CreateStateMachineResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Utils::DateTime & GetCreationDate() const
CreateStateMachineResult & WithStateMachineArn(Aws::String &&value)
CreateStateMachineResult & WithStateMachineVersionArn(const char *value)
void SetStateMachineVersionArn(const Aws::String &value)
CreateStateMachineResult & WithStateMachineVersionArn(Aws::String &&value)
CreateStateMachineResult & WithStateMachineArn(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue