AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DataProductItem.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/DataProductItemType.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 DataProductItem() = default;
37 AWS_DATAZONE_API DataProductItem(Aws::Utils::Json::JsonView jsonValue);
39 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::Vector<Aws::String>& GetGlossaryTerms() const { return m_glossaryTerms; }
47 inline bool GlossaryTermsHasBeenSet() const { return m_glossaryTermsHasBeenSet; }
48 template<typename GlossaryTermsT = Aws::Vector<Aws::String>>
49 void SetGlossaryTerms(GlossaryTermsT&& value) { m_glossaryTermsHasBeenSet = true; m_glossaryTerms = std::forward<GlossaryTermsT>(value); }
50 template<typename GlossaryTermsT = Aws::Vector<Aws::String>>
51 DataProductItem& WithGlossaryTerms(GlossaryTermsT&& value) { SetGlossaryTerms(std::forward<GlossaryTermsT>(value)); return *this;}
52 template<typename GlossaryTermsT = Aws::String>
53 DataProductItem& AddGlossaryTerms(GlossaryTermsT&& value) { m_glossaryTermsHasBeenSet = true; m_glossaryTerms.emplace_back(std::forward<GlossaryTermsT>(value)); return *this; }
55
57
60 inline const Aws::String& GetIdentifier() const { return m_identifier; }
61 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
62 template<typename IdentifierT = Aws::String>
63 void SetIdentifier(IdentifierT&& value) { m_identifierHasBeenSet = true; m_identifier = std::forward<IdentifierT>(value); }
64 template<typename IdentifierT = Aws::String>
65 DataProductItem& WithIdentifier(IdentifierT&& value) { SetIdentifier(std::forward<IdentifierT>(value)); return *this;}
67
69
72 inline DataProductItemType GetItemType() const { return m_itemType; }
73 inline bool ItemTypeHasBeenSet() const { return m_itemTypeHasBeenSet; }
74 inline void SetItemType(DataProductItemType value) { m_itemTypeHasBeenSet = true; m_itemType = value; }
75 inline DataProductItem& WithItemType(DataProductItemType value) { SetItemType(value); return *this;}
77
79
82 inline const Aws::String& GetRevision() const { return m_revision; }
83 inline bool RevisionHasBeenSet() const { return m_revisionHasBeenSet; }
84 template<typename RevisionT = Aws::String>
85 void SetRevision(RevisionT&& value) { m_revisionHasBeenSet = true; m_revision = std::forward<RevisionT>(value); }
86 template<typename RevisionT = Aws::String>
87 DataProductItem& WithRevision(RevisionT&& value) { SetRevision(std::forward<RevisionT>(value)); return *this;}
89 private:
90
91 Aws::Vector<Aws::String> m_glossaryTerms;
92 bool m_glossaryTermsHasBeenSet = false;
93
94 Aws::String m_identifier;
95 bool m_identifierHasBeenSet = false;
96
98 bool m_itemTypeHasBeenSet = false;
99
100 Aws::String m_revision;
101 bool m_revisionHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace DataZone
106} // namespace Aws
const Aws::String & GetIdentifier() const
DataProductItem & WithRevision(RevisionT &&value)
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetRevision() const
AWS_DATAZONE_API DataProductItem()=default
DataProductItem & WithItemType(DataProductItemType value)
DataProductItem & AddGlossaryTerms(GlossaryTermsT &&value)
const Aws::Vector< Aws::String > & GetGlossaryTerms() const
DataProductItemType GetItemType() const
void SetGlossaryTerms(GlossaryTermsT &&value)
AWS_DATAZONE_API DataProductItem(Aws::Utils::Json::JsonView jsonValue)
void SetIdentifier(IdentifierT &&value)
DataProductItem & WithGlossaryTerms(GlossaryTermsT &&value)
void SetItemType(DataProductItemType value)
DataProductItem & WithIdentifier(IdentifierT &&value)
AWS_DATAZONE_API DataProductItem & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue