AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetAppId(const Aws::String& value) { m_appIdHasBeenSet = true; m_appId = value; }
49 inline void SetAppId(Aws::String&& value) { m_appIdHasBeenSet = true; m_appId = std::move(value); }
50 inline void SetAppId(const char* value) { m_appIdHasBeenSet = true; m_appId.assign(value); }
51 inline FormSummary& WithAppId(const Aws::String& value) { SetAppId(value); return *this;}
52 inline FormSummary& WithAppId(Aws::String&& value) { SetAppId(std::move(value)); return *this;}
53 inline FormSummary& WithAppId(const char* value) { SetAppId(value); return *this;}
55
57
60 inline const FormDataTypeConfig& GetDataType() const{ return m_dataType; }
61 inline bool DataTypeHasBeenSet() const { return m_dataTypeHasBeenSet; }
62 inline void SetDataType(const FormDataTypeConfig& value) { m_dataTypeHasBeenSet = true; m_dataType = value; }
63 inline void SetDataType(FormDataTypeConfig&& value) { m_dataTypeHasBeenSet = true; m_dataType = std::move(value); }
64 inline FormSummary& WithDataType(const FormDataTypeConfig& value) { SetDataType(value); return *this;}
65 inline FormSummary& WithDataType(FormDataTypeConfig&& value) { SetDataType(std::move(value)); return *this;}
67
69
72 inline const Aws::String& GetEnvironmentName() const{ return m_environmentName; }
73 inline bool EnvironmentNameHasBeenSet() const { return m_environmentNameHasBeenSet; }
74 inline void SetEnvironmentName(const Aws::String& value) { m_environmentNameHasBeenSet = true; m_environmentName = value; }
75 inline void SetEnvironmentName(Aws::String&& value) { m_environmentNameHasBeenSet = true; m_environmentName = std::move(value); }
76 inline void SetEnvironmentName(const char* value) { m_environmentNameHasBeenSet = true; m_environmentName.assign(value); }
77 inline FormSummary& WithEnvironmentName(const Aws::String& value) { SetEnvironmentName(value); return *this;}
78 inline FormSummary& WithEnvironmentName(Aws::String&& value) { SetEnvironmentName(std::move(value)); return *this;}
79 inline FormSummary& WithEnvironmentName(const char* value) { SetEnvironmentName(value); return *this;}
81
83
86 inline const FormActionType& GetFormActionType() const{ return m_formActionType; }
87 inline bool FormActionTypeHasBeenSet() const { return m_formActionTypeHasBeenSet; }
88 inline void SetFormActionType(const FormActionType& value) { m_formActionTypeHasBeenSet = true; m_formActionType = value; }
89 inline void SetFormActionType(FormActionType&& value) { m_formActionTypeHasBeenSet = true; m_formActionType = std::move(value); }
90 inline FormSummary& WithFormActionType(const FormActionType& value) { SetFormActionType(value); return *this;}
91 inline FormSummary& WithFormActionType(FormActionType&& value) { SetFormActionType(std::move(value)); return *this;}
93
95
98 inline const Aws::String& GetId() const{ return m_id; }
99 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
100 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
101 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
102 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
103 inline FormSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
104 inline FormSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
105 inline FormSummary& WithId(const char* value) { SetId(value); return *this;}
107
109
112 inline const Aws::String& GetName() const{ return m_name; }
113 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
114 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
115 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
116 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
117 inline FormSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
118 inline FormSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
119 inline FormSummary& WithName(const char* value) { SetName(value); return *this;}
121 private:
122
123 Aws::String m_appId;
124 bool m_appIdHasBeenSet = false;
125
126 FormDataTypeConfig m_dataType;
127 bool m_dataTypeHasBeenSet = false;
128
129 Aws::String m_environmentName;
130 bool m_environmentNameHasBeenSet = false;
131
132 FormActionType m_formActionType;
133 bool m_formActionTypeHasBeenSet = false;
134
135 Aws::String m_id;
136 bool m_idHasBeenSet = false;
137
138 Aws::String m_name;
139 bool m_nameHasBeenSet = false;
140 };
141
142} // namespace Model
143} // namespace AmplifyUIBuilder
144} // namespace Aws
FormSummary & WithName(const Aws::String &value)
FormSummary & WithFormActionType(const FormActionType &value)
Definition FormSummary.h:90
AWS_AMPLIFYUIBUILDER_API FormSummary(Aws::Utils::Json::JsonView jsonValue)
const FormActionType & GetFormActionType() const
Definition FormSummary.h:86
void SetEnvironmentName(const char *value)
Definition FormSummary.h:76
const Aws::String & GetAppId() const
Definition FormSummary.h:46
FormSummary & WithEnvironmentName(Aws::String &&value)
Definition FormSummary.h:78
const Aws::String & GetName() const
const Aws::String & GetEnvironmentName() const
Definition FormSummary.h:72
FormSummary & WithName(const char *value)
void SetDataType(FormDataTypeConfig &&value)
Definition FormSummary.h:63
void SetEnvironmentName(const Aws::String &value)
Definition FormSummary.h:74
FormSummary & WithId(Aws::String &&value)
void SetAppId(Aws::String &&value)
Definition FormSummary.h:49
FormSummary & WithFormActionType(FormActionType &&value)
Definition FormSummary.h:91
FormSummary & WithAppId(Aws::String &&value)
Definition FormSummary.h:52
AWS_AMPLIFYUIBUILDER_API FormSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
FormSummary & WithId(const char *value)
void SetName(const Aws::String &value)
FormSummary & WithAppId(const char *value)
Definition FormSummary.h:53
void SetFormActionType(FormActionType &&value)
Definition FormSummary.h:89
AWS_AMPLIFYUIBUILDER_API FormSummary()
AWS_AMPLIFYUIBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
FormSummary & WithEnvironmentName(const Aws::String &value)
Definition FormSummary.h:77
FormSummary & WithId(const Aws::String &value)
FormSummary & WithDataType(const FormDataTypeConfig &value)
Definition FormSummary.h:64
const FormDataTypeConfig & GetDataType() const
Definition FormSummary.h:60
FormSummary & WithAppId(const Aws::String &value)
Definition FormSummary.h:51
FormSummary & WithEnvironmentName(const char *value)
Definition FormSummary.h:79
FormSummary & WithDataType(FormDataTypeConfig &&value)
Definition FormSummary.h:65
void SetEnvironmentName(Aws::String &&value)
Definition FormSummary.h:75
void SetAppId(const Aws::String &value)
Definition FormSummary.h:48
void SetDataType(const FormDataTypeConfig &value)
Definition FormSummary.h:62
FormSummary & WithName(Aws::String &&value)
const Aws::String & GetId() const
Definition FormSummary.h:98
void SetFormActionType(const FormActionType &value)
Definition FormSummary.h:88
void SetId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue