AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CodegenGenericDataNonModel.h
1
6#pragma once
7#include <aws/amplifyuibuilder/AmplifyUIBuilder_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/amplifyuibuilder/model/CodegenGenericDataField.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 CodegenGenericDataNonModel();
37 AWS_AMPLIFYUIBUILDER_API CodegenGenericDataNonModel(Aws::Utils::Json::JsonView jsonValue);
39 AWS_AMPLIFYUIBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::Map<Aws::String, CodegenGenericDataField>& GetFields() const{ return m_fields; }
47 inline bool FieldsHasBeenSet() const { return m_fieldsHasBeenSet; }
48 inline void SetFields(const Aws::Map<Aws::String, CodegenGenericDataField>& value) { m_fieldsHasBeenSet = true; m_fields = value; }
49 inline void SetFields(Aws::Map<Aws::String, CodegenGenericDataField>&& value) { m_fieldsHasBeenSet = true; m_fields = std::move(value); }
52 inline CodegenGenericDataNonModel& AddFields(const Aws::String& key, const CodegenGenericDataField& value) { m_fieldsHasBeenSet = true; m_fields.emplace(key, value); return *this; }
53 inline CodegenGenericDataNonModel& AddFields(Aws::String&& key, const CodegenGenericDataField& value) { m_fieldsHasBeenSet = true; m_fields.emplace(std::move(key), value); return *this; }
54 inline CodegenGenericDataNonModel& AddFields(const Aws::String& key, CodegenGenericDataField&& value) { m_fieldsHasBeenSet = true; m_fields.emplace(key, std::move(value)); return *this; }
55 inline CodegenGenericDataNonModel& AddFields(Aws::String&& key, CodegenGenericDataField&& value) { m_fieldsHasBeenSet = true; m_fields.emplace(std::move(key), std::move(value)); return *this; }
56 inline CodegenGenericDataNonModel& AddFields(const char* key, CodegenGenericDataField&& value) { m_fieldsHasBeenSet = true; m_fields.emplace(key, std::move(value)); return *this; }
57 inline CodegenGenericDataNonModel& AddFields(const char* key, const CodegenGenericDataField& value) { m_fieldsHasBeenSet = true; m_fields.emplace(key, value); return *this; }
59 private:
60
62 bool m_fieldsHasBeenSet = false;
63 };
64
65} // namespace Model
66} // namespace AmplifyUIBuilder
67} // namespace Aws
AWS_AMPLIFYUIBUILDER_API CodegenGenericDataNonModel & operator=(Aws::Utils::Json::JsonView jsonValue)
CodegenGenericDataNonModel & AddFields(const char *key, CodegenGenericDataField &&value)
const Aws::Map< Aws::String, CodegenGenericDataField > & GetFields() const
CodegenGenericDataNonModel & AddFields(const Aws::String &key, CodegenGenericDataField &&value)
CodegenGenericDataNonModel & WithFields(const Aws::Map< Aws::String, CodegenGenericDataField > &value)
AWS_AMPLIFYUIBUILDER_API CodegenGenericDataNonModel(Aws::Utils::Json::JsonView jsonValue)
CodegenGenericDataNonModel & AddFields(const Aws::String &key, const CodegenGenericDataField &value)
CodegenGenericDataNonModel & AddFields(const char *key, const CodegenGenericDataField &value)
void SetFields(Aws::Map< Aws::String, CodegenGenericDataField > &&value)
CodegenGenericDataNonModel & AddFields(Aws::String &&key, const CodegenGenericDataField &value)
CodegenGenericDataNonModel & WithFields(Aws::Map< Aws::String, CodegenGenericDataField > &&value)
CodegenGenericDataNonModel & AddFields(Aws::String &&key, CodegenGenericDataField &&value)
void SetFields(const Aws::Map< Aws::String, CodegenGenericDataField > &value)
AWS_AMPLIFYUIBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue