AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AssetRevision.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 AssetRevision();
36 AWS_DATAZONE_API AssetRevision(Aws::Utils::Json::JsonView jsonValue);
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 AssetRevision& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
50 inline AssetRevision& 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 AssetRevision& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;}
63 inline AssetRevision& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;}
64 inline AssetRevision& 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 AssetRevision& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;}
77 inline AssetRevision& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;}
78 inline AssetRevision& 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 AssetRevision& WithId(const Aws::String& value) { SetId(value); return *this;}
91 inline AssetRevision& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
92 inline AssetRevision& 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 AssetRevision& WithRevision(const Aws::String& value) { SetRevision(value); return *this;}
105 inline AssetRevision& WithRevision(Aws::String&& value) { SetRevision(std::move(value)); return *this;}
106 inline AssetRevision& 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
AssetRevision & WithRevision(const char *value)
void SetCreatedBy(const Aws::String &value)
AssetRevision & WithRevision(const Aws::String &value)
AssetRevision & WithCreatedBy(const Aws::String &value)
void SetCreatedBy(const char *value)
void SetRevision(Aws::String &&value)
void SetId(const Aws::String &value)
const Aws::String & GetId() const
void SetCreatedAt(Aws::Utils::DateTime &&value)
AssetRevision & WithId(Aws::String &&value)
AssetRevision & WithId(const Aws::String &value)
void SetDomainId(const Aws::String &value)
AssetRevision & WithCreatedAt(Aws::Utils::DateTime &&value)
AWS_DATAZONE_API AssetRevision(Aws::Utils::Json::JsonView jsonValue)
AssetRevision & WithId(const char *value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
AssetRevision & WithCreatedBy(const char *value)
void SetCreatedBy(Aws::String &&value)
const Aws::String & GetCreatedBy() const
void SetDomainId(Aws::String &&value)
AssetRevision & WithCreatedAt(const Aws::Utils::DateTime &value)
const Aws::String & GetRevision() const
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
AssetRevision & WithDomainId(const Aws::String &value)
const Aws::String & GetDomainId() const
void SetRevision(const char *value)
void SetId(const char *value)
AssetRevision & WithRevision(Aws::String &&value)
AssetRevision & WithDomainId(Aws::String &&value)
AWS_DATAZONE_API AssetRevision & operator=(Aws::Utils::Json::JsonView jsonValue)
AssetRevision & WithDomainId(const char *value)
void SetDomainId(const char *value)
void SetRevision(const Aws::String &value)
AssetRevision & WithCreatedBy(Aws::String &&value)
void SetId(Aws::String &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue