AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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 private:
98
99 Aws::String m_id;
100 bool m_idHasBeenSet = false;
101
102 Aws::String m_name;
103 bool m_nameHasBeenSet = false;
104
105 Aws::String m_description;
106 bool m_descriptionHasBeenSet = false;
107
108 StorageType m_storageType{StorageType::NOT_SET};
109 bool m_storageTypeHasBeenSet = false;
110
111 int m_storageCapacity{0};
112 bool m_storageCapacityHasBeenSet = false;
113 };
114
115} // namespace Model
116} // namespace Omics
117} // namespace Aws
UpdateWorkflowRequest & WithStorageType(StorageType value)
UpdateWorkflowRequest & WithStorageCapacity(int value)
AWS_OMICS_API UpdateWorkflowRequest()=default
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)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String