AWS SDK for C++  1.9.67
AWS SDK for C++
PropagatingVgw.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_EXPORTS.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Xml
17 {
18  class XmlNode;
19 } // namespace Xml
20 } // namespace Utils
21 namespace EC2
22 {
23 namespace Model
24 {
25 
33  {
34  public:
38 
39  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
40  void OutputToStream(Aws::OStream& oStream, const char* location) const;
41 
42 
46  inline const Aws::String& GetGatewayId() const{ return m_gatewayId; }
47 
51  inline bool GatewayIdHasBeenSet() const { return m_gatewayIdHasBeenSet; }
52 
56  inline void SetGatewayId(const Aws::String& value) { m_gatewayIdHasBeenSet = true; m_gatewayId = value; }
57 
61  inline void SetGatewayId(Aws::String&& value) { m_gatewayIdHasBeenSet = true; m_gatewayId = std::move(value); }
62 
66  inline void SetGatewayId(const char* value) { m_gatewayIdHasBeenSet = true; m_gatewayId.assign(value); }
67 
71  inline PropagatingVgw& WithGatewayId(const Aws::String& value) { SetGatewayId(value); return *this;}
72 
76  inline PropagatingVgw& WithGatewayId(Aws::String&& value) { SetGatewayId(std::move(value)); return *this;}
77 
81  inline PropagatingVgw& WithGatewayId(const char* value) { SetGatewayId(value); return *this;}
82 
83  private:
84 
85  Aws::String m_gatewayId;
86  bool m_gatewayIdHasBeenSet;
87  };
88 
89 } // namespace Model
90 } // namespace EC2
91 } // namespace Aws
Aws::EC2::Model::PropagatingVgw::SetGatewayId
void SetGatewayId(const Aws::String &value)
Definition: PropagatingVgw.h:56
Aws::EC2::Model::PropagatingVgw
Definition: PropagatingVgw.h:33
Aws::EC2::Model::PropagatingVgw::GatewayIdHasBeenSet
bool GatewayIdHasBeenSet() const
Definition: PropagatingVgw.h:51
Aws::EC2::Model::PropagatingVgw::PropagatingVgw
PropagatingVgw(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::EC2::Model::PropagatingVgw::GetGatewayId
const Aws::String & GetGatewayId() const
Definition: PropagatingVgw.h:46
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
AWSStreamFwd.h
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::EC2::Model::PropagatingVgw::SetGatewayId
void SetGatewayId(const char *value)
Definition: PropagatingVgw.h:66
Aws::EC2::Model::PropagatingVgw::PropagatingVgw
PropagatingVgw()
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::EC2::Model::PropagatingVgw::WithGatewayId
PropagatingVgw & WithGatewayId(const Aws::String &value)
Definition: PropagatingVgw.h:71
Aws::EC2::Model::PropagatingVgw::WithGatewayId
PropagatingVgw & WithGatewayId(Aws::String &&value)
Definition: PropagatingVgw.h:76
AWSString.h
Aws::EC2::Model::PropagatingVgw::SetGatewayId
void SetGatewayId(Aws::String &&value)
Definition: PropagatingVgw.h:61
Aws::EC2::Model::PropagatingVgw::operator=
PropagatingVgw & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::EC2::Model::PropagatingVgw::WithGatewayId
PropagatingVgw & WithGatewayId(const char *value)
Definition: PropagatingVgw.h:81
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::PropagatingVgw::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::EC2::Model::PropagatingVgw::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
index
int index
Definition: cJSON.h:181
EC2_EXPORTS.h