AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CountOpenWorkflowExecutionsResult.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{
35 {
36 public:
37 AWS_SWF_API CountOpenWorkflowExecutionsResult() = default;
40
41
43
46 inline int GetCount() const { return m_count; }
47 inline void SetCount(int value) { m_countHasBeenSet = true; m_count = value; }
48 inline CountOpenWorkflowExecutionsResult& WithCount(int value) { SetCount(value); return *this;}
50
52
56 inline bool GetTruncated() const { return m_truncated; }
57 inline void SetTruncated(bool value) { m_truncatedHasBeenSet = true; m_truncated = value; }
58 inline CountOpenWorkflowExecutionsResult& WithTruncated(bool value) { SetTruncated(value); return *this;}
60
62
63 inline const Aws::String& GetRequestId() const { return m_requestId; }
64 template<typename RequestIdT = Aws::String>
65 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
66 template<typename RequestIdT = Aws::String>
67 CountOpenWorkflowExecutionsResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
69 private:
70
71 int m_count{0};
72 bool m_countHasBeenSet = false;
73
74 bool m_truncated{false};
75 bool m_truncatedHasBeenSet = false;
76
77 Aws::String m_requestId;
78 bool m_requestIdHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace SWF
83} // namespace Aws
CountOpenWorkflowExecutionsResult & WithCount(int value)
CountOpenWorkflowExecutionsResult & WithRequestId(RequestIdT &&value)
AWS_SWF_API CountOpenWorkflowExecutionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_SWF_API CountOpenWorkflowExecutionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CountOpenWorkflowExecutionsResult & WithTruncated(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue