AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetTitle(const Aws::String& value) { m_titleHasBeenSet = true; m_title = value; }
49 inline void SetTitle(Aws::String&& value) { m_titleHasBeenSet = true; m_title = std::move(value); }
50 inline void SetTitle(const char* value) { m_titleHasBeenSet = true; m_title.assign(value); }
51 inline TextInputCardInput& WithTitle(const Aws::String& value) { SetTitle(value); return *this;}
52 inline TextInputCardInput& WithTitle(Aws::String&& value) { SetTitle(std::move(value)); return *this;}
53 inline TextInputCardInput& WithTitle(const char* value) { SetTitle(value); return *this;}
55
57
60 inline const Aws::String& GetId() const{ return m_id; }
61 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
62 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
63 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
64 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
65 inline TextInputCardInput& WithId(const Aws::String& value) { SetId(value); return *this;}
66 inline TextInputCardInput& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
67 inline TextInputCardInput& WithId(const char* value) { SetId(value); return *this;}
69
71
74 inline const CardType& GetType() const{ return m_type; }
75 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
76 inline void SetType(const CardType& value) { m_typeHasBeenSet = true; m_type = value; }
77 inline void SetType(CardType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
78 inline TextInputCardInput& WithType(const CardType& value) { SetType(value); return *this;}
79 inline TextInputCardInput& WithType(CardType&& value) { SetType(std::move(value)); return *this;}
81
83
86 inline const Aws::String& GetPlaceholder() const{ return m_placeholder; }
87 inline bool PlaceholderHasBeenSet() const { return m_placeholderHasBeenSet; }
88 inline void SetPlaceholder(const Aws::String& value) { m_placeholderHasBeenSet = true; m_placeholder = value; }
89 inline void SetPlaceholder(Aws::String&& value) { m_placeholderHasBeenSet = true; m_placeholder = std::move(value); }
90 inline void SetPlaceholder(const char* value) { m_placeholderHasBeenSet = true; m_placeholder.assign(value); }
91 inline TextInputCardInput& WithPlaceholder(const Aws::String& value) { SetPlaceholder(value); return *this;}
92 inline TextInputCardInput& WithPlaceholder(Aws::String&& value) { SetPlaceholder(std::move(value)); return *this;}
93 inline TextInputCardInput& WithPlaceholder(const char* value) { SetPlaceholder(value); return *this;}
95
97
100 inline const Aws::String& GetDefaultValue() const{ return m_defaultValue; }
101 inline bool DefaultValueHasBeenSet() const { return m_defaultValueHasBeenSet; }
102 inline void SetDefaultValue(const Aws::String& value) { m_defaultValueHasBeenSet = true; m_defaultValue = value; }
103 inline void SetDefaultValue(Aws::String&& value) { m_defaultValueHasBeenSet = true; m_defaultValue = std::move(value); }
104 inline void SetDefaultValue(const char* value) { m_defaultValueHasBeenSet = true; m_defaultValue.assign(value); }
105 inline TextInputCardInput& WithDefaultValue(const Aws::String& value) { SetDefaultValue(value); return *this;}
106 inline TextInputCardInput& WithDefaultValue(Aws::String&& value) { SetDefaultValue(std::move(value)); return *this;}
107 inline TextInputCardInput& WithDefaultValue(const char* value) { SetDefaultValue(value); return *this;}
109 private:
110
111 Aws::String m_title;
112 bool m_titleHasBeenSet = false;
113
114 Aws::String m_id;
115 bool m_idHasBeenSet = false;
116
117 CardType m_type;
118 bool m_typeHasBeenSet = false;
119
120 Aws::String m_placeholder;
121 bool m_placeholderHasBeenSet = false;
122
123 Aws::String m_defaultValue;
124 bool m_defaultValueHasBeenSet = false;
125 };
126
127} // namespace Model
128} // namespace QApps
129} // namespace Aws
void SetType(const CardType &value)
const Aws::String & GetPlaceholder() const
void SetDefaultValue(const Aws::String &value)
TextInputCardInput & WithTitle(Aws::String &&value)
TextInputCardInput & WithDefaultValue(Aws::String &&value)
TextInputCardInput & WithDefaultValue(const Aws::String &value)
TextInputCardInput & WithId(Aws::String &&value)
AWS_QAPPS_API TextInputCardInput & operator=(Aws::Utils::Json::JsonView jsonValue)
TextInputCardInput & WithPlaceholder(const char *value)
void SetId(const Aws::String &value)
AWS_QAPPS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetDefaultValue() const
TextInputCardInput & WithTitle(const Aws::String &value)
TextInputCardInput & WithId(const Aws::String &value)
TextInputCardInput & WithType(const CardType &value)
TextInputCardInput & WithPlaceholder(Aws::String &&value)
TextInputCardInput & WithType(CardType &&value)
TextInputCardInput & WithTitle(const char *value)
void SetDefaultValue(Aws::String &&value)
TextInputCardInput & WithDefaultValue(const char *value)
AWS_QAPPS_API TextInputCardInput(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetTitle() const
TextInputCardInput & WithId(const char *value)
TextInputCardInput & WithPlaceholder(const Aws::String &value)
void SetPlaceholder(Aws::String &&value)
void SetPlaceholder(const Aws::String &value)
void SetTitle(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue