AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
Ipv4PrefixSpecificationResponse.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
29 public:
30 AWS_EC2_API Ipv4PrefixSpecificationResponse() = default;
33
34 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
35 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
36
38
41 inline const Aws::String& GetIpv4Prefix() const { return m_ipv4Prefix; }
42 inline bool Ipv4PrefixHasBeenSet() const { return m_ipv4PrefixHasBeenSet; }
43 template <typename Ipv4PrefixT = Aws::String>
44 void SetIpv4Prefix(Ipv4PrefixT&& value) {
45 m_ipv4PrefixHasBeenSet = true;
46 m_ipv4Prefix = std::forward<Ipv4PrefixT>(value);
47 }
48 template <typename Ipv4PrefixT = Aws::String>
50 SetIpv4Prefix(std::forward<Ipv4PrefixT>(value));
51 return *this;
52 }
54 private:
55 Aws::String m_ipv4Prefix;
56 bool m_ipv4PrefixHasBeenSet = false;
57};
58
59} // namespace Model
60} // namespace EC2
61} // namespace Aws
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_EC2_API Ipv4PrefixSpecificationResponse & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Ipv4PrefixSpecificationResponse & WithIpv4Prefix(Ipv4PrefixT &&value)
AWS_EC2_API Ipv4PrefixSpecificationResponse(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream