AWS SDK for C++

AWS SDK for C++ Version 1.11.809

Loading...
Searching...
No Matches
DeviceConfiguration.h
1
6#pragma once
7#include <aws/crt/cbor/Cbor.h>
8#include <aws/snowball/Snowball_EXPORTS.h>
9#include <aws/snowball/model/SnowconeDeviceConfiguration.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Cbor {
16class CborValue;
17} // namespace Cbor
18} // namespace Utils
19namespace Snowball {
20namespace Model {
21
29 public:
30 AWS_SNOWBALL_API DeviceConfiguration() = default;
31 AWS_SNOWBALL_API DeviceConfiguration(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
32 AWS_SNOWBALL_API DeviceConfiguration& operator=(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
33 AWS_SNOWBALL_API void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder) const;
34
36
40 inline const SnowconeDeviceConfiguration& GetSnowconeDeviceConfiguration() const { return m_snowconeDeviceConfiguration; }
41 inline bool SnowconeDeviceConfigurationHasBeenSet() const { return m_snowconeDeviceConfigurationHasBeenSet; }
42 template <typename SnowconeDeviceConfigurationT = SnowconeDeviceConfiguration>
43 void SetSnowconeDeviceConfiguration(SnowconeDeviceConfigurationT&& value) {
44 m_snowconeDeviceConfigurationHasBeenSet = true;
45 m_snowconeDeviceConfiguration = std::forward<SnowconeDeviceConfigurationT>(value);
46 }
47 template <typename SnowconeDeviceConfigurationT = SnowconeDeviceConfiguration>
48 DeviceConfiguration& WithSnowconeDeviceConfiguration(SnowconeDeviceConfigurationT&& value) {
49 SetSnowconeDeviceConfiguration(std::forward<SnowconeDeviceConfigurationT>(value));
50 return *this;
51 }
53 private:
54 SnowconeDeviceConfiguration m_snowconeDeviceConfiguration;
55 bool m_snowconeDeviceConfigurationHasBeenSet = false;
56};
57
58} // namespace Model
59} // namespace Snowball
60} // namespace Aws
const SnowconeDeviceConfiguration & GetSnowconeDeviceConfiguration() const
AWS_SNOWBALL_API DeviceConfiguration(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
void SetSnowconeDeviceConfiguration(SnowconeDeviceConfigurationT &&value)
AWS_SNOWBALL_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
AWS_SNOWBALL_API DeviceConfiguration()=default
AWS_SNOWBALL_API DeviceConfiguration & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
DeviceConfiguration & WithSnowconeDeviceConfiguration(SnowconeDeviceConfigurationT &&value)