AWS SDK for C++

AWS SDK for C++ Version 1.11.750

Loading...
Searching...
No Matches
CreateWorkflowDefinitionRequest.h
1
6#pragma once
7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/nova-act/NovaActRequest.h>
10#include <aws/nova-act/NovaAct_EXPORTS.h>
11#include <aws/nova-act/model/WorkflowExportConfig.h>
12
13#include <utility>
14
15namespace Aws {
16namespace NovaAct {
17namespace Model {
18
22 public:
23 AWS_NOVAACT_API CreateWorkflowDefinitionRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "CreateWorkflowDefinition"; }
30
31 AWS_NOVAACT_API Aws::String SerializePayload() const override;
32
34
38 inline const Aws::String& GetName() const { return m_name; }
39 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
40 template <typename NameT = Aws::String>
41 void SetName(NameT&& value) {
42 m_nameHasBeenSet = true;
43 m_name = std::forward<NameT>(value);
44 }
45 template <typename NameT = Aws::String>
47 SetName(std::forward<NameT>(value));
48 return *this;
49 }
51
53
57 inline const Aws::String& GetDescription() const { return m_description; }
58 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
59 template <typename DescriptionT = Aws::String>
60 void SetDescription(DescriptionT&& value) {
61 m_descriptionHasBeenSet = true;
62 m_description = std::forward<DescriptionT>(value);
63 }
64 template <typename DescriptionT = Aws::String>
66 SetDescription(std::forward<DescriptionT>(value));
67 return *this;
68 }
70
72
76 inline const WorkflowExportConfig& GetExportConfig() const { return m_exportConfig; }
77 inline bool ExportConfigHasBeenSet() const { return m_exportConfigHasBeenSet; }
78 template <typename ExportConfigT = WorkflowExportConfig>
79 void SetExportConfig(ExportConfigT&& value) {
80 m_exportConfigHasBeenSet = true;
81 m_exportConfig = std::forward<ExportConfigT>(value);
82 }
83 template <typename ExportConfigT = WorkflowExportConfig>
85 SetExportConfig(std::forward<ExportConfigT>(value));
86 return *this;
87 }
89
91
95 inline const Aws::String& GetClientToken() const { return m_clientToken; }
96 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
97 template <typename ClientTokenT = Aws::String>
98 void SetClientToken(ClientTokenT&& value) {
99 m_clientTokenHasBeenSet = true;
100 m_clientToken = std::forward<ClientTokenT>(value);
101 }
102 template <typename ClientTokenT = Aws::String>
104 SetClientToken(std::forward<ClientTokenT>(value));
105 return *this;
106 }
108 private:
109 Aws::String m_name;
110
111 Aws::String m_description;
112
113 WorkflowExportConfig m_exportConfig;
114
116 bool m_nameHasBeenSet = false;
117 bool m_descriptionHasBeenSet = false;
118 bool m_exportConfigHasBeenSet = false;
119 bool m_clientTokenHasBeenSet = true;
120};
121
122} // namespace Model
123} // namespace NovaAct
124} // namespace Aws
AWS_NOVAACT_API CreateWorkflowDefinitionRequest()=default
CreateWorkflowDefinitionRequest & WithClientToken(ClientTokenT &&value)
CreateWorkflowDefinitionRequest & WithExportConfig(ExportConfigT &&value)
CreateWorkflowDefinitionRequest & WithDescription(DescriptionT &&value)
CreateWorkflowDefinitionRequest & WithName(NameT &&value)
AWS_NOVAACT_API Aws::String SerializePayload() const override
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String