AWS SDK for C++

AWS SDK for C++ Version 1.11.745

Loading...
Searching...
No Matches
FormInputCard.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#include <aws/qapps/model/FormInputCardMetadata.h>
12#include <aws/qapps/model/InputCardComputeMode.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Utils {
18namespace Json {
19class JsonValue;
20class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace QApps {
24namespace Model {
25
33 public:
34 AWS_QAPPS_API FormInputCard() = default;
37 AWS_QAPPS_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
43 inline const Aws::String& GetId() const { return m_id; }
44 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
45 template <typename IdT = Aws::String>
46 void SetId(IdT&& value) {
47 m_idHasBeenSet = true;
48 m_id = std::forward<IdT>(value);
49 }
50 template <typename IdT = Aws::String>
52 SetId(std::forward<IdT>(value));
53 return *this;
54 }
56
58
61 inline const Aws::String& GetTitle() const { return m_title; }
62 inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
63 template <typename TitleT = Aws::String>
64 void SetTitle(TitleT&& value) {
65 m_titleHasBeenSet = true;
66 m_title = std::forward<TitleT>(value);
67 }
68 template <typename TitleT = Aws::String>
70 SetTitle(std::forward<TitleT>(value));
71 return *this;
72 }
74
76
79 inline const Aws::Vector<Aws::String>& GetDependencies() const { return m_dependencies; }
80 inline bool DependenciesHasBeenSet() const { return m_dependenciesHasBeenSet; }
81 template <typename DependenciesT = Aws::Vector<Aws::String>>
83 m_dependenciesHasBeenSet = true;
84 m_dependencies = std::forward<DependenciesT>(value);
85 }
86 template <typename DependenciesT = Aws::Vector<Aws::String>>
88 SetDependencies(std::forward<DependenciesT>(value));
89 return *this;
90 }
91 template <typename DependenciesT = Aws::String>
93 m_dependenciesHasBeenSet = true;
94 m_dependencies.emplace_back(std::forward<DependenciesT>(value));
95 return *this;
96 }
98
100
103 inline CardType GetType() const { return m_type; }
104 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
105 inline void SetType(CardType value) {
106 m_typeHasBeenSet = true;
107 m_type = value;
108 }
110 SetType(value);
111 return *this;
112 }
114
116
119 inline const FormInputCardMetadata& GetMetadata() const { return m_metadata; }
120 inline bool MetadataHasBeenSet() const { return m_metadataHasBeenSet; }
121 template <typename MetadataT = FormInputCardMetadata>
122 void SetMetadata(MetadataT&& value) {
123 m_metadataHasBeenSet = true;
124 m_metadata = std::forward<MetadataT>(value);
125 }
126 template <typename MetadataT = FormInputCardMetadata>
128 SetMetadata(std::forward<MetadataT>(value));
129 return *this;
130 }
132
134
142 inline InputCardComputeMode GetComputeMode() const { return m_computeMode; }
143 inline bool ComputeModeHasBeenSet() const { return m_computeModeHasBeenSet; }
145 m_computeModeHasBeenSet = true;
146 m_computeMode = value;
147 }
149 SetComputeMode(value);
150 return *this;
151 }
153 private:
154 Aws::String m_id;
155
156 Aws::String m_title;
157
158 Aws::Vector<Aws::String> m_dependencies;
159
161
162 FormInputCardMetadata m_metadata;
163
165 bool m_idHasBeenSet = false;
166 bool m_titleHasBeenSet = false;
167 bool m_dependenciesHasBeenSet = false;
168 bool m_typeHasBeenSet = false;
169 bool m_metadataHasBeenSet = false;
170 bool m_computeModeHasBeenSet = false;
171};
172
173} // namespace Model
174} // namespace QApps
175} // namespace Aws
const Aws::String & GetId() const
FormInputCard & WithType(CardType value)
const Aws::Vector< Aws::String > & GetDependencies() const
void SetTitle(TitleT &&value)
void SetDependencies(DependenciesT &&value)
InputCardComputeMode GetComputeMode() const
FormInputCard & WithDependencies(DependenciesT &&value)
AWS_QAPPS_API FormInputCard()=default
const FormInputCardMetadata & GetMetadata() const
FormInputCard & WithMetadata(MetadataT &&value)
AWS_QAPPS_API FormInputCard(Aws::Utils::Json::JsonView jsonValue)
AWS_QAPPS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetTitle() const
void SetMetadata(MetadataT &&value)
FormInputCard & WithId(IdT &&value)
void SetComputeMode(InputCardComputeMode value)
AWS_QAPPS_API FormInputCard & operator=(Aws::Utils::Json::JsonView jsonValue)
FormInputCard & AddDependencies(DependenciesT &&value)
FormInputCard & WithTitle(TitleT &&value)
FormInputCard & WithComputeMode(InputCardComputeMode 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