AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
45 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
46 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
47 inline CreateGlossaryRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
48 inline CreateGlossaryRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
49 inline CreateGlossaryRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
51
53
56 inline const Aws::String& GetDescription() const{ return m_description; }
57 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
58 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
59 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
60 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
61 inline CreateGlossaryRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
62 inline CreateGlossaryRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
63 inline CreateGlossaryRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
65
67
71 inline const Aws::String& GetDomainIdentifier() const{ return m_domainIdentifier; }
72 inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; }
73 inline void SetDomainIdentifier(const Aws::String& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = value; }
74 inline void SetDomainIdentifier(Aws::String&& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = std::move(value); }
75 inline void SetDomainIdentifier(const char* value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier.assign(value); }
76 inline CreateGlossaryRequest& WithDomainIdentifier(const Aws::String& value) { SetDomainIdentifier(value); return *this;}
77 inline CreateGlossaryRequest& WithDomainIdentifier(Aws::String&& value) { SetDomainIdentifier(std::move(value)); return *this;}
78 inline CreateGlossaryRequest& WithDomainIdentifier(const char* value) { SetDomainIdentifier(value); return *this;}
80
82
85 inline const Aws::String& GetName() const{ return m_name; }
86 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
87 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
88 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
89 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
90 inline CreateGlossaryRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
91 inline CreateGlossaryRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
92 inline CreateGlossaryRequest& WithName(const char* value) { SetName(value); return *this;}
94
96
99 inline const Aws::String& GetOwningProjectIdentifier() const{ return m_owningProjectIdentifier; }
100 inline bool OwningProjectIdentifierHasBeenSet() const { return m_owningProjectIdentifierHasBeenSet; }
101 inline void SetOwningProjectIdentifier(const Aws::String& value) { m_owningProjectIdentifierHasBeenSet = true; m_owningProjectIdentifier = value; }
102 inline void SetOwningProjectIdentifier(Aws::String&& value) { m_owningProjectIdentifierHasBeenSet = true; m_owningProjectIdentifier = std::move(value); }
103 inline void SetOwningProjectIdentifier(const char* value) { m_owningProjectIdentifierHasBeenSet = true; m_owningProjectIdentifier.assign(value); }
106 inline CreateGlossaryRequest& WithOwningProjectIdentifier(const char* value) { SetOwningProjectIdentifier(value); return *this;}
108
110
113 inline const GlossaryStatus& GetStatus() const{ return m_status; }
114 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
115 inline void SetStatus(const GlossaryStatus& value) { m_statusHasBeenSet = true; m_status = value; }
116 inline void SetStatus(GlossaryStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
117 inline CreateGlossaryRequest& WithStatus(const GlossaryStatus& value) { SetStatus(value); return *this;}
118 inline CreateGlossaryRequest& WithStatus(GlossaryStatus&& value) { SetStatus(std::move(value)); return *this;}
120 private:
121
122 Aws::String m_clientToken;
123 bool m_clientTokenHasBeenSet = false;
124
125 Aws::String m_description;
126 bool m_descriptionHasBeenSet = false;
127
128 Aws::String m_domainIdentifier;
129 bool m_domainIdentifierHasBeenSet = false;
130
131 Aws::String m_name;
132 bool m_nameHasBeenSet = false;
133
134 Aws::String m_owningProjectIdentifier;
135 bool m_owningProjectIdentifierHasBeenSet = false;
136
137 GlossaryStatus m_status;
138 bool m_statusHasBeenSet = false;
139 };
140
141} // namespace Model
142} // namespace DataZone
143} // namespace Aws
CreateGlossaryRequest & WithDomainIdentifier(const Aws::String &value)
void SetDomainIdentifier(const Aws::String &value)
CreateGlossaryRequest & WithClientToken(Aws::String &&value)
CreateGlossaryRequest & WithOwningProjectIdentifier(Aws::String &&value)
CreateGlossaryRequest & WithStatus(const GlossaryStatus &value)
CreateGlossaryRequest & WithOwningProjectIdentifier(const char *value)
CreateGlossaryRequest & WithDescription(const Aws::String &value)
CreateGlossaryRequest & WithClientToken(const Aws::String &value)
void SetStatus(const GlossaryStatus &value)
CreateGlossaryRequest & WithClientToken(const char *value)
CreateGlossaryRequest & WithStatus(GlossaryStatus &&value)
CreateGlossaryRequest & WithDomainIdentifier(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
CreateGlossaryRequest & WithName(const char *value)
CreateGlossaryRequest & WithOwningProjectIdentifier(const Aws::String &value)
CreateGlossaryRequest & WithDescription(Aws::String &&value)
const Aws::String & GetOwningProjectIdentifier() const
AWS_DATAZONE_API Aws::String SerializePayload() const override
void SetOwningProjectIdentifier(const Aws::String &value)
CreateGlossaryRequest & WithName(const Aws::String &value)
CreateGlossaryRequest & WithDomainIdentifier(const char *value)
CreateGlossaryRequest & WithName(Aws::String &&value)
CreateGlossaryRequest & WithDescription(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String