AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
DeleteWorkflowVersionRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/omics/OmicsRequest.h>
9#include <aws/omics/Omics_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Omics {
15namespace Model {
16
20 public:
21 AWS_OMICS_API DeleteWorkflowVersionRequest() = 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 "DeleteWorkflowVersion"; }
28
29 AWS_OMICS_API Aws::String SerializePayload() const override;
30
32
35 inline const Aws::String& GetWorkflowId() const { return m_workflowId; }
36 inline bool WorkflowIdHasBeenSet() const { return m_workflowIdHasBeenSet; }
37 template <typename WorkflowIdT = Aws::String>
38 void SetWorkflowId(WorkflowIdT&& value) {
39 m_workflowIdHasBeenSet = true;
40 m_workflowId = std::forward<WorkflowIdT>(value);
41 }
42 template <typename WorkflowIdT = Aws::String>
44 SetWorkflowId(std::forward<WorkflowIdT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::String& GetVersionName() const { return m_versionName; }
54 inline bool VersionNameHasBeenSet() const { return m_versionNameHasBeenSet; }
55 template <typename VersionNameT = Aws::String>
56 void SetVersionName(VersionNameT&& value) {
57 m_versionNameHasBeenSet = true;
58 m_versionName = std::forward<VersionNameT>(value);
59 }
60 template <typename VersionNameT = Aws::String>
62 SetVersionName(std::forward<VersionNameT>(value));
63 return *this;
64 }
66 private:
67 Aws::String m_workflowId;
68
69 Aws::String m_versionName;
70 bool m_workflowIdHasBeenSet = false;
71 bool m_versionNameHasBeenSet = false;
72};
73
74} // namespace Model
75} // namespace Omics
76} // namespace Aws
DeleteWorkflowVersionRequest & WithVersionName(VersionNameT &&value)
virtual const char * GetServiceRequestName() const override
DeleteWorkflowVersionRequest & WithWorkflowId(WorkflowIdT &&value)
AWS_OMICS_API Aws::String SerializePayload() const override
AWS_OMICS_API DeleteWorkflowVersionRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String