AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ListingSummaryItem.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/datazone/model/DetailedGlossaryTerm.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace DataZone
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_DATAZONE_API ListingSummaryItem() = default;
39 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::Vector<DetailedGlossaryTerm>& GetGlossaryTerms() const { return m_glossaryTerms; }
47 inline bool GlossaryTermsHasBeenSet() const { return m_glossaryTermsHasBeenSet; }
48 template<typename GlossaryTermsT = Aws::Vector<DetailedGlossaryTerm>>
49 void SetGlossaryTerms(GlossaryTermsT&& value) { m_glossaryTermsHasBeenSet = true; m_glossaryTerms = std::forward<GlossaryTermsT>(value); }
50 template<typename GlossaryTermsT = Aws::Vector<DetailedGlossaryTerm>>
51 ListingSummaryItem& WithGlossaryTerms(GlossaryTermsT&& value) { SetGlossaryTerms(std::forward<GlossaryTermsT>(value)); return *this;}
52 template<typename GlossaryTermsT = DetailedGlossaryTerm>
53 ListingSummaryItem& AddGlossaryTerms(GlossaryTermsT&& value) { m_glossaryTermsHasBeenSet = true; m_glossaryTerms.emplace_back(std::forward<GlossaryTermsT>(value)); return *this; }
55
57
60 inline const Aws::String& GetListingId() const { return m_listingId; }
61 inline bool ListingIdHasBeenSet() const { return m_listingIdHasBeenSet; }
62 template<typename ListingIdT = Aws::String>
63 void SetListingId(ListingIdT&& value) { m_listingIdHasBeenSet = true; m_listingId = std::forward<ListingIdT>(value); }
64 template<typename ListingIdT = Aws::String>
65 ListingSummaryItem& WithListingId(ListingIdT&& value) { SetListingId(std::forward<ListingIdT>(value)); return *this;}
67
69
72 inline const Aws::String& GetListingRevision() const { return m_listingRevision; }
73 inline bool ListingRevisionHasBeenSet() const { return m_listingRevisionHasBeenSet; }
74 template<typename ListingRevisionT = Aws::String>
75 void SetListingRevision(ListingRevisionT&& value) { m_listingRevisionHasBeenSet = true; m_listingRevision = std::forward<ListingRevisionT>(value); }
76 template<typename ListingRevisionT = Aws::String>
77 ListingSummaryItem& WithListingRevision(ListingRevisionT&& value) { SetListingRevision(std::forward<ListingRevisionT>(value)); return *this;}
79 private:
80
82 bool m_glossaryTermsHasBeenSet = false;
83
84 Aws::String m_listingId;
85 bool m_listingIdHasBeenSet = false;
86
87 Aws::String m_listingRevision;
88 bool m_listingRevisionHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace DataZone
93} // namespace Aws
AWS_DATAZONE_API ListingSummaryItem & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetGlossaryTerms(GlossaryTermsT &&value)
AWS_DATAZONE_API ListingSummaryItem()=default
ListingSummaryItem & AddGlossaryTerms(GlossaryTermsT &&value)
ListingSummaryItem & WithListingId(ListingIdT &&value)
ListingSummaryItem & WithGlossaryTerms(GlossaryTermsT &&value)
ListingSummaryItem & WithListingRevision(ListingRevisionT &&value)
void SetListingRevision(ListingRevisionT &&value)
const Aws::Vector< DetailedGlossaryTerm > & GetGlossaryTerms() const
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DATAZONE_API ListingSummaryItem(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetListingRevision() 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