AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
Ipv4PrefixSpecificationRequest.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 Ipv4PrefixSpecificationRequest() = 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
44 inline const Aws::String& GetIpv4Prefix() const { return m_ipv4Prefix; }
45 inline bool Ipv4PrefixHasBeenSet() const { return m_ipv4PrefixHasBeenSet; }
46 template <typename Ipv4PrefixT = Aws::String>
47 void SetIpv4Prefix(Ipv4PrefixT&& value) {
48 m_ipv4PrefixHasBeenSet = true;
49 m_ipv4Prefix = std::forward<Ipv4PrefixT>(value);
50 }
51 template <typename Ipv4PrefixT = Aws::String>
53 SetIpv4Prefix(std::forward<Ipv4PrefixT>(value));
54 return *this;
55 }
57 private:
58 Aws::String m_ipv4Prefix;
59 bool m_ipv4PrefixHasBeenSet = false;
60};
61
62} // namespace Model
63} // namespace EC2
64} // namespace Aws
AWS_EC2_API Ipv4PrefixSpecificationRequest(const Aws::Utils::Xml::XmlNode &xmlNode)
Ipv4PrefixSpecificationRequest & WithIpv4Prefix(Ipv4PrefixT &&value)
AWS_EC2_API Ipv4PrefixSpecificationRequest & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
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
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream