AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
PublishStateMachineVersionRequest.h
1
6#pragma once
7#include <aws/states/SFN_EXPORTS.h>
8#include <aws/states/SFNRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace SFN
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_SFN_API PublishStateMachineVersionRequest() = default;
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 "PublishStateMachineVersion"; }
31
32 AWS_SFN_API Aws::String SerializePayload() const override;
33
35
36
38
41 inline const Aws::String& GetStateMachineArn() const { return m_stateMachineArn; }
42 inline bool StateMachineArnHasBeenSet() const { return m_stateMachineArnHasBeenSet; }
43 template<typename StateMachineArnT = Aws::String>
44 void SetStateMachineArn(StateMachineArnT&& value) { m_stateMachineArnHasBeenSet = true; m_stateMachineArn = std::forward<StateMachineArnT>(value); }
45 template<typename StateMachineArnT = Aws::String>
46 PublishStateMachineVersionRequest& WithStateMachineArn(StateMachineArnT&& value) { SetStateMachineArn(std::forward<StateMachineArnT>(value)); return *this;}
48
50
61 inline const Aws::String& GetRevisionId() const { return m_revisionId; }
62 inline bool RevisionIdHasBeenSet() const { return m_revisionIdHasBeenSet; }
63 template<typename RevisionIdT = Aws::String>
64 void SetRevisionId(RevisionIdT&& value) { m_revisionIdHasBeenSet = true; m_revisionId = std::forward<RevisionIdT>(value); }
65 template<typename RevisionIdT = Aws::String>
66 PublishStateMachineVersionRequest& WithRevisionId(RevisionIdT&& value) { SetRevisionId(std::forward<RevisionIdT>(value)); return *this;}
68
70
73 inline const Aws::String& GetDescription() const { return m_description; }
74 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
75 template<typename DescriptionT = Aws::String>
76 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
77 template<typename DescriptionT = Aws::String>
78 PublishStateMachineVersionRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
80 private:
81
82 Aws::String m_stateMachineArn;
83 bool m_stateMachineArnHasBeenSet = false;
84
85 Aws::String m_revisionId;
86 bool m_revisionIdHasBeenSet = false;
87
88 Aws::String m_description;
89 bool m_descriptionHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace SFN
94} // namespace Aws
PublishStateMachineVersionRequest & WithDescription(DescriptionT &&value)
PublishStateMachineVersionRequest & WithRevisionId(RevisionIdT &&value)
AWS_SFN_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
PublishStateMachineVersionRequest & WithStateMachineArn(StateMachineArnT &&value)
AWS_SFN_API Aws::String SerializePayload() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String