AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetContent(const Aws::String& value) { m_contentHasBeenSet = true; m_content = value; }
47 inline void SetContent(Aws::String&& value) { m_contentHasBeenSet = true; m_content = std::move(value); }
48 inline void SetContent(const char* value) { m_contentHasBeenSet = true; m_content.assign(value); }
49 inline FormInput& WithContent(const Aws::String& value) { SetContent(value); return *this;}
50 inline FormInput& WithContent(Aws::String&& value) { SetContent(std::move(value)); return *this;}
51 inline FormInput& WithContent(const char* value) { SetContent(value); return *this;}
53
55
58 inline const Aws::String& GetFormName() const{ return m_formName; }
59 inline bool FormNameHasBeenSet() const { return m_formNameHasBeenSet; }
60 inline void SetFormName(const Aws::String& value) { m_formNameHasBeenSet = true; m_formName = value; }
61 inline void SetFormName(Aws::String&& value) { m_formNameHasBeenSet = true; m_formName = std::move(value); }
62 inline void SetFormName(const char* value) { m_formNameHasBeenSet = true; m_formName.assign(value); }
63 inline FormInput& WithFormName(const Aws::String& value) { SetFormName(value); return *this;}
64 inline FormInput& WithFormName(Aws::String&& value) { SetFormName(std::move(value)); return *this;}
65 inline FormInput& WithFormName(const char* value) { SetFormName(value); return *this;}
67
69
72 inline const Aws::String& GetTypeIdentifier() const{ return m_typeIdentifier; }
73 inline bool TypeIdentifierHasBeenSet() const { return m_typeIdentifierHasBeenSet; }
74 inline void SetTypeIdentifier(const Aws::String& value) { m_typeIdentifierHasBeenSet = true; m_typeIdentifier = value; }
75 inline void SetTypeIdentifier(Aws::String&& value) { m_typeIdentifierHasBeenSet = true; m_typeIdentifier = std::move(value); }
76 inline void SetTypeIdentifier(const char* value) { m_typeIdentifierHasBeenSet = true; m_typeIdentifier.assign(value); }
77 inline FormInput& WithTypeIdentifier(const Aws::String& value) { SetTypeIdentifier(value); return *this;}
78 inline FormInput& WithTypeIdentifier(Aws::String&& value) { SetTypeIdentifier(std::move(value)); return *this;}
79 inline FormInput& WithTypeIdentifier(const char* value) { SetTypeIdentifier(value); return *this;}
81
83
86 inline const Aws::String& GetTypeRevision() const{ return m_typeRevision; }
87 inline bool TypeRevisionHasBeenSet() const { return m_typeRevisionHasBeenSet; }
88 inline void SetTypeRevision(const Aws::String& value) { m_typeRevisionHasBeenSet = true; m_typeRevision = value; }
89 inline void SetTypeRevision(Aws::String&& value) { m_typeRevisionHasBeenSet = true; m_typeRevision = std::move(value); }
90 inline void SetTypeRevision(const char* value) { m_typeRevisionHasBeenSet = true; m_typeRevision.assign(value); }
91 inline FormInput& WithTypeRevision(const Aws::String& value) { SetTypeRevision(value); return *this;}
92 inline FormInput& WithTypeRevision(Aws::String&& value) { SetTypeRevision(std::move(value)); return *this;}
93 inline FormInput& WithTypeRevision(const char* value) { SetTypeRevision(value); return *this;}
95 private:
96
97 Aws::String m_content;
98 bool m_contentHasBeenSet = false;
99
100 Aws::String m_formName;
101 bool m_formNameHasBeenSet = false;
102
103 Aws::String m_typeIdentifier;
104 bool m_typeIdentifierHasBeenSet = false;
105
106 Aws::String m_typeRevision;
107 bool m_typeRevisionHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace DataZone
112} // namespace Aws
const Aws::String & GetFormName() const
Definition FormInput.h:58
const Aws::String & GetContent() const
Definition FormInput.h:44
const Aws::String & GetTypeRevision() const
Definition FormInput.h:86
FormInput & WithTypeRevision(Aws::String &&value)
Definition FormInput.h:92
FormInput & WithTypeIdentifier(Aws::String &&value)
Definition FormInput.h:78
void SetContent(const Aws::String &value)
Definition FormInput.h:46
AWS_DATAZONE_API FormInput & operator=(Aws::Utils::Json::JsonView jsonValue)
FormInput & WithFormName(Aws::String &&value)
Definition FormInput.h:64
FormInput & WithTypeRevision(const Aws::String &value)
Definition FormInput.h:91
AWS_DATAZONE_API FormInput(Aws::Utils::Json::JsonView jsonValue)
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetContent(Aws::String &&value)
Definition FormInput.h:47
void SetTypeRevision(const char *value)
Definition FormInput.h:90
FormInput & WithContent(Aws::String &&value)
Definition FormInput.h:50
void SetFormName(Aws::String &&value)
Definition FormInput.h:61
const Aws::String & GetTypeIdentifier() const
Definition FormInput.h:72
FormInput & WithTypeRevision(const char *value)
Definition FormInput.h:93
void SetContent(const char *value)
Definition FormInput.h:48
FormInput & WithTypeIdentifier(const Aws::String &value)
Definition FormInput.h:77
FormInput & WithContent(const char *value)
Definition FormInput.h:51
void SetTypeIdentifier(const char *value)
Definition FormInput.h:76
void SetFormName(const Aws::String &value)
Definition FormInput.h:60
void SetTypeIdentifier(Aws::String &&value)
Definition FormInput.h:75
FormInput & WithContent(const Aws::String &value)
Definition FormInput.h:49
AWS_DATAZONE_API FormInput()
void SetTypeRevision(Aws::String &&value)
Definition FormInput.h:89
FormInput & WithFormName(const Aws::String &value)
Definition FormInput.h:63
void SetTypeIdentifier(const Aws::String &value)
Definition FormInput.h:74
bool TypeRevisionHasBeenSet() const
Definition FormInput.h:87
FormInput & WithTypeIdentifier(const char *value)
Definition FormInput.h:79
void SetFormName(const char *value)
Definition FormInput.h:62
FormInput & WithFormName(const char *value)
Definition FormInput.h:65
bool TypeIdentifierHasBeenSet() const
Definition FormInput.h:73
void SetTypeRevision(const Aws::String &value)
Definition FormInput.h:88
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue