AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
FormOutput.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace DataZone
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_DATAZONE_API FormOutput() = default;
35 AWS_DATAZONE_API FormOutput(Aws::Utils::Json::JsonView jsonValue);
36 AWS_DATAZONE_API FormOutput& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetContent() const { return m_content; }
45 inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; }
46 template<typename ContentT = Aws::String>
47 void SetContent(ContentT&& value) { m_contentHasBeenSet = true; m_content = std::forward<ContentT>(value); }
48 template<typename ContentT = Aws::String>
49 FormOutput& WithContent(ContentT&& value) { SetContent(std::forward<ContentT>(value)); return *this;}
51
53
56 inline const Aws::String& GetFormName() const { return m_formName; }
57 inline bool FormNameHasBeenSet() const { return m_formNameHasBeenSet; }
58 template<typename FormNameT = Aws::String>
59 void SetFormName(FormNameT&& value) { m_formNameHasBeenSet = true; m_formName = std::forward<FormNameT>(value); }
60 template<typename FormNameT = Aws::String>
61 FormOutput& WithFormName(FormNameT&& value) { SetFormName(std::forward<FormNameT>(value)); return *this;}
63
65
68 inline const Aws::String& GetTypeName() const { return m_typeName; }
69 inline bool TypeNameHasBeenSet() const { return m_typeNameHasBeenSet; }
70 template<typename TypeNameT = Aws::String>
71 void SetTypeName(TypeNameT&& value) { m_typeNameHasBeenSet = true; m_typeName = std::forward<TypeNameT>(value); }
72 template<typename TypeNameT = Aws::String>
73 FormOutput& WithTypeName(TypeNameT&& value) { SetTypeName(std::forward<TypeNameT>(value)); return *this;}
75
77
80 inline const Aws::String& GetTypeRevision() const { return m_typeRevision; }
81 inline bool TypeRevisionHasBeenSet() const { return m_typeRevisionHasBeenSet; }
82 template<typename TypeRevisionT = Aws::String>
83 void SetTypeRevision(TypeRevisionT&& value) { m_typeRevisionHasBeenSet = true; m_typeRevision = std::forward<TypeRevisionT>(value); }
84 template<typename TypeRevisionT = Aws::String>
85 FormOutput& WithTypeRevision(TypeRevisionT&& value) { SetTypeRevision(std::forward<TypeRevisionT>(value)); return *this;}
87 private:
88
89 Aws::String m_content;
90 bool m_contentHasBeenSet = false;
91
92 Aws::String m_formName;
93 bool m_formNameHasBeenSet = false;
94
95 Aws::String m_typeName;
96 bool m_typeNameHasBeenSet = false;
97
98 Aws::String m_typeRevision;
99 bool m_typeRevisionHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace DataZone
104} // namespace Aws
const Aws::String & GetContent() const
Definition FormOutput.h:44
FormOutput & WithTypeName(TypeNameT &&value)
Definition FormOutput.h:73
const Aws::String & GetTypeRevision() const
Definition FormOutput.h:80
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:83
FormOutput & WithTypeRevision(TypeRevisionT &&value)
Definition FormOutput.h:85
void SetContent(ContentT &&value)
Definition FormOutput.h:47
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetFormName() const
Definition FormOutput.h:56
AWS_DATAZONE_API FormOutput()=default
void SetFormName(FormNameT &&value)
Definition FormOutput.h:59
const Aws::String & GetTypeName() const
Definition FormOutput.h:68
FormOutput & WithFormName(FormNameT &&value)
Definition FormOutput.h:61
FormOutput & WithContent(ContentT &&value)
Definition FormOutput.h:49
void SetTypeName(TypeNameT &&value)
Definition FormOutput.h:71
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue