AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreateGlossaryRequest.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/GlossaryStatus.h>
11#include <utility>
12#include <aws/core/utils/UUID.h>
13
14namespace Aws
15{
16namespace DataZone
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_DATAZONE_API CreateGlossaryRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "CreateGlossary"; }
33
34 AWS_DATAZONE_API Aws::String SerializePayload() const override;
35
36
38
42 inline const Aws::String& GetClientToken() const { return m_clientToken; }
43 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
44 template<typename ClientTokenT = Aws::String>
45 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::forward<ClientTokenT>(value); }
46 template<typename ClientTokenT = Aws::String>
47 CreateGlossaryRequest& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(value)); return *this;}
49
51
54 inline const Aws::String& GetDescription() const { return m_description; }
55 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
56 template<typename DescriptionT = Aws::String>
57 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
58 template<typename DescriptionT = Aws::String>
59 CreateGlossaryRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
61
63
67 inline const Aws::String& GetDomainIdentifier() const { return m_domainIdentifier; }
68 inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; }
69 template<typename DomainIdentifierT = Aws::String>
70 void SetDomainIdentifier(DomainIdentifierT&& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = std::forward<DomainIdentifierT>(value); }
71 template<typename DomainIdentifierT = Aws::String>
72 CreateGlossaryRequest& WithDomainIdentifier(DomainIdentifierT&& value) { SetDomainIdentifier(std::forward<DomainIdentifierT>(value)); return *this;}
74
76
79 inline const Aws::String& GetName() const { return m_name; }
80 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
81 template<typename NameT = Aws::String>
82 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
83 template<typename NameT = Aws::String>
84 CreateGlossaryRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
86
88
91 inline const Aws::String& GetOwningProjectIdentifier() const { return m_owningProjectIdentifier; }
92 inline bool OwningProjectIdentifierHasBeenSet() const { return m_owningProjectIdentifierHasBeenSet; }
93 template<typename OwningProjectIdentifierT = Aws::String>
94 void SetOwningProjectIdentifier(OwningProjectIdentifierT&& value) { m_owningProjectIdentifierHasBeenSet = true; m_owningProjectIdentifier = std::forward<OwningProjectIdentifierT>(value); }
95 template<typename OwningProjectIdentifierT = Aws::String>
96 CreateGlossaryRequest& WithOwningProjectIdentifier(OwningProjectIdentifierT&& value) { SetOwningProjectIdentifier(std::forward<OwningProjectIdentifierT>(value)); return *this;}
98
100
103 inline GlossaryStatus GetStatus() const { return m_status; }
104 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
105 inline void SetStatus(GlossaryStatus value) { m_statusHasBeenSet = true; m_status = value; }
106 inline CreateGlossaryRequest& WithStatus(GlossaryStatus value) { SetStatus(value); return *this;}
108 private:
109
111 bool m_clientTokenHasBeenSet = true;
112
113 Aws::String m_description;
114 bool m_descriptionHasBeenSet = false;
115
116 Aws::String m_domainIdentifier;
117 bool m_domainIdentifierHasBeenSet = false;
118
119 Aws::String m_name;
120 bool m_nameHasBeenSet = false;
121
122 Aws::String m_owningProjectIdentifier;
123 bool m_owningProjectIdentifierHasBeenSet = false;
124
126 bool m_statusHasBeenSet = false;
127 };
128
129} // namespace Model
130} // namespace DataZone
131} // namespace Aws
CreateGlossaryRequest & WithName(NameT &&value)
CreateGlossaryRequest & WithDomainIdentifier(DomainIdentifierT &&value)
void SetOwningProjectIdentifier(OwningProjectIdentifierT &&value)
CreateGlossaryRequest & WithDescription(DescriptionT &&value)
CreateGlossaryRequest & WithClientToken(ClientTokenT &&value)
void SetDomainIdentifier(DomainIdentifierT &&value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetOwningProjectIdentifier() const
CreateGlossaryRequest & WithOwningProjectIdentifier(OwningProjectIdentifierT &&value)
AWS_DATAZONE_API CreateGlossaryRequest()=default
AWS_DATAZONE_API Aws::String SerializePayload() const override
CreateGlossaryRequest & WithStatus(GlossaryStatus value)
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String