AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AnalysisRule.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/AnalysisRuleType.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/cleanrooms/model/AnalysisRulePolicy.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 AnalysisRule();
39 AWS_CLEANROOMS_API AnalysisRule(Aws::Utils::Json::JsonView jsonValue);
40 AWS_CLEANROOMS_API AnalysisRule& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetCollaborationId() const{ return m_collaborationId; }
49 inline bool CollaborationIdHasBeenSet() const { return m_collaborationIdHasBeenSet; }
50 inline void SetCollaborationId(const Aws::String& value) { m_collaborationIdHasBeenSet = true; m_collaborationId = value; }
51 inline void SetCollaborationId(Aws::String&& value) { m_collaborationIdHasBeenSet = true; m_collaborationId = std::move(value); }
52 inline void SetCollaborationId(const char* value) { m_collaborationIdHasBeenSet = true; m_collaborationId.assign(value); }
53 inline AnalysisRule& WithCollaborationId(const Aws::String& value) { SetCollaborationId(value); return *this;}
54 inline AnalysisRule& WithCollaborationId(Aws::String&& value) { SetCollaborationId(std::move(value)); return *this;}
55 inline AnalysisRule& WithCollaborationId(const char* value) { SetCollaborationId(value); return *this;}
57
59
62 inline const AnalysisRuleType& GetType() const{ return m_type; }
63 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
64 inline void SetType(const AnalysisRuleType& value) { m_typeHasBeenSet = true; m_type = value; }
65 inline void SetType(AnalysisRuleType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
66 inline AnalysisRule& WithType(const AnalysisRuleType& value) { SetType(value); return *this;}
67 inline AnalysisRule& WithType(AnalysisRuleType&& value) { SetType(std::move(value)); return *this;}
69
71
74 inline const Aws::String& GetName() const{ return m_name; }
75 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
76 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
77 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
78 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
79 inline AnalysisRule& WithName(const Aws::String& value) { SetName(value); return *this;}
80 inline AnalysisRule& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
81 inline AnalysisRule& WithName(const char* value) { SetName(value); return *this;}
83
85
88 inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; }
89 inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; }
90 inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTimeHasBeenSet = true; m_createTime = value; }
91 inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTimeHasBeenSet = true; m_createTime = std::move(value); }
92 inline AnalysisRule& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;}
93 inline AnalysisRule& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;}
95
97
100 inline const Aws::Utils::DateTime& GetUpdateTime() const{ return m_updateTime; }
101 inline bool UpdateTimeHasBeenSet() const { return m_updateTimeHasBeenSet; }
102 inline void SetUpdateTime(const Aws::Utils::DateTime& value) { m_updateTimeHasBeenSet = true; m_updateTime = value; }
103 inline void SetUpdateTime(Aws::Utils::DateTime&& value) { m_updateTimeHasBeenSet = true; m_updateTime = std::move(value); }
104 inline AnalysisRule& WithUpdateTime(const Aws::Utils::DateTime& value) { SetUpdateTime(value); return *this;}
105 inline AnalysisRule& WithUpdateTime(Aws::Utils::DateTime&& value) { SetUpdateTime(std::move(value)); return *this;}
107
109
112 inline const AnalysisRulePolicy& GetPolicy() const{ return m_policy; }
113 inline bool PolicyHasBeenSet() const { return m_policyHasBeenSet; }
114 inline void SetPolicy(const AnalysisRulePolicy& value) { m_policyHasBeenSet = true; m_policy = value; }
115 inline void SetPolicy(AnalysisRulePolicy&& value) { m_policyHasBeenSet = true; m_policy = std::move(value); }
116 inline AnalysisRule& WithPolicy(const AnalysisRulePolicy& value) { SetPolicy(value); return *this;}
117 inline AnalysisRule& WithPolicy(AnalysisRulePolicy&& value) { SetPolicy(std::move(value)); return *this;}
119 private:
120
121 Aws::String m_collaborationId;
122 bool m_collaborationIdHasBeenSet = false;
123
124 AnalysisRuleType m_type;
125 bool m_typeHasBeenSet = false;
126
127 Aws::String m_name;
128 bool m_nameHasBeenSet = false;
129
130 Aws::Utils::DateTime m_createTime;
131 bool m_createTimeHasBeenSet = false;
132
133 Aws::Utils::DateTime m_updateTime;
134 bool m_updateTimeHasBeenSet = false;
135
136 AnalysisRulePolicy m_policy;
137 bool m_policyHasBeenSet = false;
138 };
139
140} // namespace Model
141} // namespace CleanRooms
142} // namespace Aws
AnalysisRule & WithCreateTime(const Aws::Utils::DateTime &value)
void SetName(Aws::String &&value)
void SetPolicy(AnalysisRulePolicy &&value)
AnalysisRule & WithCreateTime(Aws::Utils::DateTime &&value)
AnalysisRule & WithCollaborationId(const char *value)
AnalysisRule & WithType(const AnalysisRuleType &value)
void SetName(const Aws::String &value)
const Aws::String & GetCollaborationId() const
void SetName(const char *value)
AnalysisRule & WithPolicy(const AnalysisRulePolicy &value)
AnalysisRule & WithName(const Aws::String &value)
const AnalysisRulePolicy & GetPolicy() const
AWS_CLEANROOMS_API AnalysisRule(Aws::Utils::Json::JsonView jsonValue)
AnalysisRule & WithUpdateTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetCreateTime() const
void SetUpdateTime(Aws::Utils::DateTime &&value)
AnalysisRule & WithPolicy(AnalysisRulePolicy &&value)
const Aws::String & GetName() const
AnalysisRule & WithUpdateTime(const Aws::Utils::DateTime &value)
void SetPolicy(const AnalysisRulePolicy &value)
void SetCreateTime(Aws::Utils::DateTime &&value)
void SetUpdateTime(const Aws::Utils::DateTime &value)
AnalysisRule & WithName(const char *value)
void SetType(AnalysisRuleType &&value)
void SetCollaborationId(const char *value)
AnalysisRule & WithType(AnalysisRuleType &&value)
AnalysisRule & WithCollaborationId(Aws::String &&value)
void SetCollaborationId(Aws::String &&value)
AnalysisRule & WithName(Aws::String &&value)
void SetType(const AnalysisRuleType &value)
AWS_CLEANROOMS_API AnalysisRule & operator=(Aws::Utils::Json::JsonView jsonValue)
AnalysisRule & WithCollaborationId(const Aws::String &value)
void SetCreateTime(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetUpdateTime() const
const AnalysisRuleType & GetType() const
void SetCollaborationId(const Aws::String &value)
AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue