AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SubscribedAssetListing.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/datazone/model/AssetScope.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/datazone/model/DetailedGlossaryTerm.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace DataZone
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_DATAZONE_API SubscribedAssetListing();
41 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const AssetScope& GetAssetScope() const{ return m_assetScope; }
49 inline bool AssetScopeHasBeenSet() const { return m_assetScopeHasBeenSet; }
50 inline void SetAssetScope(const AssetScope& value) { m_assetScopeHasBeenSet = true; m_assetScope = value; }
51 inline void SetAssetScope(AssetScope&& value) { m_assetScopeHasBeenSet = true; m_assetScope = std::move(value); }
52 inline SubscribedAssetListing& WithAssetScope(const AssetScope& value) { SetAssetScope(value); return *this;}
53 inline SubscribedAssetListing& WithAssetScope(AssetScope&& value) { SetAssetScope(std::move(value)); return *this;}
55
57
61 inline const Aws::String& GetEntityId() const{ return m_entityId; }
62 inline bool EntityIdHasBeenSet() const { return m_entityIdHasBeenSet; }
63 inline void SetEntityId(const Aws::String& value) { m_entityIdHasBeenSet = true; m_entityId = value; }
64 inline void SetEntityId(Aws::String&& value) { m_entityIdHasBeenSet = true; m_entityId = std::move(value); }
65 inline void SetEntityId(const char* value) { m_entityIdHasBeenSet = true; m_entityId.assign(value); }
66 inline SubscribedAssetListing& WithEntityId(const Aws::String& value) { SetEntityId(value); return *this;}
67 inline SubscribedAssetListing& WithEntityId(Aws::String&& value) { SetEntityId(std::move(value)); return *this;}
68 inline SubscribedAssetListing& WithEntityId(const char* value) { SetEntityId(value); return *this;}
70
72
76 inline const Aws::String& GetEntityRevision() const{ return m_entityRevision; }
77 inline bool EntityRevisionHasBeenSet() const { return m_entityRevisionHasBeenSet; }
78 inline void SetEntityRevision(const Aws::String& value) { m_entityRevisionHasBeenSet = true; m_entityRevision = value; }
79 inline void SetEntityRevision(Aws::String&& value) { m_entityRevisionHasBeenSet = true; m_entityRevision = std::move(value); }
80 inline void SetEntityRevision(const char* value) { m_entityRevisionHasBeenSet = true; m_entityRevision.assign(value); }
81 inline SubscribedAssetListing& WithEntityRevision(const Aws::String& value) { SetEntityRevision(value); return *this;}
82 inline SubscribedAssetListing& WithEntityRevision(Aws::String&& value) { SetEntityRevision(std::move(value)); return *this;}
83 inline SubscribedAssetListing& WithEntityRevision(const char* value) { SetEntityRevision(value); return *this;}
85
87
91 inline const Aws::String& GetEntityType() const{ return m_entityType; }
92 inline bool EntityTypeHasBeenSet() const { return m_entityTypeHasBeenSet; }
93 inline void SetEntityType(const Aws::String& value) { m_entityTypeHasBeenSet = true; m_entityType = value; }
94 inline void SetEntityType(Aws::String&& value) { m_entityTypeHasBeenSet = true; m_entityType = std::move(value); }
95 inline void SetEntityType(const char* value) { m_entityTypeHasBeenSet = true; m_entityType.assign(value); }
96 inline SubscribedAssetListing& WithEntityType(const Aws::String& value) { SetEntityType(value); return *this;}
97 inline SubscribedAssetListing& WithEntityType(Aws::String&& value) { SetEntityType(std::move(value)); return *this;}
98 inline SubscribedAssetListing& WithEntityType(const char* value) { SetEntityType(value); return *this;}
100
102
106 inline const Aws::String& GetForms() const{ return m_forms; }
107 inline bool FormsHasBeenSet() const { return m_formsHasBeenSet; }
108 inline void SetForms(const Aws::String& value) { m_formsHasBeenSet = true; m_forms = value; }
109 inline void SetForms(Aws::String&& value) { m_formsHasBeenSet = true; m_forms = std::move(value); }
110 inline void SetForms(const char* value) { m_formsHasBeenSet = true; m_forms.assign(value); }
111 inline SubscribedAssetListing& WithForms(const Aws::String& value) { SetForms(value); return *this;}
112 inline SubscribedAssetListing& WithForms(Aws::String&& value) { SetForms(std::move(value)); return *this;}
113 inline SubscribedAssetListing& WithForms(const char* value) { SetForms(value); return *this;}
115
117
121 inline const Aws::Vector<DetailedGlossaryTerm>& GetGlossaryTerms() const{ return m_glossaryTerms; }
122 inline bool GlossaryTermsHasBeenSet() const { return m_glossaryTermsHasBeenSet; }
123 inline void SetGlossaryTerms(const Aws::Vector<DetailedGlossaryTerm>& value) { m_glossaryTermsHasBeenSet = true; m_glossaryTerms = value; }
124 inline void SetGlossaryTerms(Aws::Vector<DetailedGlossaryTerm>&& value) { m_glossaryTermsHasBeenSet = true; m_glossaryTerms = std::move(value); }
127 inline SubscribedAssetListing& AddGlossaryTerms(const DetailedGlossaryTerm& value) { m_glossaryTermsHasBeenSet = true; m_glossaryTerms.push_back(value); return *this; }
128 inline SubscribedAssetListing& AddGlossaryTerms(DetailedGlossaryTerm&& value) { m_glossaryTermsHasBeenSet = true; m_glossaryTerms.push_back(std::move(value)); return *this; }
130 private:
131
132 AssetScope m_assetScope;
133 bool m_assetScopeHasBeenSet = false;
134
135 Aws::String m_entityId;
136 bool m_entityIdHasBeenSet = false;
137
138 Aws::String m_entityRevision;
139 bool m_entityRevisionHasBeenSet = false;
140
141 Aws::String m_entityType;
142 bool m_entityTypeHasBeenSet = false;
143
144 Aws::String m_forms;
145 bool m_formsHasBeenSet = false;
146
147 Aws::Vector<DetailedGlossaryTerm> m_glossaryTerms;
148 bool m_glossaryTermsHasBeenSet = false;
149 };
150
151} // namespace Model
152} // namespace DataZone
153} // namespace Aws
SubscribedAssetListing & WithEntityRevision(const Aws::String &value)
SubscribedAssetListing & AddGlossaryTerms(DetailedGlossaryTerm &&value)
SubscribedAssetListing & WithEntityType(Aws::String &&value)
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
SubscribedAssetListing & WithEntityId(Aws::String &&value)
AWS_DATAZONE_API SubscribedAssetListing(Aws::Utils::Json::JsonView jsonValue)
SubscribedAssetListing & WithEntityRevision(const char *value)
SubscribedAssetListing & AddGlossaryTerms(const DetailedGlossaryTerm &value)
SubscribedAssetListing & WithEntityType(const Aws::String &value)
void SetGlossaryTerms(const Aws::Vector< DetailedGlossaryTerm > &value)
SubscribedAssetListing & WithEntityId(const char *value)
SubscribedAssetListing & WithForms(const char *value)
SubscribedAssetListing & WithGlossaryTerms(const Aws::Vector< DetailedGlossaryTerm > &value)
SubscribedAssetListing & WithAssetScope(AssetScope &&value)
void SetGlossaryTerms(Aws::Vector< DetailedGlossaryTerm > &&value)
SubscribedAssetListing & WithForms(Aws::String &&value)
SubscribedAssetListing & WithGlossaryTerms(Aws::Vector< DetailedGlossaryTerm > &&value)
SubscribedAssetListing & WithAssetScope(const AssetScope &value)
AWS_DATAZONE_API SubscribedAssetListing & operator=(Aws::Utils::Json::JsonView jsonValue)
SubscribedAssetListing & WithForms(const Aws::String &value)
SubscribedAssetListing & WithEntityRevision(Aws::String &&value)
SubscribedAssetListing & WithEntityType(const char *value)
SubscribedAssetListing & WithEntityId(const Aws::String &value)
const Aws::Vector< DetailedGlossaryTerm > & GetGlossaryTerms() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue