AWS SDK for C++

AWS SDK for C++ Version 1.11.938

Loading...
Searching...
No Matches
ConfigurationFile.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
28 public:
29 AWS_ELBPROXY_API ConfigurationFile() = default;
30 AWS_ELBPROXY_API ConfigurationFile(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
31 AWS_ELBPROXY_API ConfigurationFile& operator=(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
32 AWS_ELBPROXY_API void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder) const;
33
35
38 inline const Aws::Utils::CryptoBuffer& GetConfigurationBytes() const { return m_configurationBytes; }
39 inline bool ConfigurationBytesHasBeenSet() const { return m_configurationBytesHasBeenSet; }
40 template <typename ConfigurationBytesT = Aws::Utils::CryptoBuffer>
41 void SetConfigurationBytes(ConfigurationBytesT&& value) {
42 m_configurationBytesHasBeenSet = true;
43 m_configurationBytes = std::forward<ConfigurationBytesT>(value);
44 }
45 template <typename ConfigurationBytesT = Aws::Utils::CryptoBuffer>
46 ConfigurationFile& WithConfigurationBytes(ConfigurationBytesT&& value) {
47 SetConfigurationBytes(std::forward<ConfigurationBytesT>(value));
48 return *this;
49 }
51 private:
52 Aws::Utils::CryptoBuffer m_configurationBytes{};
53 bool m_configurationBytesHasBeenSet = false;
54};
55
56} // namespace Model
57} // namespace ELBProxy
58} // namespace Aws
const Aws::Utils::CryptoBuffer & GetConfigurationBytes() const
void SetConfigurationBytes(ConfigurationBytesT &&value)
AWS_ELBPROXY_API ConfigurationFile(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
ConfigurationFile & WithConfigurationBytes(ConfigurationBytesT &&value)
AWS_ELBPROXY_API ConfigurationFile & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_ELBPROXY_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
AWS_ELBPROXY_API ConfigurationFile()=default