AWS SDK for C++

AWS SDK for C++ Version 1.11.838

Loading...
Searching...
No Matches
AssetFormEntry.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/glue/Glue_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Glue {
20namespace Model {
21
29 public:
30 AWS_GLUE_API AssetFormEntry() = default;
34
36
39 inline const Aws::String& GetFormTypeId() const { return m_formTypeId; }
40 inline bool FormTypeIdHasBeenSet() const { return m_formTypeIdHasBeenSet; }
41 template <typename FormTypeIdT = Aws::String>
42 void SetFormTypeId(FormTypeIdT&& value) {
43 m_formTypeIdHasBeenSet = true;
44 m_formTypeId = std::forward<FormTypeIdT>(value);
45 }
46 template <typename FormTypeIdT = Aws::String>
47 AssetFormEntry& WithFormTypeId(FormTypeIdT&& value) {
48 SetFormTypeId(std::forward<FormTypeIdT>(value));
49 return *this;
50 }
52
54
58 inline const Aws::String& GetContent() const { return m_content; }
59 inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; }
60 template <typename ContentT = Aws::String>
61 void SetContent(ContentT&& value) {
62 m_contentHasBeenSet = true;
63 m_content = std::forward<ContentT>(value);
64 }
65 template <typename ContentT = Aws::String>
66 AssetFormEntry& WithContent(ContentT&& value) {
67 SetContent(std::forward<ContentT>(value));
68 return *this;
69 }
71 private:
72 Aws::String m_formTypeId;
73
74 Aws::String m_content;
75 bool m_formTypeIdHasBeenSet = false;
76 bool m_contentHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace Glue
81} // namespace Aws
AWS_GLUE_API AssetFormEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetContent() const
bool ContentHasBeenSet() const
bool FormTypeIdHasBeenSet() const
void SetFormTypeId(FormTypeIdT &&value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
AssetFormEntry & WithContent(ContentT &&value)
void SetContent(ContentT &&value)
const Aws::String & GetFormTypeId() const
AssetFormEntry & WithFormTypeId(FormTypeIdT &&value)
AWS_GLUE_API AssetFormEntry()=default
AWS_GLUE_API AssetFormEntry(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue