AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreateGlossaryTermRequest.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/datazone/DataZoneRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/datazone/model/GlossaryTermStatus.h>
11#include <aws/datazone/model/TermRelations.h>
12#include <utility>
13#include <aws/core/utils/UUID.h>
14
15namespace Aws
16{
17namespace DataZone
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_DATAZONE_API CreateGlossaryTermRequest() = default;
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "CreateGlossaryTerm"; }
34
35 AWS_DATAZONE_API Aws::String SerializePayload() const override;
36
37
39
43 inline const Aws::String& GetClientToken() const { return m_clientToken; }
44 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
45 template<typename ClientTokenT = Aws::String>
46 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::forward<ClientTokenT>(value); }
47 template<typename ClientTokenT = Aws::String>
48 CreateGlossaryTermRequest& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(value)); return *this;}
50
52
56 inline const Aws::String& GetDomainIdentifier() const { return m_domainIdentifier; }
57 inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; }
58 template<typename DomainIdentifierT = Aws::String>
59 void SetDomainIdentifier(DomainIdentifierT&& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = std::forward<DomainIdentifierT>(value); }
60 template<typename DomainIdentifierT = Aws::String>
61 CreateGlossaryTermRequest& WithDomainIdentifier(DomainIdentifierT&& value) { SetDomainIdentifier(std::forward<DomainIdentifierT>(value)); return *this;}
63
65
68 inline const Aws::String& GetGlossaryIdentifier() const { return m_glossaryIdentifier; }
69 inline bool GlossaryIdentifierHasBeenSet() const { return m_glossaryIdentifierHasBeenSet; }
70 template<typename GlossaryIdentifierT = Aws::String>
71 void SetGlossaryIdentifier(GlossaryIdentifierT&& value) { m_glossaryIdentifierHasBeenSet = true; m_glossaryIdentifier = std::forward<GlossaryIdentifierT>(value); }
72 template<typename GlossaryIdentifierT = Aws::String>
73 CreateGlossaryTermRequest& WithGlossaryIdentifier(GlossaryIdentifierT&& value) { SetGlossaryIdentifier(std::forward<GlossaryIdentifierT>(value)); return *this;}
75
77
80 inline const Aws::String& GetLongDescription() const { return m_longDescription; }
81 inline bool LongDescriptionHasBeenSet() const { return m_longDescriptionHasBeenSet; }
82 template<typename LongDescriptionT = Aws::String>
83 void SetLongDescription(LongDescriptionT&& value) { m_longDescriptionHasBeenSet = true; m_longDescription = std::forward<LongDescriptionT>(value); }
84 template<typename LongDescriptionT = Aws::String>
85 CreateGlossaryTermRequest& WithLongDescription(LongDescriptionT&& value) { SetLongDescription(std::forward<LongDescriptionT>(value)); return *this;}
87
89
92 inline const Aws::String& GetName() const { return m_name; }
93 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
94 template<typename NameT = Aws::String>
95 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
96 template<typename NameT = Aws::String>
97 CreateGlossaryTermRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
99
101
104 inline const Aws::String& GetShortDescription() const { return m_shortDescription; }
105 inline bool ShortDescriptionHasBeenSet() const { return m_shortDescriptionHasBeenSet; }
106 template<typename ShortDescriptionT = Aws::String>
107 void SetShortDescription(ShortDescriptionT&& value) { m_shortDescriptionHasBeenSet = true; m_shortDescription = std::forward<ShortDescriptionT>(value); }
108 template<typename ShortDescriptionT = Aws::String>
109 CreateGlossaryTermRequest& WithShortDescription(ShortDescriptionT&& value) { SetShortDescription(std::forward<ShortDescriptionT>(value)); return *this;}
111
113
116 inline GlossaryTermStatus GetStatus() const { return m_status; }
117 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
118 inline void SetStatus(GlossaryTermStatus value) { m_statusHasBeenSet = true; m_status = value; }
119 inline CreateGlossaryTermRequest& WithStatus(GlossaryTermStatus value) { SetStatus(value); return *this;}
121
123
126 inline const TermRelations& GetTermRelations() const { return m_termRelations; }
127 inline bool TermRelationsHasBeenSet() const { return m_termRelationsHasBeenSet; }
128 template<typename TermRelationsT = TermRelations>
129 void SetTermRelations(TermRelationsT&& value) { m_termRelationsHasBeenSet = true; m_termRelations = std::forward<TermRelationsT>(value); }
130 template<typename TermRelationsT = TermRelations>
131 CreateGlossaryTermRequest& WithTermRelations(TermRelationsT&& value) { SetTermRelations(std::forward<TermRelationsT>(value)); return *this;}
133 private:
134
136 bool m_clientTokenHasBeenSet = true;
137
138 Aws::String m_domainIdentifier;
139 bool m_domainIdentifierHasBeenSet = false;
140
141 Aws::String m_glossaryIdentifier;
142 bool m_glossaryIdentifierHasBeenSet = false;
143
144 Aws::String m_longDescription;
145 bool m_longDescriptionHasBeenSet = false;
146
147 Aws::String m_name;
148 bool m_nameHasBeenSet = false;
149
150 Aws::String m_shortDescription;
151 bool m_shortDescriptionHasBeenSet = false;
152
154 bool m_statusHasBeenSet = false;
155
156 TermRelations m_termRelations;
157 bool m_termRelationsHasBeenSet = false;
158 };
159
160} // namespace Model
161} // namespace DataZone
162} // namespace Aws
AWS_DATAZONE_API Aws::String SerializePayload() const override
CreateGlossaryTermRequest & WithDomainIdentifier(DomainIdentifierT &&value)
CreateGlossaryTermRequest & WithName(NameT &&value)
CreateGlossaryTermRequest & WithClientToken(ClientTokenT &&value)
CreateGlossaryTermRequest & WithLongDescription(LongDescriptionT &&value)
virtual const char * GetServiceRequestName() const override
CreateGlossaryTermRequest & WithStatus(GlossaryTermStatus value)
CreateGlossaryTermRequest & WithShortDescription(ShortDescriptionT &&value)
CreateGlossaryTermRequest & WithGlossaryIdentifier(GlossaryIdentifierT &&value)
AWS_DATAZONE_API CreateGlossaryTermRequest()=default
CreateGlossaryTermRequest & WithTermRelations(TermRelationsT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String