AWS SDK for C++

AWS SDK for C++ Version 1.11.747

Loading...
Searching...
No Matches
ListingSummary.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/datazone/DataZone_EXPORTS.h>
10#include <aws/datazone/model/DetailedGlossaryTerm.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace DataZone {
22namespace Model {
23
30 public:
31 AWS_DATAZONE_API ListingSummary() = default;
32 AWS_DATAZONE_API ListingSummary(Aws::Utils::Json::JsonView jsonValue);
34 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetListingId() const { return m_listingId; }
41 inline bool ListingIdHasBeenSet() const { return m_listingIdHasBeenSet; }
42 template <typename ListingIdT = Aws::String>
43 void SetListingId(ListingIdT&& value) {
44 m_listingIdHasBeenSet = true;
45 m_listingId = std::forward<ListingIdT>(value);
46 }
47 template <typename ListingIdT = Aws::String>
48 ListingSummary& WithListingId(ListingIdT&& value) {
49 SetListingId(std::forward<ListingIdT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetListingRevision() const { return m_listingRevision; }
59 inline bool ListingRevisionHasBeenSet() const { return m_listingRevisionHasBeenSet; }
60 template <typename ListingRevisionT = Aws::String>
61 void SetListingRevision(ListingRevisionT&& value) {
62 m_listingRevisionHasBeenSet = true;
63 m_listingRevision = std::forward<ListingRevisionT>(value);
64 }
65 template <typename ListingRevisionT = Aws::String>
66 ListingSummary& WithListingRevision(ListingRevisionT&& value) {
67 SetListingRevision(std::forward<ListingRevisionT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::Vector<DetailedGlossaryTerm>& GetGlossaryTerms() const { return m_glossaryTerms; }
77 inline bool GlossaryTermsHasBeenSet() const { return m_glossaryTermsHasBeenSet; }
78 template <typename GlossaryTermsT = Aws::Vector<DetailedGlossaryTerm>>
79 void SetGlossaryTerms(GlossaryTermsT&& value) {
80 m_glossaryTermsHasBeenSet = true;
81 m_glossaryTerms = std::forward<GlossaryTermsT>(value);
82 }
83 template <typename GlossaryTermsT = Aws::Vector<DetailedGlossaryTerm>>
84 ListingSummary& WithGlossaryTerms(GlossaryTermsT&& value) {
85 SetGlossaryTerms(std::forward<GlossaryTermsT>(value));
86 return *this;
87 }
88 template <typename GlossaryTermsT = DetailedGlossaryTerm>
89 ListingSummary& AddGlossaryTerms(GlossaryTermsT&& value) {
90 m_glossaryTermsHasBeenSet = true;
91 m_glossaryTerms.emplace_back(std::forward<GlossaryTermsT>(value));
92 return *this;
93 }
95 private:
96 Aws::String m_listingId;
97
98 Aws::String m_listingRevision;
99
100 Aws::Vector<DetailedGlossaryTerm> m_glossaryTerms;
101 bool m_listingIdHasBeenSet = false;
102 bool m_listingRevisionHasBeenSet = false;
103 bool m_glossaryTermsHasBeenSet = false;
104};
105
106} // namespace Model
107} // namespace DataZone
108} // namespace Aws
void SetGlossaryTerms(GlossaryTermsT &&value)
ListingSummary & AddGlossaryTerms(GlossaryTermsT &&value)
AWS_DATAZONE_API ListingSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DATAZONE_API ListingSummary(Aws::Utils::Json::JsonView jsonValue)
void SetListingRevision(ListingRevisionT &&value)
void SetListingId(ListingIdT &&value)
const Aws::String & GetListingRevision() const
ListingSummary & WithGlossaryTerms(GlossaryTermsT &&value)
const Aws::String & GetListingId() const
AWS_DATAZONE_API ListingSummary()=default
ListingSummary & WithListingId(ListingIdT &&value)
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< DetailedGlossaryTerm > & GetGlossaryTerms() const
ListingSummary & WithListingRevision(ListingRevisionT &&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