AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetStateMachineArn(const Aws::String& value) { m_stateMachineArnHasBeenSet = true; m_stateMachineArn = value; }
44 inline void SetStateMachineArn(Aws::String&& value) { m_stateMachineArnHasBeenSet = true; m_stateMachineArn = std::move(value); }
45 inline void SetStateMachineArn(const char* value) { m_stateMachineArnHasBeenSet = true; m_stateMachineArn.assign(value); }
47 inline PublishStateMachineVersionRequest& WithStateMachineArn(Aws::String&& value) { SetStateMachineArn(std::move(value)); return *this;}
48 inline PublishStateMachineVersionRequest& WithStateMachineArn(const char* value) { SetStateMachineArn(value); return *this;}
50
52
63 inline const Aws::String& GetRevisionId() const{ return m_revisionId; }
64 inline bool RevisionIdHasBeenSet() const { return m_revisionIdHasBeenSet; }
65 inline void SetRevisionId(const Aws::String& value) { m_revisionIdHasBeenSet = true; m_revisionId = value; }
66 inline void SetRevisionId(Aws::String&& value) { m_revisionIdHasBeenSet = true; m_revisionId = std::move(value); }
67 inline void SetRevisionId(const char* value) { m_revisionIdHasBeenSet = true; m_revisionId.assign(value); }
68 inline PublishStateMachineVersionRequest& WithRevisionId(const Aws::String& value) { SetRevisionId(value); return *this;}
69 inline PublishStateMachineVersionRequest& WithRevisionId(Aws::String&& value) { SetRevisionId(std::move(value)); return *this;}
70 inline PublishStateMachineVersionRequest& WithRevisionId(const char* value) { SetRevisionId(value); return *this;}
72
74
77 inline const Aws::String& GetDescription() const{ return m_description; }
78 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
79 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
80 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
81 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
82 inline PublishStateMachineVersionRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
83 inline PublishStateMachineVersionRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
84 inline PublishStateMachineVersionRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
86 private:
87
88 Aws::String m_stateMachineArn;
89 bool m_stateMachineArnHasBeenSet = false;
90
91 Aws::String m_revisionId;
92 bool m_revisionIdHasBeenSet = false;
93
94 Aws::String m_description;
95 bool m_descriptionHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace SFN
100} // namespace Aws
PublishStateMachineVersionRequest & WithRevisionId(const Aws::String &value)
PublishStateMachineVersionRequest & WithStateMachineArn(const Aws::String &value)
PublishStateMachineVersionRequest & WithDescription(const Aws::String &value)
PublishStateMachineVersionRequest & WithStateMachineArn(const char *value)
AWS_SFN_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
PublishStateMachineVersionRequest & WithRevisionId(const char *value)
PublishStateMachineVersionRequest & WithDescription(Aws::String &&value)
PublishStateMachineVersionRequest & WithStateMachineArn(Aws::String &&value)
AWS_SFN_API Aws::String SerializePayload() const override
PublishStateMachineVersionRequest & WithDescription(const char *value)
PublishStateMachineVersionRequest & WithRevisionId(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String