AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 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 FormOutput& WithContent(const Aws::String& value) { SetContent(value); return *this;}
50 inline FormOutput& WithContent(Aws::String&& value) { SetContent(std::move(value)); return *this;}
51 inline FormOutput& 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 FormOutput& WithFormName(const Aws::String& value) { SetFormName(value); return *this;}
64 inline FormOutput& WithFormName(Aws::String&& value) { SetFormName(std::move(value)); return *this;}
65 inline FormOutput& WithFormName(const char* value) { SetFormName(value); return *this;}
67
69
72 inline const Aws::String& GetTypeName() const{ return m_typeName; }
73 inline bool TypeNameHasBeenSet() const { return m_typeNameHasBeenSet; }
74 inline void SetTypeName(const Aws::String& value) { m_typeNameHasBeenSet = true; m_typeName = value; }
75 inline void SetTypeName(Aws::String&& value) { m_typeNameHasBeenSet = true; m_typeName = std::move(value); }
76 inline void SetTypeName(const char* value) { m_typeNameHasBeenSet = true; m_typeName.assign(value); }
77 inline FormOutput& WithTypeName(const Aws::String& value) { SetTypeName(value); return *this;}
78 inline FormOutput& WithTypeName(Aws::String&& value) { SetTypeName(std::move(value)); return *this;}
79 inline FormOutput& WithTypeName(const char* value) { SetTypeName(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 FormOutput& WithTypeRevision(const Aws::String& value) { SetTypeRevision(value); return *this;}
92 inline FormOutput& WithTypeRevision(Aws::String&& value) { SetTypeRevision(std::move(value)); return *this;}
93 inline FormOutput& 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_typeName;
104 bool m_typeNameHasBeenSet = false;
105
106 Aws::String m_typeRevision;
107 bool m_typeRevisionHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace DataZone
112} // namespace Aws
void SetTypeName(const char *value)
Definition FormOutput.h:76
void SetFormName(const char *value)
Definition FormOutput.h:62
const Aws::String & GetContent() const
Definition FormOutput.h:44
const Aws::String & GetTypeRevision() const
Definition FormOutput.h:86
AWS_DATAZONE_API FormOutput & operator=(Aws::Utils::Json::JsonView jsonValue)
FormOutput & WithContent(const char *value)
Definition FormOutput.h:51
AWS_DATAZONE_API FormOutput(Aws::Utils::Json::JsonView jsonValue)
void SetContent(Aws::String &&value)
Definition FormOutput.h:47
FormOutput & WithFormName(Aws::String &&value)
Definition FormOutput.h:64
FormOutput & WithTypeRevision(const char *value)
Definition FormOutput.h:93
FormOutput & WithTypeRevision(Aws::String &&value)
Definition FormOutput.h:92
void SetTypeName(const Aws::String &value)
Definition FormOutput.h:74
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
FormOutput & WithContent(Aws::String &&value)
Definition FormOutput.h:50
void SetTypeRevision(const char *value)
Definition FormOutput.h:90
const Aws::String & GetFormName() const
Definition FormOutput.h:58
FormOutput & WithTypeRevision(const Aws::String &value)
Definition FormOutput.h:91
const Aws::String & GetTypeName() const
Definition FormOutput.h:72
FormOutput & WithContent(const Aws::String &value)
Definition FormOutput.h:49
void SetContent(const Aws::String &value)
Definition FormOutput.h:46
FormOutput & WithFormName(const Aws::String &value)
Definition FormOutput.h:63
void SetFormName(const Aws::String &value)
Definition FormOutput.h:60
void SetTypeName(Aws::String &&value)
Definition FormOutput.h:75
FormOutput & WithTypeName(Aws::String &&value)
Definition FormOutput.h:78
void SetTypeRevision(const Aws::String &value)
Definition FormOutput.h:88
void SetFormName(Aws::String &&value)
Definition FormOutput.h:61
void SetTypeRevision(Aws::String &&value)
Definition FormOutput.h:89
void SetContent(const char *value)
Definition FormOutput.h:48
FormOutput & WithTypeName(const Aws::String &value)
Definition FormOutput.h:77
FormOutput & WithTypeName(const char *value)
Definition FormOutput.h:79
FormOutput & WithFormName(const char *value)
Definition FormOutput.h:65
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue