AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ConfigurationObject.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Glue
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_GLUE_API ConfigurationObject();
40
41
43
46 inline const Aws::String& GetDefaultValue() const{ return m_defaultValue; }
47 inline bool DefaultValueHasBeenSet() const { return m_defaultValueHasBeenSet; }
48 inline void SetDefaultValue(const Aws::String& value) { m_defaultValueHasBeenSet = true; m_defaultValue = value; }
49 inline void SetDefaultValue(Aws::String&& value) { m_defaultValueHasBeenSet = true; m_defaultValue = std::move(value); }
50 inline void SetDefaultValue(const char* value) { m_defaultValueHasBeenSet = true; m_defaultValue.assign(value); }
51 inline ConfigurationObject& WithDefaultValue(const Aws::String& value) { SetDefaultValue(value); return *this;}
52 inline ConfigurationObject& WithDefaultValue(Aws::String&& value) { SetDefaultValue(std::move(value)); return *this;}
53 inline ConfigurationObject& WithDefaultValue(const char* value) { SetDefaultValue(value); return *this;}
55
57
60 inline const Aws::Vector<Aws::String>& GetAllowedValues() const{ return m_allowedValues; }
61 inline bool AllowedValuesHasBeenSet() const { return m_allowedValuesHasBeenSet; }
62 inline void SetAllowedValues(const Aws::Vector<Aws::String>& value) { m_allowedValuesHasBeenSet = true; m_allowedValues = value; }
63 inline void SetAllowedValues(Aws::Vector<Aws::String>&& value) { m_allowedValuesHasBeenSet = true; m_allowedValues = std::move(value); }
65 inline ConfigurationObject& WithAllowedValues(Aws::Vector<Aws::String>&& value) { SetAllowedValues(std::move(value)); return *this;}
66 inline ConfigurationObject& AddAllowedValues(const Aws::String& value) { m_allowedValuesHasBeenSet = true; m_allowedValues.push_back(value); return *this; }
67 inline ConfigurationObject& AddAllowedValues(Aws::String&& value) { m_allowedValuesHasBeenSet = true; m_allowedValues.push_back(std::move(value)); return *this; }
68 inline ConfigurationObject& AddAllowedValues(const char* value) { m_allowedValuesHasBeenSet = true; m_allowedValues.push_back(value); return *this; }
70
72
75 inline const Aws::String& GetMinValue() const{ return m_minValue; }
76 inline bool MinValueHasBeenSet() const { return m_minValueHasBeenSet; }
77 inline void SetMinValue(const Aws::String& value) { m_minValueHasBeenSet = true; m_minValue = value; }
78 inline void SetMinValue(Aws::String&& value) { m_minValueHasBeenSet = true; m_minValue = std::move(value); }
79 inline void SetMinValue(const char* value) { m_minValueHasBeenSet = true; m_minValue.assign(value); }
80 inline ConfigurationObject& WithMinValue(const Aws::String& value) { SetMinValue(value); return *this;}
81 inline ConfigurationObject& WithMinValue(Aws::String&& value) { SetMinValue(std::move(value)); return *this;}
82 inline ConfigurationObject& WithMinValue(const char* value) { SetMinValue(value); return *this;}
84
86
89 inline const Aws::String& GetMaxValue() const{ return m_maxValue; }
90 inline bool MaxValueHasBeenSet() const { return m_maxValueHasBeenSet; }
91 inline void SetMaxValue(const Aws::String& value) { m_maxValueHasBeenSet = true; m_maxValue = value; }
92 inline void SetMaxValue(Aws::String&& value) { m_maxValueHasBeenSet = true; m_maxValue = std::move(value); }
93 inline void SetMaxValue(const char* value) { m_maxValueHasBeenSet = true; m_maxValue.assign(value); }
94 inline ConfigurationObject& WithMaxValue(const Aws::String& value) { SetMaxValue(value); return *this;}
95 inline ConfigurationObject& WithMaxValue(Aws::String&& value) { SetMaxValue(std::move(value)); return *this;}
96 inline ConfigurationObject& WithMaxValue(const char* value) { SetMaxValue(value); return *this;}
98 private:
99
100 Aws::String m_defaultValue;
101 bool m_defaultValueHasBeenSet = false;
102
103 Aws::Vector<Aws::String> m_allowedValues;
104 bool m_allowedValuesHasBeenSet = false;
105
106 Aws::String m_minValue;
107 bool m_minValueHasBeenSet = false;
108
109 Aws::String m_maxValue;
110 bool m_maxValueHasBeenSet = false;
111 };
112
113} // namespace Model
114} // namespace Glue
115} // namespace Aws
void SetDefaultValue(const Aws::String &value)
const Aws::Vector< Aws::String > & GetAllowedValues() const
void SetMaxValue(const Aws::String &value)
ConfigurationObject & WithDefaultValue(const Aws::String &value)
ConfigurationObject & WithAllowedValues(Aws::Vector< Aws::String > &&value)
ConfigurationObject & AddAllowedValues(const char *value)
const Aws::String & GetMaxValue() const
ConfigurationObject & WithMinValue(const Aws::String &value)
ConfigurationObject & AddAllowedValues(Aws::String &&value)
ConfigurationObject & WithMaxValue(const char *value)
const Aws::String & GetDefaultValue() const
ConfigurationObject & AddAllowedValues(const Aws::String &value)
void SetDefaultValue(Aws::String &&value)
ConfigurationObject & WithMinValue(Aws::String &&value)
void SetMinValue(const Aws::String &value)
void SetAllowedValues(const Aws::Vector< Aws::String > &value)
ConfigurationObject & WithMaxValue(Aws::String &&value)
ConfigurationObject & WithDefaultValue(Aws::String &&value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
ConfigurationObject & WithDefaultValue(const char *value)
ConfigurationObject & WithMinValue(const char *value)
AWS_GLUE_API ConfigurationObject(Aws::Utils::Json::JsonView jsonValue)
ConfigurationObject & WithAllowedValues(const Aws::Vector< Aws::String > &value)
const Aws::String & GetMinValue() const
void SetAllowedValues(Aws::Vector< Aws::String > &&value)
ConfigurationObject & WithMaxValue(const Aws::String &value)
AWS_GLUE_API ConfigurationObject & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue