AWS SDK for C++

AWS SDK for C++ Version 1.11.686

Loading...
Searching...
No Matches
ConfiguredTableAssociationAnalysisRule.h
1
6#pragma once
7#include <aws/cleanrooms/CleanRooms_EXPORTS.h>
8#include <aws/cleanrooms/model/ConfiguredTableAssociationAnalysisRulePolicy.h>
9#include <aws/cleanrooms/model/ConfiguredTableAssociationAnalysisRuleType.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace CleanRooms {
23namespace Model {
24
35 public:
36 AWS_CLEANROOMS_API ConfiguredTableAssociationAnalysisRule() = default;
39 AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
42
46 inline const Aws::String& GetMembershipIdentifier() const { return m_membershipIdentifier; }
47 inline bool MembershipIdentifierHasBeenSet() const { return m_membershipIdentifierHasBeenSet; }
48 template <typename MembershipIdentifierT = Aws::String>
49 void SetMembershipIdentifier(MembershipIdentifierT&& value) {
50 m_membershipIdentifierHasBeenSet = true;
51 m_membershipIdentifier = std::forward<MembershipIdentifierT>(value);
52 }
53 template <typename MembershipIdentifierT = Aws::String>
55 SetMembershipIdentifier(std::forward<MembershipIdentifierT>(value));
56 return *this;
57 }
59
61
64 inline const Aws::String& GetConfiguredTableAssociationId() const { return m_configuredTableAssociationId; }
65 inline bool ConfiguredTableAssociationIdHasBeenSet() const { return m_configuredTableAssociationIdHasBeenSet; }
66 template <typename ConfiguredTableAssociationIdT = Aws::String>
67 void SetConfiguredTableAssociationId(ConfiguredTableAssociationIdT&& value) {
68 m_configuredTableAssociationIdHasBeenSet = true;
69 m_configuredTableAssociationId = std::forward<ConfiguredTableAssociationIdT>(value);
70 }
71 template <typename ConfiguredTableAssociationIdT = Aws::String>
73 SetConfiguredTableAssociationId(std::forward<ConfiguredTableAssociationIdT>(value));
74 return *this;
75 }
77
79
82 inline const Aws::String& GetConfiguredTableAssociationArn() const { return m_configuredTableAssociationArn; }
83 inline bool ConfiguredTableAssociationArnHasBeenSet() const { return m_configuredTableAssociationArnHasBeenSet; }
84 template <typename ConfiguredTableAssociationArnT = Aws::String>
85 void SetConfiguredTableAssociationArn(ConfiguredTableAssociationArnT&& value) {
86 m_configuredTableAssociationArnHasBeenSet = true;
87 m_configuredTableAssociationArn = std::forward<ConfiguredTableAssociationArnT>(value);
88 }
89 template <typename ConfiguredTableAssociationArnT = Aws::String>
91 SetConfiguredTableAssociationArn(std::forward<ConfiguredTableAssociationArnT>(value));
92 return *this;
93 }
95
97
100 inline const ConfiguredTableAssociationAnalysisRulePolicy& GetPolicy() const { return m_policy; }
101 inline bool PolicyHasBeenSet() const { return m_policyHasBeenSet; }
102 template <typename PolicyT = ConfiguredTableAssociationAnalysisRulePolicy>
103 void SetPolicy(PolicyT&& value) {
104 m_policyHasBeenSet = true;
105 m_policy = std::forward<PolicyT>(value);
106 }
107 template <typename PolicyT = ConfiguredTableAssociationAnalysisRulePolicy>
109 SetPolicy(std::forward<PolicyT>(value));
110 return *this;
111 }
113
115
118 inline ConfiguredTableAssociationAnalysisRuleType GetType() const { return m_type; }
119 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
121 m_typeHasBeenSet = true;
122 m_type = value;
123 }
125 SetType(value);
126 return *this;
127 }
129
131
134 inline const Aws::Utils::DateTime& GetCreateTime() const { return m_createTime; }
135 inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; }
136 template <typename CreateTimeT = Aws::Utils::DateTime>
137 void SetCreateTime(CreateTimeT&& value) {
138 m_createTimeHasBeenSet = true;
139 m_createTime = std::forward<CreateTimeT>(value);
140 }
141 template <typename CreateTimeT = Aws::Utils::DateTime>
143 SetCreateTime(std::forward<CreateTimeT>(value));
144 return *this;
145 }
147
149
152 inline const Aws::Utils::DateTime& GetUpdateTime() const { return m_updateTime; }
153 inline bool UpdateTimeHasBeenSet() const { return m_updateTimeHasBeenSet; }
154 template <typename UpdateTimeT = Aws::Utils::DateTime>
155 void SetUpdateTime(UpdateTimeT&& value) {
156 m_updateTimeHasBeenSet = true;
157 m_updateTime = std::forward<UpdateTimeT>(value);
158 }
159 template <typename UpdateTimeT = Aws::Utils::DateTime>
161 SetUpdateTime(std::forward<UpdateTimeT>(value));
162 return *this;
163 }
165 private:
166 Aws::String m_membershipIdentifier;
167 bool m_membershipIdentifierHasBeenSet = false;
168
169 Aws::String m_configuredTableAssociationId;
170 bool m_configuredTableAssociationIdHasBeenSet = false;
171
172 Aws::String m_configuredTableAssociationArn;
173 bool m_configuredTableAssociationArnHasBeenSet = false;
174
176 bool m_policyHasBeenSet = false;
177
179 bool m_typeHasBeenSet = false;
180
181 Aws::Utils::DateTime m_createTime{};
182 bool m_createTimeHasBeenSet = false;
183
184 Aws::Utils::DateTime m_updateTime{};
185 bool m_updateTimeHasBeenSet = false;
186};
187
188} // namespace Model
189} // namespace CleanRooms
190} // namespace Aws
AWS_CLEANROOMS_API ConfiguredTableAssociationAnalysisRule & operator=(Aws::Utils::Json::JsonView jsonValue)
ConfiguredTableAssociationAnalysisRule & WithConfiguredTableAssociationArn(ConfiguredTableAssociationArnT &&value)
ConfiguredTableAssociationAnalysisRule & WithCreateTime(CreateTimeT &&value)
ConfiguredTableAssociationAnalysisRule & WithUpdateTime(UpdateTimeT &&value)
ConfiguredTableAssociationAnalysisRule & WithPolicy(PolicyT &&value)
ConfiguredTableAssociationAnalysisRule & WithType(ConfiguredTableAssociationAnalysisRuleType value)
ConfiguredTableAssociationAnalysisRule & WithConfiguredTableAssociationId(ConfiguredTableAssociationIdT &&value)
AWS_CLEANROOMS_API ConfiguredTableAssociationAnalysisRule(Aws::Utils::Json::JsonView jsonValue)
AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const
ConfiguredTableAssociationAnalysisRule & WithMembershipIdentifier(MembershipIdentifierT &&value)
const ConfiguredTableAssociationAnalysisRulePolicy & GetPolicy() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue