AWS SDK for C++

AWS SDK for C++ Version 1.11.938

Loading...
Searching...
No Matches
ProxyIpConfiguration.h
1
6#pragma once
7#include <aws/crt/cbor/Cbor.h>
8#include <aws/elb-proxy/ELBProxy_EXPORTS.h>
9#include <aws/elb-proxy/model/ProxyIpAddressingConfiguration.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 ProxyIpConfiguration() = default;
30 AWS_ELBPROXY_API ProxyIpConfiguration(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
31 AWS_ELBPROXY_API ProxyIpConfiguration& 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 ProxyIpAddressingConfiguration& GetIpAddressingConfiguration() const { return m_ipAddressingConfiguration; }
39 inline bool IpAddressingConfigurationHasBeenSet() const { return m_ipAddressingConfigurationHasBeenSet; }
40 template <typename IpAddressingConfigurationT = ProxyIpAddressingConfiguration>
41 void SetIpAddressingConfiguration(IpAddressingConfigurationT&& value) {
42 m_ipAddressingConfigurationHasBeenSet = true;
43 m_ipAddressingConfiguration = std::forward<IpAddressingConfigurationT>(value);
44 }
45 template <typename IpAddressingConfigurationT = ProxyIpAddressingConfiguration>
46 ProxyIpConfiguration& WithIpAddressingConfiguration(IpAddressingConfigurationT&& value) {
47 SetIpAddressingConfiguration(std::forward<IpAddressingConfigurationT>(value));
48 return *this;
49 }
51 private:
52 ProxyIpAddressingConfiguration m_ipAddressingConfiguration;
53 bool m_ipAddressingConfigurationHasBeenSet = false;
54};
55
56} // namespace Model
57} // namespace ELBProxy
58} // namespace Aws
ProxyIpConfiguration & WithIpAddressingConfiguration(IpAddressingConfigurationT &&value)
AWS_ELBPROXY_API ProxyIpConfiguration(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_ELBPROXY_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
AWS_ELBPROXY_API ProxyIpConfiguration & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
void SetIpAddressingConfiguration(IpAddressingConfigurationT &&value)
AWS_ELBPROXY_API ProxyIpConfiguration()=default
const ProxyIpAddressingConfiguration & GetIpAddressingConfiguration() const