AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetGlossaryTerms(const Aws::Vector<Aws::String>& value) { m_glossaryTermsHasBeenSet = true; m_glossaryTerms = value; }
49 inline void SetGlossaryTerms(Aws::Vector<Aws::String>&& value) { m_glossaryTermsHasBeenSet = true; m_glossaryTerms = std::move(value); }
50 inline DataProductItem& WithGlossaryTerms(const Aws::Vector<Aws::String>& value) { SetGlossaryTerms(value); return *this;}
51 inline DataProductItem& WithGlossaryTerms(Aws::Vector<Aws::String>&& value) { SetGlossaryTerms(std::move(value)); return *this;}
52 inline DataProductItem& AddGlossaryTerms(const Aws::String& value) { m_glossaryTermsHasBeenSet = true; m_glossaryTerms.push_back(value); return *this; }
53 inline DataProductItem& AddGlossaryTerms(Aws::String&& value) { m_glossaryTermsHasBeenSet = true; m_glossaryTerms.push_back(std::move(value)); return *this; }
54 inline DataProductItem& AddGlossaryTerms(const char* value) { m_glossaryTermsHasBeenSet = true; m_glossaryTerms.push_back(value); return *this; }
56
58
61 inline const Aws::String& GetIdentifier() const{ return m_identifier; }
62 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
63 inline void SetIdentifier(const Aws::String& value) { m_identifierHasBeenSet = true; m_identifier = value; }
64 inline void SetIdentifier(Aws::String&& value) { m_identifierHasBeenSet = true; m_identifier = std::move(value); }
65 inline void SetIdentifier(const char* value) { m_identifierHasBeenSet = true; m_identifier.assign(value); }
66 inline DataProductItem& WithIdentifier(const Aws::String& value) { SetIdentifier(value); return *this;}
67 inline DataProductItem& WithIdentifier(Aws::String&& value) { SetIdentifier(std::move(value)); return *this;}
68 inline DataProductItem& WithIdentifier(const char* value) { SetIdentifier(value); return *this;}
70
72
75 inline const DataProductItemType& GetItemType() const{ return m_itemType; }
76 inline bool ItemTypeHasBeenSet() const { return m_itemTypeHasBeenSet; }
77 inline void SetItemType(const DataProductItemType& value) { m_itemTypeHasBeenSet = true; m_itemType = value; }
78 inline void SetItemType(DataProductItemType&& value) { m_itemTypeHasBeenSet = true; m_itemType = std::move(value); }
79 inline DataProductItem& WithItemType(const DataProductItemType& value) { SetItemType(value); return *this;}
80 inline DataProductItem& WithItemType(DataProductItemType&& value) { SetItemType(std::move(value)); return *this;}
82
84
87 inline const Aws::String& GetRevision() const{ return m_revision; }
88 inline bool RevisionHasBeenSet() const { return m_revisionHasBeenSet; }
89 inline void SetRevision(const Aws::String& value) { m_revisionHasBeenSet = true; m_revision = value; }
90 inline void SetRevision(Aws::String&& value) { m_revisionHasBeenSet = true; m_revision = std::move(value); }
91 inline void SetRevision(const char* value) { m_revisionHasBeenSet = true; m_revision.assign(value); }
92 inline DataProductItem& WithRevision(const Aws::String& value) { SetRevision(value); return *this;}
93 inline DataProductItem& WithRevision(Aws::String&& value) { SetRevision(std::move(value)); return *this;}
94 inline DataProductItem& WithRevision(const char* value) { SetRevision(value); return *this;}
96 private:
97
98 Aws::Vector<Aws::String> m_glossaryTerms;
99 bool m_glossaryTermsHasBeenSet = false;
100
101 Aws::String m_identifier;
102 bool m_identifierHasBeenSet = false;
103
104 DataProductItemType m_itemType;
105 bool m_itemTypeHasBeenSet = false;
106
107 Aws::String m_revision;
108 bool m_revisionHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace DataZone
113} // namespace Aws
DataProductItem & WithRevision(const char *value)
const Aws::String & GetIdentifier() const
DataProductItem & WithIdentifier(const Aws::String &value)
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetGlossaryTerms(Aws::Vector< Aws::String > &&value)
void SetRevision(const Aws::String &value)
const Aws::String & GetRevision() const
const DataProductItemType & GetItemType() const
DataProductItem & WithItemType(DataProductItemType &&value)
DataProductItem & WithGlossaryTerms(const Aws::Vector< Aws::String > &value)
DataProductItem & AddGlossaryTerms(Aws::String &&value)
void SetIdentifier(const Aws::String &value)
DataProductItem & AddGlossaryTerms(const Aws::String &value)
const Aws::Vector< Aws::String > & GetGlossaryTerms() const
DataProductItem & WithGlossaryTerms(Aws::Vector< Aws::String > &&value)
DataProductItem & WithIdentifier(const char *value)
AWS_DATAZONE_API DataProductItem(Aws::Utils::Json::JsonView jsonValue)
void SetIdentifier(Aws::String &&value)
DataProductItem & WithIdentifier(Aws::String &&value)
void SetItemType(DataProductItemType &&value)
DataProductItem & WithRevision(Aws::String &&value)
void SetRevision(Aws::String &&value)
DataProductItem & WithRevision(const Aws::String &value)
void SetIdentifier(const char *value)
void SetGlossaryTerms(const Aws::Vector< Aws::String > &value)
DataProductItem & WithItemType(const DataProductItemType &value)
void SetItemType(const DataProductItemType &value)
AWS_DATAZONE_API DataProductItem & operator=(Aws::Utils::Json::JsonView jsonValue)
DataProductItem & AddGlossaryTerms(const char *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