AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ResourceDataSyncItem.h
1
6#pragma once
7#include <aws/ssm/SSM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ssm/model/ResourceDataSyncSourceWithState.h>
10#include <aws/ssm/model/ResourceDataSyncS3Destination.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/ssm/model/LastResourceDataSyncStatus.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace SSM
26{
27namespace Model
28{
29
37 {
38 public:
39 AWS_SSM_API ResourceDataSyncItem();
43
44
46
49 inline const Aws::String& GetSyncName() const{ return m_syncName; }
50 inline bool SyncNameHasBeenSet() const { return m_syncNameHasBeenSet; }
51 inline void SetSyncName(const Aws::String& value) { m_syncNameHasBeenSet = true; m_syncName = value; }
52 inline void SetSyncName(Aws::String&& value) { m_syncNameHasBeenSet = true; m_syncName = std::move(value); }
53 inline void SetSyncName(const char* value) { m_syncNameHasBeenSet = true; m_syncName.assign(value); }
54 inline ResourceDataSyncItem& WithSyncName(const Aws::String& value) { SetSyncName(value); return *this;}
55 inline ResourceDataSyncItem& WithSyncName(Aws::String&& value) { SetSyncName(std::move(value)); return *this;}
56 inline ResourceDataSyncItem& WithSyncName(const char* value) { SetSyncName(value); return *this;}
58
60
67 inline const Aws::String& GetSyncType() const{ return m_syncType; }
68 inline bool SyncTypeHasBeenSet() const { return m_syncTypeHasBeenSet; }
69 inline void SetSyncType(const Aws::String& value) { m_syncTypeHasBeenSet = true; m_syncType = value; }
70 inline void SetSyncType(Aws::String&& value) { m_syncTypeHasBeenSet = true; m_syncType = std::move(value); }
71 inline void SetSyncType(const char* value) { m_syncTypeHasBeenSet = true; m_syncType.assign(value); }
72 inline ResourceDataSyncItem& WithSyncType(const Aws::String& value) { SetSyncType(value); return *this;}
73 inline ResourceDataSyncItem& WithSyncType(Aws::String&& value) { SetSyncType(std::move(value)); return *this;}
74 inline ResourceDataSyncItem& WithSyncType(const char* value) { SetSyncType(value); return *this;}
76
78
81 inline const ResourceDataSyncSourceWithState& GetSyncSource() const{ return m_syncSource; }
82 inline bool SyncSourceHasBeenSet() const { return m_syncSourceHasBeenSet; }
83 inline void SetSyncSource(const ResourceDataSyncSourceWithState& value) { m_syncSourceHasBeenSet = true; m_syncSource = value; }
84 inline void SetSyncSource(ResourceDataSyncSourceWithState&& value) { m_syncSourceHasBeenSet = true; m_syncSource = std::move(value); }
86 inline ResourceDataSyncItem& WithSyncSource(ResourceDataSyncSourceWithState&& value) { SetSyncSource(std::move(value)); return *this;}
88
90
93 inline const ResourceDataSyncS3Destination& GetS3Destination() const{ return m_s3Destination; }
94 inline bool S3DestinationHasBeenSet() const { return m_s3DestinationHasBeenSet; }
95 inline void SetS3Destination(const ResourceDataSyncS3Destination& value) { m_s3DestinationHasBeenSet = true; m_s3Destination = value; }
96 inline void SetS3Destination(ResourceDataSyncS3Destination&& value) { m_s3DestinationHasBeenSet = true; m_s3Destination = std::move(value); }
98 inline ResourceDataSyncItem& WithS3Destination(ResourceDataSyncS3Destination&& value) { SetS3Destination(std::move(value)); return *this;}
100
102
105 inline const Aws::Utils::DateTime& GetLastSyncTime() const{ return m_lastSyncTime; }
106 inline bool LastSyncTimeHasBeenSet() const { return m_lastSyncTimeHasBeenSet; }
107 inline void SetLastSyncTime(const Aws::Utils::DateTime& value) { m_lastSyncTimeHasBeenSet = true; m_lastSyncTime = value; }
108 inline void SetLastSyncTime(Aws::Utils::DateTime&& value) { m_lastSyncTimeHasBeenSet = true; m_lastSyncTime = std::move(value); }
109 inline ResourceDataSyncItem& WithLastSyncTime(const Aws::Utils::DateTime& value) { SetLastSyncTime(value); return *this;}
110 inline ResourceDataSyncItem& WithLastSyncTime(Aws::Utils::DateTime&& value) { SetLastSyncTime(std::move(value)); return *this;}
112
114
118 inline const Aws::Utils::DateTime& GetLastSuccessfulSyncTime() const{ return m_lastSuccessfulSyncTime; }
119 inline bool LastSuccessfulSyncTimeHasBeenSet() const { return m_lastSuccessfulSyncTimeHasBeenSet; }
120 inline void SetLastSuccessfulSyncTime(const Aws::Utils::DateTime& value) { m_lastSuccessfulSyncTimeHasBeenSet = true; m_lastSuccessfulSyncTime = value; }
121 inline void SetLastSuccessfulSyncTime(Aws::Utils::DateTime&& value) { m_lastSuccessfulSyncTimeHasBeenSet = true; m_lastSuccessfulSyncTime = std::move(value); }
125
127
130 inline const Aws::Utils::DateTime& GetSyncLastModifiedTime() const{ return m_syncLastModifiedTime; }
131 inline bool SyncLastModifiedTimeHasBeenSet() const { return m_syncLastModifiedTimeHasBeenSet; }
132 inline void SetSyncLastModifiedTime(const Aws::Utils::DateTime& value) { m_syncLastModifiedTimeHasBeenSet = true; m_syncLastModifiedTime = value; }
133 inline void SetSyncLastModifiedTime(Aws::Utils::DateTime&& value) { m_syncLastModifiedTimeHasBeenSet = true; m_syncLastModifiedTime = std::move(value); }
137
139
142 inline const LastResourceDataSyncStatus& GetLastStatus() const{ return m_lastStatus; }
143 inline bool LastStatusHasBeenSet() const { return m_lastStatusHasBeenSet; }
144 inline void SetLastStatus(const LastResourceDataSyncStatus& value) { m_lastStatusHasBeenSet = true; m_lastStatus = value; }
145 inline void SetLastStatus(LastResourceDataSyncStatus&& value) { m_lastStatusHasBeenSet = true; m_lastStatus = std::move(value); }
147 inline ResourceDataSyncItem& WithLastStatus(LastResourceDataSyncStatus&& value) { SetLastStatus(std::move(value)); return *this;}
149
151
154 inline const Aws::Utils::DateTime& GetSyncCreatedTime() const{ return m_syncCreatedTime; }
155 inline bool SyncCreatedTimeHasBeenSet() const { return m_syncCreatedTimeHasBeenSet; }
156 inline void SetSyncCreatedTime(const Aws::Utils::DateTime& value) { m_syncCreatedTimeHasBeenSet = true; m_syncCreatedTime = value; }
157 inline void SetSyncCreatedTime(Aws::Utils::DateTime&& value) { m_syncCreatedTimeHasBeenSet = true; m_syncCreatedTime = std::move(value); }
159 inline ResourceDataSyncItem& WithSyncCreatedTime(Aws::Utils::DateTime&& value) { SetSyncCreatedTime(std::move(value)); return *this;}
161
163
166 inline const Aws::String& GetLastSyncStatusMessage() const{ return m_lastSyncStatusMessage; }
167 inline bool LastSyncStatusMessageHasBeenSet() const { return m_lastSyncStatusMessageHasBeenSet; }
168 inline void SetLastSyncStatusMessage(const Aws::String& value) { m_lastSyncStatusMessageHasBeenSet = true; m_lastSyncStatusMessage = value; }
169 inline void SetLastSyncStatusMessage(Aws::String&& value) { m_lastSyncStatusMessageHasBeenSet = true; m_lastSyncStatusMessage = std::move(value); }
170 inline void SetLastSyncStatusMessage(const char* value) { m_lastSyncStatusMessageHasBeenSet = true; m_lastSyncStatusMessage.assign(value); }
172 inline ResourceDataSyncItem& WithLastSyncStatusMessage(Aws::String&& value) { SetLastSyncStatusMessage(std::move(value)); return *this;}
173 inline ResourceDataSyncItem& WithLastSyncStatusMessage(const char* value) { SetLastSyncStatusMessage(value); return *this;}
175 private:
176
177 Aws::String m_syncName;
178 bool m_syncNameHasBeenSet = false;
179
180 Aws::String m_syncType;
181 bool m_syncTypeHasBeenSet = false;
182
184 bool m_syncSourceHasBeenSet = false;
185
186 ResourceDataSyncS3Destination m_s3Destination;
187 bool m_s3DestinationHasBeenSet = false;
188
189 Aws::Utils::DateTime m_lastSyncTime;
190 bool m_lastSyncTimeHasBeenSet = false;
191
192 Aws::Utils::DateTime m_lastSuccessfulSyncTime;
193 bool m_lastSuccessfulSyncTimeHasBeenSet = false;
194
195 Aws::Utils::DateTime m_syncLastModifiedTime;
196 bool m_syncLastModifiedTimeHasBeenSet = false;
197
198 LastResourceDataSyncStatus m_lastStatus;
199 bool m_lastStatusHasBeenSet = false;
200
201 Aws::Utils::DateTime m_syncCreatedTime;
202 bool m_syncCreatedTimeHasBeenSet = false;
203
204 Aws::String m_lastSyncStatusMessage;
205 bool m_lastSyncStatusMessageHasBeenSet = false;
206 };
207
208} // namespace Model
209} // namespace SSM
210} // namespace Aws
ResourceDataSyncItem & WithLastSyncStatusMessage(const Aws::String &value)
ResourceDataSyncItem & WithSyncName(const char *value)
void SetSyncSource(ResourceDataSyncSourceWithState &&value)
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
ResourceDataSyncItem & WithSyncCreatedTime(Aws::Utils::DateTime &&value)
void SetLastSyncStatusMessage(Aws::String &&value)
void SetLastStatus(LastResourceDataSyncStatus &&value)
void SetSyncName(const Aws::String &value)
const Aws::Utils::DateTime & GetLastSyncTime() const
const LastResourceDataSyncStatus & GetLastStatus() const
void SetSyncType(const Aws::String &value)
AWS_SSM_API ResourceDataSyncItem & operator=(Aws::Utils::Json::JsonView jsonValue)
ResourceDataSyncItem & WithSyncSource(const ResourceDataSyncSourceWithState &value)
ResourceDataSyncItem & WithLastSyncTime(const Aws::Utils::DateTime &value)
void SetSyncLastModifiedTime(const Aws::Utils::DateTime &value)
void SetS3Destination(const ResourceDataSyncS3Destination &value)
const Aws::Utils::DateTime & GetSyncLastModifiedTime() const
void SetS3Destination(ResourceDataSyncS3Destination &&value)
void SetLastSyncTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetLastSuccessfulSyncTime() const
void SetLastSyncStatusMessage(const Aws::String &value)
void SetSyncCreatedTime(const Aws::Utils::DateTime &value)
void SetSyncCreatedTime(Aws::Utils::DateTime &&value)
const Aws::String & GetSyncName() const
ResourceDataSyncItem & WithS3Destination(ResourceDataSyncS3Destination &&value)
void SetLastSuccessfulSyncTime(const Aws::Utils::DateTime &value)
ResourceDataSyncItem & WithS3Destination(const ResourceDataSyncS3Destination &value)
void SetLastSuccessfulSyncTime(Aws::Utils::DateTime &&value)
const Aws::String & GetLastSyncStatusMessage() const
ResourceDataSyncItem & WithSyncType(const Aws::String &value)
ResourceDataSyncItem & WithLastSyncTime(Aws::Utils::DateTime &&value)
ResourceDataSyncItem & WithSyncSource(ResourceDataSyncSourceWithState &&value)
void SetSyncSource(const ResourceDataSyncSourceWithState &value)
ResourceDataSyncItem & WithSyncType(Aws::String &&value)
void SetLastStatus(const LastResourceDataSyncStatus &value)
const Aws::String & GetSyncType() const
ResourceDataSyncItem & WithLastStatus(const LastResourceDataSyncStatus &value)
ResourceDataSyncItem & WithSyncLastModifiedTime(const Aws::Utils::DateTime &value)
ResourceDataSyncItem & WithSyncLastModifiedTime(Aws::Utils::DateTime &&value)
ResourceDataSyncItem & WithSyncName(Aws::String &&value)
const Aws::Utils::DateTime & GetSyncCreatedTime() const
const ResourceDataSyncSourceWithState & GetSyncSource() const
AWS_SSM_API ResourceDataSyncItem(Aws::Utils::Json::JsonView jsonValue)
ResourceDataSyncItem & WithLastSyncStatusMessage(const char *value)
ResourceDataSyncItem & WithSyncCreatedTime(const Aws::Utils::DateTime &value)
const ResourceDataSyncS3Destination & GetS3Destination() const
void SetSyncLastModifiedTime(Aws::Utils::DateTime &&value)
ResourceDataSyncItem & WithSyncType(const char *value)
ResourceDataSyncItem & WithLastStatus(LastResourceDataSyncStatus &&value)
ResourceDataSyncItem & WithLastSyncStatusMessage(Aws::String &&value)
ResourceDataSyncItem & WithLastSuccessfulSyncTime(const Aws::Utils::DateTime &value)
ResourceDataSyncItem & WithSyncName(const Aws::String &value)
ResourceDataSyncItem & WithLastSuccessfulSyncTime(Aws::Utils::DateTime &&value)
void SetLastSyncTime(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue