AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
FormInputCardInput.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#include <aws/qapps/model/FormInputCardMetadata.h>
11#include <aws/qapps/model/InputCardComputeMode.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace QApps {
23namespace Model {
24
32 public:
33 AWS_QAPPS_API FormInputCardInput() = default;
36 AWS_QAPPS_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline const Aws::String& GetTitle() const { return m_title; }
43 inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
44 template <typename TitleT = Aws::String>
45 void SetTitle(TitleT&& value) {
46 m_titleHasBeenSet = true;
47 m_title = std::forward<TitleT>(value);
48 }
49 template <typename TitleT = Aws::String>
51 SetTitle(std::forward<TitleT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetId() const { return m_id; }
61 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
62 template <typename IdT = Aws::String>
63 void SetId(IdT&& value) {
64 m_idHasBeenSet = true;
65 m_id = std::forward<IdT>(value);
66 }
67 template <typename IdT = Aws::String>
69 SetId(std::forward<IdT>(value));
70 return *this;
71 }
73
75
78 inline CardType GetType() const { return m_type; }
79 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
80 inline void SetType(CardType value) {
81 m_typeHasBeenSet = true;
82 m_type = value;
83 }
85 SetType(value);
86 return *this;
87 }
89
91
94 inline const FormInputCardMetadata& GetMetadata() const { return m_metadata; }
95 inline bool MetadataHasBeenSet() const { return m_metadataHasBeenSet; }
96 template <typename MetadataT = FormInputCardMetadata>
97 void SetMetadata(MetadataT&& value) {
98 m_metadataHasBeenSet = true;
99 m_metadata = std::forward<MetadataT>(value);
100 }
101 template <typename MetadataT = FormInputCardMetadata>
103 SetMetadata(std::forward<MetadataT>(value));
104 return *this;
105 }
107
109
117 inline InputCardComputeMode GetComputeMode() const { return m_computeMode; }
118 inline bool ComputeModeHasBeenSet() const { return m_computeModeHasBeenSet; }
120 m_computeModeHasBeenSet = true;
121 m_computeMode = value;
122 }
124 SetComputeMode(value);
125 return *this;
126 }
128 private:
129 Aws::String m_title;
130
131 Aws::String m_id;
132
134
135 FormInputCardMetadata m_metadata;
136
138 bool m_titleHasBeenSet = false;
139 bool m_idHasBeenSet = false;
140 bool m_typeHasBeenSet = false;
141 bool m_metadataHasBeenSet = false;
142 bool m_computeModeHasBeenSet = false;
143};
144
145} // namespace Model
146} // namespace QApps
147} // namespace Aws
FormInputCardInput & WithTitle(TitleT &&value)
AWS_QAPPS_API FormInputCardInput()=default
FormInputCardInput & WithId(IdT &&value)
AWS_QAPPS_API FormInputCardInput(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetTitle() const
FormInputCardInput & WithMetadata(MetadataT &&value)
InputCardComputeMode GetComputeMode() const
FormInputCardInput & WithComputeMode(InputCardComputeMode value)
AWS_QAPPS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QAPPS_API FormInputCardInput & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetComputeMode(InputCardComputeMode value)
const FormInputCardMetadata & GetMetadata() const
FormInputCardInput & WithType(CardType 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