AWS SDK for C++

AWS SDK for C++ Version 1.11.944

Loading...
Searching...
No Matches
InstanceMaintenanceOptionsRequest.h
1
6#pragma once
7#include <aws/crt/cbor/Cbor.h>
8#include <aws/workspaces-instances/WorkspacesInstances_EXPORTS.h>
9#include <aws/workspaces-instances/model/AutoRecoveryEnum.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Cbor {
16class CborValue;
17} // namespace Cbor
18} // namespace Utils
19namespace WorkspacesInstances {
20namespace Model {
21
29 public:
30 AWS_WORKSPACESINSTANCES_API InstanceMaintenanceOptionsRequest() = default;
31 AWS_WORKSPACESINSTANCES_API InstanceMaintenanceOptionsRequest(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
32 AWS_WORKSPACESINSTANCES_API InstanceMaintenanceOptionsRequest& operator=(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
33 AWS_WORKSPACESINSTANCES_API void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder) const;
34
36
39 inline AutoRecoveryEnum GetAutoRecovery() const { return m_autoRecovery; }
40 inline bool AutoRecoveryHasBeenSet() const { return m_autoRecoveryHasBeenSet; }
41 inline void SetAutoRecovery(AutoRecoveryEnum value) {
42 m_autoRecoveryHasBeenSet = true;
43 m_autoRecovery = value;
44 }
50 private:
52 bool m_autoRecoveryHasBeenSet = false;
53};
54
55} // namespace Model
56} // namespace WorkspacesInstances
57} // namespace Aws
AWS_WORKSPACESINSTANCES_API InstanceMaintenanceOptionsRequest & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
InstanceMaintenanceOptionsRequest & WithAutoRecovery(AutoRecoveryEnum value)
AWS_WORKSPACESINSTANCES_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
AWS_WORKSPACESINSTANCES_API InstanceMaintenanceOptionsRequest(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_WORKSPACESINSTANCES_API InstanceMaintenanceOptionsRequest()=default