AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
FormInput.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/datazone/DataZone_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace DataZone {
20namespace Model {
21
27class FormInput {
28 public:
29 AWS_DATAZONE_API FormInput() = default;
30 AWS_DATAZONE_API FormInput(Aws::Utils::Json::JsonView jsonValue);
31 AWS_DATAZONE_API FormInput& operator=(Aws::Utils::Json::JsonView jsonValue);
32 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const Aws::String& GetFormName() const { return m_formName; }
39 inline bool FormNameHasBeenSet() const { return m_formNameHasBeenSet; }
40 template <typename FormNameT = Aws::String>
41 void SetFormName(FormNameT&& value) {
42 m_formNameHasBeenSet = true;
43 m_formName = std::forward<FormNameT>(value);
44 }
45 template <typename FormNameT = Aws::String>
46 FormInput& WithFormName(FormNameT&& value) {
47 SetFormName(std::forward<FormNameT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetTypeIdentifier() const { return m_typeIdentifier; }
57 inline bool TypeIdentifierHasBeenSet() const { return m_typeIdentifierHasBeenSet; }
58 template <typename TypeIdentifierT = Aws::String>
59 void SetTypeIdentifier(TypeIdentifierT&& value) {
60 m_typeIdentifierHasBeenSet = true;
61 m_typeIdentifier = std::forward<TypeIdentifierT>(value);
62 }
63 template <typename TypeIdentifierT = Aws::String>
64 FormInput& WithTypeIdentifier(TypeIdentifierT&& value) {
65 SetTypeIdentifier(std::forward<TypeIdentifierT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetTypeRevision() const { return m_typeRevision; }
75 inline bool TypeRevisionHasBeenSet() const { return m_typeRevisionHasBeenSet; }
76 template <typename TypeRevisionT = Aws::String>
77 void SetTypeRevision(TypeRevisionT&& value) {
78 m_typeRevisionHasBeenSet = true;
79 m_typeRevision = std::forward<TypeRevisionT>(value);
80 }
81 template <typename TypeRevisionT = Aws::String>
82 FormInput& WithTypeRevision(TypeRevisionT&& value) {
83 SetTypeRevision(std::forward<TypeRevisionT>(value));
84 return *this;
85 }
87
89
92 inline const Aws::String& GetContent() const { return m_content; }
93 inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; }
94 template <typename ContentT = Aws::String>
95 void SetContent(ContentT&& value) {
96 m_contentHasBeenSet = true;
97 m_content = std::forward<ContentT>(value);
98 }
99 template <typename ContentT = Aws::String>
100 FormInput& WithContent(ContentT&& value) {
101 SetContent(std::forward<ContentT>(value));
102 return *this;
103 }
105 private:
106 Aws::String m_formName;
107
108 Aws::String m_typeIdentifier;
109
110 Aws::String m_typeRevision;
111
112 Aws::String m_content;
113 bool m_formNameHasBeenSet = false;
114 bool m_typeIdentifierHasBeenSet = false;
115 bool m_typeRevisionHasBeenSet = false;
116 bool m_contentHasBeenSet = false;
117};
118
119} // namespace Model
120} // namespace DataZone
121} // namespace Aws
const Aws::String & GetFormName() const
Definition FormInput.h:38
const Aws::String & GetContent() const
Definition FormInput.h:92
const Aws::String & GetTypeRevision() const
Definition FormInput.h:74
AWS_DATAZONE_API FormInput & operator=(Aws::Utils::Json::JsonView jsonValue)
FormInput & WithContent(ContentT &&value)
Definition FormInput.h:100
AWS_DATAZONE_API FormInput(Aws::Utils::Json::JsonView jsonValue)
FormInput & WithTypeIdentifier(TypeIdentifierT &&value)
Definition FormInput.h:64
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTypeRevision(TypeRevisionT &&value)
Definition FormInput.h:77
const Aws::String & GetTypeIdentifier() const
Definition FormInput.h:56
void SetTypeIdentifier(TypeIdentifierT &&value)
Definition FormInput.h:59
AWS_DATAZONE_API FormInput()=default
FormInput & WithFormName(FormNameT &&value)
Definition FormInput.h:46
void SetFormName(FormNameT &&value)
Definition FormInput.h:41
void SetContent(ContentT &&value)
Definition FormInput.h:95
bool TypeRevisionHasBeenSet() const
Definition FormInput.h:75
bool TypeIdentifierHasBeenSet() const
Definition FormInput.h:57
FormInput & WithTypeRevision(TypeRevisionT &&value)
Definition FormInput.h:82
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue