AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
FormEntryInput.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 FormEntryInput() = default;
35 AWS_DATAZONE_API FormEntryInput(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 FormEntryInput& WithRequired(bool value) { SetRequired(value); return *this;}
49
51
54 inline const Aws::String& GetTypeIdentifier() const { return m_typeIdentifier; }
55 inline bool TypeIdentifierHasBeenSet() const { return m_typeIdentifierHasBeenSet; }
56 template<typename TypeIdentifierT = Aws::String>
57 void SetTypeIdentifier(TypeIdentifierT&& value) { m_typeIdentifierHasBeenSet = true; m_typeIdentifier = std::forward<TypeIdentifierT>(value); }
58 template<typename TypeIdentifierT = Aws::String>
59 FormEntryInput& WithTypeIdentifier(TypeIdentifierT&& value) { SetTypeIdentifier(std::forward<TypeIdentifierT>(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 FormEntryInput& 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_typeIdentifier;
79 bool m_typeIdentifierHasBeenSet = false;
80
81 Aws::String m_typeRevision;
82 bool m_typeRevisionHasBeenSet = false;
83 };
84
85} // namespace Model
86} // namespace DataZone
87} // namespace Aws
const Aws::String & GetTypeIdentifier() const
bool TypeIdentifierHasBeenSet() const
AWS_DATAZONE_API FormEntryInput()=default
AWS_DATAZONE_API FormEntryInput(Aws::Utils::Json::JsonView jsonValue)
FormEntryInput & WithRequired(bool value)
bool GetRequired() const
bool TypeRevisionHasBeenSet() const
FormEntryInput & WithTypeIdentifier(TypeIdentifierT &&value)
const Aws::String & GetTypeRevision() const
void SetTypeIdentifier(TypeIdentifierT &&value)
void SetRequired(bool value)
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
FormEntryInput & WithTypeRevision(TypeRevisionT &&value)
bool RequiredHasBeenSet() const
void SetTypeRevision(TypeRevisionT &&value)
AWS_DATAZONE_API FormEntryInput & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue