AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CustomParameter.h
1
6#pragma once
7#include <aws/datazone/DataZone_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 DataZone
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_DATAZONE_API CustomParameter();
36 AWS_DATAZONE_API CustomParameter(Aws::Utils::Json::JsonView jsonValue);
38 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetDefaultValue() const{ return m_defaultValue; }
46 inline bool DefaultValueHasBeenSet() const { return m_defaultValueHasBeenSet; }
47 inline void SetDefaultValue(const Aws::String& value) { m_defaultValueHasBeenSet = true; m_defaultValue = value; }
48 inline void SetDefaultValue(Aws::String&& value) { m_defaultValueHasBeenSet = true; m_defaultValue = std::move(value); }
49 inline void SetDefaultValue(const char* value) { m_defaultValueHasBeenSet = true; m_defaultValue.assign(value); }
50 inline CustomParameter& WithDefaultValue(const Aws::String& value) { SetDefaultValue(value); return *this;}
51 inline CustomParameter& WithDefaultValue(Aws::String&& value) { SetDefaultValue(std::move(value)); return *this;}
52 inline CustomParameter& WithDefaultValue(const char* value) { SetDefaultValue(value); return *this;}
54
56
59 inline const Aws::String& GetDescription() const{ return m_description; }
60 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
61 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
62 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
63 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
64 inline CustomParameter& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
65 inline CustomParameter& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
66 inline CustomParameter& WithDescription(const char* value) { SetDescription(value); return *this;}
68
70
73 inline const Aws::String& GetFieldType() const{ return m_fieldType; }
74 inline bool FieldTypeHasBeenSet() const { return m_fieldTypeHasBeenSet; }
75 inline void SetFieldType(const Aws::String& value) { m_fieldTypeHasBeenSet = true; m_fieldType = value; }
76 inline void SetFieldType(Aws::String&& value) { m_fieldTypeHasBeenSet = true; m_fieldType = std::move(value); }
77 inline void SetFieldType(const char* value) { m_fieldTypeHasBeenSet = true; m_fieldType.assign(value); }
78 inline CustomParameter& WithFieldType(const Aws::String& value) { SetFieldType(value); return *this;}
79 inline CustomParameter& WithFieldType(Aws::String&& value) { SetFieldType(std::move(value)); return *this;}
80 inline CustomParameter& WithFieldType(const char* value) { SetFieldType(value); return *this;}
82
84
87 inline bool GetIsEditable() const{ return m_isEditable; }
88 inline bool IsEditableHasBeenSet() const { return m_isEditableHasBeenSet; }
89 inline void SetIsEditable(bool value) { m_isEditableHasBeenSet = true; m_isEditable = value; }
90 inline CustomParameter& WithIsEditable(bool value) { SetIsEditable(value); return *this;}
92
94
97 inline bool GetIsOptional() const{ return m_isOptional; }
98 inline bool IsOptionalHasBeenSet() const { return m_isOptionalHasBeenSet; }
99 inline void SetIsOptional(bool value) { m_isOptionalHasBeenSet = true; m_isOptional = value; }
100 inline CustomParameter& WithIsOptional(bool value) { SetIsOptional(value); return *this;}
102
104
107 inline const Aws::String& GetKeyName() const{ return m_keyName; }
108 inline bool KeyNameHasBeenSet() const { return m_keyNameHasBeenSet; }
109 inline void SetKeyName(const Aws::String& value) { m_keyNameHasBeenSet = true; m_keyName = value; }
110 inline void SetKeyName(Aws::String&& value) { m_keyNameHasBeenSet = true; m_keyName = std::move(value); }
111 inline void SetKeyName(const char* value) { m_keyNameHasBeenSet = true; m_keyName.assign(value); }
112 inline CustomParameter& WithKeyName(const Aws::String& value) { SetKeyName(value); return *this;}
113 inline CustomParameter& WithKeyName(Aws::String&& value) { SetKeyName(std::move(value)); return *this;}
114 inline CustomParameter& WithKeyName(const char* value) { SetKeyName(value); return *this;}
116 private:
117
118 Aws::String m_defaultValue;
119 bool m_defaultValueHasBeenSet = false;
120
121 Aws::String m_description;
122 bool m_descriptionHasBeenSet = false;
123
124 Aws::String m_fieldType;
125 bool m_fieldTypeHasBeenSet = false;
126
127 bool m_isEditable;
128 bool m_isEditableHasBeenSet = false;
129
130 bool m_isOptional;
131 bool m_isOptionalHasBeenSet = false;
132
133 Aws::String m_keyName;
134 bool m_keyNameHasBeenSet = false;
135 };
136
137} // namespace Model
138} // namespace DataZone
139} // namespace Aws
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetKeyName() const
AWS_DATAZONE_API CustomParameter(Aws::Utils::Json::JsonView jsonValue)
void SetDefaultValue(Aws::String &&value)
void SetFieldType(const Aws::String &value)
CustomParameter & WithDescription(const Aws::String &value)
AWS_DATAZONE_API CustomParameter & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetKeyName(const Aws::String &value)
const Aws::String & GetFieldType() const
void SetKeyName(Aws::String &&value)
void SetFieldType(Aws::String &&value)
CustomParameter & WithKeyName(const char *value)
CustomParameter & WithDefaultValue(Aws::String &&value)
void SetDescription(const Aws::String &value)
CustomParameter & WithIsEditable(bool value)
CustomParameter & WithIsOptional(bool value)
const Aws::String & GetDefaultValue() const
CustomParameter & WithFieldType(const char *value)
void SetDefaultValue(const Aws::String &value)
CustomParameter & WithKeyName(const Aws::String &value)
CustomParameter & WithFieldType(Aws::String &&value)
CustomParameter & WithDefaultValue(const char *value)
void SetDefaultValue(const char *value)
CustomParameter & WithDefaultValue(const Aws::String &value)
void SetDescription(Aws::String &&value)
CustomParameter & WithKeyName(Aws::String &&value)
CustomParameter & WithDescription(const char *value)
CustomParameter & WithFieldType(const Aws::String &value)
CustomParameter & WithDescription(Aws::String &&value)
const Aws::String & GetDescription() const
void SetDescription(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue