AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
SelfGrantStatusOutput.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/datazone/model/GlueSelfGrantStatusOutput.h>
9#include <aws/datazone/model/RedshiftSelfGrantStatusOutput.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
34 {
35 public:
36 AWS_DATAZONE_API SelfGrantStatusOutput() = default;
39 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const GlueSelfGrantStatusOutput& GetGlueSelfGrantStatus() const { return m_glueSelfGrantStatus; }
47 inline bool GlueSelfGrantStatusHasBeenSet() const { return m_glueSelfGrantStatusHasBeenSet; }
48 template<typename GlueSelfGrantStatusT = GlueSelfGrantStatusOutput>
49 void SetGlueSelfGrantStatus(GlueSelfGrantStatusT&& value) { m_glueSelfGrantStatusHasBeenSet = true; m_glueSelfGrantStatus = std::forward<GlueSelfGrantStatusT>(value); }
50 template<typename GlueSelfGrantStatusT = GlueSelfGrantStatusOutput>
51 SelfGrantStatusOutput& WithGlueSelfGrantStatus(GlueSelfGrantStatusT&& value) { SetGlueSelfGrantStatus(std::forward<GlueSelfGrantStatusT>(value)); return *this;}
53
55
59 inline const RedshiftSelfGrantStatusOutput& GetRedshiftSelfGrantStatus() const { return m_redshiftSelfGrantStatus; }
60 inline bool RedshiftSelfGrantStatusHasBeenSet() const { return m_redshiftSelfGrantStatusHasBeenSet; }
61 template<typename RedshiftSelfGrantStatusT = RedshiftSelfGrantStatusOutput>
62 void SetRedshiftSelfGrantStatus(RedshiftSelfGrantStatusT&& value) { m_redshiftSelfGrantStatusHasBeenSet = true; m_redshiftSelfGrantStatus = std::forward<RedshiftSelfGrantStatusT>(value); }
63 template<typename RedshiftSelfGrantStatusT = RedshiftSelfGrantStatusOutput>
64 SelfGrantStatusOutput& WithRedshiftSelfGrantStatus(RedshiftSelfGrantStatusT&& value) { SetRedshiftSelfGrantStatus(std::forward<RedshiftSelfGrantStatusT>(value)); return *this;}
66 private:
67
68 GlueSelfGrantStatusOutput m_glueSelfGrantStatus;
69 bool m_glueSelfGrantStatusHasBeenSet = false;
70
71 RedshiftSelfGrantStatusOutput m_redshiftSelfGrantStatus;
72 bool m_redshiftSelfGrantStatusHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace DataZone
77} // namespace Aws
SelfGrantStatusOutput & WithGlueSelfGrantStatus(GlueSelfGrantStatusT &&value)
const GlueSelfGrantStatusOutput & GetGlueSelfGrantStatus() const
AWS_DATAZONE_API SelfGrantStatusOutput & operator=(Aws::Utils::Json::JsonView jsonValue)
const RedshiftSelfGrantStatusOutput & GetRedshiftSelfGrantStatus() const
AWS_DATAZONE_API SelfGrantStatusOutput(Aws::Utils::Json::JsonView jsonValue)
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
SelfGrantStatusOutput & WithRedshiftSelfGrantStatus(RedshiftSelfGrantStatusT &&value)
void SetRedshiftSelfGrantStatus(RedshiftSelfGrantStatusT &&value)
AWS_DATAZONE_API SelfGrantStatusOutput()=default
void SetGlueSelfGrantStatus(GlueSelfGrantStatusT &&value)
Aws::Utils::Json::JsonValue JsonValue