AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
WorkflowParameter.h
1
6#pragma once
7#include <aws/omics/Omics_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Omics
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_OMICS_API WorkflowParameter() = default;
37 AWS_OMICS_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetDescription() const { return m_description; }
45 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
46 template<typename DescriptionT = Aws::String>
47 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
48 template<typename DescriptionT = Aws::String>
49 WorkflowParameter& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
51
53
56 inline bool GetOptional() const { return m_optional; }
57 inline bool OptionalHasBeenSet() const { return m_optionalHasBeenSet; }
58 inline void SetOptional(bool value) { m_optionalHasBeenSet = true; m_optional = value; }
59 inline WorkflowParameter& WithOptional(bool value) { SetOptional(value); return *this;}
61 private:
62
63 Aws::String m_description;
64 bool m_descriptionHasBeenSet = false;
65
66 bool m_optional{false};
67 bool m_optionalHasBeenSet = false;
68 };
69
70} // namespace Model
71} // namespace Omics
72} // 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