7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/datazone/DataZone_EXPORTS.h>
9#include <aws/datazone/model/SelfGrantStatus.h>
41 template <
typename DatabaseNameT = Aws::String>
43 m_databaseNameHasBeenSet =
true;
44 m_databaseName = std::forward<DatabaseNameT>(value);
46 template <
typename DatabaseNameT = Aws::String>
59 template <
typename SchemaNameT = Aws::String>
61 m_schemaNameHasBeenSet =
true;
62 m_schemaName = std::forward<SchemaNameT>(value);
64 template <
typename SchemaNameT = Aws::String>
78 m_statusHasBeenSet =
true;
93 template <
typename FailureCauseT = Aws::String>
95 m_failureCauseHasBeenSet =
true;
96 m_failureCause = std::forward<FailureCauseT>(value);
98 template <
typename FailureCauseT = Aws::String>
112 bool m_databaseNameHasBeenSet =
false;
113 bool m_schemaNameHasBeenSet =
false;
114 bool m_statusHasBeenSet =
false;
115 bool m_failureCauseHasBeenSet =
false;
bool DatabaseNameHasBeenSet() const
AWS_DATAZONE_API SelfGrantStatusDetail(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetSchemaName() const
void SetFailureCause(FailureCauseT &&value)
bool StatusHasBeenSet() const
bool SchemaNameHasBeenSet() const
const Aws::String & GetDatabaseName() const
const Aws::String & GetFailureCause() const
SelfGrantStatusDetail & WithStatus(SelfGrantStatus value)
void SetSchemaName(SchemaNameT &&value)
void SetDatabaseName(DatabaseNameT &&value)
SelfGrantStatusDetail & WithFailureCause(FailureCauseT &&value)
bool FailureCauseHasBeenSet() const
void SetStatus(SelfGrantStatus value)
AWS_DATAZONE_API SelfGrantStatusDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
SelfGrantStatusDetail & WithDatabaseName(DatabaseNameT &&value)
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
SelfGrantStatus GetStatus() 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