AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
Ipv4PrefixSpecification.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ec2/EC2_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Xml {
16class XmlNode;
17} // namespace Xml
18} // namespace Utils
19namespace EC2 {
20namespace Model {
21
28 public:
29 AWS_EC2_API Ipv4PrefixSpecification() = default;
32
33 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
34 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
35
37
43 inline const Aws::String& GetIpv4Prefix() const { return m_ipv4Prefix; }
44 inline bool Ipv4PrefixHasBeenSet() const { return m_ipv4PrefixHasBeenSet; }
45 template <typename Ipv4PrefixT = Aws::String>
46 void SetIpv4Prefix(Ipv4PrefixT&& value) {
47 m_ipv4PrefixHasBeenSet = true;
48 m_ipv4Prefix = std::forward<Ipv4PrefixT>(value);
49 }
50 template <typename Ipv4PrefixT = Aws::String>
52 SetIpv4Prefix(std::forward<Ipv4PrefixT>(value));
53 return *this;
54 }
56 private:
57 Aws::String m_ipv4Prefix;
58 bool m_ipv4PrefixHasBeenSet = false;
59};
60
61} // namespace Model
62} // namespace EC2
63} // namespace Aws
AWS_EC2_API Ipv4PrefixSpecification(const Aws::Utils::Xml::XmlNode &xmlNode)
Ipv4PrefixSpecification & WithIpv4Prefix(Ipv4PrefixT &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_EC2_API Ipv4PrefixSpecification & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API Ipv4PrefixSpecification()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream