AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PublishStateMachineVersionResult.h
1
6#pragma once
7#include <aws/states/SFN_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.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::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
41 inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDate = value; }
42 inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDate = std::move(value); }
46
48
52 inline const Aws::String& GetStateMachineVersionArn() const{ return m_stateMachineVersionArn; }
53 inline void SetStateMachineVersionArn(const Aws::String& value) { m_stateMachineVersionArn = value; }
54 inline void SetStateMachineVersionArn(Aws::String&& value) { m_stateMachineVersionArn = std::move(value); }
55 inline void SetStateMachineVersionArn(const char* value) { m_stateMachineVersionArn.assign(value); }
60
62
63 inline const Aws::String& GetRequestId() const{ return m_requestId; }
64 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
65 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
66 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
67 inline PublishStateMachineVersionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
68 inline PublishStateMachineVersionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
69 inline PublishStateMachineVersionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
71 private:
72
73 Aws::Utils::DateTime m_creationDate;
74
75 Aws::String m_stateMachineVersionArn;
76
77 Aws::String m_requestId;
78 };
79
80} // namespace Model
81} // namespace SFN
82} // namespace Aws
PublishStateMachineVersionResult & WithRequestId(const char *value)
PublishStateMachineVersionResult & WithCreationDate(Aws::Utils::DateTime &&value)
PublishStateMachineVersionResult & WithRequestId(Aws::String &&value)
AWS_SFN_API PublishStateMachineVersionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
PublishStateMachineVersionResult & WithCreationDate(const Aws::Utils::DateTime &value)
PublishStateMachineVersionResult & WithRequestId(const Aws::String &value)
PublishStateMachineVersionResult & WithStateMachineVersionArn(const Aws::String &value)
PublishStateMachineVersionResult & WithStateMachineVersionArn(Aws::String &&value)
AWS_SFN_API PublishStateMachineVersionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
PublishStateMachineVersionResult & WithStateMachineVersionArn(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue