AWS SDK for C++

AWS SDK for C++ Version 1.11.938

Loading...
Searching...
No Matches
SubnetDetails.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.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 SubnetDetails() = default;
30 AWS_ELBPROXY_API SubnetDetails(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
31 AWS_ELBPROXY_API SubnetDetails& 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::String& GetSubnetId() const { return m_subnetId; }
39 inline bool SubnetIdHasBeenSet() const { return m_subnetIdHasBeenSet; }
40 template <typename SubnetIdT = Aws::String>
41 void SetSubnetId(SubnetIdT&& value) {
42 m_subnetIdHasBeenSet = true;
43 m_subnetId = std::forward<SubnetIdT>(value);
44 }
45 template <typename SubnetIdT = Aws::String>
46 SubnetDetails& WithSubnetId(SubnetIdT&& value) {
47 SetSubnetId(std::forward<SubnetIdT>(value));
48 return *this;
49 }
51 private:
52 Aws::String m_subnetId;
53 bool m_subnetIdHasBeenSet = false;
54};
55
56} // namespace Model
57} // namespace ELBProxy
58} // namespace Aws
AWS_ELBPROXY_API SubnetDetails()=default
void SetSubnetId(SubnetIdT &&value)
AWS_ELBPROXY_API SubnetDetails(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
SubnetDetails & WithSubnetId(SubnetIdT &&value)
AWS_ELBPROXY_API SubnetDetails & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
const Aws::String & GetSubnetId() const
AWS_ELBPROXY_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String