AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TermRelations.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 <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace DataZone
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_DATAZONE_API TermRelations();
36 AWS_DATAZONE_API TermRelations(Aws::Utils::Json::JsonView jsonValue);
38 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::Vector<Aws::String>& GetClassifies() const{ return m_classifies; }
46 inline bool ClassifiesHasBeenSet() const { return m_classifiesHasBeenSet; }
47 inline void SetClassifies(const Aws::Vector<Aws::String>& value) { m_classifiesHasBeenSet = true; m_classifies = value; }
48 inline void SetClassifies(Aws::Vector<Aws::String>&& value) { m_classifiesHasBeenSet = true; m_classifies = std::move(value); }
49 inline TermRelations& WithClassifies(const Aws::Vector<Aws::String>& value) { SetClassifies(value); return *this;}
50 inline TermRelations& WithClassifies(Aws::Vector<Aws::String>&& value) { SetClassifies(std::move(value)); return *this;}
51 inline TermRelations& AddClassifies(const Aws::String& value) { m_classifiesHasBeenSet = true; m_classifies.push_back(value); return *this; }
52 inline TermRelations& AddClassifies(Aws::String&& value) { m_classifiesHasBeenSet = true; m_classifies.push_back(std::move(value)); return *this; }
53 inline TermRelations& AddClassifies(const char* value) { m_classifiesHasBeenSet = true; m_classifies.push_back(value); return *this; }
55
57
60 inline const Aws::Vector<Aws::String>& GetIsA() const{ return m_isA; }
61 inline bool IsAHasBeenSet() const { return m_isAHasBeenSet; }
62 inline void SetIsA(const Aws::Vector<Aws::String>& value) { m_isAHasBeenSet = true; m_isA = value; }
63 inline void SetIsA(Aws::Vector<Aws::String>&& value) { m_isAHasBeenSet = true; m_isA = std::move(value); }
64 inline TermRelations& WithIsA(const Aws::Vector<Aws::String>& value) { SetIsA(value); return *this;}
65 inline TermRelations& WithIsA(Aws::Vector<Aws::String>&& value) { SetIsA(std::move(value)); return *this;}
66 inline TermRelations& AddIsA(const Aws::String& value) { m_isAHasBeenSet = true; m_isA.push_back(value); return *this; }
67 inline TermRelations& AddIsA(Aws::String&& value) { m_isAHasBeenSet = true; m_isA.push_back(std::move(value)); return *this; }
68 inline TermRelations& AddIsA(const char* value) { m_isAHasBeenSet = true; m_isA.push_back(value); return *this; }
70 private:
71
72 Aws::Vector<Aws::String> m_classifies;
73 bool m_classifiesHasBeenSet = false;
74
76 bool m_isAHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace DataZone
81} // namespace Aws
AWS_DATAZONE_API TermRelations & operator=(Aws::Utils::Json::JsonView jsonValue)
TermRelations & AddIsA(Aws::String &&value)
TermRelations & AddIsA(const char *value)
void SetIsA(Aws::Vector< Aws::String > &&value)
TermRelations & WithIsA(Aws::Vector< Aws::String > &&value)
TermRelations & WithClassifies(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetIsA() const
TermRelations & AddClassifies(const Aws::String &value)
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< Aws::String > & GetClassifies() const
void SetIsA(const Aws::Vector< Aws::String > &value)
TermRelations & WithClassifies(const Aws::Vector< Aws::String > &value)
void SetClassifies(Aws::Vector< Aws::String > &&value)
AWS_DATAZONE_API TermRelations(Aws::Utils::Json::JsonView jsonValue)
TermRelations & AddClassifies(Aws::String &&value)
TermRelations & AddClassifies(const char *value)
TermRelations & WithIsA(const Aws::Vector< Aws::String > &value)
TermRelations & AddIsA(const Aws::String &value)
void SetClassifies(const Aws::Vector< 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