AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
LastSync.h
1
6#pragma once
7#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/servicecatalog/model/LastSyncStatus.h>
10#include <aws/core/utils/memory/stl/AWSString.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 ServiceCatalog
24{
25namespace Model
26{
27
40 {
41 public:
42 AWS_SERVICECATALOG_API LastSync();
43 AWS_SERVICECATALOG_API LastSync(Aws::Utils::Json::JsonView jsonValue);
44 AWS_SERVICECATALOG_API LastSync& operator=(Aws::Utils::Json::JsonView jsonValue);
45 AWS_SERVICECATALOG_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
53 inline const Aws::Utils::DateTime& GetLastSyncTime() const{ return m_lastSyncTime; }
54 inline bool LastSyncTimeHasBeenSet() const { return m_lastSyncTimeHasBeenSet; }
55 inline void SetLastSyncTime(const Aws::Utils::DateTime& value) { m_lastSyncTimeHasBeenSet = true; m_lastSyncTime = value; }
56 inline void SetLastSyncTime(Aws::Utils::DateTime&& value) { m_lastSyncTimeHasBeenSet = true; m_lastSyncTime = std::move(value); }
57 inline LastSync& WithLastSyncTime(const Aws::Utils::DateTime& value) { SetLastSyncTime(value); return *this;}
58 inline LastSync& WithLastSyncTime(Aws::Utils::DateTime&& value) { SetLastSyncTime(std::move(value)); return *this;}
60
62
66 inline const LastSyncStatus& GetLastSyncStatus() const{ return m_lastSyncStatus; }
67 inline bool LastSyncStatusHasBeenSet() const { return m_lastSyncStatusHasBeenSet; }
68 inline void SetLastSyncStatus(const LastSyncStatus& value) { m_lastSyncStatusHasBeenSet = true; m_lastSyncStatus = value; }
69 inline void SetLastSyncStatus(LastSyncStatus&& value) { m_lastSyncStatusHasBeenSet = true; m_lastSyncStatus = std::move(value); }
70 inline LastSync& WithLastSyncStatus(const LastSyncStatus& value) { SetLastSyncStatus(value); return *this;}
71 inline LastSync& WithLastSyncStatus(LastSyncStatus&& value) { SetLastSyncStatus(std::move(value)); return *this;}
73
75
78 inline const Aws::String& GetLastSyncStatusMessage() const{ return m_lastSyncStatusMessage; }
79 inline bool LastSyncStatusMessageHasBeenSet() const { return m_lastSyncStatusMessageHasBeenSet; }
80 inline void SetLastSyncStatusMessage(const Aws::String& value) { m_lastSyncStatusMessageHasBeenSet = true; m_lastSyncStatusMessage = value; }
81 inline void SetLastSyncStatusMessage(Aws::String&& value) { m_lastSyncStatusMessageHasBeenSet = true; m_lastSyncStatusMessage = std::move(value); }
82 inline void SetLastSyncStatusMessage(const char* value) { m_lastSyncStatusMessageHasBeenSet = true; m_lastSyncStatusMessage.assign(value); }
83 inline LastSync& WithLastSyncStatusMessage(const Aws::String& value) { SetLastSyncStatusMessage(value); return *this;}
84 inline LastSync& WithLastSyncStatusMessage(Aws::String&& value) { SetLastSyncStatusMessage(std::move(value)); return *this;}
85 inline LastSync& WithLastSyncStatusMessage(const char* value) { SetLastSyncStatusMessage(value); return *this;}
87
89
93 inline const Aws::Utils::DateTime& GetLastSuccessfulSyncTime() const{ return m_lastSuccessfulSyncTime; }
94 inline bool LastSuccessfulSyncTimeHasBeenSet() const { return m_lastSuccessfulSyncTimeHasBeenSet; }
95 inline void SetLastSuccessfulSyncTime(const Aws::Utils::DateTime& value) { m_lastSuccessfulSyncTimeHasBeenSet = true; m_lastSuccessfulSyncTime = value; }
96 inline void SetLastSuccessfulSyncTime(Aws::Utils::DateTime&& value) { m_lastSuccessfulSyncTimeHasBeenSet = true; m_lastSuccessfulSyncTime = std::move(value); }
98 inline LastSync& WithLastSuccessfulSyncTime(Aws::Utils::DateTime&& value) { SetLastSuccessfulSyncTime(std::move(value)); return *this;}
100
102
106 inline const Aws::String& GetLastSuccessfulSyncProvisioningArtifactId() const{ return m_lastSuccessfulSyncProvisioningArtifactId; }
107 inline bool LastSuccessfulSyncProvisioningArtifactIdHasBeenSet() const { return m_lastSuccessfulSyncProvisioningArtifactIdHasBeenSet; }
108 inline void SetLastSuccessfulSyncProvisioningArtifactId(const Aws::String& value) { m_lastSuccessfulSyncProvisioningArtifactIdHasBeenSet = true; m_lastSuccessfulSyncProvisioningArtifactId = value; }
109 inline void SetLastSuccessfulSyncProvisioningArtifactId(Aws::String&& value) { m_lastSuccessfulSyncProvisioningArtifactIdHasBeenSet = true; m_lastSuccessfulSyncProvisioningArtifactId = std::move(value); }
110 inline void SetLastSuccessfulSyncProvisioningArtifactId(const char* value) { m_lastSuccessfulSyncProvisioningArtifactIdHasBeenSet = true; m_lastSuccessfulSyncProvisioningArtifactId.assign(value); }
115 private:
116
117 Aws::Utils::DateTime m_lastSyncTime;
118 bool m_lastSyncTimeHasBeenSet = false;
119
120 LastSyncStatus m_lastSyncStatus;
121 bool m_lastSyncStatusHasBeenSet = false;
122
123 Aws::String m_lastSyncStatusMessage;
124 bool m_lastSyncStatusMessageHasBeenSet = false;
125
126 Aws::Utils::DateTime m_lastSuccessfulSyncTime;
127 bool m_lastSuccessfulSyncTimeHasBeenSet = false;
128
129 Aws::String m_lastSuccessfulSyncProvisioningArtifactId;
130 bool m_lastSuccessfulSyncProvisioningArtifactIdHasBeenSet = false;
131 };
132
133} // namespace Model
134} // namespace ServiceCatalog
135} // namespace Aws
void SetLastSuccessfulSyncProvisioningArtifactId(Aws::String &&value)
Definition LastSync.h:109
const Aws::String & GetLastSyncStatusMessage() const
Definition LastSync.h:78
void SetLastSyncStatusMessage(const char *value)
Definition LastSync.h:82
LastSync & WithLastSyncStatusMessage(const char *value)
Definition LastSync.h:85
AWS_SERVICECATALOG_API LastSync()
void SetLastSyncStatusMessage(Aws::String &&value)
Definition LastSync.h:81
LastSync & WithLastSuccessfulSyncProvisioningArtifactId(const char *value)
Definition LastSync.h:113
void SetLastSyncStatus(const LastSyncStatus &value)
Definition LastSync.h:68
LastSync & WithLastSyncTime(const Aws::Utils::DateTime &value)
Definition LastSync.h:57
void SetLastSyncTime(const Aws::Utils::DateTime &value)
Definition LastSync.h:55
const LastSyncStatus & GetLastSyncStatus() const
Definition LastSync.h:66
void SetLastSuccessfulSyncTime(Aws::Utils::DateTime &&value)
Definition LastSync.h:96
void SetLastSyncTime(Aws::Utils::DateTime &&value)
Definition LastSync.h:56
LastSync & WithLastSyncStatus(const LastSyncStatus &value)
Definition LastSync.h:70
void SetLastSyncStatusMessage(const Aws::String &value)
Definition LastSync.h:80
LastSync & WithLastSuccessfulSyncProvisioningArtifactId(const Aws::String &value)
Definition LastSync.h:111
bool LastSuccessfulSyncTimeHasBeenSet() const
Definition LastSync.h:94
LastSync & WithLastSyncStatus(LastSyncStatus &&value)
Definition LastSync.h:71
void SetLastSyncStatus(LastSyncStatus &&value)
Definition LastSync.h:69
bool LastSyncStatusMessageHasBeenSet() const
Definition LastSync.h:79
void SetLastSuccessfulSyncProvisioningArtifactId(const Aws::String &value)
Definition LastSync.h:108
LastSync & WithLastSyncTime(Aws::Utils::DateTime &&value)
Definition LastSync.h:58
AWS_SERVICECATALOG_API LastSync(Aws::Utils::Json::JsonView jsonValue)
LastSync & WithLastSyncStatusMessage(const Aws::String &value)
Definition LastSync.h:83
const Aws::Utils::DateTime & GetLastSyncTime() const
Definition LastSync.h:53
void SetLastSuccessfulSyncProvisioningArtifactId(const char *value)
Definition LastSync.h:110
LastSync & WithLastSyncStatusMessage(Aws::String &&value)
Definition LastSync.h:84
AWS_SERVICECATALOG_API LastSync & operator=(Aws::Utils::Json::JsonView jsonValue)
bool LastSuccessfulSyncProvisioningArtifactIdHasBeenSet() const
Definition LastSync.h:107
void SetLastSuccessfulSyncTime(const Aws::Utils::DateTime &value)
Definition LastSync.h:95
LastSync & WithLastSuccessfulSyncProvisioningArtifactId(Aws::String &&value)
Definition LastSync.h:112
LastSync & WithLastSuccessfulSyncTime(const Aws::Utils::DateTime &value)
Definition LastSync.h:97
const Aws::Utils::DateTime & GetLastSuccessfulSyncTime() const
Definition LastSync.h:93
AWS_SERVICECATALOG_API Aws::Utils::Json::JsonValue Jsonize() const
LastSync & WithLastSuccessfulSyncTime(Aws::Utils::DateTime &&value)
Definition LastSync.h:98
const Aws::String & GetLastSuccessfulSyncProvisioningArtifactId() const
Definition LastSync.h:106
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue