AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
SyncJobSummary.h
1
6#pragma once
7#include <aws/iottwinmaker/IoTTwinMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iottwinmaker/model/SyncJobStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace IoTTwinMaker
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_IOTTWINMAKER_API SyncJobSummary() = default;
37 AWS_IOTTWINMAKER_API SyncJobSummary(Aws::Utils::Json::JsonView jsonValue);
38 AWS_IOTTWINMAKER_API SyncJobSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_IOTTWINMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetArn() const { return m_arn; }
47 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
48 template<typename ArnT = Aws::String>
49 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
50 template<typename ArnT = Aws::String>
51 SyncJobSummary& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
53
55
58 inline const Aws::String& GetWorkspaceId() const { return m_workspaceId; }
59 inline bool WorkspaceIdHasBeenSet() const { return m_workspaceIdHasBeenSet; }
60 template<typename WorkspaceIdT = Aws::String>
61 void SetWorkspaceId(WorkspaceIdT&& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = std::forward<WorkspaceIdT>(value); }
62 template<typename WorkspaceIdT = Aws::String>
63 SyncJobSummary& WithWorkspaceId(WorkspaceIdT&& value) { SetWorkspaceId(std::forward<WorkspaceIdT>(value)); return *this;}
65
67
70 inline const Aws::String& GetSyncSource() const { return m_syncSource; }
71 inline bool SyncSourceHasBeenSet() const { return m_syncSourceHasBeenSet; }
72 template<typename SyncSourceT = Aws::String>
73 void SetSyncSource(SyncSourceT&& value) { m_syncSourceHasBeenSet = true; m_syncSource = std::forward<SyncSourceT>(value); }
74 template<typename SyncSourceT = Aws::String>
75 SyncJobSummary& WithSyncSource(SyncSourceT&& value) { SetSyncSource(std::forward<SyncSourceT>(value)); return *this;}
77
79
82 inline const SyncJobStatus& GetStatus() const { return m_status; }
83 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
84 template<typename StatusT = SyncJobStatus>
85 void SetStatus(StatusT&& value) { m_statusHasBeenSet = true; m_status = std::forward<StatusT>(value); }
86 template<typename StatusT = SyncJobStatus>
87 SyncJobSummary& WithStatus(StatusT&& value) { SetStatus(std::forward<StatusT>(value)); return *this;}
89
91
94 inline const Aws::Utils::DateTime& GetCreationDateTime() const { return m_creationDateTime; }
95 inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
96 template<typename CreationDateTimeT = Aws::Utils::DateTime>
97 void SetCreationDateTime(CreationDateTimeT&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::forward<CreationDateTimeT>(value); }
98 template<typename CreationDateTimeT = Aws::Utils::DateTime>
99 SyncJobSummary& WithCreationDateTime(CreationDateTimeT&& value) { SetCreationDateTime(std::forward<CreationDateTimeT>(value)); return *this;}
101
103
106 inline const Aws::Utils::DateTime& GetUpdateDateTime() const { return m_updateDateTime; }
107 inline bool UpdateDateTimeHasBeenSet() const { return m_updateDateTimeHasBeenSet; }
108 template<typename UpdateDateTimeT = Aws::Utils::DateTime>
109 void SetUpdateDateTime(UpdateDateTimeT&& value) { m_updateDateTimeHasBeenSet = true; m_updateDateTime = std::forward<UpdateDateTimeT>(value); }
110 template<typename UpdateDateTimeT = Aws::Utils::DateTime>
111 SyncJobSummary& WithUpdateDateTime(UpdateDateTimeT&& value) { SetUpdateDateTime(std::forward<UpdateDateTimeT>(value)); return *this;}
113 private:
114
115 Aws::String m_arn;
116 bool m_arnHasBeenSet = false;
117
118 Aws::String m_workspaceId;
119 bool m_workspaceIdHasBeenSet = false;
120
121 Aws::String m_syncSource;
122 bool m_syncSourceHasBeenSet = false;
123
124 SyncJobStatus m_status;
125 bool m_statusHasBeenSet = false;
126
127 Aws::Utils::DateTime m_creationDateTime{};
128 bool m_creationDateTimeHasBeenSet = false;
129
130 Aws::Utils::DateTime m_updateDateTime{};
131 bool m_updateDateTimeHasBeenSet = false;
132 };
133
134} // namespace Model
135} // namespace IoTTwinMaker
136} // namespace Aws
const Aws::String & GetSyncSource() const
void SetUpdateDateTime(UpdateDateTimeT &&value)
const Aws::Utils::DateTime & GetCreationDateTime() const
SyncJobSummary & WithCreationDateTime(CreationDateTimeT &&value)
void SetSyncSource(SyncSourceT &&value)
AWS_IOTTWINMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetWorkspaceId(WorkspaceIdT &&value)
SyncJobSummary & WithUpdateDateTime(UpdateDateTimeT &&value)
AWS_IOTTWINMAKER_API SyncJobSummary()=default
AWS_IOTTWINMAKER_API SyncJobSummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetArn() const
const Aws::Utils::DateTime & GetUpdateDateTime() const
SyncJobSummary & WithArn(ArnT &&value)
const SyncJobStatus & GetStatus() const
const Aws::String & GetWorkspaceId() const
void SetCreationDateTime(CreationDateTimeT &&value)
SyncJobSummary & WithStatus(StatusT &&value)
AWS_IOTTWINMAKER_API SyncJobSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
SyncJobSummary & WithSyncSource(SyncSourceT &&value)
SyncJobSummary & WithWorkspaceId(WorkspaceIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue