AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TransitGatewayConnectRequestBgpOptions.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9
10namespace Aws
11{
12namespace Utils
13{
14namespace Xml
15{
16 class XmlNode;
17} // namespace Xml
18} // namespace Utils
19namespace EC2
20{
21namespace Model
22{
23
30 {
31 public:
35
36 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
37 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
38
39
41
44 inline long long GetPeerAsn() const{ return m_peerAsn; }
45 inline bool PeerAsnHasBeenSet() const { return m_peerAsnHasBeenSet; }
46 inline void SetPeerAsn(long long value) { m_peerAsnHasBeenSet = true; m_peerAsn = value; }
47 inline TransitGatewayConnectRequestBgpOptions& WithPeerAsn(long long value) { SetPeerAsn(value); return *this;}
49 private:
50
51 long long m_peerAsn;
52 bool m_peerAsnHasBeenSet = false;
53 };
54
55} // namespace Model
56} // namespace EC2
57} // namespace Aws
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_EC2_API TransitGatewayConnectRequestBgpOptions(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API TransitGatewayConnectRequestBgpOptions & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
TransitGatewayConnectRequestBgpOptions & WithPeerAsn(long long value)
std::basic_ostream< char, std::char_traits< char > > OStream