AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SubscribedListing.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/SubscribedListingItem.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace DataZone
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_DATAZONE_API SubscribedListing();
37 AWS_DATAZONE_API SubscribedListing(Aws::Utils::Json::JsonView jsonValue);
39 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetDescription() const{ return m_description; }
48 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
49 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
50 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
51 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
52 inline SubscribedListing& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
53 inline SubscribedListing& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
54 inline SubscribedListing& WithDescription(const char* value) { SetDescription(value); return *this;}
56
58
62 inline const Aws::String& GetId() const{ return m_id; }
63 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
64 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
65 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
66 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
67 inline SubscribedListing& WithId(const Aws::String& value) { SetId(value); return *this;}
68 inline SubscribedListing& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
69 inline SubscribedListing& WithId(const char* value) { SetId(value); return *this;}
71
73
76 inline const SubscribedListingItem& GetItem() const{ return m_item; }
77 inline bool ItemHasBeenSet() const { return m_itemHasBeenSet; }
78 inline void SetItem(const SubscribedListingItem& value) { m_itemHasBeenSet = true; m_item = value; }
79 inline void SetItem(SubscribedListingItem&& value) { m_itemHasBeenSet = true; m_item = std::move(value); }
80 inline SubscribedListing& WithItem(const SubscribedListingItem& value) { SetItem(value); return *this;}
81 inline SubscribedListing& WithItem(SubscribedListingItem&& value) { SetItem(std::move(value)); return *this;}
83
85
89 inline const Aws::String& GetName() const{ return m_name; }
90 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
91 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
92 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
93 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
94 inline SubscribedListing& WithName(const Aws::String& value) { SetName(value); return *this;}
95 inline SubscribedListing& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
96 inline SubscribedListing& WithName(const char* value) { SetName(value); return *this;}
98
100
104 inline const Aws::String& GetOwnerProjectId() const{ return m_ownerProjectId; }
105 inline bool OwnerProjectIdHasBeenSet() const { return m_ownerProjectIdHasBeenSet; }
106 inline void SetOwnerProjectId(const Aws::String& value) { m_ownerProjectIdHasBeenSet = true; m_ownerProjectId = value; }
107 inline void SetOwnerProjectId(Aws::String&& value) { m_ownerProjectIdHasBeenSet = true; m_ownerProjectId = std::move(value); }
108 inline void SetOwnerProjectId(const char* value) { m_ownerProjectIdHasBeenSet = true; m_ownerProjectId.assign(value); }
109 inline SubscribedListing& WithOwnerProjectId(const Aws::String& value) { SetOwnerProjectId(value); return *this;}
110 inline SubscribedListing& WithOwnerProjectId(Aws::String&& value) { SetOwnerProjectId(std::move(value)); return *this;}
111 inline SubscribedListing& WithOwnerProjectId(const char* value) { SetOwnerProjectId(value); return *this;}
113
115
119 inline const Aws::String& GetOwnerProjectName() const{ return m_ownerProjectName; }
120 inline bool OwnerProjectNameHasBeenSet() const { return m_ownerProjectNameHasBeenSet; }
121 inline void SetOwnerProjectName(const Aws::String& value) { m_ownerProjectNameHasBeenSet = true; m_ownerProjectName = value; }
122 inline void SetOwnerProjectName(Aws::String&& value) { m_ownerProjectNameHasBeenSet = true; m_ownerProjectName = std::move(value); }
123 inline void SetOwnerProjectName(const char* value) { m_ownerProjectNameHasBeenSet = true; m_ownerProjectName.assign(value); }
124 inline SubscribedListing& WithOwnerProjectName(const Aws::String& value) { SetOwnerProjectName(value); return *this;}
125 inline SubscribedListing& WithOwnerProjectName(Aws::String&& value) { SetOwnerProjectName(std::move(value)); return *this;}
126 inline SubscribedListing& WithOwnerProjectName(const char* value) { SetOwnerProjectName(value); return *this;}
128
130
134 inline const Aws::String& GetRevision() const{ return m_revision; }
135 inline bool RevisionHasBeenSet() const { return m_revisionHasBeenSet; }
136 inline void SetRevision(const Aws::String& value) { m_revisionHasBeenSet = true; m_revision = value; }
137 inline void SetRevision(Aws::String&& value) { m_revisionHasBeenSet = true; m_revision = std::move(value); }
138 inline void SetRevision(const char* value) { m_revisionHasBeenSet = true; m_revision.assign(value); }
139 inline SubscribedListing& WithRevision(const Aws::String& value) { SetRevision(value); return *this;}
140 inline SubscribedListing& WithRevision(Aws::String&& value) { SetRevision(std::move(value)); return *this;}
141 inline SubscribedListing& WithRevision(const char* value) { SetRevision(value); return *this;}
143 private:
144
145 Aws::String m_description;
146 bool m_descriptionHasBeenSet = false;
147
148 Aws::String m_id;
149 bool m_idHasBeenSet = false;
150
152 bool m_itemHasBeenSet = false;
153
154 Aws::String m_name;
155 bool m_nameHasBeenSet = false;
156
157 Aws::String m_ownerProjectId;
158 bool m_ownerProjectIdHasBeenSet = false;
159
160 Aws::String m_ownerProjectName;
161 bool m_ownerProjectNameHasBeenSet = false;
162
163 Aws::String m_revision;
164 bool m_revisionHasBeenSet = false;
165 };
166
167} // namespace Model
168} // namespace DataZone
169} // namespace Aws
SubscribedListing & WithOwnerProjectId(const Aws::String &value)
void SetOwnerProjectName(Aws::String &&value)
SubscribedListing & WithOwnerProjectName(const char *value)
void SetId(const Aws::String &value)
void SetItem(SubscribedListingItem &&value)
SubscribedListing & WithId(const Aws::String &value)
SubscribedListing & WithDescription(const char *value)
SubscribedListing & WithName(Aws::String &&value)
void SetItem(const SubscribedListingItem &value)
const Aws::String & GetOwnerProjectId() const
void SetOwnerProjectId(const Aws::String &value)
SubscribedListing & WithDescription(const Aws::String &value)
SubscribedListing & WithItem(const SubscribedListingItem &value)
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetOwnerProjectName(const Aws::String &value)
const Aws::String & GetRevision() const
SubscribedListing & WithName(const char *value)
const Aws::String & GetOwnerProjectName() const
SubscribedListing & WithOwnerProjectId(const char *value)
SubscribedListing & WithId(const char *value)
SubscribedListing & WithDescription(Aws::String &&value)
AWS_DATAZONE_API SubscribedListing & operator=(Aws::Utils::Json::JsonView jsonValue)
SubscribedListing & WithOwnerProjectName(const Aws::String &value)
void SetName(const Aws::String &value)
SubscribedListing & WithOwnerProjectId(Aws::String &&value)
const SubscribedListingItem & GetItem() const
SubscribedListing & WithName(const Aws::String &value)
SubscribedListing & WithRevision(const char *value)
SubscribedListing & WithRevision(Aws::String &&value)
SubscribedListing & WithRevision(const Aws::String &value)
void SetOwnerProjectId(Aws::String &&value)
SubscribedListing & WithItem(SubscribedListingItem &&value)
const Aws::String & GetDescription() const
void SetRevision(const Aws::String &value)
SubscribedListing & WithOwnerProjectName(Aws::String &&value)
SubscribedListing & WithId(Aws::String &&value)
AWS_DATAZONE_API SubscribedListing(Aws::Utils::Json::JsonView jsonValue)
void SetDescription(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue