AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
49 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
50 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
51 inline SyncJobSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
52 inline SyncJobSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
53 inline SyncJobSummary& WithArn(const char* value) { SetArn(value); return *this;}
55
57
60 inline const Aws::String& GetWorkspaceId() const{ return m_workspaceId; }
61 inline bool WorkspaceIdHasBeenSet() const { return m_workspaceIdHasBeenSet; }
62 inline void SetWorkspaceId(const Aws::String& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = value; }
63 inline void SetWorkspaceId(Aws::String&& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = std::move(value); }
64 inline void SetWorkspaceId(const char* value) { m_workspaceIdHasBeenSet = true; m_workspaceId.assign(value); }
65 inline SyncJobSummary& WithWorkspaceId(const Aws::String& value) { SetWorkspaceId(value); return *this;}
66 inline SyncJobSummary& WithWorkspaceId(Aws::String&& value) { SetWorkspaceId(std::move(value)); return *this;}
67 inline SyncJobSummary& WithWorkspaceId(const char* value) { SetWorkspaceId(value); return *this;}
69
71
74 inline const Aws::String& GetSyncSource() const{ return m_syncSource; }
75 inline bool SyncSourceHasBeenSet() const { return m_syncSourceHasBeenSet; }
76 inline void SetSyncSource(const Aws::String& value) { m_syncSourceHasBeenSet = true; m_syncSource = value; }
77 inline void SetSyncSource(Aws::String&& value) { m_syncSourceHasBeenSet = true; m_syncSource = std::move(value); }
78 inline void SetSyncSource(const char* value) { m_syncSourceHasBeenSet = true; m_syncSource.assign(value); }
79 inline SyncJobSummary& WithSyncSource(const Aws::String& value) { SetSyncSource(value); return *this;}
80 inline SyncJobSummary& WithSyncSource(Aws::String&& value) { SetSyncSource(std::move(value)); return *this;}
81 inline SyncJobSummary& WithSyncSource(const char* value) { SetSyncSource(value); return *this;}
83
85
88 inline const SyncJobStatus& GetStatus() const{ return m_status; }
89 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
90 inline void SetStatus(const SyncJobStatus& value) { m_statusHasBeenSet = true; m_status = value; }
91 inline void SetStatus(SyncJobStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
92 inline SyncJobSummary& WithStatus(const SyncJobStatus& value) { SetStatus(value); return *this;}
93 inline SyncJobSummary& WithStatus(SyncJobStatus&& value) { SetStatus(std::move(value)); return *this;}
95
97
100 inline const Aws::Utils::DateTime& GetCreationDateTime() const{ return m_creationDateTime; }
101 inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
102 inline void SetCreationDateTime(const Aws::Utils::DateTime& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = value; }
103 inline void SetCreationDateTime(Aws::Utils::DateTime&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::move(value); }
105 inline SyncJobSummary& WithCreationDateTime(Aws::Utils::DateTime&& value) { SetCreationDateTime(std::move(value)); return *this;}
107
109
112 inline const Aws::Utils::DateTime& GetUpdateDateTime() const{ return m_updateDateTime; }
113 inline bool UpdateDateTimeHasBeenSet() const { return m_updateDateTimeHasBeenSet; }
114 inline void SetUpdateDateTime(const Aws::Utils::DateTime& value) { m_updateDateTimeHasBeenSet = true; m_updateDateTime = value; }
115 inline void SetUpdateDateTime(Aws::Utils::DateTime&& value) { m_updateDateTimeHasBeenSet = true; m_updateDateTime = std::move(value); }
116 inline SyncJobSummary& WithUpdateDateTime(const Aws::Utils::DateTime& value) { SetUpdateDateTime(value); return *this;}
117 inline SyncJobSummary& WithUpdateDateTime(Aws::Utils::DateTime&& value) { SetUpdateDateTime(std::move(value)); return *this;}
119 private:
120
121 Aws::String m_arn;
122 bool m_arnHasBeenSet = false;
123
124 Aws::String m_workspaceId;
125 bool m_workspaceIdHasBeenSet = false;
126
127 Aws::String m_syncSource;
128 bool m_syncSourceHasBeenSet = false;
129
130 SyncJobStatus m_status;
131 bool m_statusHasBeenSet = false;
132
133 Aws::Utils::DateTime m_creationDateTime;
134 bool m_creationDateTimeHasBeenSet = false;
135
136 Aws::Utils::DateTime m_updateDateTime;
137 bool m_updateDateTimeHasBeenSet = false;
138 };
139
140} // namespace Model
141} // namespace IoTTwinMaker
142} // namespace Aws
const Aws::String & GetSyncSource() const
void SetUpdateDateTime(const Aws::Utils::DateTime &value)
SyncJobSummary & WithArn(Aws::String &&value)
void SetWorkspaceId(Aws::String &&value)
SyncJobSummary & WithStatus(const SyncJobStatus &value)
void SetStatus(SyncJobStatus &&value)
const Aws::Utils::DateTime & GetCreationDateTime() const
SyncJobSummary & WithCreationDateTime(const Aws::Utils::DateTime &value)
SyncJobSummary & WithCreationDateTime(Aws::Utils::DateTime &&value)
AWS_IOTTWINMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCreationDateTime(const Aws::Utils::DateTime &value)
void SetStatus(const SyncJobStatus &value)
SyncJobSummary & WithWorkspaceId(const Aws::String &value)
AWS_IOTTWINMAKER_API SyncJobSummary(Aws::Utils::Json::JsonView jsonValue)
SyncJobSummary & WithSyncSource(const Aws::String &value)
void SetUpdateDateTime(Aws::Utils::DateTime &&value)
SyncJobSummary & WithSyncSource(const char *value)
const Aws::String & GetArn() const
const Aws::Utils::DateTime & GetUpdateDateTime() const
SyncJobSummary & WithSyncSource(Aws::String &&value)
SyncJobSummary & WithArn(const char *value)
SyncJobSummary & WithWorkspaceId(const char *value)
SyncJobSummary & WithWorkspaceId(Aws::String &&value)
SyncJobSummary & WithUpdateDateTime(Aws::Utils::DateTime &&value)
void SetWorkspaceId(const Aws::String &value)
SyncJobSummary & WithStatus(SyncJobStatus &&value)
void SetSyncSource(Aws::String &&value)
void SetArn(const Aws::String &value)
void SetSyncSource(const Aws::String &value)
const SyncJobStatus & GetStatus() const
SyncJobSummary & WithUpdateDateTime(const Aws::Utils::DateTime &value)
void SetCreationDateTime(Aws::Utils::DateTime &&value)
const Aws::String & GetWorkspaceId() const
SyncJobSummary & WithArn(const Aws::String &value)
AWS_IOTTWINMAKER_API SyncJobSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue