AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DataSetSummary.h
1
6#pragma once
7#include <aws/m2/MainframeModernization_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.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 MainframeModernization
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_MAINFRAMEMODERNIZATION_API DataSetSummary() = default;
36 AWS_MAINFRAMEMODERNIZATION_API DataSetSummary(Aws::Utils::Json::JsonView jsonValue);
37 AWS_MAINFRAMEMODERNIZATION_API DataSetSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_MAINFRAMEMODERNIZATION_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
46 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
47 template<typename CreationTimeT = Aws::Utils::DateTime>
48 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
49 template<typename CreationTimeT = Aws::Utils::DateTime>
50 DataSetSummary& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
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) { m_dataSetNameHasBeenSet = true; m_dataSetName = std::forward<DataSetNameT>(value); }
61 template<typename DataSetNameT = Aws::String>
62 DataSetSummary& WithDataSetName(DataSetNameT&& value) { SetDataSetName(std::forward<DataSetNameT>(value)); return *this;}
64
66
69 inline const Aws::String& GetDataSetOrg() const { return m_dataSetOrg; }
70 inline bool DataSetOrgHasBeenSet() const { return m_dataSetOrgHasBeenSet; }
71 template<typename DataSetOrgT = Aws::String>
72 void SetDataSetOrg(DataSetOrgT&& value) { m_dataSetOrgHasBeenSet = true; m_dataSetOrg = std::forward<DataSetOrgT>(value); }
73 template<typename DataSetOrgT = Aws::String>
74 DataSetSummary& WithDataSetOrg(DataSetOrgT&& value) { SetDataSetOrg(std::forward<DataSetOrgT>(value)); return *this;}
76
78
81 inline const Aws::String& GetFormat() const { return m_format; }
82 inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
83 template<typename FormatT = Aws::String>
84 void SetFormat(FormatT&& value) { m_formatHasBeenSet = true; m_format = std::forward<FormatT>(value); }
85 template<typename FormatT = Aws::String>
86 DataSetSummary& WithFormat(FormatT&& value) { SetFormat(std::forward<FormatT>(value)); return *this;}
88
90
93 inline const Aws::Utils::DateTime& GetLastReferencedTime() const { return m_lastReferencedTime; }
94 inline bool LastReferencedTimeHasBeenSet() const { return m_lastReferencedTimeHasBeenSet; }
95 template<typename LastReferencedTimeT = Aws::Utils::DateTime>
96 void SetLastReferencedTime(LastReferencedTimeT&& value) { m_lastReferencedTimeHasBeenSet = true; m_lastReferencedTime = std::forward<LastReferencedTimeT>(value); }
97 template<typename LastReferencedTimeT = Aws::Utils::DateTime>
98 DataSetSummary& WithLastReferencedTime(LastReferencedTimeT&& value) { SetLastReferencedTime(std::forward<LastReferencedTimeT>(value)); return *this;}
100
102
105 inline const Aws::Utils::DateTime& GetLastUpdatedTime() const { return m_lastUpdatedTime; }
106 inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; }
107 template<typename LastUpdatedTimeT = Aws::Utils::DateTime>
108 void SetLastUpdatedTime(LastUpdatedTimeT&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value); }
109 template<typename LastUpdatedTimeT = Aws::Utils::DateTime>
110 DataSetSummary& WithLastUpdatedTime(LastUpdatedTimeT&& value) { SetLastUpdatedTime(std::forward<LastUpdatedTimeT>(value)); return *this;}
112 private:
113
114 Aws::Utils::DateTime m_creationTime{};
115 bool m_creationTimeHasBeenSet = false;
116
117 Aws::String m_dataSetName;
118 bool m_dataSetNameHasBeenSet = false;
119
120 Aws::String m_dataSetOrg;
121 bool m_dataSetOrgHasBeenSet = false;
122
123 Aws::String m_format;
124 bool m_formatHasBeenSet = false;
125
126 Aws::Utils::DateTime m_lastReferencedTime{};
127 bool m_lastReferencedTimeHasBeenSet = false;
128
129 Aws::Utils::DateTime m_lastUpdatedTime{};
130 bool m_lastUpdatedTimeHasBeenSet = false;
131 };
132
133} // namespace Model
134} // namespace MainframeModernization
135} // 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