AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AccountLevelBpaSync.h
1
6#pragma once
7#include <aws/lightsail/Lightsail_EXPORTS.h>
8#include <aws/lightsail/model/AccountLevelBpaSyncStatus.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/lightsail/model/BPAStatusMessage.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 Lightsail
24{
25namespace Model
26{
27
49 {
50 public:
51 AWS_LIGHTSAIL_API AccountLevelBpaSync();
52 AWS_LIGHTSAIL_API AccountLevelBpaSync(Aws::Utils::Json::JsonView jsonValue);
54 AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const;
55
56
58
73 inline const AccountLevelBpaSyncStatus& GetStatus() const{ return m_status; }
74 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
75 inline void SetStatus(const AccountLevelBpaSyncStatus& value) { m_statusHasBeenSet = true; m_status = value; }
76 inline void SetStatus(AccountLevelBpaSyncStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
77 inline AccountLevelBpaSync& WithStatus(const AccountLevelBpaSyncStatus& value) { SetStatus(value); return *this;}
78 inline AccountLevelBpaSync& WithStatus(AccountLevelBpaSyncStatus&& value) { SetStatus(std::move(value)); return *this;}
80
82
87 inline const Aws::Utils::DateTime& GetLastSyncedAt() const{ return m_lastSyncedAt; }
88 inline bool LastSyncedAtHasBeenSet() const { return m_lastSyncedAtHasBeenSet; }
89 inline void SetLastSyncedAt(const Aws::Utils::DateTime& value) { m_lastSyncedAtHasBeenSet = true; m_lastSyncedAt = value; }
90 inline void SetLastSyncedAt(Aws::Utils::DateTime&& value) { m_lastSyncedAtHasBeenSet = true; m_lastSyncedAt = std::move(value); }
91 inline AccountLevelBpaSync& WithLastSyncedAt(const Aws::Utils::DateTime& value) { SetLastSyncedAt(value); return *this;}
92 inline AccountLevelBpaSync& WithLastSyncedAt(Aws::Utils::DateTime&& value) { SetLastSyncedAt(std::move(value)); return *this;}
94
96
125 inline const BPAStatusMessage& GetMessage() const{ return m_message; }
126 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
127 inline void SetMessage(const BPAStatusMessage& value) { m_messageHasBeenSet = true; m_message = value; }
128 inline void SetMessage(BPAStatusMessage&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
129 inline AccountLevelBpaSync& WithMessage(const BPAStatusMessage& value) { SetMessage(value); return *this;}
130 inline AccountLevelBpaSync& WithMessage(BPAStatusMessage&& value) { SetMessage(std::move(value)); return *this;}
132
134
138 inline bool GetBpaImpactsLightsail() const{ return m_bpaImpactsLightsail; }
139 inline bool BpaImpactsLightsailHasBeenSet() const { return m_bpaImpactsLightsailHasBeenSet; }
140 inline void SetBpaImpactsLightsail(bool value) { m_bpaImpactsLightsailHasBeenSet = true; m_bpaImpactsLightsail = value; }
141 inline AccountLevelBpaSync& WithBpaImpactsLightsail(bool value) { SetBpaImpactsLightsail(value); return *this;}
143 private:
144
146 bool m_statusHasBeenSet = false;
147
148 Aws::Utils::DateTime m_lastSyncedAt;
149 bool m_lastSyncedAtHasBeenSet = false;
150
151 BPAStatusMessage m_message;
152 bool m_messageHasBeenSet = false;
153
154 bool m_bpaImpactsLightsail;
155 bool m_bpaImpactsLightsailHasBeenSet = false;
156 };
157
158} // namespace Model
159} // namespace Lightsail
160} // namespace Aws
void SetLastSyncedAt(const Aws::Utils::DateTime &value)
void SetLastSyncedAt(Aws::Utils::DateTime &&value)
AccountLevelBpaSync & WithBpaImpactsLightsail(bool value)
void SetStatus(AccountLevelBpaSyncStatus &&value)
AccountLevelBpaSync & WithStatus(AccountLevelBpaSyncStatus &&value)
AccountLevelBpaSync & WithMessage(BPAStatusMessage &&value)
AWS_LIGHTSAIL_API AccountLevelBpaSync & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetMessage(const BPAStatusMessage &value)
const BPAStatusMessage & GetMessage() const
AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const
AccountLevelBpaSync & WithLastSyncedAt(Aws::Utils::DateTime &&value)
AccountLevelBpaSync & WithMessage(const BPAStatusMessage &value)
AccountLevelBpaSync & WithLastSyncedAt(const Aws::Utils::DateTime &value)
AWS_LIGHTSAIL_API AccountLevelBpaSync(Aws::Utils::Json::JsonView jsonValue)
AccountLevelBpaSync & WithStatus(const AccountLevelBpaSyncStatus &value)
const Aws::Utils::DateTime & GetLastSyncedAt() const
const AccountLevelBpaSyncStatus & GetStatus() const
void SetStatus(const AccountLevelBpaSyncStatus &value)
Aws::Utils::Json::JsonValue JsonValue