AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ResourceSyncEvent.h
1
6#pragma once
7#include <aws/codestar-connections/CodeStarconnections_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.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 CodeStarconnections
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_CODESTARCONNECTIONS_API ResourceSyncEvent();
37 AWS_CODESTARCONNECTIONS_API ResourceSyncEvent(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CODESTARCONNECTIONS_API ResourceSyncEvent& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CODESTARCONNECTIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetEvent() const{ return m_event; }
47 inline bool EventHasBeenSet() const { return m_eventHasBeenSet; }
48 inline void SetEvent(const Aws::String& value) { m_eventHasBeenSet = true; m_event = value; }
49 inline void SetEvent(Aws::String&& value) { m_eventHasBeenSet = true; m_event = std::move(value); }
50 inline void SetEvent(const char* value) { m_eventHasBeenSet = true; m_event.assign(value); }
51 inline ResourceSyncEvent& WithEvent(const Aws::String& value) { SetEvent(value); return *this;}
52 inline ResourceSyncEvent& WithEvent(Aws::String&& value) { SetEvent(std::move(value)); return *this;}
53 inline ResourceSyncEvent& WithEvent(const char* value) { SetEvent(value); return *this;}
55
57
60 inline const Aws::String& GetExternalId() const{ return m_externalId; }
61 inline bool ExternalIdHasBeenSet() const { return m_externalIdHasBeenSet; }
62 inline void SetExternalId(const Aws::String& value) { m_externalIdHasBeenSet = true; m_externalId = value; }
63 inline void SetExternalId(Aws::String&& value) { m_externalIdHasBeenSet = true; m_externalId = std::move(value); }
64 inline void SetExternalId(const char* value) { m_externalIdHasBeenSet = true; m_externalId.assign(value); }
65 inline ResourceSyncEvent& WithExternalId(const Aws::String& value) { SetExternalId(value); return *this;}
66 inline ResourceSyncEvent& WithExternalId(Aws::String&& value) { SetExternalId(std::move(value)); return *this;}
67 inline ResourceSyncEvent& WithExternalId(const char* value) { SetExternalId(value); return *this;}
69
71
74 inline const Aws::Utils::DateTime& GetTime() const{ return m_time; }
75 inline bool TimeHasBeenSet() const { return m_timeHasBeenSet; }
76 inline void SetTime(const Aws::Utils::DateTime& value) { m_timeHasBeenSet = true; m_time = value; }
77 inline void SetTime(Aws::Utils::DateTime&& value) { m_timeHasBeenSet = true; m_time = std::move(value); }
78 inline ResourceSyncEvent& WithTime(const Aws::Utils::DateTime& value) { SetTime(value); return *this;}
79 inline ResourceSyncEvent& WithTime(Aws::Utils::DateTime&& value) { SetTime(std::move(value)); return *this;}
81
83
86 inline const Aws::String& GetType() const{ return m_type; }
87 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
88 inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; }
89 inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
90 inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); }
91 inline ResourceSyncEvent& WithType(const Aws::String& value) { SetType(value); return *this;}
92 inline ResourceSyncEvent& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;}
93 inline ResourceSyncEvent& WithType(const char* value) { SetType(value); return *this;}
95 private:
96
97 Aws::String m_event;
98 bool m_eventHasBeenSet = false;
99
100 Aws::String m_externalId;
101 bool m_externalIdHasBeenSet = false;
102
104 bool m_timeHasBeenSet = false;
105
106 Aws::String m_type;
107 bool m_typeHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace CodeStarconnections
112} // namespace Aws
ResourceSyncEvent & WithEvent(const char *value)
ResourceSyncEvent & WithExternalId(const char *value)
ResourceSyncEvent & WithType(const char *value)
AWS_CODESTARCONNECTIONS_API ResourceSyncEvent(Aws::Utils::Json::JsonView jsonValue)
AWS_CODESTARCONNECTIONS_API ResourceSyncEvent()
ResourceSyncEvent & WithTime(Aws::Utils::DateTime &&value)
void SetTime(const Aws::Utils::DateTime &value)
ResourceSyncEvent & WithExternalId(const Aws::String &value)
AWS_CODESTARCONNECTIONS_API Aws::Utils::Json::JsonValue Jsonize() const
ResourceSyncEvent & WithType(const Aws::String &value)
ResourceSyncEvent & WithEvent(const Aws::String &value)
const Aws::Utils::DateTime & GetTime() const
ResourceSyncEvent & WithExternalId(Aws::String &&value)
ResourceSyncEvent & WithTime(const Aws::Utils::DateTime &value)
ResourceSyncEvent & WithEvent(Aws::String &&value)
ResourceSyncEvent & WithType(Aws::String &&value)
AWS_CODESTARCONNECTIONS_API ResourceSyncEvent & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue