AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DataProductRevision.h
1
6#pragma once
7#include <aws/datazone/DataZone_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 DataZone
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_DATAZONE_API DataProductRevision();
38 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
46 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
47 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
48 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
49 inline DataProductRevision& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
50 inline DataProductRevision& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
52
54
57 inline const Aws::String& GetCreatedBy() const{ return m_createdBy; }
58 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
59 inline void SetCreatedBy(const Aws::String& value) { m_createdByHasBeenSet = true; m_createdBy = value; }
60 inline void SetCreatedBy(Aws::String&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); }
61 inline void SetCreatedBy(const char* value) { m_createdByHasBeenSet = true; m_createdBy.assign(value); }
62 inline DataProductRevision& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;}
63 inline DataProductRevision& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;}
64 inline DataProductRevision& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;}
66
68
71 inline const Aws::String& GetDomainId() const{ return m_domainId; }
72 inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; }
73 inline void SetDomainId(const Aws::String& value) { m_domainIdHasBeenSet = true; m_domainId = value; }
74 inline void SetDomainId(Aws::String&& value) { m_domainIdHasBeenSet = true; m_domainId = std::move(value); }
75 inline void SetDomainId(const char* value) { m_domainIdHasBeenSet = true; m_domainId.assign(value); }
76 inline DataProductRevision& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;}
77 inline DataProductRevision& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;}
78 inline DataProductRevision& WithDomainId(const char* value) { SetDomainId(value); return *this;}
80
82
85 inline const Aws::String& GetId() const{ return m_id; }
86 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
87 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
88 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
89 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
90 inline DataProductRevision& WithId(const Aws::String& value) { SetId(value); return *this;}
91 inline DataProductRevision& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
92 inline DataProductRevision& WithId(const char* value) { SetId(value); return *this;}
94
96
99 inline const Aws::String& GetRevision() const{ return m_revision; }
100 inline bool RevisionHasBeenSet() const { return m_revisionHasBeenSet; }
101 inline void SetRevision(const Aws::String& value) { m_revisionHasBeenSet = true; m_revision = value; }
102 inline void SetRevision(Aws::String&& value) { m_revisionHasBeenSet = true; m_revision = std::move(value); }
103 inline void SetRevision(const char* value) { m_revisionHasBeenSet = true; m_revision.assign(value); }
104 inline DataProductRevision& WithRevision(const Aws::String& value) { SetRevision(value); return *this;}
105 inline DataProductRevision& WithRevision(Aws::String&& value) { SetRevision(std::move(value)); return *this;}
106 inline DataProductRevision& WithRevision(const char* value) { SetRevision(value); return *this;}
108 private:
109
110 Aws::Utils::DateTime m_createdAt;
111 bool m_createdAtHasBeenSet = false;
112
113 Aws::String m_createdBy;
114 bool m_createdByHasBeenSet = false;
115
116 Aws::String m_domainId;
117 bool m_domainIdHasBeenSet = false;
118
119 Aws::String m_id;
120 bool m_idHasBeenSet = false;
121
122 Aws::String m_revision;
123 bool m_revisionHasBeenSet = false;
124 };
125
126} // namespace Model
127} // namespace DataZone
128} // namespace Aws
DataProductRevision & WithId(const Aws::String &value)
DataProductRevision & WithRevision(const char *value)
DataProductRevision & WithRevision(Aws::String &&value)
DataProductRevision & WithCreatedAt(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
DataProductRevision & WithRevision(const Aws::String &value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
DataProductRevision & WithId(Aws::String &&value)
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
DataProductRevision & WithDomainId(Aws::String &&value)
DataProductRevision & WithDomainId(const char *value)
void SetRevision(const Aws::String &value)
DataProductRevision & WithCreatedBy(Aws::String &&value)
DataProductRevision & WithCreatedAt(const Aws::Utils::DateTime &value)
DataProductRevision & WithCreatedBy(const char *value)
void SetDomainId(const Aws::String &value)
AWS_DATAZONE_API DataProductRevision & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCreatedBy(const Aws::String &value)
DataProductRevision & WithDomainId(const Aws::String &value)
DataProductRevision & WithId(const char *value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
AWS_DATAZONE_API DataProductRevision(Aws::Utils::Json::JsonView jsonValue)
DataProductRevision & WithCreatedBy(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue