AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
FormInput.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 FormInput() = default;
35 AWS_DATAZONE_API FormInput(Aws::Utils::Json::JsonView jsonValue);
36 AWS_DATAZONE_API FormInput& 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 FormInput& 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 FormInput& WithFormName(FormNameT&& value) { SetFormName(std::forward<FormNameT>(value)); return *this;}
63
65
68 inline const Aws::String& GetTypeIdentifier() const { return m_typeIdentifier; }
69 inline bool TypeIdentifierHasBeenSet() const { return m_typeIdentifierHasBeenSet; }
70 template<typename TypeIdentifierT = Aws::String>
71 void SetTypeIdentifier(TypeIdentifierT&& value) { m_typeIdentifierHasBeenSet = true; m_typeIdentifier = std::forward<TypeIdentifierT>(value); }
72 template<typename TypeIdentifierT = Aws::String>
73 FormInput& WithTypeIdentifier(TypeIdentifierT&& value) { SetTypeIdentifier(std::forward<TypeIdentifierT>(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 FormInput& 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_typeIdentifier;
96 bool m_typeIdentifierHasBeenSet = 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 & GetFormName() const
Definition FormInput.h:56
const Aws::String & GetContent() const
Definition FormInput.h:44
const Aws::String & GetTypeRevision() const
Definition FormInput.h:80
AWS_DATAZONE_API FormInput & operator=(Aws::Utils::Json::JsonView jsonValue)
FormInput & WithContent(ContentT &&value)
Definition FormInput.h:49
AWS_DATAZONE_API FormInput(Aws::Utils::Json::JsonView jsonValue)
FormInput & WithTypeIdentifier(TypeIdentifierT &&value)
Definition FormInput.h:73
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTypeRevision(TypeRevisionT &&value)
Definition FormInput.h:83
const Aws::String & GetTypeIdentifier() const
Definition FormInput.h:68
void SetTypeIdentifier(TypeIdentifierT &&value)
Definition FormInput.h:71
AWS_DATAZONE_API FormInput()=default
FormInput & WithFormName(FormNameT &&value)
Definition FormInput.h:61
void SetFormName(FormNameT &&value)
Definition FormInput.h:59
void SetContent(ContentT &&value)
Definition FormInput.h:47
bool TypeRevisionHasBeenSet() const
Definition FormInput.h:81
bool TypeIdentifierHasBeenSet() const
Definition FormInput.h:69
FormInput & WithTypeRevision(TypeRevisionT &&value)
Definition FormInput.h:85
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue