AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SchemaAnalysisRuleRequest.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 <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace CleanRooms
23{
24namespace Model
25{
26
36 {
37 public:
38 AWS_CLEANROOMS_API SchemaAnalysisRuleRequest();
41 AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetName() const{ return m_name; }
49 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
50 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
51 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
52 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
53 inline SchemaAnalysisRuleRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
54 inline SchemaAnalysisRuleRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
55 inline SchemaAnalysisRuleRequest& WithName(const char* value) { SetName(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 SchemaAnalysisRuleRequest& WithType(const AnalysisRuleType& value) { SetType(value); return *this;}
67 inline SchemaAnalysisRuleRequest& WithType(AnalysisRuleType&& value) { SetType(std::move(value)); return *this;}
69 private:
70
71 Aws::String m_name;
72 bool m_nameHasBeenSet = false;
73
74 AnalysisRuleType m_type;
75 bool m_typeHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace CleanRooms
80} // namespace Aws
SchemaAnalysisRuleRequest & WithType(const AnalysisRuleType &value)
AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const
SchemaAnalysisRuleRequest & WithName(Aws::String &&value)
SchemaAnalysisRuleRequest & WithName(const char *value)
SchemaAnalysisRuleRequest & WithType(AnalysisRuleType &&value)
AWS_CLEANROOMS_API SchemaAnalysisRuleRequest(Aws::Utils::Json::JsonView jsonValue)
SchemaAnalysisRuleRequest & WithName(const Aws::String &value)
AWS_CLEANROOMS_API SchemaAnalysisRuleRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue