AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DatasetOrgAttributes.h
1
6#pragma once
7#include <aws/m2/MainframeModernization_EXPORTS.h>
8#include <aws/m2/model/GdgAttributes.h>
9#include <aws/m2/model/PoAttributes.h>
10#include <aws/m2/model/PsAttributes.h>
11#include <aws/m2/model/VsamAttributes.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace MainframeModernization
25{
26namespace Model
27{
28
37 {
38 public:
39 AWS_MAINFRAMEMODERNIZATION_API DatasetOrgAttributes() = default;
40 AWS_MAINFRAMEMODERNIZATION_API DatasetOrgAttributes(Aws::Utils::Json::JsonView jsonValue);
41 AWS_MAINFRAMEMODERNIZATION_API DatasetOrgAttributes& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_MAINFRAMEMODERNIZATION_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const GdgAttributes& GetGdg() const { return m_gdg; }
50 inline bool GdgHasBeenSet() const { return m_gdgHasBeenSet; }
51 template<typename GdgT = GdgAttributes>
52 void SetGdg(GdgT&& value) { m_gdgHasBeenSet = true; m_gdg = std::forward<GdgT>(value); }
53 template<typename GdgT = GdgAttributes>
54 DatasetOrgAttributes& WithGdg(GdgT&& value) { SetGdg(std::forward<GdgT>(value)); return *this;}
56
58
61 inline const PoAttributes& GetPo() const { return m_po; }
62 inline bool PoHasBeenSet() const { return m_poHasBeenSet; }
63 template<typename PoT = PoAttributes>
64 void SetPo(PoT&& value) { m_poHasBeenSet = true; m_po = std::forward<PoT>(value); }
65 template<typename PoT = PoAttributes>
66 DatasetOrgAttributes& WithPo(PoT&& value) { SetPo(std::forward<PoT>(value)); return *this;}
68
70
73 inline const PsAttributes& GetPs() const { return m_ps; }
74 inline bool PsHasBeenSet() const { return m_psHasBeenSet; }
75 template<typename PsT = PsAttributes>
76 void SetPs(PsT&& value) { m_psHasBeenSet = true; m_ps = std::forward<PsT>(value); }
77 template<typename PsT = PsAttributes>
78 DatasetOrgAttributes& WithPs(PsT&& value) { SetPs(std::forward<PsT>(value)); return *this;}
80
82
85 inline const VsamAttributes& GetVsam() const { return m_vsam; }
86 inline bool VsamHasBeenSet() const { return m_vsamHasBeenSet; }
87 template<typename VsamT = VsamAttributes>
88 void SetVsam(VsamT&& value) { m_vsamHasBeenSet = true; m_vsam = std::forward<VsamT>(value); }
89 template<typename VsamT = VsamAttributes>
90 DatasetOrgAttributes& WithVsam(VsamT&& value) { SetVsam(std::forward<VsamT>(value)); return *this;}
92 private:
93
94 GdgAttributes m_gdg;
95 bool m_gdgHasBeenSet = false;
96
97 PoAttributes m_po;
98 bool m_poHasBeenSet = false;
99
100 PsAttributes m_ps;
101 bool m_psHasBeenSet = false;
102
103 VsamAttributes m_vsam;
104 bool m_vsamHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace MainframeModernization
109} // namespace Aws
AWS_MAINFRAMEMODERNIZATION_API DatasetOrgAttributes()=default
AWS_MAINFRAMEMODERNIZATION_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MAINFRAMEMODERNIZATION_API DatasetOrgAttributes(Aws::Utils::Json::JsonView jsonValue)
AWS_MAINFRAMEMODERNIZATION_API DatasetOrgAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue