AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetSyncJobResult.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{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace IoTTwinMaker
26{
27namespace Model
28{
30 {
31 public:
32 AWS_IOTTWINMAKER_API GetSyncJobResult() = default;
35
36
38
41 inline const Aws::String& GetArn() const { return m_arn; }
42 template<typename ArnT = Aws::String>
43 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
44 template<typename ArnT = Aws::String>
45 GetSyncJobResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
47
49
52 inline const Aws::String& GetWorkspaceId() const { return m_workspaceId; }
53 template<typename WorkspaceIdT = Aws::String>
54 void SetWorkspaceId(WorkspaceIdT&& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = std::forward<WorkspaceIdT>(value); }
55 template<typename WorkspaceIdT = Aws::String>
56 GetSyncJobResult& WithWorkspaceId(WorkspaceIdT&& value) { SetWorkspaceId(std::forward<WorkspaceIdT>(value)); return *this;}
58
60
64 inline const Aws::String& GetSyncSource() const { return m_syncSource; }
65 template<typename SyncSourceT = Aws::String>
66 void SetSyncSource(SyncSourceT&& value) { m_syncSourceHasBeenSet = true; m_syncSource = std::forward<SyncSourceT>(value); }
67 template<typename SyncSourceT = Aws::String>
68 GetSyncJobResult& WithSyncSource(SyncSourceT&& value) { SetSyncSource(std::forward<SyncSourceT>(value)); return *this;}
70
72
75 inline const Aws::String& GetSyncRole() const { return m_syncRole; }
76 template<typename SyncRoleT = Aws::String>
77 void SetSyncRole(SyncRoleT&& value) { m_syncRoleHasBeenSet = true; m_syncRole = std::forward<SyncRoleT>(value); }
78 template<typename SyncRoleT = Aws::String>
79 GetSyncJobResult& WithSyncRole(SyncRoleT&& value) { SetSyncRole(std::forward<SyncRoleT>(value)); return *this;}
81
83
86 inline const SyncJobStatus& GetStatus() const { return m_status; }
87 template<typename StatusT = SyncJobStatus>
88 void SetStatus(StatusT&& value) { m_statusHasBeenSet = true; m_status = std::forward<StatusT>(value); }
89 template<typename StatusT = SyncJobStatus>
90 GetSyncJobResult& WithStatus(StatusT&& value) { SetStatus(std::forward<StatusT>(value)); return *this;}
92
94
97 inline const Aws::Utils::DateTime& GetCreationDateTime() const { return m_creationDateTime; }
98 template<typename CreationDateTimeT = Aws::Utils::DateTime>
99 void SetCreationDateTime(CreationDateTimeT&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::forward<CreationDateTimeT>(value); }
100 template<typename CreationDateTimeT = Aws::Utils::DateTime>
101 GetSyncJobResult& WithCreationDateTime(CreationDateTimeT&& value) { SetCreationDateTime(std::forward<CreationDateTimeT>(value)); return *this;}
103
105
108 inline const Aws::Utils::DateTime& GetUpdateDateTime() const { return m_updateDateTime; }
109 template<typename UpdateDateTimeT = Aws::Utils::DateTime>
110 void SetUpdateDateTime(UpdateDateTimeT&& value) { m_updateDateTimeHasBeenSet = true; m_updateDateTime = std::forward<UpdateDateTimeT>(value); }
111 template<typename UpdateDateTimeT = Aws::Utils::DateTime>
112 GetSyncJobResult& WithUpdateDateTime(UpdateDateTimeT&& value) { SetUpdateDateTime(std::forward<UpdateDateTimeT>(value)); return *this;}
114
116
117 inline const Aws::String& GetRequestId() const { return m_requestId; }
118 template<typename RequestIdT = Aws::String>
119 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
120 template<typename RequestIdT = Aws::String>
121 GetSyncJobResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
123 private:
124
125 Aws::String m_arn;
126 bool m_arnHasBeenSet = false;
127
128 Aws::String m_workspaceId;
129 bool m_workspaceIdHasBeenSet = false;
130
131 Aws::String m_syncSource;
132 bool m_syncSourceHasBeenSet = false;
133
134 Aws::String m_syncRole;
135 bool m_syncRoleHasBeenSet = false;
136
137 SyncJobStatus m_status;
138 bool m_statusHasBeenSet = false;
139
140 Aws::Utils::DateTime m_creationDateTime{};
141 bool m_creationDateTimeHasBeenSet = false;
142
143 Aws::Utils::DateTime m_updateDateTime{};
144 bool m_updateDateTimeHasBeenSet = false;
145
146 Aws::String m_requestId;
147 bool m_requestIdHasBeenSet = false;
148 };
149
150} // namespace Model
151} // namespace IoTTwinMaker
152} // namespace Aws
const Aws::String & GetSyncSource() const
GetSyncJobResult & WithCreationDateTime(CreationDateTimeT &&value)
AWS_IOTTWINMAKER_API GetSyncJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetSyncJobResult & WithArn(ArnT &&value)
void SetCreationDateTime(CreationDateTimeT &&value)
AWS_IOTTWINMAKER_API GetSyncJobResult()=default
const SyncJobStatus & GetStatus() const
AWS_IOTTWINMAKER_API GetSyncJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Utils::DateTime & GetUpdateDateTime() const
GetSyncJobResult & WithSyncSource(SyncSourceT &&value)
GetSyncJobResult & WithStatus(StatusT &&value)
const Aws::Utils::DateTime & GetCreationDateTime() const
GetSyncJobResult & WithUpdateDateTime(UpdateDateTimeT &&value)
GetSyncJobResult & WithSyncRole(SyncRoleT &&value)
GetSyncJobResult & WithWorkspaceId(WorkspaceIdT &&value)
const Aws::String & GetWorkspaceId() const
void SetUpdateDateTime(UpdateDateTimeT &&value)
GetSyncJobResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue