AWS SDK for C++

AWS SDK for C++ Version 1.11.748

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
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace DataZone {
21namespace Model {
22
30 public:
31 AWS_DATAZONE_API SelfGrantStatusOutput() = default;
34 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const GlueSelfGrantStatusOutput& GetGlueSelfGrantStatus() const { return m_glueSelfGrantStatus; }
41 inline bool GlueSelfGrantStatusHasBeenSet() const { return m_glueSelfGrantStatusHasBeenSet; }
42 template <typename GlueSelfGrantStatusT = GlueSelfGrantStatusOutput>
43 void SetGlueSelfGrantStatus(GlueSelfGrantStatusT&& value) {
44 m_glueSelfGrantStatusHasBeenSet = true;
45 m_glueSelfGrantStatus = std::forward<GlueSelfGrantStatusT>(value);
46 }
47 template <typename GlueSelfGrantStatusT = GlueSelfGrantStatusOutput>
48 SelfGrantStatusOutput& WithGlueSelfGrantStatus(GlueSelfGrantStatusT&& value) {
49 SetGlueSelfGrantStatus(std::forward<GlueSelfGrantStatusT>(value));
50 return *this;
51 }
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) {
63 m_redshiftSelfGrantStatusHasBeenSet = true;
64 m_redshiftSelfGrantStatus = std::forward<RedshiftSelfGrantStatusT>(value);
65 }
66 template <typename RedshiftSelfGrantStatusT = RedshiftSelfGrantStatusOutput>
67 SelfGrantStatusOutput& WithRedshiftSelfGrantStatus(RedshiftSelfGrantStatusT&& value) {
68 SetRedshiftSelfGrantStatus(std::forward<RedshiftSelfGrantStatusT>(value));
69 return *this;
70 }
72 private:
73 GlueSelfGrantStatusOutput m_glueSelfGrantStatus;
74
75 RedshiftSelfGrantStatusOutput m_redshiftSelfGrantStatus;
76 bool m_glueSelfGrantStatusHasBeenSet = false;
77 bool m_redshiftSelfGrantStatusHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace DataZone
82} // 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