AWS SDK for C++

AWS SDK for C++ Version 1.11.938

Loading...
Searching...
No Matches
ConfigurationArchive.h
1
6#pragma once
7#include <aws/core/utils/Array.h>
8#include <aws/crt/cbor/Cbor.h>
9#include <aws/elb-proxy/ELBProxy_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Cbor {
16class CborValue;
17} // namespace Cbor
18} // namespace Utils
19namespace ELBProxy {
20namespace Model {
21
29 public:
30 AWS_ELBPROXY_API ConfigurationArchive() = default;
31 AWS_ELBPROXY_API ConfigurationArchive(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
32 AWS_ELBPROXY_API ConfigurationArchive& operator=(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
33 AWS_ELBPROXY_API void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder) const;
34
36
39 inline const Aws::Utils::CryptoBuffer& GetConfigurationBytes() const { return m_configurationBytes; }
40 inline bool ConfigurationBytesHasBeenSet() const { return m_configurationBytesHasBeenSet; }
41 template <typename ConfigurationBytesT = Aws::Utils::CryptoBuffer>
42 void SetConfigurationBytes(ConfigurationBytesT&& value) {
43 m_configurationBytesHasBeenSet = true;
44 m_configurationBytes = std::forward<ConfigurationBytesT>(value);
45 }
46 template <typename ConfigurationBytesT = Aws::Utils::CryptoBuffer>
47 ConfigurationArchive& WithConfigurationBytes(ConfigurationBytesT&& value) {
48 SetConfigurationBytes(std::forward<ConfigurationBytesT>(value));
49 return *this;
50 }
52 private:
53 Aws::Utils::CryptoBuffer m_configurationBytes{};
54 bool m_configurationBytesHasBeenSet = false;
55};
56
57} // namespace Model
58} // namespace ELBProxy
59} // namespace Aws
AWS_ELBPROXY_API ConfigurationArchive(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
const Aws::Utils::CryptoBuffer & GetConfigurationBytes() const
AWS_ELBPROXY_API ConfigurationArchive & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
void SetConfigurationBytes(ConfigurationBytesT &&value)
AWS_ELBPROXY_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
AWS_ELBPROXY_API ConfigurationArchive()=default
ConfigurationArchive & WithConfigurationBytes(ConfigurationBytesT &&value)