AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
StartWorkflowExecutionResult.h
1
6#pragma once
7#include <aws/swf/SWF_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13template<typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace SWF
24{
25namespace Model
26{
34 {
35 public:
36 AWS_SWF_API StartWorkflowExecutionResult() = default;
39
40
42
47 inline const Aws::String& GetRunId() const { return m_runId; }
48 template<typename RunIdT = Aws::String>
49 void SetRunId(RunIdT&& value) { m_runIdHasBeenSet = true; m_runId = std::forward<RunIdT>(value); }
50 template<typename RunIdT = Aws::String>
51 StartWorkflowExecutionResult& WithRunId(RunIdT&& value) { SetRunId(std::forward<RunIdT>(value)); return *this;}
53
55
56 inline const Aws::String& GetRequestId() const { return m_requestId; }
57 template<typename RequestIdT = Aws::String>
58 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
59 template<typename RequestIdT = Aws::String>
60 StartWorkflowExecutionResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
62 private:
63
64 Aws::String m_runId;
65 bool m_runIdHasBeenSet = false;
66
67 Aws::String m_requestId;
68 bool m_requestIdHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace SWF
73} // namespace Aws
AWS_SWF_API StartWorkflowExecutionResult()=default
StartWorkflowExecutionResult & WithRunId(RunIdT &&value)
StartWorkflowExecutionResult & WithRequestId(RequestIdT &&value)
AWS_SWF_API StartWorkflowExecutionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_SWF_API StartWorkflowExecutionResult(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