AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
DescribeStateMachineRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/states/SFNRequest.h>
9#include <aws/states/SFN_EXPORTS.h>
10#include <aws/states/model/IncludedData.h>
11
12#include <utility>
13
14namespace Aws {
15namespace SFN {
16namespace Model {
17
21 public:
22 AWS_SFN_API DescribeStateMachineRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "DescribeStateMachine"; }
29
30 AWS_SFN_API Aws::String SerializePayload() const override;
31
33
35
42 inline const Aws::String& GetStateMachineArn() const { return m_stateMachineArn; }
43 inline bool StateMachineArnHasBeenSet() const { return m_stateMachineArnHasBeenSet; }
44 template <typename StateMachineArnT = Aws::String>
45 void SetStateMachineArn(StateMachineArnT&& value) {
46 m_stateMachineArnHasBeenSet = true;
47 m_stateMachineArn = std::forward<StateMachineArnT>(value);
48 }
49 template <typename StateMachineArnT = Aws::String>
51 SetStateMachineArn(std::forward<StateMachineArnT>(value));
52 return *this;
53 }
55
57
68 inline IncludedData GetIncludedData() const { return m_includedData; }
69 inline bool IncludedDataHasBeenSet() const { return m_includedDataHasBeenSet; }
70 inline void SetIncludedData(IncludedData value) {
71 m_includedDataHasBeenSet = true;
72 m_includedData = value;
73 }
75 SetIncludedData(value);
76 return *this;
77 }
79 private:
80 Aws::String m_stateMachineArn;
81
82 IncludedData m_includedData{IncludedData::NOT_SET};
83 bool m_stateMachineArnHasBeenSet = false;
84 bool m_includedDataHasBeenSet = false;
85};
86
87} // namespace Model
88} // namespace SFN
89} // namespace Aws
DescribeStateMachineRequest & WithStateMachineArn(StateMachineArnT &&value)
virtual const char * GetServiceRequestName() const override
AWS_SFN_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_SFN_API DescribeStateMachineRequest()=default
AWS_SFN_API Aws::String SerializePayload() const override
DescribeStateMachineRequest & WithIncludedData(IncludedData value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String