AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
FormOutput.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
28 public:
29 AWS_DATAZONE_API FormOutput() = default;
30 AWS_DATAZONE_API FormOutput(Aws::Utils::Json::JsonView jsonValue);
31 AWS_DATAZONE_API FormOutput& 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 FormOutput& WithFormName(FormNameT&& value) {
47 SetFormName(std::forward<FormNameT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetTypeName() const { return m_typeName; }
57 inline bool TypeNameHasBeenSet() const { return m_typeNameHasBeenSet; }
58 template <typename TypeNameT = Aws::String>
59 void SetTypeName(TypeNameT&& value) {
60 m_typeNameHasBeenSet = true;
61 m_typeName = std::forward<TypeNameT>(value);
62 }
63 template <typename TypeNameT = Aws::String>
64 FormOutput& WithTypeName(TypeNameT&& value) {
65 SetTypeName(std::forward<TypeNameT>(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 FormOutput& 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 FormOutput& 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_typeName;
109
110 Aws::String m_typeRevision;
111
112 Aws::String m_content;
113 bool m_formNameHasBeenSet = false;
114 bool m_typeNameHasBeenSet = 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 & GetContent() const
Definition FormOutput.h:92
FormOutput & WithTypeName(TypeNameT &&value)
Definition FormOutput.h:64
const Aws::String & GetTypeRevision() const
Definition FormOutput.h:74
AWS_DATAZONE_API FormOutput & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DATAZONE_API FormOutput(Aws::Utils::Json::JsonView jsonValue)
void SetTypeRevision(TypeRevisionT &&value)
Definition FormOutput.h:77
FormOutput & WithTypeRevision(TypeRevisionT &&value)
Definition FormOutput.h:82
void SetContent(ContentT &&value)
Definition FormOutput.h:95
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetFormName() const
Definition FormOutput.h:38
AWS_DATAZONE_API FormOutput()=default
void SetFormName(FormNameT &&value)
Definition FormOutput.h:41
const Aws::String & GetTypeName() const
Definition FormOutput.h:56
FormOutput & WithFormName(FormNameT &&value)
Definition FormOutput.h:46
FormOutput & WithContent(ContentT &&value)
Definition FormOutput.h:100
void SetTypeName(TypeNameT &&value)
Definition FormOutput.h:59
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue