AWS SDK for C++

AWS SDK for C++ Version 1.11.747

Loading...
Searching...
No Matches
MetadataFormSummary.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/datazone/DataZone_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace DataZone {
20namespace Model {
21
28 public:
29 AWS_DATAZONE_API MetadataFormSummary() = default;
32 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const Aws::String& GetFormName() const { return m_formName; }
39 inline bool FormNameHasBeenSet() const { return m_formNameHasBeenSet; }
40 template <typename FormNameT = Aws::String>
41 void SetFormName(FormNameT&& value) {
42 m_formNameHasBeenSet = true;
43 m_formName = std::forward<FormNameT>(value);
44 }
45 template <typename FormNameT = Aws::String>
46 MetadataFormSummary& WithFormName(FormNameT&& value) {
47 SetFormName(std::forward<FormNameT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetTypeName() const { return m_typeName; }
57 inline bool TypeNameHasBeenSet() const { return m_typeNameHasBeenSet; }
58 template <typename TypeNameT = Aws::String>
59 void SetTypeName(TypeNameT&& value) {
60 m_typeNameHasBeenSet = true;
61 m_typeName = std::forward<TypeNameT>(value);
62 }
63 template <typename TypeNameT = Aws::String>
64 MetadataFormSummary& WithTypeName(TypeNameT&& value) {
65 SetTypeName(std::forward<TypeNameT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetTypeRevision() const { return m_typeRevision; }
75 inline bool TypeRevisionHasBeenSet() const { return m_typeRevisionHasBeenSet; }
76 template <typename TypeRevisionT = Aws::String>
77 void SetTypeRevision(TypeRevisionT&& value) {
78 m_typeRevisionHasBeenSet = true;
79 m_typeRevision = std::forward<TypeRevisionT>(value);
80 }
81 template <typename TypeRevisionT = Aws::String>
82 MetadataFormSummary& WithTypeRevision(TypeRevisionT&& value) {
83 SetTypeRevision(std::forward<TypeRevisionT>(value));
84 return *this;
85 }
87 private:
88 Aws::String m_formName;
89
90 Aws::String m_typeName;
91
92 Aws::String m_typeRevision;
93 bool m_formNameHasBeenSet = false;
94 bool m_typeNameHasBeenSet = false;
95 bool m_typeRevisionHasBeenSet = false;
96};
97
98} // namespace Model
99} // namespace DataZone
100} // namespace Aws
AWS_DATAZONE_API MetadataFormSummary(Aws::Utils::Json::JsonView jsonValue)
MetadataFormSummary & WithTypeName(TypeNameT &&value)
MetadataFormSummary & WithTypeRevision(TypeRevisionT &&value)
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
MetadataFormSummary & WithFormName(FormNameT &&value)
AWS_DATAZONE_API MetadataFormSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DATAZONE_API MetadataFormSummary()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue