AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
IpamOperatingRegion.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Xml
17{
18 class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace EC2
22{
23namespace Model
24{
25
37 {
38 public:
39 AWS_EC2_API IpamOperatingRegion();
40 AWS_EC2_API IpamOperatingRegion(const Aws::Utils::Xml::XmlNode& xmlNode);
42
43 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
44 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
45
46
48
51 inline const Aws::String& GetRegionName() const{ return m_regionName; }
52 inline bool RegionNameHasBeenSet() const { return m_regionNameHasBeenSet; }
53 inline void SetRegionName(const Aws::String& value) { m_regionNameHasBeenSet = true; m_regionName = value; }
54 inline void SetRegionName(Aws::String&& value) { m_regionNameHasBeenSet = true; m_regionName = std::move(value); }
55 inline void SetRegionName(const char* value) { m_regionNameHasBeenSet = true; m_regionName.assign(value); }
56 inline IpamOperatingRegion& WithRegionName(const Aws::String& value) { SetRegionName(value); return *this;}
57 inline IpamOperatingRegion& WithRegionName(Aws::String&& value) { SetRegionName(std::move(value)); return *this;}
58 inline IpamOperatingRegion& WithRegionName(const char* value) { SetRegionName(value); return *this;}
60 private:
61
62 Aws::String m_regionName;
63 bool m_regionNameHasBeenSet = false;
64 };
65
66} // namespace Model
67} // namespace EC2
68} // namespace Aws
const Aws::String & GetRegionName() const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetRegionName(Aws::String &&value)
void SetRegionName(const Aws::String &value)
IpamOperatingRegion & WithRegionName(const char *value)
IpamOperatingRegion & WithRegionName(Aws::String &&value)
IpamOperatingRegion & WithRegionName(const Aws::String &value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_EC2_API IpamOperatingRegion & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API IpamOperatingRegion(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream