AWS SDK for C++

AWS SDK for C++ Version 1.11.742

Loading...
Searching...
No Matches
WorkflowParameter.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/omics/Omics_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Omics {
20namespace Model {
21
28 public:
29 AWS_OMICS_API WorkflowParameter() = default;
32 AWS_OMICS_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const Aws::String& GetDescription() const { return m_description; }
39 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
40 template <typename DescriptionT = Aws::String>
41 void SetDescription(DescriptionT&& value) {
42 m_descriptionHasBeenSet = true;
43 m_description = std::forward<DescriptionT>(value);
44 }
45 template <typename DescriptionT = Aws::String>
46 WorkflowParameter& WithDescription(DescriptionT&& value) {
47 SetDescription(std::forward<DescriptionT>(value));
48 return *this;
49 }
51
53
56 inline bool GetOptional() const { return m_optional; }
57 inline bool OptionalHasBeenSet() const { return m_optionalHasBeenSet; }
58 inline void SetOptional(bool value) {
59 m_optionalHasBeenSet = true;
60 m_optional = value;
61 }
62 inline WorkflowParameter& WithOptional(bool value) {
63 SetOptional(value);
64 return *this;
65 }
67 private:
68 Aws::String m_description;
69
70 bool m_optional{false};
71 bool m_descriptionHasBeenSet = false;
72 bool m_optionalHasBeenSet = false;
73};
74
75} // namespace Model
76} // namespace Omics
77} // namespace Aws
AWS_OMICS_API WorkflowParameter(Aws::Utils::Json::JsonView jsonValue)
WorkflowParameter & WithOptional(bool value)
AWS_OMICS_API WorkflowParameter & operator=(Aws::Utils::Json::JsonView jsonValue)
WorkflowParameter & WithDescription(DescriptionT &&value)
const Aws::String & GetDescription() const
AWS_OMICS_API WorkflowParameter()=default
void SetDescription(DescriptionT &&value)
AWS_OMICS_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue