AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
SelfGrantStatusDetail.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/datazone/model/SelfGrantStatus.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 DataZone
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_DATAZONE_API SelfGrantStatusDetail() = default;
38 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetDatabaseName() const { return m_databaseName; }
46 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
47 template<typename DatabaseNameT = Aws::String>
48 void SetDatabaseName(DatabaseNameT&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::forward<DatabaseNameT>(value); }
49 template<typename DatabaseNameT = Aws::String>
50 SelfGrantStatusDetail& WithDatabaseName(DatabaseNameT&& value) { SetDatabaseName(std::forward<DatabaseNameT>(value)); return *this;}
52
54
57 inline const Aws::String& GetFailureCause() const { return m_failureCause; }
58 inline bool FailureCauseHasBeenSet() const { return m_failureCauseHasBeenSet; }
59 template<typename FailureCauseT = Aws::String>
60 void SetFailureCause(FailureCauseT&& value) { m_failureCauseHasBeenSet = true; m_failureCause = std::forward<FailureCauseT>(value); }
61 template<typename FailureCauseT = Aws::String>
62 SelfGrantStatusDetail& WithFailureCause(FailureCauseT&& value) { SetFailureCause(std::forward<FailureCauseT>(value)); return *this;}
64
66
69 inline const Aws::String& GetSchemaName() const { return m_schemaName; }
70 inline bool SchemaNameHasBeenSet() const { return m_schemaNameHasBeenSet; }
71 template<typename SchemaNameT = Aws::String>
72 void SetSchemaName(SchemaNameT&& value) { m_schemaNameHasBeenSet = true; m_schemaName = std::forward<SchemaNameT>(value); }
73 template<typename SchemaNameT = Aws::String>
74 SelfGrantStatusDetail& WithSchemaName(SchemaNameT&& value) { SetSchemaName(std::forward<SchemaNameT>(value)); return *this;}
76
78
81 inline SelfGrantStatus GetStatus() const { return m_status; }
82 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
83 inline void SetStatus(SelfGrantStatus value) { m_statusHasBeenSet = true; m_status = value; }
84 inline SelfGrantStatusDetail& WithStatus(SelfGrantStatus value) { SetStatus(value); return *this;}
86 private:
87
88 Aws::String m_databaseName;
89 bool m_databaseNameHasBeenSet = false;
90
91 Aws::String m_failureCause;
92 bool m_failureCauseHasBeenSet = false;
93
94 Aws::String m_schemaName;
95 bool m_schemaNameHasBeenSet = false;
96
98 bool m_statusHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace DataZone
103} // namespace Aws
AWS_DATAZONE_API SelfGrantStatusDetail(Aws::Utils::Json::JsonView jsonValue)
SelfGrantStatusDetail & WithStatus(SelfGrantStatus value)
SelfGrantStatusDetail & WithFailureCause(FailureCauseT &&value)
AWS_DATAZONE_API SelfGrantStatusDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
SelfGrantStatusDetail & WithDatabaseName(DatabaseNameT &&value)
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
SelfGrantStatusDetail & WithSchemaName(SchemaNameT &&value)
AWS_DATAZONE_API SelfGrantStatusDetail()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue