AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TextInputCard.h
1
6#pragma once
7#include <aws/qapps/QApps_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/qapps/model/CardType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace QApps
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_QAPPS_API TextInputCard();
38 AWS_QAPPS_API TextInputCard(Aws::Utils::Json::JsonView jsonValue);
40 AWS_QAPPS_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetId() const{ return m_id; }
48 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
49 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
50 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
51 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
52 inline TextInputCard& WithId(const Aws::String& value) { SetId(value); return *this;}
53 inline TextInputCard& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
54 inline TextInputCard& WithId(const char* value) { SetId(value); return *this;}
56
58
61 inline const Aws::String& GetTitle() const{ return m_title; }
62 inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
63 inline void SetTitle(const Aws::String& value) { m_titleHasBeenSet = true; m_title = value; }
64 inline void SetTitle(Aws::String&& value) { m_titleHasBeenSet = true; m_title = std::move(value); }
65 inline void SetTitle(const char* value) { m_titleHasBeenSet = true; m_title.assign(value); }
66 inline TextInputCard& WithTitle(const Aws::String& value) { SetTitle(value); return *this;}
67 inline TextInputCard& WithTitle(Aws::String&& value) { SetTitle(std::move(value)); return *this;}
68 inline TextInputCard& WithTitle(const char* value) { SetTitle(value); return *this;}
70
72
75 inline const Aws::Vector<Aws::String>& GetDependencies() const{ return m_dependencies; }
76 inline bool DependenciesHasBeenSet() const { return m_dependenciesHasBeenSet; }
77 inline void SetDependencies(const Aws::Vector<Aws::String>& value) { m_dependenciesHasBeenSet = true; m_dependencies = value; }
78 inline void SetDependencies(Aws::Vector<Aws::String>&& value) { m_dependenciesHasBeenSet = true; m_dependencies = std::move(value); }
79 inline TextInputCard& WithDependencies(const Aws::Vector<Aws::String>& value) { SetDependencies(value); return *this;}
80 inline TextInputCard& WithDependencies(Aws::Vector<Aws::String>&& value) { SetDependencies(std::move(value)); return *this;}
81 inline TextInputCard& AddDependencies(const Aws::String& value) { m_dependenciesHasBeenSet = true; m_dependencies.push_back(value); return *this; }
82 inline TextInputCard& AddDependencies(Aws::String&& value) { m_dependenciesHasBeenSet = true; m_dependencies.push_back(std::move(value)); return *this; }
83 inline TextInputCard& AddDependencies(const char* value) { m_dependenciesHasBeenSet = true; m_dependencies.push_back(value); return *this; }
85
87
90 inline const CardType& GetType() const{ return m_type; }
91 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
92 inline void SetType(const CardType& value) { m_typeHasBeenSet = true; m_type = value; }
93 inline void SetType(CardType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
94 inline TextInputCard& WithType(const CardType& value) { SetType(value); return *this;}
95 inline TextInputCard& WithType(CardType&& value) { SetType(std::move(value)); return *this;}
97
99
102 inline const Aws::String& GetPlaceholder() const{ return m_placeholder; }
103 inline bool PlaceholderHasBeenSet() const { return m_placeholderHasBeenSet; }
104 inline void SetPlaceholder(const Aws::String& value) { m_placeholderHasBeenSet = true; m_placeholder = value; }
105 inline void SetPlaceholder(Aws::String&& value) { m_placeholderHasBeenSet = true; m_placeholder = std::move(value); }
106 inline void SetPlaceholder(const char* value) { m_placeholderHasBeenSet = true; m_placeholder.assign(value); }
107 inline TextInputCard& WithPlaceholder(const Aws::String& value) { SetPlaceholder(value); return *this;}
108 inline TextInputCard& WithPlaceholder(Aws::String&& value) { SetPlaceholder(std::move(value)); return *this;}
109 inline TextInputCard& WithPlaceholder(const char* value) { SetPlaceholder(value); return *this;}
111
113
116 inline const Aws::String& GetDefaultValue() const{ return m_defaultValue; }
117 inline bool DefaultValueHasBeenSet() const { return m_defaultValueHasBeenSet; }
118 inline void SetDefaultValue(const Aws::String& value) { m_defaultValueHasBeenSet = true; m_defaultValue = value; }
119 inline void SetDefaultValue(Aws::String&& value) { m_defaultValueHasBeenSet = true; m_defaultValue = std::move(value); }
120 inline void SetDefaultValue(const char* value) { m_defaultValueHasBeenSet = true; m_defaultValue.assign(value); }
121 inline TextInputCard& WithDefaultValue(const Aws::String& value) { SetDefaultValue(value); return *this;}
122 inline TextInputCard& WithDefaultValue(Aws::String&& value) { SetDefaultValue(std::move(value)); return *this;}
123 inline TextInputCard& WithDefaultValue(const char* value) { SetDefaultValue(value); return *this;}
125 private:
126
127 Aws::String m_id;
128 bool m_idHasBeenSet = false;
129
130 Aws::String m_title;
131 bool m_titleHasBeenSet = false;
132
133 Aws::Vector<Aws::String> m_dependencies;
134 bool m_dependenciesHasBeenSet = false;
135
136 CardType m_type;
137 bool m_typeHasBeenSet = false;
138
139 Aws::String m_placeholder;
140 bool m_placeholderHasBeenSet = false;
141
142 Aws::String m_defaultValue;
143 bool m_defaultValueHasBeenSet = false;
144 };
145
146} // namespace Model
147} // namespace QApps
148} // namespace Aws
TextInputCard & WithId(Aws::String &&value)
TextInputCard & AddDependencies(const char *value)
void SetTitle(const char *value)
TextInputCard & WithType(const CardType &value)
AWS_QAPPS_API TextInputCard(Aws::Utils::Json::JsonView jsonValue)
void SetTitle(const Aws::String &value)
void SetDependencies(const Aws::Vector< Aws::String > &value)
void SetDefaultValue(const char *value)
void SetDependencies(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetDependencies() const
TextInputCard & WithDefaultValue(Aws::String &&value)
TextInputCard & WithTitle(Aws::String &&value)
TextInputCard & WithTitle(const char *value)
void SetId(const Aws::String &value)
void SetPlaceholder(Aws::String &&value)
const Aws::String & GetId() const
TextInputCard & WithDependencies(const Aws::Vector< Aws::String > &value)
TextInputCard & AddDependencies(Aws::String &&value)
void SetPlaceholder(const Aws::String &value)
TextInputCard & WithPlaceholder(const Aws::String &value)
void SetId(const char *value)
void SetId(Aws::String &&value)
TextInputCard & AddDependencies(const Aws::String &value)
TextInputCard & WithId(const char *value)
const Aws::String & GetPlaceholder() const
void SetPlaceholder(const char *value)
void SetDefaultValue(Aws::String &&value)
TextInputCard & WithPlaceholder(Aws::String &&value)
TextInputCard & WithType(CardType &&value)
TextInputCard & WithPlaceholder(const char *value)
TextInputCard & WithDependencies(Aws::Vector< Aws::String > &&value)
void SetTitle(Aws::String &&value)
const Aws::String & GetDefaultValue() const
TextInputCard & WithDefaultValue(const char *value)
AWS_QAPPS_API TextInputCard & operator=(Aws::Utils::Json::JsonView jsonValue)
TextInputCard & WithTitle(const Aws::String &value)
void SetType(CardType &&value)
AWS_QAPPS_API Aws::Utils::Json::JsonValue Jsonize() const
TextInputCard & WithId(const Aws::String &value)
const CardType & GetType() const
void SetDefaultValue(const Aws::String &value)
const Aws::String & GetTitle() const
void SetType(const CardType &value)
TextInputCard & WithDefaultValue(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue