AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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() = default;
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 template<typename ClassifiesT = Aws::Vector<Aws::String>>
48 void SetClassifies(ClassifiesT&& value) { m_classifiesHasBeenSet = true; m_classifies = std::forward<ClassifiesT>(value); }
49 template<typename ClassifiesT = Aws::Vector<Aws::String>>
50 TermRelations& WithClassifies(ClassifiesT&& value) { SetClassifies(std::forward<ClassifiesT>(value)); return *this;}
51 template<typename ClassifiesT = Aws::String>
52 TermRelations& AddClassifies(ClassifiesT&& value) { m_classifiesHasBeenSet = true; m_classifies.emplace_back(std::forward<ClassifiesT>(value)); return *this; }
54
56
59 inline const Aws::Vector<Aws::String>& GetIsA() const { return m_isA; }
60 inline bool IsAHasBeenSet() const { return m_isAHasBeenSet; }
61 template<typename IsAT = Aws::Vector<Aws::String>>
62 void SetIsA(IsAT&& value) { m_isAHasBeenSet = true; m_isA = std::forward<IsAT>(value); }
63 template<typename IsAT = Aws::Vector<Aws::String>>
64 TermRelations& WithIsA(IsAT&& value) { SetIsA(std::forward<IsAT>(value)); return *this;}
65 template<typename IsAT = Aws::String>
66 TermRelations& AddIsA(IsAT&& value) { m_isAHasBeenSet = true; m_isA.emplace_back(std::forward<IsAT>(value)); return *this; }
68 private:
69
70 Aws::Vector<Aws::String> m_classifies;
71 bool m_classifiesHasBeenSet = false;
72
74 bool m_isAHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace DataZone
79} // namespace Aws
AWS_DATAZONE_API TermRelations & operator=(Aws::Utils::Json::JsonView jsonValue)
TermRelations & WithClassifies(ClassifiesT &&value)
const Aws::Vector< Aws::String > & GetIsA() const
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< Aws::String > & GetClassifies() const
AWS_DATAZONE_API TermRelations()=default
TermRelations & WithIsA(IsAT &&value)
TermRelations & AddClassifies(ClassifiesT &&value)
AWS_DATAZONE_API TermRelations(Aws::Utils::Json::JsonView jsonValue)
TermRelations & AddIsA(IsAT &&value)
void SetClassifies(ClassifiesT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue