AWS SDK for C++

AWS SDK for C++ Version 1.11.637

Loading...
Searching...
No Matches
CreateGlossaryResult.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/datazone/model/GlossaryStatus.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/datazone/model/GlossaryUsageRestriction.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace DataZone
27{
28namespace Model
29{
31 {
32 public:
33 AWS_DATAZONE_API CreateGlossaryResult() = default;
36
37
39
42 inline const Aws::String& GetDescription() const { return m_description; }
43 template<typename DescriptionT = Aws::String>
44 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
45 template<typename DescriptionT = Aws::String>
46 CreateGlossaryResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
48
50
54 inline const Aws::String& GetDomainId() const { return m_domainId; }
55 template<typename DomainIdT = Aws::String>
56 void SetDomainId(DomainIdT&& value) { m_domainIdHasBeenSet = true; m_domainId = std::forward<DomainIdT>(value); }
57 template<typename DomainIdT = Aws::String>
58 CreateGlossaryResult& WithDomainId(DomainIdT&& value) { SetDomainId(std::forward<DomainIdT>(value)); return *this;}
60
62
65 inline const Aws::String& GetId() const { return m_id; }
66 template<typename IdT = Aws::String>
67 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
68 template<typename IdT = Aws::String>
69 CreateGlossaryResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
71
73
76 inline const Aws::String& GetName() const { return m_name; }
77 template<typename NameT = Aws::String>
78 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
79 template<typename NameT = Aws::String>
80 CreateGlossaryResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
82
84
87 inline const Aws::String& GetOwningProjectId() const { return m_owningProjectId; }
88 template<typename OwningProjectIdT = Aws::String>
89 void SetOwningProjectId(OwningProjectIdT&& value) { m_owningProjectIdHasBeenSet = true; m_owningProjectId = std::forward<OwningProjectIdT>(value); }
90 template<typename OwningProjectIdT = Aws::String>
91 CreateGlossaryResult& WithOwningProjectId(OwningProjectIdT&& value) { SetOwningProjectId(std::forward<OwningProjectIdT>(value)); return *this;}
93
95
98 inline GlossaryStatus GetStatus() const { return m_status; }
99 inline void SetStatus(GlossaryStatus value) { m_statusHasBeenSet = true; m_status = value; }
100 inline CreateGlossaryResult& WithStatus(GlossaryStatus value) { SetStatus(value); return *this;}
102
104
107 inline const Aws::Vector<GlossaryUsageRestriction>& GetUsageRestrictions() const { return m_usageRestrictions; }
108 template<typename UsageRestrictionsT = Aws::Vector<GlossaryUsageRestriction>>
109 void SetUsageRestrictions(UsageRestrictionsT&& value) { m_usageRestrictionsHasBeenSet = true; m_usageRestrictions = std::forward<UsageRestrictionsT>(value); }
110 template<typename UsageRestrictionsT = Aws::Vector<GlossaryUsageRestriction>>
111 CreateGlossaryResult& WithUsageRestrictions(UsageRestrictionsT&& value) { SetUsageRestrictions(std::forward<UsageRestrictionsT>(value)); return *this;}
112 inline CreateGlossaryResult& AddUsageRestrictions(GlossaryUsageRestriction value) { m_usageRestrictionsHasBeenSet = true; m_usageRestrictions.push_back(value); return *this; }
114
116
117 inline const Aws::String& GetRequestId() const { return m_requestId; }
118 template<typename RequestIdT = Aws::String>
119 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
120 template<typename RequestIdT = Aws::String>
121 CreateGlossaryResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
123 private:
124
125 Aws::String m_description;
126 bool m_descriptionHasBeenSet = false;
127
128 Aws::String m_domainId;
129 bool m_domainIdHasBeenSet = false;
130
131 Aws::String m_id;
132 bool m_idHasBeenSet = false;
133
134 Aws::String m_name;
135 bool m_nameHasBeenSet = false;
136
137 Aws::String m_owningProjectId;
138 bool m_owningProjectIdHasBeenSet = false;
139
141 bool m_statusHasBeenSet = false;
142
143 Aws::Vector<GlossaryUsageRestriction> m_usageRestrictions;
144 bool m_usageRestrictionsHasBeenSet = false;
145
146 Aws::String m_requestId;
147 bool m_requestIdHasBeenSet = false;
148 };
149
150} // namespace Model
151} // namespace DataZone
152} // namespace Aws
void SetUsageRestrictions(UsageRestrictionsT &&value)
AWS_DATAZONE_API CreateGlossaryResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_DATAZONE_API CreateGlossaryResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateGlossaryResult & WithDomainId(DomainIdT &&value)
CreateGlossaryResult & WithStatus(GlossaryStatus value)
CreateGlossaryResult & WithName(NameT &&value)
CreateGlossaryResult & WithDescription(DescriptionT &&value)
CreateGlossaryResult & WithOwningProjectId(OwningProjectIdT &&value)
AWS_DATAZONE_API CreateGlossaryResult()=default
void SetOwningProjectId(OwningProjectIdT &&value)
const Aws::Vector< GlossaryUsageRestriction > & GetUsageRestrictions() const
CreateGlossaryResult & WithUsageRestrictions(UsageRestrictionsT &&value)
CreateGlossaryResult & WithRequestId(RequestIdT &&value)
CreateGlossaryResult & AddUsageRestrictions(GlossaryUsageRestriction value)
CreateGlossaryResult & WithId(IdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue