AWS SDK for C++

AWS SDK for C++ Version 1.11.868

Loading...
Searching...
No Matches
IntermediateTableDependency.h
1
6#pragma once
7#include <aws/cleanrooms/CleanRooms_EXPORTS.h>
8#include <aws/cleanrooms/model/BaseTableDependencyType.h>
9#include <aws/cleanrooms/model/BaseTableParentType.h>
10#include <aws/core/utils/memory/stl/AWSString.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 IntermediateTableDependency() = default;
35 AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetId() const { return m_id; }
42 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
43 template <typename IdT = Aws::String>
44 void SetId(IdT&& value) {
45 m_idHasBeenSet = true;
46 m_id = std::forward<IdT>(value);
47 }
48 template <typename IdT = Aws::String>
50 SetId(std::forward<IdT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetName() const { return m_name; }
60 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
61 template <typename NameT = Aws::String>
62 void SetName(NameT&& value) {
63 m_nameHasBeenSet = true;
64 m_name = std::forward<NameT>(value);
65 }
66 template <typename NameT = Aws::String>
68 SetName(std::forward<NameT>(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
95 inline BaseTableParentType GetParentType() const { return m_parentType; }
96 inline bool ParentTypeHasBeenSet() const { return m_parentTypeHasBeenSet; }
98 m_parentTypeHasBeenSet = true;
99 m_parentType = value;
100 }
102 SetParentType(value);
103 return *this;
104 }
106
108
112 inline const Aws::String& GetCreatorAccountId() const { return m_creatorAccountId; }
113 inline bool CreatorAccountIdHasBeenSet() const { return m_creatorAccountIdHasBeenSet; }
114 template <typename CreatorAccountIdT = Aws::String>
115 void SetCreatorAccountId(CreatorAccountIdT&& value) {
116 m_creatorAccountIdHasBeenSet = true;
117 m_creatorAccountId = std::forward<CreatorAccountIdT>(value);
118 }
119 template <typename CreatorAccountIdT = Aws::String>
121 SetCreatorAccountId(std::forward<CreatorAccountIdT>(value));
122 return *this;
123 }
125 private:
126 Aws::String m_id;
127
128 Aws::String m_name;
129
131
133
134 Aws::String m_creatorAccountId;
135 bool m_idHasBeenSet = false;
136 bool m_nameHasBeenSet = false;
137 bool m_typeHasBeenSet = false;
138 bool m_parentTypeHasBeenSet = false;
139 bool m_creatorAccountIdHasBeenSet = false;
140};
141
142} // namespace Model
143} // namespace CleanRooms
144} // namespace Aws
IntermediateTableDependency & WithType(BaseTableDependencyType value)
AWS_CLEANROOMS_API IntermediateTableDependency & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const
IntermediateTableDependency & WithCreatorAccountId(CreatorAccountIdT &&value)
AWS_CLEANROOMS_API IntermediateTableDependency(Aws::Utils::Json::JsonView jsonValue)
AWS_CLEANROOMS_API IntermediateTableDependency()=default
IntermediateTableDependency & WithParentType(BaseTableParentType value)
IntermediateTableDependency & WithName(NameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue