AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Option.h
1
6#pragma once
7#include <aws/glue/Glue_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 Glue
22{
23namespace Model
24{
25
31 class Option
32 {
33 public:
34 AWS_GLUE_API Option();
35 AWS_GLUE_API Option(Aws::Utils::Json::JsonView jsonValue);
38
39
41
44 inline const Aws::String& GetValue() const{ return m_value; }
45 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
46 inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; }
47 inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
48 inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); }
49 inline Option& WithValue(const Aws::String& value) { SetValue(value); return *this;}
50 inline Option& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;}
51 inline Option& WithValue(const char* value) { SetValue(value); return *this;}
53
55
58 inline const Aws::String& GetLabel() const{ return m_label; }
59 inline bool LabelHasBeenSet() const { return m_labelHasBeenSet; }
60 inline void SetLabel(const Aws::String& value) { m_labelHasBeenSet = true; m_label = value; }
61 inline void SetLabel(Aws::String&& value) { m_labelHasBeenSet = true; m_label = std::move(value); }
62 inline void SetLabel(const char* value) { m_labelHasBeenSet = true; m_label.assign(value); }
63 inline Option& WithLabel(const Aws::String& value) { SetLabel(value); return *this;}
64 inline Option& WithLabel(Aws::String&& value) { SetLabel(std::move(value)); return *this;}
65 inline Option& WithLabel(const char* value) { SetLabel(value); return *this;}
67
69
72 inline const Aws::String& GetDescription() const{ return m_description; }
73 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
74 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
75 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
76 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
77 inline Option& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
78 inline Option& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
79 inline Option& WithDescription(const char* value) { SetDescription(value); return *this;}
81 private:
82
83 Aws::String m_value;
84 bool m_valueHasBeenSet = false;
85
86 Aws::String m_label;
87 bool m_labelHasBeenSet = false;
88
89 Aws::String m_description;
90 bool m_descriptionHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace Glue
95} // namespace Aws
void SetDescription(const Aws::String &value)
Definition Option.h:74
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLabel(const char *value)
Definition Option.h:62
Option & WithDescription(const Aws::String &value)
Definition Option.h:77
Option & WithValue(const char *value)
Definition Option.h:51
bool ValueHasBeenSet() const
Definition Option.h:45
bool DescriptionHasBeenSet() const
Definition Option.h:73
Option & WithLabel(Aws::String &&value)
Definition Option.h:64
Option & WithValue(const Aws::String &value)
Definition Option.h:49
Option & WithLabel(const Aws::String &value)
Definition Option.h:63
Option & WithValue(Aws::String &&value)
Definition Option.h:50
void SetValue(const char *value)
Definition Option.h:48
const Aws::String & GetDescription() const
Definition Option.h:72
Option & WithLabel(const char *value)
Definition Option.h:65
void SetLabel(Aws::String &&value)
Definition Option.h:61
const Aws::String & GetValue() const
Definition Option.h:44
Option & WithDescription(Aws::String &&value)
Definition Option.h:78
void SetDescription(const char *value)
Definition Option.h:76
void SetValue(Aws::String &&value)
Definition Option.h:47
const Aws::String & GetLabel() const
Definition Option.h:58
void SetLabel(const Aws::String &value)
Definition Option.h:60
bool LabelHasBeenSet() const
Definition Option.h:59
Option & WithDescription(const char *value)
Definition Option.h:79
void SetValue(const Aws::String &value)
Definition Option.h:46
AWS_GLUE_API Option & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUE_API Option(Aws::Utils::Json::JsonView jsonValue)
void SetDescription(Aws::String &&value)
Definition Option.h:75
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue