AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AnalysisTemplateValidationStatusDetail.h
1
6#pragma once
7#include <aws/cleanrooms/CleanRooms_EXPORTS.h>
8#include <aws/cleanrooms/model/AnalysisTemplateValidationType.h>
9#include <aws/cleanrooms/model/AnalysisTemplateValidationStatus.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/cleanrooms/model/AnalysisTemplateValidationStatusReason.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
43 {
44 public:
48 AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const;
49
50
52
55 inline const AnalysisTemplateValidationType& GetType() const{ return m_type; }
56 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
57 inline void SetType(const AnalysisTemplateValidationType& value) { m_typeHasBeenSet = true; m_type = value; }
58 inline void SetType(AnalysisTemplateValidationType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
62
64
67 inline const AnalysisTemplateValidationStatus& GetStatus() const{ return m_status; }
68 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
69 inline void SetStatus(const AnalysisTemplateValidationStatus& value) { m_statusHasBeenSet = true; m_status = value; }
70 inline void SetStatus(AnalysisTemplateValidationStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
74
76
79 inline const Aws::Vector<AnalysisTemplateValidationStatusReason>& GetReasons() const{ return m_reasons; }
80 inline bool ReasonsHasBeenSet() const { return m_reasonsHasBeenSet; }
81 inline void SetReasons(const Aws::Vector<AnalysisTemplateValidationStatusReason>& value) { m_reasonsHasBeenSet = true; m_reasons = value; }
82 inline void SetReasons(Aws::Vector<AnalysisTemplateValidationStatusReason>&& value) { m_reasonsHasBeenSet = true; m_reasons = std::move(value); }
85 inline AnalysisTemplateValidationStatusDetail& AddReasons(const AnalysisTemplateValidationStatusReason& value) { m_reasonsHasBeenSet = true; m_reasons.push_back(value); return *this; }
86 inline AnalysisTemplateValidationStatusDetail& AddReasons(AnalysisTemplateValidationStatusReason&& value) { m_reasonsHasBeenSet = true; m_reasons.push_back(std::move(value)); return *this; }
88 private:
89
91 bool m_typeHasBeenSet = false;
92
94 bool m_statusHasBeenSet = false;
95
97 bool m_reasonsHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace CleanRooms
102} // namespace Aws
AnalysisTemplateValidationStatusDetail & AddReasons(AnalysisTemplateValidationStatusReason &&value)
AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const
AnalysisTemplateValidationStatusDetail & WithReasons(const Aws::Vector< AnalysisTemplateValidationStatusReason > &value)
AnalysisTemplateValidationStatusDetail & WithReasons(Aws::Vector< AnalysisTemplateValidationStatusReason > &&value)
const Aws::Vector< AnalysisTemplateValidationStatusReason > & GetReasons() const
AnalysisTemplateValidationStatusDetail & WithType(const AnalysisTemplateValidationType &value)
void SetReasons(Aws::Vector< AnalysisTemplateValidationStatusReason > &&value)
AWS_CLEANROOMS_API AnalysisTemplateValidationStatusDetail(Aws::Utils::Json::JsonView jsonValue)
void SetReasons(const Aws::Vector< AnalysisTemplateValidationStatusReason > &value)
AnalysisTemplateValidationStatusDetail & AddReasons(const AnalysisTemplateValidationStatusReason &value)
AWS_CLEANROOMS_API AnalysisTemplateValidationStatusDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
AnalysisTemplateValidationStatusDetail & WithStatus(AnalysisTemplateValidationStatus &&value)
AnalysisTemplateValidationStatusDetail & WithType(AnalysisTemplateValidationType &&value)
AnalysisTemplateValidationStatusDetail & WithStatus(const AnalysisTemplateValidationStatus &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue