AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetDatabaseName(const Aws::String& value) { m_databaseNameHasBeenSet = true; m_databaseName = value; }
48 inline void SetDatabaseName(Aws::String&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::move(value); }
49 inline void SetDatabaseName(const char* value) { m_databaseNameHasBeenSet = true; m_databaseName.assign(value); }
50 inline SelfGrantStatusDetail& WithDatabaseName(const Aws::String& value) { SetDatabaseName(value); return *this;}
51 inline SelfGrantStatusDetail& WithDatabaseName(Aws::String&& value) { SetDatabaseName(std::move(value)); return *this;}
52 inline SelfGrantStatusDetail& WithDatabaseName(const char* value) { SetDatabaseName(value); return *this;}
54
56
59 inline const Aws::String& GetFailureCause() const{ return m_failureCause; }
60 inline bool FailureCauseHasBeenSet() const { return m_failureCauseHasBeenSet; }
61 inline void SetFailureCause(const Aws::String& value) { m_failureCauseHasBeenSet = true; m_failureCause = value; }
62 inline void SetFailureCause(Aws::String&& value) { m_failureCauseHasBeenSet = true; m_failureCause = std::move(value); }
63 inline void SetFailureCause(const char* value) { m_failureCauseHasBeenSet = true; m_failureCause.assign(value); }
64 inline SelfGrantStatusDetail& WithFailureCause(const Aws::String& value) { SetFailureCause(value); return *this;}
65 inline SelfGrantStatusDetail& WithFailureCause(Aws::String&& value) { SetFailureCause(std::move(value)); return *this;}
66 inline SelfGrantStatusDetail& WithFailureCause(const char* value) { SetFailureCause(value); return *this;}
68
70
73 inline const Aws::String& GetSchemaName() const{ return m_schemaName; }
74 inline bool SchemaNameHasBeenSet() const { return m_schemaNameHasBeenSet; }
75 inline void SetSchemaName(const Aws::String& value) { m_schemaNameHasBeenSet = true; m_schemaName = value; }
76 inline void SetSchemaName(Aws::String&& value) { m_schemaNameHasBeenSet = true; m_schemaName = std::move(value); }
77 inline void SetSchemaName(const char* value) { m_schemaNameHasBeenSet = true; m_schemaName.assign(value); }
78 inline SelfGrantStatusDetail& WithSchemaName(const Aws::String& value) { SetSchemaName(value); return *this;}
79 inline SelfGrantStatusDetail& WithSchemaName(Aws::String&& value) { SetSchemaName(std::move(value)); return *this;}
80 inline SelfGrantStatusDetail& WithSchemaName(const char* value) { SetSchemaName(value); return *this;}
82
84
87 inline const SelfGrantStatus& GetStatus() const{ return m_status; }
88 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
89 inline void SetStatus(const SelfGrantStatus& value) { m_statusHasBeenSet = true; m_status = value; }
90 inline void SetStatus(SelfGrantStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
91 inline SelfGrantStatusDetail& WithStatus(const SelfGrantStatus& value) { SetStatus(value); return *this;}
92 inline SelfGrantStatusDetail& WithStatus(SelfGrantStatus&& value) { SetStatus(std::move(value)); return *this;}
94 private:
95
96 Aws::String m_databaseName;
97 bool m_databaseNameHasBeenSet = false;
98
99 Aws::String m_failureCause;
100 bool m_failureCauseHasBeenSet = false;
101
102 Aws::String m_schemaName;
103 bool m_schemaNameHasBeenSet = false;
104
105 SelfGrantStatus m_status;
106 bool m_statusHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace DataZone
111} // namespace Aws
SelfGrantStatusDetail & WithDatabaseName(const Aws::String &value)
SelfGrantStatusDetail & WithStatus(SelfGrantStatus &&value)
AWS_DATAZONE_API SelfGrantStatusDetail(Aws::Utils::Json::JsonView jsonValue)
SelfGrantStatusDetail & WithSchemaName(const Aws::String &value)
SelfGrantStatusDetail & WithFailureCause(const char *value)
void SetStatus(const SelfGrantStatus &value)
SelfGrantStatusDetail & WithDatabaseName(Aws::String &&value)
SelfGrantStatusDetail & WithFailureCause(const Aws::String &value)
SelfGrantStatusDetail & WithStatus(const SelfGrantStatus &value)
SelfGrantStatusDetail & WithSchemaName(const char *value)
AWS_DATAZONE_API SelfGrantStatusDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
SelfGrantStatusDetail & WithDatabaseName(const char *value)
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
SelfGrantStatusDetail & WithSchemaName(Aws::String &&value)
SelfGrantStatusDetail & WithFailureCause(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue