AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
DataProductRevision.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/datazone/DataZone_EXPORTS.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
29 public:
30 AWS_DATAZONE_API DataProductRevision() = default;
33 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetDomainId() const { return m_domainId; }
40 inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; }
41 template <typename DomainIdT = Aws::String>
42 void SetDomainId(DomainIdT&& value) {
43 m_domainIdHasBeenSet = true;
44 m_domainId = std::forward<DomainIdT>(value);
45 }
46 template <typename DomainIdT = Aws::String>
47 DataProductRevision& WithDomainId(DomainIdT&& value) {
48 SetDomainId(std::forward<DomainIdT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetId() const { return m_id; }
58 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
59 template <typename IdT = Aws::String>
60 void SetId(IdT&& value) {
61 m_idHasBeenSet = true;
62 m_id = std::forward<IdT>(value);
63 }
64 template <typename IdT = Aws::String>
66 SetId(std::forward<IdT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetRevision() const { return m_revision; }
76 inline bool RevisionHasBeenSet() const { return m_revisionHasBeenSet; }
77 template <typename RevisionT = Aws::String>
78 void SetRevision(RevisionT&& value) {
79 m_revisionHasBeenSet = true;
80 m_revision = std::forward<RevisionT>(value);
81 }
82 template <typename RevisionT = Aws::String>
83 DataProductRevision& WithRevision(RevisionT&& value) {
84 SetRevision(std::forward<RevisionT>(value));
85 return *this;
86 }
88
90
93 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
94 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
95 template <typename CreatedAtT = Aws::Utils::DateTime>
96 void SetCreatedAt(CreatedAtT&& value) {
97 m_createdAtHasBeenSet = true;
98 m_createdAt = std::forward<CreatedAtT>(value);
99 }
100 template <typename CreatedAtT = Aws::Utils::DateTime>
101 DataProductRevision& WithCreatedAt(CreatedAtT&& value) {
102 SetCreatedAt(std::forward<CreatedAtT>(value));
103 return *this;
104 }
106
108
111 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
112 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
113 template <typename CreatedByT = Aws::String>
114 void SetCreatedBy(CreatedByT&& value) {
115 m_createdByHasBeenSet = true;
116 m_createdBy = std::forward<CreatedByT>(value);
117 }
118 template <typename CreatedByT = Aws::String>
119 DataProductRevision& WithCreatedBy(CreatedByT&& value) {
120 SetCreatedBy(std::forward<CreatedByT>(value));
121 return *this;
122 }
124 private:
125 Aws::String m_domainId;
126
127 Aws::String m_id;
128
129 Aws::String m_revision;
130
131 Aws::Utils::DateTime m_createdAt{};
132
133 Aws::String m_createdBy;
134 bool m_domainIdHasBeenSet = false;
135 bool m_idHasBeenSet = false;
136 bool m_revisionHasBeenSet = false;
137 bool m_createdAtHasBeenSet = false;
138 bool m_createdByHasBeenSet = false;
139};
140
141} // namespace Model
142} // namespace DataZone
143} // namespace Aws
DataProductRevision & WithId(IdT &&value)
DataProductRevision & WithDomainId(DomainIdT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
DataProductRevision & WithCreatedBy(CreatedByT &&value)
AWS_DATAZONE_API DataProductRevision()=default
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
DataProductRevision & WithCreatedAt(CreatedAtT &&value)
DataProductRevision & WithRevision(RevisionT &&value)
AWS_DATAZONE_API DataProductRevision & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DATAZONE_API DataProductRevision(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue