AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
FormInputCardInput.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 <aws/qapps/model/FormInputCardMetadata.h>
11#include <aws/qapps/model/InputCardComputeMode.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace QApps
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_QAPPS_API FormInputCardInput() = default;
41 AWS_QAPPS_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetTitle() const { return m_title; }
49 inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
50 template<typename TitleT = Aws::String>
51 void SetTitle(TitleT&& value) { m_titleHasBeenSet = true; m_title = std::forward<TitleT>(value); }
52 template<typename TitleT = Aws::String>
53 FormInputCardInput& WithTitle(TitleT&& value) { SetTitle(std::forward<TitleT>(value)); return *this;}
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) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
64 template<typename IdT = Aws::String>
65 FormInputCardInput& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
67
69
72 inline CardType GetType() const { return m_type; }
73 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
74 inline void SetType(CardType value) { m_typeHasBeenSet = true; m_type = value; }
75 inline FormInputCardInput& WithType(CardType value) { SetType(value); return *this;}
77
79
82 inline const FormInputCardMetadata& GetMetadata() const { return m_metadata; }
83 inline bool MetadataHasBeenSet() const { return m_metadataHasBeenSet; }
84 template<typename MetadataT = FormInputCardMetadata>
85 void SetMetadata(MetadataT&& value) { m_metadataHasBeenSet = true; m_metadata = std::forward<MetadataT>(value); }
86 template<typename MetadataT = FormInputCardMetadata>
87 FormInputCardInput& WithMetadata(MetadataT&& value) { SetMetadata(std::forward<MetadataT>(value)); return *this;}
89
91
99 inline InputCardComputeMode GetComputeMode() const { return m_computeMode; }
100 inline bool ComputeModeHasBeenSet() const { return m_computeModeHasBeenSet; }
101 inline void SetComputeMode(InputCardComputeMode value) { m_computeModeHasBeenSet = true; m_computeMode = value; }
104 private:
105
106 Aws::String m_title;
107 bool m_titleHasBeenSet = false;
108
109 Aws::String m_id;
110 bool m_idHasBeenSet = false;
111
113 bool m_typeHasBeenSet = false;
114
115 FormInputCardMetadata m_metadata;
116 bool m_metadataHasBeenSet = false;
117
119 bool m_computeModeHasBeenSet = false;
120 };
121
122} // namespace Model
123} // namespace QApps
124} // 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