AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Event.h
1
6#pragma once
7#include <aws/dataexchange/DataExchange_EXPORTS.h>
8#include <aws/dataexchange/model/RevisionPublished.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace DataExchange
22{
23namespace Model
24{
25
31 class Event
32 {
33 public:
34 AWS_DATAEXCHANGE_API Event();
35 AWS_DATAEXCHANGE_API Event(Aws::Utils::Json::JsonView jsonValue);
36 AWS_DATAEXCHANGE_API Event& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_DATAEXCHANGE_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const RevisionPublished& GetRevisionPublished() const{ return m_revisionPublished; }
45 inline bool RevisionPublishedHasBeenSet() const { return m_revisionPublishedHasBeenSet; }
46 inline void SetRevisionPublished(const RevisionPublished& value) { m_revisionPublishedHasBeenSet = true; m_revisionPublished = value; }
47 inline void SetRevisionPublished(RevisionPublished&& value) { m_revisionPublishedHasBeenSet = true; m_revisionPublished = std::move(value); }
48 inline Event& WithRevisionPublished(const RevisionPublished& value) { SetRevisionPublished(value); return *this;}
49 inline Event& WithRevisionPublished(RevisionPublished&& value) { SetRevisionPublished(std::move(value)); return *this;}
51 private:
52
53 RevisionPublished m_revisionPublished;
54 bool m_revisionPublishedHasBeenSet = false;
55 };
56
57} // namespace Model
58} // namespace DataExchange
59} // namespace Aws
const RevisionPublished & GetRevisionPublished() const
Definition Event.h:44
AWS_DATAEXCHANGE_API Event()
AWS_DATAEXCHANGE_API Event & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetRevisionPublished(RevisionPublished &&value)
Definition Event.h:47
Event & WithRevisionPublished(const RevisionPublished &value)
Definition Event.h:48
bool RevisionPublishedHasBeenSet() const
Definition Event.h:45
Event & WithRevisionPublished(RevisionPublished &&value)
Definition Event.h:49
void SetRevisionPublished(const RevisionPublished &value)
Definition Event.h:46
AWS_DATAEXCHANGE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DATAEXCHANGE_API Event(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue