AWS SDK for C++

AWS SDK for C++ Version 1.11.635

Loading...
Searching...
No Matches
UpdateWorkflowRequest.h
1
6#pragma once
7#include <aws/omics/Omics_EXPORTS.h>
8#include <aws/omics/OmicsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/omics/model/StorageType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Omics
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_OMICS_API UpdateWorkflowRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdateWorkflow"; }
32
33 AWS_OMICS_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetId() const { return m_id; }
41 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
42 template<typename IdT = Aws::String>
43 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
44 template<typename IdT = Aws::String>
45 UpdateWorkflowRequest& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
47
49
52 inline const Aws::String& GetName() const { return m_name; }
53 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
54 template<typename NameT = Aws::String>
55 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
56 template<typename NameT = Aws::String>
57 UpdateWorkflowRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
59
61
64 inline const Aws::String& GetDescription() const { return m_description; }
65 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
66 template<typename DescriptionT = Aws::String>
67 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
68 template<typename DescriptionT = Aws::String>
69 UpdateWorkflowRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
71
73
81 inline StorageType GetStorageType() const { return m_storageType; }
82 inline bool StorageTypeHasBeenSet() const { return m_storageTypeHasBeenSet; }
83 inline void SetStorageType(StorageType value) { m_storageTypeHasBeenSet = true; m_storageType = value; }
84 inline UpdateWorkflowRequest& WithStorageType(StorageType value) { SetStorageType(value); return *this;}
86
88
92 inline int GetStorageCapacity() const { return m_storageCapacity; }
93 inline bool StorageCapacityHasBeenSet() const { return m_storageCapacityHasBeenSet; }
94 inline void SetStorageCapacity(int value) { m_storageCapacityHasBeenSet = true; m_storageCapacity = value; }
95 inline UpdateWorkflowRequest& WithStorageCapacity(int value) { SetStorageCapacity(value); return *this;}
97
99
103 inline const Aws::String& GetReadmeMarkdown() const { return m_readmeMarkdown; }
104 inline bool ReadmeMarkdownHasBeenSet() const { return m_readmeMarkdownHasBeenSet; }
105 template<typename ReadmeMarkdownT = Aws::String>
106 void SetReadmeMarkdown(ReadmeMarkdownT&& value) { m_readmeMarkdownHasBeenSet = true; m_readmeMarkdown = std::forward<ReadmeMarkdownT>(value); }
107 template<typename ReadmeMarkdownT = Aws::String>
108 UpdateWorkflowRequest& WithReadmeMarkdown(ReadmeMarkdownT&& value) { SetReadmeMarkdown(std::forward<ReadmeMarkdownT>(value)); return *this;}
110 private:
111
112 Aws::String m_id;
113 bool m_idHasBeenSet = false;
114
115 Aws::String m_name;
116 bool m_nameHasBeenSet = false;
117
118 Aws::String m_description;
119 bool m_descriptionHasBeenSet = false;
120
121 StorageType m_storageType{StorageType::NOT_SET};
122 bool m_storageTypeHasBeenSet = false;
123
124 int m_storageCapacity{0};
125 bool m_storageCapacityHasBeenSet = false;
126
127 Aws::String m_readmeMarkdown;
128 bool m_readmeMarkdownHasBeenSet = false;
129 };
130
131} // namespace Model
132} // namespace Omics
133} // namespace Aws
UpdateWorkflowRequest & WithStorageType(StorageType value)
UpdateWorkflowRequest & WithStorageCapacity(int value)
AWS_OMICS_API UpdateWorkflowRequest()=default
UpdateWorkflowRequest & WithReadmeMarkdown(ReadmeMarkdownT &&value)
UpdateWorkflowRequest & WithName(NameT &&value)
virtual const char * GetServiceRequestName() const override
AWS_OMICS_API Aws::String SerializePayload() const override
UpdateWorkflowRequest & WithId(IdT &&value)
UpdateWorkflowRequest & WithDescription(DescriptionT &&value)
void SetReadmeMarkdown(ReadmeMarkdownT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String