AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
PublishStateMachineVersionResult.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/states/SFN_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace SFN {
24namespace Model {
26 public:
27 AWS_SFN_API PublishStateMachineVersionResult() = default;
30
32
35 inline const Aws::Utils::DateTime& GetCreationDate() const { return m_creationDate; }
36 template <typename CreationDateT = Aws::Utils::DateTime>
37 void SetCreationDate(CreationDateT&& value) {
38 m_creationDateHasBeenSet = true;
39 m_creationDate = std::forward<CreationDateT>(value);
40 }
41 template <typename CreationDateT = Aws::Utils::DateTime>
43 SetCreationDate(std::forward<CreationDateT>(value));
44 return *this;
45 }
47
49
53 inline const Aws::String& GetStateMachineVersionArn() const { return m_stateMachineVersionArn; }
54 template <typename StateMachineVersionArnT = Aws::String>
55 void SetStateMachineVersionArn(StateMachineVersionArnT&& value) {
56 m_stateMachineVersionArnHasBeenSet = true;
57 m_stateMachineVersionArn = std::forward<StateMachineVersionArnT>(value);
58 }
59 template <typename StateMachineVersionArnT = Aws::String>
61 SetStateMachineVersionArn(std::forward<StateMachineVersionArnT>(value));
62 return *this;
63 }
65
67
68 inline const Aws::String& GetRequestId() const { return m_requestId; }
69 template <typename RequestIdT = Aws::String>
70 void SetRequestId(RequestIdT&& value) {
71 m_requestIdHasBeenSet = true;
72 m_requestId = std::forward<RequestIdT>(value);
73 }
74 template <typename RequestIdT = Aws::String>
76 SetRequestId(std::forward<RequestIdT>(value));
77 return *this;
78 }
80 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
81
82 private:
83 Aws::Utils::DateTime m_creationDate{};
84
85 Aws::String m_stateMachineVersionArn;
86
87 Aws::String m_requestId;
88 Aws::Http::HttpResponseCode m_HttpResponseCode;
89 bool m_creationDateHasBeenSet = false;
90 bool m_stateMachineVersionArnHasBeenSet = false;
91 bool m_requestIdHasBeenSet = false;
92};
93
94} // namespace Model
95} // namespace SFN
96} // namespace Aws
PublishStateMachineVersionResult & WithStateMachineVersionArn(StateMachineVersionArnT &&value)
PublishStateMachineVersionResult & WithRequestId(RequestIdT &&value)
AWS_SFN_API PublishStateMachineVersionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
PublishStateMachineVersionResult & WithCreationDate(CreationDateT &&value)
AWS_SFN_API PublishStateMachineVersionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue