AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
TextInputCardInput.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/qapps/QApps_EXPORTS.h>
9#include <aws/qapps/model/CardType.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace QApps {
21namespace Model {
22
30 public:
31 AWS_QAPPS_API TextInputCardInput() = default;
34 AWS_QAPPS_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetTitle() const { return m_title; }
41 inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
42 template <typename TitleT = Aws::String>
43 void SetTitle(TitleT&& value) {
44 m_titleHasBeenSet = true;
45 m_title = std::forward<TitleT>(value);
46 }
47 template <typename TitleT = Aws::String>
49 SetTitle(std::forward<TitleT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetId() const { return m_id; }
59 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
60 template <typename IdT = Aws::String>
61 void SetId(IdT&& value) {
62 m_idHasBeenSet = true;
63 m_id = std::forward<IdT>(value);
64 }
65 template <typename IdT = Aws::String>
67 SetId(std::forward<IdT>(value));
68 return *this;
69 }
71
73
76 inline CardType GetType() const { return m_type; }
77 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
78 inline void SetType(CardType value) {
79 m_typeHasBeenSet = true;
80 m_type = value;
81 }
83 SetType(value);
84 return *this;
85 }
87
89
92 inline const Aws::String& GetPlaceholder() const { return m_placeholder; }
93 inline bool PlaceholderHasBeenSet() const { return m_placeholderHasBeenSet; }
94 template <typename PlaceholderT = Aws::String>
96 m_placeholderHasBeenSet = true;
97 m_placeholder = std::forward<PlaceholderT>(value);
98 }
99 template <typename PlaceholderT = Aws::String>
101 SetPlaceholder(std::forward<PlaceholderT>(value));
102 return *this;
103 }
105
107
110 inline const Aws::String& GetDefaultValue() const { return m_defaultValue; }
111 inline bool DefaultValueHasBeenSet() const { return m_defaultValueHasBeenSet; }
112 template <typename DefaultValueT = Aws::String>
114 m_defaultValueHasBeenSet = true;
115 m_defaultValue = std::forward<DefaultValueT>(value);
116 }
117 template <typename DefaultValueT = Aws::String>
119 SetDefaultValue(std::forward<DefaultValueT>(value));
120 return *this;
121 }
123 private:
124 Aws::String m_title;
125
126 Aws::String m_id;
127
129
130 Aws::String m_placeholder;
131
132 Aws::String m_defaultValue;
133 bool m_titleHasBeenSet = false;
134 bool m_idHasBeenSet = false;
135 bool m_typeHasBeenSet = false;
136 bool m_placeholderHasBeenSet = false;
137 bool m_defaultValueHasBeenSet = false;
138};
139
140} // namespace Model
141} // namespace QApps
142} // namespace Aws
AWS_QAPPS_API TextInputCardInput()=default
TextInputCardInput & WithDefaultValue(DefaultValueT &&value)
const Aws::String & GetPlaceholder() const
AWS_QAPPS_API TextInputCardInput & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QAPPS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetDefaultValue() const
TextInputCardInput & WithId(IdT &&value)
TextInputCardInput & WithType(CardType value)
TextInputCardInput & WithPlaceholder(PlaceholderT &&value)
AWS_QAPPS_API TextInputCardInput(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetTitle() const
void SetPlaceholder(PlaceholderT &&value)
TextInputCardInput & WithTitle(TitleT &&value)
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
Aws::Utils::Json::JsonValue JsonValue