AWS SDK for C++

AWS SDK for C++ Version 1.11.868

Loading...
Searching...
No Matches
InheritedAllowedResultReceiversSource.h
1
6#pragma once
7#include <aws/cleanrooms/CleanRooms_EXPORTS.h>
8#include <aws/cleanrooms/model/BaseTableDependencyType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace CleanRooms {
22namespace Model {
23
31 public:
32 AWS_CLEANROOMS_API InheritedAllowedResultReceiversSource() = default;
35 AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetName() const { return m_name; }
42 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
43 template <typename NameT = Aws::String>
44 void SetName(NameT&& value) {
45 m_nameHasBeenSet = true;
46 m_name = std::forward<NameT>(value);
47 }
48 template <typename NameT = Aws::String>
50 SetName(std::forward<NameT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetId() const { return m_id; }
60 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
61 template <typename IdT = Aws::String>
62 void SetId(IdT&& value) {
63 m_idHasBeenSet = true;
64 m_id = std::forward<IdT>(value);
65 }
66 template <typename IdT = Aws::String>
68 SetId(std::forward<IdT>(value));
69 return *this;
70 }
72
74
77 inline BaseTableDependencyType GetType() const { return m_type; }
78 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
79 inline void SetType(BaseTableDependencyType value) {
80 m_typeHasBeenSet = true;
81 m_type = value;
82 }
84 SetType(value);
85 return *this;
86 }
88
90
93 inline const Aws::Vector<Aws::String>& GetValue() const { return m_value; }
94 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
95 template <typename ValueT = Aws::Vector<Aws::String>>
96 void SetValue(ValueT&& value) {
97 m_valueHasBeenSet = true;
98 m_value = std::forward<ValueT>(value);
99 }
100 template <typename ValueT = Aws::Vector<Aws::String>>
102 SetValue(std::forward<ValueT>(value));
103 return *this;
104 }
105 template <typename ValueT = Aws::String>
107 m_valueHasBeenSet = true;
108 m_value.emplace_back(std::forward<ValueT>(value));
109 return *this;
110 }
112
114
118 inline const Aws::String& GetSourceAccountId() const { return m_sourceAccountId; }
119 inline bool SourceAccountIdHasBeenSet() const { return m_sourceAccountIdHasBeenSet; }
120 template <typename SourceAccountIdT = Aws::String>
121 void SetSourceAccountId(SourceAccountIdT&& value) {
122 m_sourceAccountIdHasBeenSet = true;
123 m_sourceAccountId = std::forward<SourceAccountIdT>(value);
124 }
125 template <typename SourceAccountIdT = Aws::String>
127 SetSourceAccountId(std::forward<SourceAccountIdT>(value));
128 return *this;
129 }
131 private:
132 Aws::String m_name;
133
134 Aws::String m_id;
135
137
139
140 Aws::String m_sourceAccountId;
141 bool m_nameHasBeenSet = false;
142 bool m_idHasBeenSet = false;
143 bool m_typeHasBeenSet = false;
144 bool m_valueHasBeenSet = false;
145 bool m_sourceAccountIdHasBeenSet = false;
146};
147
148} // namespace Model
149} // namespace CleanRooms
150} // namespace Aws
AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CLEANROOMS_API InheritedAllowedResultReceiversSource & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CLEANROOMS_API InheritedAllowedResultReceiversSource(Aws::Utils::Json::JsonView jsonValue)
InheritedAllowedResultReceiversSource & WithType(BaseTableDependencyType value)
InheritedAllowedResultReceiversSource & WithSourceAccountId(SourceAccountIdT &&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