AWS SDK for C++

AWS SDK for C++ Version 1.11.945

Loading...
Searching...
No Matches
AssetFormInput.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 AssetFormInput() = default;
34
36
40 inline const Aws::String& GetFormTypeIdentifier() const { return m_formTypeIdentifier; }
41 inline bool FormTypeIdentifierHasBeenSet() const { return m_formTypeIdentifierHasBeenSet; }
42 template <typename FormTypeIdentifierT = Aws::String>
43 void SetFormTypeIdentifier(FormTypeIdentifierT&& value) {
44 m_formTypeIdentifierHasBeenSet = true;
45 m_formTypeIdentifier = std::forward<FormTypeIdentifierT>(value);
46 }
47 template <typename FormTypeIdentifierT = Aws::String>
48 AssetFormInput& WithFormTypeIdentifier(FormTypeIdentifierT&& value) {
49 SetFormTypeIdentifier(std::forward<FormTypeIdentifierT>(value));
50 return *this;
51 }
53
55
59 inline const Aws::String& GetContent() const { return m_content; }
60 inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; }
61 template <typename ContentT = Aws::String>
62 void SetContent(ContentT&& value) {
63 m_contentHasBeenSet = true;
64 m_content = std::forward<ContentT>(value);
65 }
66 template <typename ContentT = Aws::String>
67 AssetFormInput& WithContent(ContentT&& value) {
68 SetContent(std::forward<ContentT>(value));
69 return *this;
70 }
72 private:
73 Aws::String m_formTypeIdentifier;
74
75 Aws::String m_content;
76 bool m_formTypeIdentifierHasBeenSet = false;
77 bool m_contentHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace Glue
82} // namespace Aws
AWS_GLUE_API AssetFormInput()=default
AssetFormInput & WithContent(ContentT &&value)
const Aws::String & GetContent() const
AssetFormInput & WithFormTypeIdentifier(FormTypeIdentifierT &&value)
const Aws::String & GetFormTypeIdentifier() const
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GLUE_API AssetFormInput & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUE_API AssetFormInput(Aws::Utils::Json::JsonView jsonValue)
void SetContent(ContentT &&value)
void SetFormTypeIdentifier(FormTypeIdentifierT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue