AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
ConfiguredTableAnalysisRule.h
1
6#pragma once
7#include <aws/cleanrooms/CleanRooms_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/cleanrooms/model/ConfiguredTableAnalysisRulePolicy.h>
10#include <aws/cleanrooms/model/ConfiguredTableAnalysisRuleType.h>
11#include <aws/core/utils/DateTime.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace CleanRooms
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_CLEANROOMS_API ConfiguredTableAnalysisRule() = default;
41 AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetConfiguredTableId() const { return m_configuredTableId; }
49 inline bool ConfiguredTableIdHasBeenSet() const { return m_configuredTableIdHasBeenSet; }
50 template<typename ConfiguredTableIdT = Aws::String>
51 void SetConfiguredTableId(ConfiguredTableIdT&& value) { m_configuredTableIdHasBeenSet = true; m_configuredTableId = std::forward<ConfiguredTableIdT>(value); }
52 template<typename ConfiguredTableIdT = Aws::String>
53 ConfiguredTableAnalysisRule& WithConfiguredTableId(ConfiguredTableIdT&& value) { SetConfiguredTableId(std::forward<ConfiguredTableIdT>(value)); return *this;}
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) { m_configuredTableArnHasBeenSet = true; m_configuredTableArn = std::forward<ConfiguredTableArnT>(value); }
64 template<typename ConfiguredTableArnT = Aws::String>
65 ConfiguredTableAnalysisRule& WithConfiguredTableArn(ConfiguredTableArnT&& value) { SetConfiguredTableArn(std::forward<ConfiguredTableArnT>(value)); return *this;}
67
69
72 inline const ConfiguredTableAnalysisRulePolicy& GetPolicy() const { return m_policy; }
73 inline bool PolicyHasBeenSet() const { return m_policyHasBeenSet; }
74 template<typename PolicyT = ConfiguredTableAnalysisRulePolicy>
75 void SetPolicy(PolicyT&& value) { m_policyHasBeenSet = true; m_policy = std::forward<PolicyT>(value); }
76 template<typename PolicyT = ConfiguredTableAnalysisRulePolicy>
77 ConfiguredTableAnalysisRule& WithPolicy(PolicyT&& value) { SetPolicy(std::forward<PolicyT>(value)); return *this;}
79
81
84 inline ConfiguredTableAnalysisRuleType GetType() const { return m_type; }
85 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
86 inline void SetType(ConfiguredTableAnalysisRuleType value) { m_typeHasBeenSet = true; m_type = value; }
89
91
94 inline const Aws::Utils::DateTime& GetCreateTime() const { return m_createTime; }
95 inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; }
96 template<typename CreateTimeT = Aws::Utils::DateTime>
97 void SetCreateTime(CreateTimeT&& value) { m_createTimeHasBeenSet = true; m_createTime = std::forward<CreateTimeT>(value); }
98 template<typename CreateTimeT = Aws::Utils::DateTime>
99 ConfiguredTableAnalysisRule& WithCreateTime(CreateTimeT&& value) { SetCreateTime(std::forward<CreateTimeT>(value)); return *this;}
101
103
106 inline const Aws::Utils::DateTime& GetUpdateTime() const { return m_updateTime; }
107 inline bool UpdateTimeHasBeenSet() const { return m_updateTimeHasBeenSet; }
108 template<typename UpdateTimeT = Aws::Utils::DateTime>
109 void SetUpdateTime(UpdateTimeT&& value) { m_updateTimeHasBeenSet = true; m_updateTime = std::forward<UpdateTimeT>(value); }
110 template<typename UpdateTimeT = Aws::Utils::DateTime>
111 ConfiguredTableAnalysisRule& WithUpdateTime(UpdateTimeT&& value) { SetUpdateTime(std::forward<UpdateTimeT>(value)); return *this;}
113 private:
114
115 Aws::String m_configuredTableId;
116 bool m_configuredTableIdHasBeenSet = false;
117
118 Aws::String m_configuredTableArn;
119 bool m_configuredTableArnHasBeenSet = false;
120
122 bool m_policyHasBeenSet = false;
123
125 bool m_typeHasBeenSet = false;
126
127 Aws::Utils::DateTime m_createTime{};
128 bool m_createTimeHasBeenSet = false;
129
130 Aws::Utils::DateTime m_updateTime{};
131 bool m_updateTimeHasBeenSet = false;
132 };
133
134} // namespace Model
135} // namespace CleanRooms
136} // 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