AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListingSummary.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 ListingSummary();
37 AWS_DATAZONE_API ListingSummary(Aws::Utils::Json::JsonView jsonValue);
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 inline void SetGlossaryTerms(const Aws::Vector<DetailedGlossaryTerm>& value) { m_glossaryTermsHasBeenSet = true; m_glossaryTerms = value; }
49 inline void SetGlossaryTerms(Aws::Vector<DetailedGlossaryTerm>&& value) { m_glossaryTermsHasBeenSet = true; m_glossaryTerms = std::move(value); }
51 inline ListingSummary& WithGlossaryTerms(Aws::Vector<DetailedGlossaryTerm>&& value) { SetGlossaryTerms(std::move(value)); return *this;}
52 inline ListingSummary& AddGlossaryTerms(const DetailedGlossaryTerm& value) { m_glossaryTermsHasBeenSet = true; m_glossaryTerms.push_back(value); return *this; }
53 inline ListingSummary& AddGlossaryTerms(DetailedGlossaryTerm&& value) { m_glossaryTermsHasBeenSet = true; m_glossaryTerms.push_back(std::move(value)); return *this; }
55
57
60 inline const Aws::String& GetListingId() const{ return m_listingId; }
61 inline bool ListingIdHasBeenSet() const { return m_listingIdHasBeenSet; }
62 inline void SetListingId(const Aws::String& value) { m_listingIdHasBeenSet = true; m_listingId = value; }
63 inline void SetListingId(Aws::String&& value) { m_listingIdHasBeenSet = true; m_listingId = std::move(value); }
64 inline void SetListingId(const char* value) { m_listingIdHasBeenSet = true; m_listingId.assign(value); }
65 inline ListingSummary& WithListingId(const Aws::String& value) { SetListingId(value); return *this;}
66 inline ListingSummary& WithListingId(Aws::String&& value) { SetListingId(std::move(value)); return *this;}
67 inline ListingSummary& WithListingId(const char* value) { SetListingId(value); return *this;}
69
71
74 inline const Aws::String& GetListingRevision() const{ return m_listingRevision; }
75 inline bool ListingRevisionHasBeenSet() const { return m_listingRevisionHasBeenSet; }
76 inline void SetListingRevision(const Aws::String& value) { m_listingRevisionHasBeenSet = true; m_listingRevision = value; }
77 inline void SetListingRevision(Aws::String&& value) { m_listingRevisionHasBeenSet = true; m_listingRevision = std::move(value); }
78 inline void SetListingRevision(const char* value) { m_listingRevisionHasBeenSet = true; m_listingRevision.assign(value); }
79 inline ListingSummary& WithListingRevision(const Aws::String& value) { SetListingRevision(value); return *this;}
80 inline ListingSummary& WithListingRevision(Aws::String&& value) { SetListingRevision(std::move(value)); return *this;}
81 inline ListingSummary& WithListingRevision(const char* value) { SetListingRevision(value); return *this;}
83 private:
84
86 bool m_glossaryTermsHasBeenSet = false;
87
88 Aws::String m_listingId;
89 bool m_listingIdHasBeenSet = false;
90
91 Aws::String m_listingRevision;
92 bool m_listingRevisionHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace DataZone
97} // namespace Aws
ListingSummary & WithListingId(Aws::String &&value)
void SetListingRevision(const char *value)
void SetListingId(const char *value)
void SetListingRevision(const Aws::String &value)
void SetListingRevision(Aws::String &&value)
void SetGlossaryTerms(const Aws::Vector< DetailedGlossaryTerm > &value)
AWS_DATAZONE_API ListingSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ListingSummary & WithListingId(const char *value)
void SetListingId(Aws::String &&value)
AWS_DATAZONE_API ListingSummary(Aws::Utils::Json::JsonView jsonValue)
ListingSummary & WithListingRevision(const char *value)
ListingSummary & WithGlossaryTerms(const Aws::Vector< DetailedGlossaryTerm > &value)
const Aws::String & GetListingRevision() const
ListingSummary & AddGlossaryTerms(const DetailedGlossaryTerm &value)
ListingSummary & AddGlossaryTerms(DetailedGlossaryTerm &&value)
void SetListingId(const Aws::String &value)
ListingSummary & WithListingId(const Aws::String &value)
ListingSummary & WithGlossaryTerms(Aws::Vector< DetailedGlossaryTerm > &&value)
const Aws::String & GetListingId() const
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetGlossaryTerms(Aws::Vector< DetailedGlossaryTerm > &&value)
const Aws::Vector< DetailedGlossaryTerm > & GetGlossaryTerms() const
ListingSummary & WithListingRevision(const Aws::String &value)
ListingSummary & WithListingRevision(Aws::String &&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