AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
ConfiguredTableAnalysisRule.h
1
6#pragma once
7#include <aws/cleanrooms/CleanRooms_EXPORTS.h>
8#include <aws/cleanrooms/model/ConfiguredTableAnalysisRulePolicy.h>
9#include <aws/cleanrooms/model/ConfiguredTableAnalysisRuleType.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
32 public:
33 AWS_CLEANROOMS_API ConfiguredTableAnalysisRule() = default;
36 AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline const Aws::String& GetConfiguredTableId() const { return m_configuredTableId; }
43 inline bool ConfiguredTableIdHasBeenSet() const { return m_configuredTableIdHasBeenSet; }
44 template <typename ConfiguredTableIdT = Aws::String>
45 void SetConfiguredTableId(ConfiguredTableIdT&& value) {
46 m_configuredTableIdHasBeenSet = true;
47 m_configuredTableId = std::forward<ConfiguredTableIdT>(value);
48 }
49 template <typename ConfiguredTableIdT = Aws::String>
51 SetConfiguredTableId(std::forward<ConfiguredTableIdT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetConfiguredTableArn() const { return m_configuredTableArn; }
61 inline bool ConfiguredTableArnHasBeenSet() const { return m_configuredTableArnHasBeenSet; }
62 template <typename ConfiguredTableArnT = Aws::String>
63 void SetConfiguredTableArn(ConfiguredTableArnT&& value) {
64 m_configuredTableArnHasBeenSet = true;
65 m_configuredTableArn = std::forward<ConfiguredTableArnT>(value);
66 }
67 template <typename ConfiguredTableArnT = Aws::String>
69 SetConfiguredTableArn(std::forward<ConfiguredTableArnT>(value));
70 return *this;
71 }
73
75
78 inline const ConfiguredTableAnalysisRulePolicy& GetPolicy() const { return m_policy; }
79 inline bool PolicyHasBeenSet() const { return m_policyHasBeenSet; }
80 template <typename PolicyT = ConfiguredTableAnalysisRulePolicy>
81 void SetPolicy(PolicyT&& value) {
82 m_policyHasBeenSet = true;
83 m_policy = std::forward<PolicyT>(value);
84 }
85 template <typename PolicyT = ConfiguredTableAnalysisRulePolicy>
87 SetPolicy(std::forward<PolicyT>(value));
88 return *this;
89 }
91
93
96 inline ConfiguredTableAnalysisRuleType GetType() const { return m_type; }
97 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
99 m_typeHasBeenSet = true;
100 m_type = value;
101 }
103 SetType(value);
104 return *this;
105 }
107
109
112 inline const Aws::Utils::DateTime& GetCreateTime() const { return m_createTime; }
113 inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; }
114 template <typename CreateTimeT = Aws::Utils::DateTime>
115 void SetCreateTime(CreateTimeT&& value) {
116 m_createTimeHasBeenSet = true;
117 m_createTime = std::forward<CreateTimeT>(value);
118 }
119 template <typename CreateTimeT = Aws::Utils::DateTime>
121 SetCreateTime(std::forward<CreateTimeT>(value));
122 return *this;
123 }
125
127
130 inline const Aws::Utils::DateTime& GetUpdateTime() const { return m_updateTime; }
131 inline bool UpdateTimeHasBeenSet() const { return m_updateTimeHasBeenSet; }
132 template <typename UpdateTimeT = Aws::Utils::DateTime>
133 void SetUpdateTime(UpdateTimeT&& value) {
134 m_updateTimeHasBeenSet = true;
135 m_updateTime = std::forward<UpdateTimeT>(value);
136 }
137 template <typename UpdateTimeT = Aws::Utils::DateTime>
139 SetUpdateTime(std::forward<UpdateTimeT>(value));
140 return *this;
141 }
143 private:
144 Aws::String m_configuredTableId;
145
146 Aws::String m_configuredTableArn;
147
149
151
152 Aws::Utils::DateTime m_createTime{};
153
154 Aws::Utils::DateTime m_updateTime{};
155 bool m_configuredTableIdHasBeenSet = false;
156 bool m_configuredTableArnHasBeenSet = false;
157 bool m_policyHasBeenSet = false;
158 bool m_typeHasBeenSet = false;
159 bool m_createTimeHasBeenSet = false;
160 bool m_updateTimeHasBeenSet = false;
161};
162
163} // namespace Model
164} // namespace CleanRooms
165} // namespace Aws
void SetType(ConfiguredTableAnalysisRuleType value)
ConfiguredTableAnalysisRule & WithConfiguredTableId(ConfiguredTableIdT &&value)
ConfiguredTableAnalysisRule & WithCreateTime(CreateTimeT &&value)
AWS_CLEANROOMS_API ConfiguredTableAnalysisRule(Aws::Utils::Json::JsonView jsonValue)
AWS_CLEANROOMS_API ConfiguredTableAnalysisRule & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CLEANROOMS_API ConfiguredTableAnalysisRule()=default
ConfiguredTableAnalysisRule & WithType(ConfiguredTableAnalysisRuleType value)
AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const
const ConfiguredTableAnalysisRulePolicy & GetPolicy() const
ConfiguredTableAnalysisRule & WithPolicy(PolicyT &&value)
ConfiguredTableAnalysisRule & WithUpdateTime(UpdateTimeT &&value)
ConfiguredTableAnalysisRule & WithConfiguredTableArn(ConfiguredTableArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue