AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
TermRelations.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/datazone/DataZone_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace DataZone {
21namespace Model {
22
29 public:
30 AWS_DATAZONE_API TermRelations() = default;
31 AWS_DATAZONE_API TermRelations(Aws::Utils::Json::JsonView jsonValue);
33 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::Vector<Aws::String>& GetIsA() const { return m_isA; }
40 inline bool IsAHasBeenSet() const { return m_isAHasBeenSet; }
41 template <typename IsAT = Aws::Vector<Aws::String>>
42 void SetIsA(IsAT&& value) {
43 m_isAHasBeenSet = true;
44 m_isA = std::forward<IsAT>(value);
45 }
46 template <typename IsAT = Aws::Vector<Aws::String>>
47 TermRelations& WithIsA(IsAT&& value) {
48 SetIsA(std::forward<IsAT>(value));
49 return *this;
50 }
51 template <typename IsAT = Aws::String>
52 TermRelations& AddIsA(IsAT&& value) {
53 m_isAHasBeenSet = true;
54 m_isA.emplace_back(std::forward<IsAT>(value));
55 return *this;
56 }
58
60
63 inline const Aws::Vector<Aws::String>& GetClassifies() const { return m_classifies; }
64 inline bool ClassifiesHasBeenSet() const { return m_classifiesHasBeenSet; }
65 template <typename ClassifiesT = Aws::Vector<Aws::String>>
66 void SetClassifies(ClassifiesT&& value) {
67 m_classifiesHasBeenSet = true;
68 m_classifies = std::forward<ClassifiesT>(value);
69 }
70 template <typename ClassifiesT = Aws::Vector<Aws::String>>
71 TermRelations& WithClassifies(ClassifiesT&& value) {
72 SetClassifies(std::forward<ClassifiesT>(value));
73 return *this;
74 }
75 template <typename ClassifiesT = Aws::String>
76 TermRelations& AddClassifies(ClassifiesT&& value) {
77 m_classifiesHasBeenSet = true;
78 m_classifies.emplace_back(std::forward<ClassifiesT>(value));
79 return *this;
80 }
82 private:
84
85 Aws::Vector<Aws::String> m_classifies;
86 bool m_isAHasBeenSet = false;
87 bool m_classifiesHasBeenSet = false;
88};
89
90} // namespace Model
91} // namespace DataZone
92} // 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