AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
PublishStateMachineVersionRequest.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
11#include <utility>
12
13namespace Aws {
14namespace SFN {
15namespace Model {
16
20 public:
21 AWS_SFN_API PublishStateMachineVersionRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "PublishStateMachineVersion"; }
28
29 AWS_SFN_API Aws::String SerializePayload() const override;
30
32
34
37 inline const Aws::String& GetStateMachineArn() const { return m_stateMachineArn; }
38 inline bool StateMachineArnHasBeenSet() const { return m_stateMachineArnHasBeenSet; }
39 template <typename StateMachineArnT = Aws::String>
40 void SetStateMachineArn(StateMachineArnT&& value) {
41 m_stateMachineArnHasBeenSet = true;
42 m_stateMachineArn = std::forward<StateMachineArnT>(value);
43 }
44 template <typename StateMachineArnT = Aws::String>
46 SetStateMachineArn(std::forward<StateMachineArnT>(value));
47 return *this;
48 }
50
52
63 inline const Aws::String& GetRevisionId() const { return m_revisionId; }
64 inline bool RevisionIdHasBeenSet() const { return m_revisionIdHasBeenSet; }
65 template <typename RevisionIdT = Aws::String>
66 void SetRevisionId(RevisionIdT&& value) {
67 m_revisionIdHasBeenSet = true;
68 m_revisionId = std::forward<RevisionIdT>(value);
69 }
70 template <typename RevisionIdT = Aws::String>
72 SetRevisionId(std::forward<RevisionIdT>(value));
73 return *this;
74 }
76
78
81 inline const Aws::String& GetDescription() const { return m_description; }
82 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
83 template <typename DescriptionT = Aws::String>
84 void SetDescription(DescriptionT&& value) {
85 m_descriptionHasBeenSet = true;
86 m_description = std::forward<DescriptionT>(value);
87 }
88 template <typename DescriptionT = Aws::String>
90 SetDescription(std::forward<DescriptionT>(value));
91 return *this;
92 }
94 private:
95 Aws::String m_stateMachineArn;
96
97 Aws::String m_revisionId;
98
99 Aws::String m_description;
100 bool m_stateMachineArnHasBeenSet = false;
101 bool m_revisionIdHasBeenSet = false;
102 bool m_descriptionHasBeenSet = false;
103};
104
105} // namespace Model
106} // namespace SFN
107} // 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