AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
TextInputCard.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/qapps/QApps_EXPORTS.h>
10#include <aws/qapps/model/CardType.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace QApps {
22namespace Model {
23
31 public:
32 AWS_QAPPS_API TextInputCard() = default;
35 AWS_QAPPS_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetId() const { return m_id; }
42 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
43 template <typename IdT = Aws::String>
44 void SetId(IdT&& value) {
45 m_idHasBeenSet = true;
46 m_id = std::forward<IdT>(value);
47 }
48 template <typename IdT = Aws::String>
50 SetId(std::forward<IdT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetTitle() const { return m_title; }
60 inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
61 template <typename TitleT = Aws::String>
62 void SetTitle(TitleT&& value) {
63 m_titleHasBeenSet = true;
64 m_title = std::forward<TitleT>(value);
65 }
66 template <typename TitleT = Aws::String>
68 SetTitle(std::forward<TitleT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::Vector<Aws::String>& GetDependencies() const { return m_dependencies; }
78 inline bool DependenciesHasBeenSet() const { return m_dependenciesHasBeenSet; }
79 template <typename DependenciesT = Aws::Vector<Aws::String>>
81 m_dependenciesHasBeenSet = true;
82 m_dependencies = std::forward<DependenciesT>(value);
83 }
84 template <typename DependenciesT = Aws::Vector<Aws::String>>
86 SetDependencies(std::forward<DependenciesT>(value));
87 return *this;
88 }
89 template <typename DependenciesT = Aws::String>
91 m_dependenciesHasBeenSet = true;
92 m_dependencies.emplace_back(std::forward<DependenciesT>(value));
93 return *this;
94 }
96
98
101 inline CardType GetType() const { return m_type; }
102 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
103 inline void SetType(CardType value) {
104 m_typeHasBeenSet = true;
105 m_type = value;
106 }
108 SetType(value);
109 return *this;
110 }
112
114
117 inline const Aws::String& GetPlaceholder() const { return m_placeholder; }
118 inline bool PlaceholderHasBeenSet() const { return m_placeholderHasBeenSet; }
119 template <typename PlaceholderT = Aws::String>
121 m_placeholderHasBeenSet = true;
122 m_placeholder = std::forward<PlaceholderT>(value);
123 }
124 template <typename PlaceholderT = Aws::String>
126 SetPlaceholder(std::forward<PlaceholderT>(value));
127 return *this;
128 }
130
132
135 inline const Aws::String& GetDefaultValue() const { return m_defaultValue; }
136 inline bool DefaultValueHasBeenSet() const { return m_defaultValueHasBeenSet; }
137 template <typename DefaultValueT = Aws::String>
139 m_defaultValueHasBeenSet = true;
140 m_defaultValue = std::forward<DefaultValueT>(value);
141 }
142 template <typename DefaultValueT = Aws::String>
144 SetDefaultValue(std::forward<DefaultValueT>(value));
145 return *this;
146 }
148 private:
149 Aws::String m_id;
150
151 Aws::String m_title;
152
153 Aws::Vector<Aws::String> m_dependencies;
154
156
157 Aws::String m_placeholder;
158
159 Aws::String m_defaultValue;
160 bool m_idHasBeenSet = false;
161 bool m_titleHasBeenSet = false;
162 bool m_dependenciesHasBeenSet = false;
163 bool m_typeHasBeenSet = false;
164 bool m_placeholderHasBeenSet = false;
165 bool m_defaultValueHasBeenSet = false;
166};
167
168} // namespace Model
169} // namespace QApps
170} // namespace Aws
AWS_QAPPS_API TextInputCard(Aws::Utils::Json::JsonView jsonValue)
TextInputCard & WithTitle(TitleT &&value)
const Aws::Vector< Aws::String > & GetDependencies() const
TextInputCard & WithDependencies(DependenciesT &&value)
const Aws::String & GetId() const
void SetTitle(TitleT &&value)
TextInputCard & WithPlaceholder(PlaceholderT &&value)
const Aws::String & GetPlaceholder() const
AWS_QAPPS_API TextInputCard()=default
void SetDependencies(DependenciesT &&value)
const Aws::String & GetDefaultValue() const
AWS_QAPPS_API TextInputCard & operator=(Aws::Utils::Json::JsonView jsonValue)
TextInputCard & WithDefaultValue(DefaultValueT &&value)
TextInputCard & AddDependencies(DependenciesT &&value)
TextInputCard & WithId(IdT &&value)
AWS_QAPPS_API Aws::Utils::Json::JsonValue Jsonize() const
TextInputCard & WithType(CardType value)
void SetPlaceholder(PlaceholderT &&value)
const Aws::String & GetTitle() const
void SetDefaultValue(DefaultValueT &&value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue