AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
FormEntryOutput.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 FormEntryOutput() = default;
35 AWS_DATAZONE_API FormEntryOutput(Aws::Utils::Json::JsonView jsonValue);
37 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline bool GetRequired() const { return m_required; }
45 inline bool RequiredHasBeenSet() const { return m_requiredHasBeenSet; }
46 inline void SetRequired(bool value) { m_requiredHasBeenSet = true; m_required = value; }
47 inline FormEntryOutput& WithRequired(bool value) { SetRequired(value); return *this;}
49
51
54 inline const Aws::String& GetTypeName() const { return m_typeName; }
55 inline bool TypeNameHasBeenSet() const { return m_typeNameHasBeenSet; }
56 template<typename TypeNameT = Aws::String>
57 void SetTypeName(TypeNameT&& value) { m_typeNameHasBeenSet = true; m_typeName = std::forward<TypeNameT>(value); }
58 template<typename TypeNameT = Aws::String>
59 FormEntryOutput& WithTypeName(TypeNameT&& value) { SetTypeName(std::forward<TypeNameT>(value)); return *this;}
61
63
66 inline const Aws::String& GetTypeRevision() const { return m_typeRevision; }
67 inline bool TypeRevisionHasBeenSet() const { return m_typeRevisionHasBeenSet; }
68 template<typename TypeRevisionT = Aws::String>
69 void SetTypeRevision(TypeRevisionT&& value) { m_typeRevisionHasBeenSet = true; m_typeRevision = std::forward<TypeRevisionT>(value); }
70 template<typename TypeRevisionT = Aws::String>
71 FormEntryOutput& WithTypeRevision(TypeRevisionT&& value) { SetTypeRevision(std::forward<TypeRevisionT>(value)); return *this;}
73 private:
74
75 bool m_required{false};
76 bool m_requiredHasBeenSet = false;
77
78 Aws::String m_typeName;
79 bool m_typeNameHasBeenSet = false;
80
81 Aws::String m_typeRevision;
82 bool m_typeRevisionHasBeenSet = false;
83 };
84
85} // namespace Model
86} // namespace DataZone
87} // namespace Aws
bool TypeNameHasBeenSet() const
const Aws::String & GetTypeName() const
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DATAZONE_API FormEntryOutput()=default
void SetTypeName(TypeNameT &&value)
FormEntryOutput & WithRequired(bool value)
bool TypeRevisionHasBeenSet() const
void SetTypeRevision(TypeRevisionT &&value)
AWS_DATAZONE_API FormEntryOutput(Aws::Utils::Json::JsonView jsonValue)
FormEntryOutput & WithTypeRevision(TypeRevisionT &&value)
bool RequiredHasBeenSet() const
void SetRequired(bool value)
const Aws::String & GetTypeRevision() const
FormEntryOutput & WithTypeName(TypeNameT &&value)
AWS_DATAZONE_API FormEntryOutput & operator=(Aws::Utils::Json::JsonView jsonValue)
bool GetRequired() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue