AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AddIpamOperatingRegion.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
38 {
39 public:
43
44 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
45 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
46
47
49
52 inline const Aws::String& GetRegionName() const{ return m_regionName; }
53 inline bool RegionNameHasBeenSet() const { return m_regionNameHasBeenSet; }
54 inline void SetRegionName(const Aws::String& value) { m_regionNameHasBeenSet = true; m_regionName = value; }
55 inline void SetRegionName(Aws::String&& value) { m_regionNameHasBeenSet = true; m_regionName = std::move(value); }
56 inline void SetRegionName(const char* value) { m_regionNameHasBeenSet = true; m_regionName.assign(value); }
57 inline AddIpamOperatingRegion& WithRegionName(const Aws::String& value) { SetRegionName(value); return *this;}
58 inline AddIpamOperatingRegion& WithRegionName(Aws::String&& value) { SetRegionName(std::move(value)); return *this;}
59 inline AddIpamOperatingRegion& WithRegionName(const char* value) { SetRegionName(value); return *this;}
61 private:
62
63 Aws::String m_regionName;
64 bool m_regionNameHasBeenSet = false;
65 };
66
67} // namespace Model
68} // namespace EC2
69} // namespace Aws
AddIpamOperatingRegion & WithRegionName(const Aws::String &value)
void SetRegionName(const Aws::String &value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AddIpamOperatingRegion & WithRegionName(const char *value)
AddIpamOperatingRegion & WithRegionName(Aws::String &&value)
AWS_EC2_API AddIpamOperatingRegion(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API AddIpamOperatingRegion & operator=(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