AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
FormInputCard.h
1
6#pragma once
7#include <aws/qapps/QApps_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/qapps/model/CardType.h>
11#include <aws/qapps/model/FormInputCardMetadata.h>
12#include <aws/qapps/model/InputCardComputeMode.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace QApps
26{
27namespace Model
28{
29
37 {
38 public:
39 AWS_QAPPS_API FormInputCard() = default;
42 AWS_QAPPS_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetId() const { return m_id; }
50 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
51 template<typename IdT = Aws::String>
52 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
53 template<typename IdT = Aws::String>
54 FormInputCard& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
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) { m_titleHasBeenSet = true; m_title = std::forward<TitleT>(value); }
65 template<typename TitleT = Aws::String>
66 FormInputCard& WithTitle(TitleT&& value) { SetTitle(std::forward<TitleT>(value)); return *this;}
68
70
73 inline const Aws::Vector<Aws::String>& GetDependencies() const { return m_dependencies; }
74 inline bool DependenciesHasBeenSet() const { return m_dependenciesHasBeenSet; }
75 template<typename DependenciesT = Aws::Vector<Aws::String>>
76 void SetDependencies(DependenciesT&& value) { m_dependenciesHasBeenSet = true; m_dependencies = std::forward<DependenciesT>(value); }
77 template<typename DependenciesT = Aws::Vector<Aws::String>>
78 FormInputCard& WithDependencies(DependenciesT&& value) { SetDependencies(std::forward<DependenciesT>(value)); return *this;}
79 template<typename DependenciesT = Aws::String>
80 FormInputCard& AddDependencies(DependenciesT&& value) { m_dependenciesHasBeenSet = true; m_dependencies.emplace_back(std::forward<DependenciesT>(value)); return *this; }
82
84
87 inline CardType GetType() const { return m_type; }
88 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
89 inline void SetType(CardType value) { m_typeHasBeenSet = true; m_type = value; }
90 inline FormInputCard& WithType(CardType value) { SetType(value); return *this;}
92
94
97 inline const FormInputCardMetadata& GetMetadata() const { return m_metadata; }
98 inline bool MetadataHasBeenSet() const { return m_metadataHasBeenSet; }
99 template<typename MetadataT = FormInputCardMetadata>
100 void SetMetadata(MetadataT&& value) { m_metadataHasBeenSet = true; m_metadata = std::forward<MetadataT>(value); }
101 template<typename MetadataT = FormInputCardMetadata>
102 FormInputCard& WithMetadata(MetadataT&& value) { SetMetadata(std::forward<MetadataT>(value)); return *this;}
104
106
114 inline InputCardComputeMode GetComputeMode() const { return m_computeMode; }
115 inline bool ComputeModeHasBeenSet() const { return m_computeModeHasBeenSet; }
116 inline void SetComputeMode(InputCardComputeMode value) { m_computeModeHasBeenSet = true; m_computeMode = value; }
117 inline FormInputCard& WithComputeMode(InputCardComputeMode value) { SetComputeMode(value); return *this;}
119 private:
120
121 Aws::String m_id;
122 bool m_idHasBeenSet = false;
123
124 Aws::String m_title;
125 bool m_titleHasBeenSet = false;
126
127 Aws::Vector<Aws::String> m_dependencies;
128 bool m_dependenciesHasBeenSet = false;
129
131 bool m_typeHasBeenSet = false;
132
133 FormInputCardMetadata m_metadata;
134 bool m_metadataHasBeenSet = false;
135
137 bool m_computeModeHasBeenSet = false;
138 };
139
140} // namespace Model
141} // namespace QApps
142} // 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