AWS SDK for C++  1.9.104
AWS SDK for C++
DescribeStateMachineForExecutionRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace SFN
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "DescribeStateMachineForExecution"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
41  inline const Aws::String& GetExecutionArn() const{ return m_executionArn; }
42 
47  inline bool ExecutionArnHasBeenSet() const { return m_executionArnHasBeenSet; }
48 
53  inline void SetExecutionArn(const Aws::String& value) { m_executionArnHasBeenSet = true; m_executionArn = value; }
54 
59  inline void SetExecutionArn(Aws::String&& value) { m_executionArnHasBeenSet = true; m_executionArn = std::move(value); }
60 
65  inline void SetExecutionArn(const char* value) { m_executionArnHasBeenSet = true; m_executionArn.assign(value); }
66 
71  inline DescribeStateMachineForExecutionRequest& WithExecutionArn(const Aws::String& value) { SetExecutionArn(value); return *this;}
72 
77  inline DescribeStateMachineForExecutionRequest& WithExecutionArn(Aws::String&& value) { SetExecutionArn(std::move(value)); return *this;}
78 
83  inline DescribeStateMachineForExecutionRequest& WithExecutionArn(const char* value) { SetExecutionArn(value); return *this;}
84 
85  private:
86 
87  Aws::String m_executionArn;
88  bool m_executionArnHasBeenSet;
89  };
90 
91 } // namespace Model
92 } // namespace SFN
93 } // namespace Aws
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::SFN::SFNRequest
Definition: SFNRequest.h:17
Aws::SFN::Model::DescribeStateMachineForExecutionRequest::WithExecutionArn
DescribeStateMachineForExecutionRequest & WithExecutionArn(const Aws::String &value)
Definition: DescribeStateMachineForExecutionRequest.h:71
Aws::SFN::Model::DescribeStateMachineForExecutionRequest::ExecutionArnHasBeenSet
bool ExecutionArnHasBeenSet() const
Definition: DescribeStateMachineForExecutionRequest.h:47
AWS_SFN_API
#define AWS_SFN_API
Definition: SFN_EXPORTS.h:28
Aws::SFN::Model::DescribeStateMachineForExecutionRequest::SetExecutionArn
void SetExecutionArn(Aws::String &&value)
Definition: DescribeStateMachineForExecutionRequest.h:59
Aws::SFN::Model::DescribeStateMachineForExecutionRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeStateMachineForExecutionRequest.h:30
SFN_EXPORTS.h
Aws::SFN::Model::DescribeStateMachineForExecutionRequest::DescribeStateMachineForExecutionRequest
DescribeStateMachineForExecutionRequest()
Aws::SFN::Model::DescribeStateMachineForExecutionRequest::WithExecutionArn
DescribeStateMachineForExecutionRequest & WithExecutionArn(const char *value)
Definition: DescribeStateMachineForExecutionRequest.h:83
Aws::SFN::Model::DescribeStateMachineForExecutionRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
SFNRequest.h
AWSString.h
Aws::SFN::Model::DescribeStateMachineForExecutionRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SFN::Model::DescribeStateMachineForExecutionRequest
Definition: DescribeStateMachineForExecutionRequest.h:22
Aws
Definition: AccessManagementClient.h:15
Aws::SFN::Model::DescribeStateMachineForExecutionRequest::SetExecutionArn
void SetExecutionArn(const char *value)
Definition: DescribeStateMachineForExecutionRequest.h:65
Aws::SFN::Model::DescribeStateMachineForExecutionRequest::SetExecutionArn
void SetExecutionArn(const Aws::String &value)
Definition: DescribeStateMachineForExecutionRequest.h:53
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SFN::Model::DescribeStateMachineForExecutionRequest::GetExecutionArn
const Aws::String & GetExecutionArn() const
Definition: DescribeStateMachineForExecutionRequest.h:41
Aws::SFN::Model::DescribeStateMachineForExecutionRequest::WithExecutionArn
DescribeStateMachineForExecutionRequest & WithExecutionArn(Aws::String &&value)
Definition: DescribeStateMachineForExecutionRequest.h:77