AWS SDK for C++

AWS SDK for C++ Version 1.11.608

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() = default;
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 SchemaStatus GetStatus() const { return m_status; }
53 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
54 inline void SetStatus(SchemaStatus value) { m_statusHasBeenSet = true; m_status = value; }
55 inline SchemaStatusDetail& WithStatus(SchemaStatus value) { SetStatus(value); return *this;}
57
59
62 inline const Aws::Vector<SchemaStatusReason>& GetReasons() const { return m_reasons; }
63 inline bool ReasonsHasBeenSet() const { return m_reasonsHasBeenSet; }
64 template<typename ReasonsT = Aws::Vector<SchemaStatusReason>>
65 void SetReasons(ReasonsT&& value) { m_reasonsHasBeenSet = true; m_reasons = std::forward<ReasonsT>(value); }
66 template<typename ReasonsT = Aws::Vector<SchemaStatusReason>>
67 SchemaStatusDetail& WithReasons(ReasonsT&& value) { SetReasons(std::forward<ReasonsT>(value)); return *this;}
68 template<typename ReasonsT = SchemaStatusReason>
69 SchemaStatusDetail& AddReasons(ReasonsT&& value) { m_reasonsHasBeenSet = true; m_reasons.emplace_back(std::forward<ReasonsT>(value)); return *this; }
71
73
76 inline AnalysisRuleType GetAnalysisRuleType() const { return m_analysisRuleType; }
77 inline bool AnalysisRuleTypeHasBeenSet() const { return m_analysisRuleTypeHasBeenSet; }
78 inline void SetAnalysisRuleType(AnalysisRuleType value) { m_analysisRuleTypeHasBeenSet = true; m_analysisRuleType = value; }
81
83
86 inline const Aws::Vector<SchemaConfiguration>& GetConfigurations() const { return m_configurations; }
87 inline bool ConfigurationsHasBeenSet() const { return m_configurationsHasBeenSet; }
88 template<typename ConfigurationsT = Aws::Vector<SchemaConfiguration>>
89 void SetConfigurations(ConfigurationsT&& value) { m_configurationsHasBeenSet = true; m_configurations = std::forward<ConfigurationsT>(value); }
90 template<typename ConfigurationsT = Aws::Vector<SchemaConfiguration>>
91 SchemaStatusDetail& WithConfigurations(ConfigurationsT&& value) { SetConfigurations(std::forward<ConfigurationsT>(value)); return *this;}
92 inline SchemaStatusDetail& AddConfigurations(SchemaConfiguration value) { m_configurationsHasBeenSet = true; m_configurations.push_back(value); return *this; }
94
96
101 inline AnalysisType GetAnalysisType() const { return m_analysisType; }
102 inline bool AnalysisTypeHasBeenSet() const { return m_analysisTypeHasBeenSet; }
103 inline void SetAnalysisType(AnalysisType value) { m_analysisTypeHasBeenSet = true; m_analysisType = value; }
104 inline SchemaStatusDetail& WithAnalysisType(AnalysisType value) { SetAnalysisType(value); return *this;}
106 private:
107
109 bool m_statusHasBeenSet = false;
110
112 bool m_reasonsHasBeenSet = false;
113
115 bool m_analysisRuleTypeHasBeenSet = false;
116
117 Aws::Vector<SchemaConfiguration> m_configurations;
118 bool m_configurationsHasBeenSet = false;
119
120 AnalysisType m_analysisType{AnalysisType::NOT_SET};
121 bool m_analysisTypeHasBeenSet = false;
122 };
123
124} // namespace Model
125} // namespace CleanRooms
126} // namespace Aws
SchemaStatusDetail & WithAnalysisType(AnalysisType value)
void SetAnalysisRuleType(AnalysisRuleType value)
SchemaStatusDetail & WithReasons(ReasonsT &&value)
SchemaStatusDetail & WithConfigurations(ConfigurationsT &&value)
AWS_CLEANROOMS_API SchemaStatusDetail()=default
SchemaStatusDetail & AddConfigurations(SchemaConfiguration value)
AWS_CLEANROOMS_API SchemaStatusDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
SchemaStatusDetail & WithAnalysisRuleType(AnalysisRuleType value)
AWS_CLEANROOMS_API SchemaStatusDetail(Aws::Utils::Json::JsonView jsonValue)
AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetConfigurations(ConfigurationsT &&value)
SchemaStatusDetail & WithStatus(SchemaStatus value)
const Aws::Vector< SchemaConfiguration > & GetConfigurations() const
const Aws::Vector< SchemaStatusReason > & GetReasons() const
SchemaStatusDetail & AddReasons(ReasonsT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue