AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
35
36
38
41 inline const Aws::String& GetArn() const{ return m_arn; }
42 inline void SetArn(const Aws::String& value) { m_arn = value; }
43 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
44 inline void SetArn(const char* value) { m_arn.assign(value); }
45 inline GetSyncJobResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
46 inline GetSyncJobResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
47 inline GetSyncJobResult& WithArn(const char* value) { SetArn(value); return *this;}
49
51
54 inline const Aws::String& GetWorkspaceId() const{ return m_workspaceId; }
55 inline void SetWorkspaceId(const Aws::String& value) { m_workspaceId = value; }
56 inline void SetWorkspaceId(Aws::String&& value) { m_workspaceId = std::move(value); }
57 inline void SetWorkspaceId(const char* value) { m_workspaceId.assign(value); }
58 inline GetSyncJobResult& WithWorkspaceId(const Aws::String& value) { SetWorkspaceId(value); return *this;}
59 inline GetSyncJobResult& WithWorkspaceId(Aws::String&& value) { SetWorkspaceId(std::move(value)); return *this;}
60 inline GetSyncJobResult& WithWorkspaceId(const char* value) { SetWorkspaceId(value); return *this;}
62
64
68 inline const Aws::String& GetSyncSource() const{ return m_syncSource; }
69 inline void SetSyncSource(const Aws::String& value) { m_syncSource = value; }
70 inline void SetSyncSource(Aws::String&& value) { m_syncSource = std::move(value); }
71 inline void SetSyncSource(const char* value) { m_syncSource.assign(value); }
72 inline GetSyncJobResult& WithSyncSource(const Aws::String& value) { SetSyncSource(value); return *this;}
73 inline GetSyncJobResult& WithSyncSource(Aws::String&& value) { SetSyncSource(std::move(value)); return *this;}
74 inline GetSyncJobResult& WithSyncSource(const char* value) { SetSyncSource(value); return *this;}
76
78
81 inline const Aws::String& GetSyncRole() const{ return m_syncRole; }
82 inline void SetSyncRole(const Aws::String& value) { m_syncRole = value; }
83 inline void SetSyncRole(Aws::String&& value) { m_syncRole = std::move(value); }
84 inline void SetSyncRole(const char* value) { m_syncRole.assign(value); }
85 inline GetSyncJobResult& WithSyncRole(const Aws::String& value) { SetSyncRole(value); return *this;}
86 inline GetSyncJobResult& WithSyncRole(Aws::String&& value) { SetSyncRole(std::move(value)); return *this;}
87 inline GetSyncJobResult& WithSyncRole(const char* value) { SetSyncRole(value); return *this;}
89
91
94 inline const SyncJobStatus& GetStatus() const{ return m_status; }
95 inline void SetStatus(const SyncJobStatus& value) { m_status = value; }
96 inline void SetStatus(SyncJobStatus&& value) { m_status = std::move(value); }
97 inline GetSyncJobResult& WithStatus(const SyncJobStatus& value) { SetStatus(value); return *this;}
98 inline GetSyncJobResult& WithStatus(SyncJobStatus&& value) { SetStatus(std::move(value)); return *this;}
100
102
105 inline const Aws::Utils::DateTime& GetCreationDateTime() const{ return m_creationDateTime; }
106 inline void SetCreationDateTime(const Aws::Utils::DateTime& value) { m_creationDateTime = value; }
107 inline void SetCreationDateTime(Aws::Utils::DateTime&& value) { m_creationDateTime = std::move(value); }
109 inline GetSyncJobResult& WithCreationDateTime(Aws::Utils::DateTime&& value) { SetCreationDateTime(std::move(value)); return *this;}
111
113
116 inline const Aws::Utils::DateTime& GetUpdateDateTime() const{ return m_updateDateTime; }
117 inline void SetUpdateDateTime(const Aws::Utils::DateTime& value) { m_updateDateTime = value; }
118 inline void SetUpdateDateTime(Aws::Utils::DateTime&& value) { m_updateDateTime = std::move(value); }
119 inline GetSyncJobResult& WithUpdateDateTime(const Aws::Utils::DateTime& value) { SetUpdateDateTime(value); return *this;}
120 inline GetSyncJobResult& WithUpdateDateTime(Aws::Utils::DateTime&& value) { SetUpdateDateTime(std::move(value)); return *this;}
122
124
125 inline const Aws::String& GetRequestId() const{ return m_requestId; }
126 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
127 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
128 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
129 inline GetSyncJobResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
130 inline GetSyncJobResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
131 inline GetSyncJobResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
133 private:
134
135 Aws::String m_arn;
136
137 Aws::String m_workspaceId;
138
139 Aws::String m_syncSource;
140
141 Aws::String m_syncRole;
142
143 SyncJobStatus m_status;
144
145 Aws::Utils::DateTime m_creationDateTime;
146
147 Aws::Utils::DateTime m_updateDateTime;
148
149 Aws::String m_requestId;
150 };
151
152} // namespace Model
153} // namespace IoTTwinMaker
154} // namespace Aws
const Aws::String & GetSyncSource() const
GetSyncJobResult & WithRequestId(Aws::String &&value)
GetSyncJobResult & WithArn(const Aws::String &value)
GetSyncJobResult & WithCreationDateTime(const Aws::Utils::DateTime &value)
void SetSyncRole(const Aws::String &value)
AWS_IOTTWINMAKER_API GetSyncJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetSyncJobResult & WithUpdateDateTime(const Aws::Utils::DateTime &value)
GetSyncJobResult & WithSyncSource(const char *value)
GetSyncJobResult & WithUpdateDateTime(Aws::Utils::DateTime &&value)
GetSyncJobResult & WithStatus(const SyncJobStatus &value)
const SyncJobStatus & GetStatus() const
AWS_IOTTWINMAKER_API GetSyncJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetSyncJobResult & WithSyncSource(Aws::String &&value)
const Aws::Utils::DateTime & GetUpdateDateTime() const
GetSyncJobResult & WithArn(const char *value)
GetSyncJobResult & WithSyncRole(Aws::String &&value)
void SetArn(const Aws::String &value)
void SetCreationDateTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetCreationDateTime() const
void SetRequestId(const Aws::String &value)
void SetWorkspaceId(const Aws::String &value)
GetSyncJobResult & WithWorkspaceId(const char *value)
GetSyncJobResult & WithArn(Aws::String &&value)
GetSyncJobResult & WithRequestId(const Aws::String &value)
void SetCreationDateTime(const Aws::Utils::DateTime &value)
void SetSyncSource(const Aws::String &value)
GetSyncJobResult & WithStatus(SyncJobStatus &&value)
GetSyncJobResult & WithWorkspaceId(Aws::String &&value)
GetSyncJobResult & WithRequestId(const char *value)
GetSyncJobResult & WithSyncRole(const char *value)
void SetStatus(const SyncJobStatus &value)
const Aws::String & GetWorkspaceId() const
GetSyncJobResult & WithWorkspaceId(const Aws::String &value)
void SetUpdateDateTime(Aws::Utils::DateTime &&value)
void SetUpdateDateTime(const Aws::Utils::DateTime &value)
GetSyncJobResult & WithSyncSource(const Aws::String &value)
GetSyncJobResult & WithCreationDateTime(Aws::Utils::DateTime &&value)
GetSyncJobResult & WithSyncRole(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue