AWS SDK for C++

AWS SDK for C++ Version 1.11.944

Loading...
Searching...
No Matches
EnclaveOptionsRequest.h
1
6#pragma once
7#include <aws/crt/cbor/Cbor.h>
8#include <aws/workspaces-instances/WorkspacesInstances_EXPORTS.h>
9
10namespace Aws {
11namespace Utils {
12namespace Cbor {
13class CborValue;
14} // namespace Cbor
15} // namespace Utils
16namespace WorkspacesInstances {
17namespace Model {
18
26 public:
27 AWS_WORKSPACESINSTANCES_API EnclaveOptionsRequest() = default;
28 AWS_WORKSPACESINSTANCES_API EnclaveOptionsRequest(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
29 AWS_WORKSPACESINSTANCES_API EnclaveOptionsRequest& operator=(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
30 AWS_WORKSPACESINSTANCES_API void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder) const;
31
33
36 inline bool GetEnabled() const { return m_enabled; }
37 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
38 inline void SetEnabled(bool value) {
39 m_enabledHasBeenSet = true;
40 m_enabled = value;
41 }
42 inline EnclaveOptionsRequest& WithEnabled(bool value) {
43 SetEnabled(value);
44 return *this;
45 }
47 private:
48 bool m_enabled{false};
49 bool m_enabledHasBeenSet = false;
50};
51
52} // namespace Model
53} // namespace WorkspacesInstances
54} // namespace Aws
AWS_WORKSPACESINSTANCES_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
AWS_WORKSPACESINSTANCES_API EnclaveOptionsRequest()=default
AWS_WORKSPACESINSTANCES_API EnclaveOptionsRequest(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_WORKSPACESINSTANCES_API EnclaveOptionsRequest & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)