AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
DataSetSummary.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/m2/MainframeModernization_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace MainframeModernization {
21namespace Model {
22
29 public:
30 AWS_MAINFRAMEMODERNIZATION_API DataSetSummary() = default;
31 AWS_MAINFRAMEMODERNIZATION_API DataSetSummary(Aws::Utils::Json::JsonView jsonValue);
32 AWS_MAINFRAMEMODERNIZATION_API DataSetSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_MAINFRAMEMODERNIZATION_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
40 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
41 template <typename CreationTimeT = Aws::Utils::DateTime>
42 void SetCreationTime(CreationTimeT&& value) {
43 m_creationTimeHasBeenSet = true;
44 m_creationTime = std::forward<CreationTimeT>(value);
45 }
46 template <typename CreationTimeT = Aws::Utils::DateTime>
47 DataSetSummary& WithCreationTime(CreationTimeT&& value) {
48 SetCreationTime(std::forward<CreationTimeT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetDataSetName() const { return m_dataSetName; }
58 inline bool DataSetNameHasBeenSet() const { return m_dataSetNameHasBeenSet; }
59 template <typename DataSetNameT = Aws::String>
60 void SetDataSetName(DataSetNameT&& value) {
61 m_dataSetNameHasBeenSet = true;
62 m_dataSetName = std::forward<DataSetNameT>(value);
63 }
64 template <typename DataSetNameT = Aws::String>
65 DataSetSummary& WithDataSetName(DataSetNameT&& value) {
66 SetDataSetName(std::forward<DataSetNameT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetDataSetOrg() const { return m_dataSetOrg; }
76 inline bool DataSetOrgHasBeenSet() const { return m_dataSetOrgHasBeenSet; }
77 template <typename DataSetOrgT = Aws::String>
78 void SetDataSetOrg(DataSetOrgT&& value) {
79 m_dataSetOrgHasBeenSet = true;
80 m_dataSetOrg = std::forward<DataSetOrgT>(value);
81 }
82 template <typename DataSetOrgT = Aws::String>
83 DataSetSummary& WithDataSetOrg(DataSetOrgT&& value) {
84 SetDataSetOrg(std::forward<DataSetOrgT>(value));
85 return *this;
86 }
88
90
93 inline const Aws::String& GetFormat() const { return m_format; }
94 inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
95 template <typename FormatT = Aws::String>
96 void SetFormat(FormatT&& value) {
97 m_formatHasBeenSet = true;
98 m_format = std::forward<FormatT>(value);
99 }
100 template <typename FormatT = Aws::String>
101 DataSetSummary& WithFormat(FormatT&& value) {
102 SetFormat(std::forward<FormatT>(value));
103 return *this;
104 }
106
108
111 inline const Aws::Utils::DateTime& GetLastReferencedTime() const { return m_lastReferencedTime; }
112 inline bool LastReferencedTimeHasBeenSet() const { return m_lastReferencedTimeHasBeenSet; }
113 template <typename LastReferencedTimeT = Aws::Utils::DateTime>
114 void SetLastReferencedTime(LastReferencedTimeT&& value) {
115 m_lastReferencedTimeHasBeenSet = true;
116 m_lastReferencedTime = std::forward<LastReferencedTimeT>(value);
117 }
118 template <typename LastReferencedTimeT = Aws::Utils::DateTime>
119 DataSetSummary& WithLastReferencedTime(LastReferencedTimeT&& value) {
120 SetLastReferencedTime(std::forward<LastReferencedTimeT>(value));
121 return *this;
122 }
124
126
129 inline const Aws::Utils::DateTime& GetLastUpdatedTime() const { return m_lastUpdatedTime; }
130 inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; }
131 template <typename LastUpdatedTimeT = Aws::Utils::DateTime>
132 void SetLastUpdatedTime(LastUpdatedTimeT&& value) {
133 m_lastUpdatedTimeHasBeenSet = true;
134 m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value);
135 }
136 template <typename LastUpdatedTimeT = Aws::Utils::DateTime>
137 DataSetSummary& WithLastUpdatedTime(LastUpdatedTimeT&& value) {
138 SetLastUpdatedTime(std::forward<LastUpdatedTimeT>(value));
139 return *this;
140 }
142 private:
143 Aws::Utils::DateTime m_creationTime{};
144
145 Aws::String m_dataSetName;
146
147 Aws::String m_dataSetOrg;
148
149 Aws::String m_format;
150
151 Aws::Utils::DateTime m_lastReferencedTime{};
152
153 Aws::Utils::DateTime m_lastUpdatedTime{};
154 bool m_creationTimeHasBeenSet = false;
155 bool m_dataSetNameHasBeenSet = false;
156 bool m_dataSetOrgHasBeenSet = false;
157 bool m_formatHasBeenSet = false;
158 bool m_lastReferencedTimeHasBeenSet = false;
159 bool m_lastUpdatedTimeHasBeenSet = false;
160};
161
162} // namespace Model
163} // namespace MainframeModernization
164} // namespace Aws
DataSetSummary & WithDataSetOrg(DataSetOrgT &&value)
AWS_MAINFRAMEMODERNIZATION_API DataSetSummary()=default
AWS_MAINFRAMEMODERNIZATION_API DataSetSummary(Aws::Utils::Json::JsonView jsonValue)
DataSetSummary & WithLastReferencedTime(LastReferencedTimeT &&value)
void SetLastReferencedTime(LastReferencedTimeT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
AWS_MAINFRAMEMODERNIZATION_API Aws::Utils::Json::JsonValue Jsonize() const
DataSetSummary & WithCreationTime(CreationTimeT &&value)
const Aws::Utils::DateTime & GetLastUpdatedTime() const
DataSetSummary & WithLastUpdatedTime(LastUpdatedTimeT &&value)
DataSetSummary & WithFormat(FormatT &&value)
DataSetSummary & WithDataSetName(DataSetNameT &&value)
AWS_MAINFRAMEMODERNIZATION_API DataSetSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetLastReferencedTime() const
void SetLastUpdatedTime(LastUpdatedTimeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue