AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SchemaStatusDetail.h
1
6#pragma once
7#include <aws/cleanrooms/CleanRooms_EXPORTS.h>
8#include <aws/cleanrooms/model/SchemaStatus.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/cleanrooms/model/AnalysisRuleType.h>
11#include <aws/cleanrooms/model/AnalysisType.h>
12#include <aws/cleanrooms/model/SchemaStatusReason.h>
13#include <aws/cleanrooms/model/SchemaConfiguration.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace CleanRooms
27{
28namespace Model
29{
30
40 {
41 public:
42 AWS_CLEANROOMS_API SchemaStatusDetail();
43 AWS_CLEANROOMS_API SchemaStatusDetail(Aws::Utils::Json::JsonView jsonValue);
45 AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
52 inline const SchemaStatus& GetStatus() const{ return m_status; }
53 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
54 inline void SetStatus(const SchemaStatus& value) { m_statusHasBeenSet = true; m_status = value; }
55 inline void SetStatus(SchemaStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
56 inline SchemaStatusDetail& WithStatus(const SchemaStatus& value) { SetStatus(value); return *this;}
57 inline SchemaStatusDetail& WithStatus(SchemaStatus&& value) { SetStatus(std::move(value)); return *this;}
59
61
64 inline const Aws::Vector<SchemaStatusReason>& GetReasons() const{ return m_reasons; }
65 inline bool ReasonsHasBeenSet() const { return m_reasonsHasBeenSet; }
66 inline void SetReasons(const Aws::Vector<SchemaStatusReason>& value) { m_reasonsHasBeenSet = true; m_reasons = value; }
67 inline void SetReasons(Aws::Vector<SchemaStatusReason>&& value) { m_reasonsHasBeenSet = true; m_reasons = std::move(value); }
68 inline SchemaStatusDetail& WithReasons(const Aws::Vector<SchemaStatusReason>& value) { SetReasons(value); return *this;}
69 inline SchemaStatusDetail& WithReasons(Aws::Vector<SchemaStatusReason>&& value) { SetReasons(std::move(value)); return *this;}
70 inline SchemaStatusDetail& AddReasons(const SchemaStatusReason& value) { m_reasonsHasBeenSet = true; m_reasons.push_back(value); return *this; }
71 inline SchemaStatusDetail& AddReasons(SchemaStatusReason&& value) { m_reasonsHasBeenSet = true; m_reasons.push_back(std::move(value)); return *this; }
73
75
78 inline const AnalysisRuleType& GetAnalysisRuleType() const{ return m_analysisRuleType; }
79 inline bool AnalysisRuleTypeHasBeenSet() const { return m_analysisRuleTypeHasBeenSet; }
80 inline void SetAnalysisRuleType(const AnalysisRuleType& value) { m_analysisRuleTypeHasBeenSet = true; m_analysisRuleType = value; }
81 inline void SetAnalysisRuleType(AnalysisRuleType&& value) { m_analysisRuleTypeHasBeenSet = true; m_analysisRuleType = std::move(value); }
82 inline SchemaStatusDetail& WithAnalysisRuleType(const AnalysisRuleType& value) { SetAnalysisRuleType(value); return *this;}
83 inline SchemaStatusDetail& WithAnalysisRuleType(AnalysisRuleType&& value) { SetAnalysisRuleType(std::move(value)); return *this;}
85
87
90 inline const Aws::Vector<SchemaConfiguration>& GetConfigurations() const{ return m_configurations; }
91 inline bool ConfigurationsHasBeenSet() const { return m_configurationsHasBeenSet; }
92 inline void SetConfigurations(const Aws::Vector<SchemaConfiguration>& value) { m_configurationsHasBeenSet = true; m_configurations = value; }
93 inline void SetConfigurations(Aws::Vector<SchemaConfiguration>&& value) { m_configurationsHasBeenSet = true; m_configurations = std::move(value); }
96 inline SchemaStatusDetail& AddConfigurations(const SchemaConfiguration& value) { m_configurationsHasBeenSet = true; m_configurations.push_back(value); return *this; }
97 inline SchemaStatusDetail& AddConfigurations(SchemaConfiguration&& value) { m_configurationsHasBeenSet = true; m_configurations.push_back(std::move(value)); return *this; }
99
101
106 inline const AnalysisType& GetAnalysisType() const{ return m_analysisType; }
107 inline bool AnalysisTypeHasBeenSet() const { return m_analysisTypeHasBeenSet; }
108 inline void SetAnalysisType(const AnalysisType& value) { m_analysisTypeHasBeenSet = true; m_analysisType = value; }
109 inline void SetAnalysisType(AnalysisType&& value) { m_analysisTypeHasBeenSet = true; m_analysisType = std::move(value); }
110 inline SchemaStatusDetail& WithAnalysisType(const AnalysisType& value) { SetAnalysisType(value); return *this;}
111 inline SchemaStatusDetail& WithAnalysisType(AnalysisType&& value) { SetAnalysisType(std::move(value)); return *this;}
113 private:
114
115 SchemaStatus m_status;
116 bool m_statusHasBeenSet = false;
117
119 bool m_reasonsHasBeenSet = false;
120
121 AnalysisRuleType m_analysisRuleType;
122 bool m_analysisRuleTypeHasBeenSet = false;
123
124 Aws::Vector<SchemaConfiguration> m_configurations;
125 bool m_configurationsHasBeenSet = false;
126
127 AnalysisType m_analysisType;
128 bool m_analysisTypeHasBeenSet = false;
129 };
130
131} // namespace Model
132} // namespace CleanRooms
133} // namespace Aws
void SetReasons(Aws::Vector< SchemaStatusReason > &&value)
SchemaStatusDetail & WithAnalysisRuleType(AnalysisRuleType &&value)
void SetAnalysisType(const AnalysisType &value)
void SetAnalysisRuleType(const AnalysisRuleType &value)
void SetConfigurations(const Aws::Vector< SchemaConfiguration > &value)
SchemaStatusDetail & AddConfigurations(const SchemaConfiguration &value)
SchemaStatusDetail & WithAnalysisType(const AnalysisType &value)
SchemaStatusDetail & WithAnalysisRuleType(const AnalysisRuleType &value)
SchemaStatusDetail & WithReasons(Aws::Vector< SchemaStatusReason > &&value)
SchemaStatusDetail & AddConfigurations(SchemaConfiguration &&value)
SchemaStatusDetail & WithConfigurations(Aws::Vector< SchemaConfiguration > &&value)
SchemaStatusDetail & WithConfigurations(const Aws::Vector< SchemaConfiguration > &value)
void SetConfigurations(Aws::Vector< SchemaConfiguration > &&value)
SchemaStatusDetail & AddReasons(const SchemaStatusReason &value)
SchemaStatusDetail & WithReasons(const Aws::Vector< SchemaStatusReason > &value)
SchemaStatusDetail & AddReasons(SchemaStatusReason &&value)
AWS_CLEANROOMS_API SchemaStatusDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
const AnalysisRuleType & GetAnalysisRuleType() const
AWS_CLEANROOMS_API SchemaStatusDetail(Aws::Utils::Json::JsonView jsonValue)
AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetReasons(const Aws::Vector< SchemaStatusReason > &value)
void SetAnalysisRuleType(AnalysisRuleType &&value)
SchemaStatusDetail & WithStatus(const SchemaStatus &value)
SchemaStatusDetail & WithAnalysisType(AnalysisType &&value)
void SetStatus(const SchemaStatus &value)
SchemaStatusDetail & WithStatus(SchemaStatus &&value)
const Aws::Vector< SchemaConfiguration > & GetConfigurations() const
const Aws::Vector< SchemaStatusReason > & GetReasons() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue