AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
FormSummary.h
1
6#pragma once
7#include <aws/amplifyuibuilder/AmplifyUIBuilder_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/amplifyuibuilder/model/FormDataTypeConfig.h>
10#include <aws/amplifyuibuilder/model/FormActionType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace AmplifyUIBuilder
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_AMPLIFYUIBUILDER_API FormSummary() = default;
37 AWS_AMPLIFYUIBUILDER_API FormSummary(Aws::Utils::Json::JsonView jsonValue);
38 AWS_AMPLIFYUIBUILDER_API FormSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_AMPLIFYUIBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetAppId() const { return m_appId; }
47 inline bool AppIdHasBeenSet() const { return m_appIdHasBeenSet; }
48 template<typename AppIdT = Aws::String>
49 void SetAppId(AppIdT&& value) { m_appIdHasBeenSet = true; m_appId = std::forward<AppIdT>(value); }
50 template<typename AppIdT = Aws::String>
51 FormSummary& WithAppId(AppIdT&& value) { SetAppId(std::forward<AppIdT>(value)); return *this;}
53
55
58 inline const FormDataTypeConfig& GetDataType() const { return m_dataType; }
59 inline bool DataTypeHasBeenSet() const { return m_dataTypeHasBeenSet; }
60 template<typename DataTypeT = FormDataTypeConfig>
61 void SetDataType(DataTypeT&& value) { m_dataTypeHasBeenSet = true; m_dataType = std::forward<DataTypeT>(value); }
62 template<typename DataTypeT = FormDataTypeConfig>
63 FormSummary& WithDataType(DataTypeT&& value) { SetDataType(std::forward<DataTypeT>(value)); return *this;}
65
67
70 inline const Aws::String& GetEnvironmentName() const { return m_environmentName; }
71 inline bool EnvironmentNameHasBeenSet() const { return m_environmentNameHasBeenSet; }
72 template<typename EnvironmentNameT = Aws::String>
73 void SetEnvironmentName(EnvironmentNameT&& value) { m_environmentNameHasBeenSet = true; m_environmentName = std::forward<EnvironmentNameT>(value); }
74 template<typename EnvironmentNameT = Aws::String>
75 FormSummary& WithEnvironmentName(EnvironmentNameT&& value) { SetEnvironmentName(std::forward<EnvironmentNameT>(value)); return *this;}
77
79
82 inline FormActionType GetFormActionType() const { return m_formActionType; }
83 inline bool FormActionTypeHasBeenSet() const { return m_formActionTypeHasBeenSet; }
84 inline void SetFormActionType(FormActionType value) { m_formActionTypeHasBeenSet = true; m_formActionType = value; }
85 inline FormSummary& WithFormActionType(FormActionType value) { SetFormActionType(value); return *this;}
87
89
92 inline const Aws::String& GetId() const { return m_id; }
93 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
94 template<typename IdT = Aws::String>
95 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
96 template<typename IdT = Aws::String>
97 FormSummary& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
99
101
104 inline const Aws::String& GetName() const { return m_name; }
105 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
106 template<typename NameT = Aws::String>
107 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
108 template<typename NameT = Aws::String>
109 FormSummary& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
111 private:
112
113 Aws::String m_appId;
114 bool m_appIdHasBeenSet = false;
115
116 FormDataTypeConfig m_dataType;
117 bool m_dataTypeHasBeenSet = false;
118
119 Aws::String m_environmentName;
120 bool m_environmentNameHasBeenSet = false;
121
122 FormActionType m_formActionType{FormActionType::NOT_SET};
123 bool m_formActionTypeHasBeenSet = false;
124
125 Aws::String m_id;
126 bool m_idHasBeenSet = false;
127
128 Aws::String m_name;
129 bool m_nameHasBeenSet = false;
130 };
131
132} // namespace Model
133} // namespace AmplifyUIBuilder
134} // namespace Aws
AWS_AMPLIFYUIBUILDER_API FormSummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetAppId() const
Definition FormSummary.h:46
FormActionType GetFormActionType() const
Definition FormSummary.h:82
FormSummary & WithId(IdT &&value)
Definition FormSummary.h:97
const Aws::String & GetName() const
FormSummary & WithEnvironmentName(EnvironmentNameT &&value)
Definition FormSummary.h:75
FormSummary & WithName(NameT &&value)
const Aws::String & GetEnvironmentName() const
Definition FormSummary.h:70
void SetEnvironmentName(EnvironmentNameT &&value)
Definition FormSummary.h:73
FormSummary & WithAppId(AppIdT &&value)
Definition FormSummary.h:51
AWS_AMPLIFYUIBUILDER_API FormSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_AMPLIFYUIBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
const FormDataTypeConfig & GetDataType() const
Definition FormSummary.h:58
FormSummary & WithDataType(DataTypeT &&value)
Definition FormSummary.h:63
void SetFormActionType(FormActionType value)
Definition FormSummary.h:84
const Aws::String & GetId() const
Definition FormSummary.h:92
AWS_AMPLIFYUIBUILDER_API FormSummary()=default
FormSummary & WithFormActionType(FormActionType value)
Definition FormSummary.h:85
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue