AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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 <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace DataZone
25{
26namespace Model
27{
29 {
30 public:
31 AWS_DATAZONE_API CreateGlossaryResult() = default;
34
35
37
40 inline const Aws::String& GetDescription() const { return m_description; }
41 template<typename DescriptionT = Aws::String>
42 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
43 template<typename DescriptionT = Aws::String>
44 CreateGlossaryResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
46
48
52 inline const Aws::String& GetDomainId() const { return m_domainId; }
53 template<typename DomainIdT = Aws::String>
54 void SetDomainId(DomainIdT&& value) { m_domainIdHasBeenSet = true; m_domainId = std::forward<DomainIdT>(value); }
55 template<typename DomainIdT = Aws::String>
56 CreateGlossaryResult& WithDomainId(DomainIdT&& value) { SetDomainId(std::forward<DomainIdT>(value)); return *this;}
58
60
63 inline const Aws::String& GetId() const { return m_id; }
64 template<typename IdT = Aws::String>
65 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
66 template<typename IdT = Aws::String>
67 CreateGlossaryResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
69
71
74 inline const Aws::String& GetName() const { return m_name; }
75 template<typename NameT = Aws::String>
76 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
77 template<typename NameT = Aws::String>
78 CreateGlossaryResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
80
82
85 inline const Aws::String& GetOwningProjectId() const { return m_owningProjectId; }
86 template<typename OwningProjectIdT = Aws::String>
87 void SetOwningProjectId(OwningProjectIdT&& value) { m_owningProjectIdHasBeenSet = true; m_owningProjectId = std::forward<OwningProjectIdT>(value); }
88 template<typename OwningProjectIdT = Aws::String>
89 CreateGlossaryResult& WithOwningProjectId(OwningProjectIdT&& value) { SetOwningProjectId(std::forward<OwningProjectIdT>(value)); return *this;}
91
93
96 inline GlossaryStatus GetStatus() const { return m_status; }
97 inline void SetStatus(GlossaryStatus value) { m_statusHasBeenSet = true; m_status = value; }
98 inline CreateGlossaryResult& WithStatus(GlossaryStatus value) { SetStatus(value); return *this;}
100
102
103 inline const Aws::String& GetRequestId() const { return m_requestId; }
104 template<typename RequestIdT = Aws::String>
105 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
106 template<typename RequestIdT = Aws::String>
107 CreateGlossaryResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
109 private:
110
111 Aws::String m_description;
112 bool m_descriptionHasBeenSet = false;
113
114 Aws::String m_domainId;
115 bool m_domainIdHasBeenSet = false;
116
117 Aws::String m_id;
118 bool m_idHasBeenSet = false;
119
120 Aws::String m_name;
121 bool m_nameHasBeenSet = false;
122
123 Aws::String m_owningProjectId;
124 bool m_owningProjectIdHasBeenSet = false;
125
127 bool m_statusHasBeenSet = false;
128
129 Aws::String m_requestId;
130 bool m_requestIdHasBeenSet = false;
131 };
132
133} // namespace Model
134} // namespace DataZone
135} // namespace Aws
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)
CreateGlossaryResult & WithRequestId(RequestIdT &&value)
CreateGlossaryResult & WithId(IdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue