AWS SDK for C++

AWS SDK for C++ Version 1.11.943

Loading...
Searching...
No Matches
OperatingSystem.h
1
6#pragma once
7#include <aws/crt/cbor/Cbor.h>
8#include <aws/workspaces/WorkSpaces_EXPORTS.h>
9#include <aws/workspaces/model/OperatingSystemType.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Cbor {
16class CborValue;
17} // namespace Cbor
18} // namespace Utils
19namespace WorkSpaces {
20namespace Model {
21
28 public:
29 AWS_WORKSPACES_API OperatingSystem() = default;
30 AWS_WORKSPACES_API OperatingSystem(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
31 AWS_WORKSPACES_API OperatingSystem& operator=(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
32 AWS_WORKSPACES_API void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder) const;
33
35
38 inline OperatingSystemType GetType() const { return m_type; }
39 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
40 inline void SetType(OperatingSystemType value) {
41 m_typeHasBeenSet = true;
42 m_type = value;
43 }
45 SetType(value);
46 return *this;
47 }
49 private:
51 bool m_typeHasBeenSet = false;
52};
53
54} // namespace Model
55} // namespace WorkSpaces
56} // namespace Aws
AWS_WORKSPACES_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
OperatingSystemType GetType() const
AWS_WORKSPACES_API OperatingSystem(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_WORKSPACES_API OperatingSystem & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_WORKSPACES_API OperatingSystem()=default
void SetType(OperatingSystemType value)
OperatingSystem & WithType(OperatingSystemType value)