AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
TextInputCardInput.h
1
6#pragma once
7#include <aws/qapps/QApps_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/qapps/model/CardType.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 QApps
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_QAPPS_API TextInputCardInput() = default;
39 AWS_QAPPS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetTitle() const { return m_title; }
47 inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
48 template<typename TitleT = Aws::String>
49 void SetTitle(TitleT&& value) { m_titleHasBeenSet = true; m_title = std::forward<TitleT>(value); }
50 template<typename TitleT = Aws::String>
51 TextInputCardInput& WithTitle(TitleT&& value) { SetTitle(std::forward<TitleT>(value)); return *this;}
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) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
62 template<typename IdT = Aws::String>
63 TextInputCardInput& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
65
67
70 inline CardType GetType() const { return m_type; }
71 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
72 inline void SetType(CardType value) { m_typeHasBeenSet = true; m_type = value; }
73 inline TextInputCardInput& WithType(CardType value) { SetType(value); return *this;}
75
77
80 inline const Aws::String& GetPlaceholder() const { return m_placeholder; }
81 inline bool PlaceholderHasBeenSet() const { return m_placeholderHasBeenSet; }
82 template<typename PlaceholderT = Aws::String>
83 void SetPlaceholder(PlaceholderT&& value) { m_placeholderHasBeenSet = true; m_placeholder = std::forward<PlaceholderT>(value); }
84 template<typename PlaceholderT = Aws::String>
85 TextInputCardInput& WithPlaceholder(PlaceholderT&& value) { SetPlaceholder(std::forward<PlaceholderT>(value)); return *this;}
87
89
92 inline const Aws::String& GetDefaultValue() const { return m_defaultValue; }
93 inline bool DefaultValueHasBeenSet() const { return m_defaultValueHasBeenSet; }
94 template<typename DefaultValueT = Aws::String>
95 void SetDefaultValue(DefaultValueT&& value) { m_defaultValueHasBeenSet = true; m_defaultValue = std::forward<DefaultValueT>(value); }
96 template<typename DefaultValueT = Aws::String>
97 TextInputCardInput& WithDefaultValue(DefaultValueT&& value) { SetDefaultValue(std::forward<DefaultValueT>(value)); return *this;}
99 private:
100
101 Aws::String m_title;
102 bool m_titleHasBeenSet = false;
103
104 Aws::String m_id;
105 bool m_idHasBeenSet = false;
106
108 bool m_typeHasBeenSet = false;
109
110 Aws::String m_placeholder;
111 bool m_placeholderHasBeenSet = false;
112
113 Aws::String m_defaultValue;
114 bool m_defaultValueHasBeenSet = false;
115 };
116
117} // namespace Model
118} // namespace QApps
119} // 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