AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
RouteServerPropagation.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 <aws/ec2/model/RouteServerPropagationState.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Xml
18{
19 class XmlNode;
20} // namespace Xml
21} // namespace Utils
22namespace EC2
23{
24namespace Model
25{
26
36 {
37 public:
38 AWS_EC2_API RouteServerPropagation() = default;
41
42 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
43 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
44
45
47
50 inline const Aws::String& GetRouteServerId() const { return m_routeServerId; }
51 inline bool RouteServerIdHasBeenSet() const { return m_routeServerIdHasBeenSet; }
52 template<typename RouteServerIdT = Aws::String>
53 void SetRouteServerId(RouteServerIdT&& value) { m_routeServerIdHasBeenSet = true; m_routeServerId = std::forward<RouteServerIdT>(value); }
54 template<typename RouteServerIdT = Aws::String>
55 RouteServerPropagation& WithRouteServerId(RouteServerIdT&& value) { SetRouteServerId(std::forward<RouteServerIdT>(value)); return *this;}
57
59
62 inline const Aws::String& GetRouteTableId() const { return m_routeTableId; }
63 inline bool RouteTableIdHasBeenSet() const { return m_routeTableIdHasBeenSet; }
64 template<typename RouteTableIdT = Aws::String>
65 void SetRouteTableId(RouteTableIdT&& value) { m_routeTableIdHasBeenSet = true; m_routeTableId = std::forward<RouteTableIdT>(value); }
66 template<typename RouteTableIdT = Aws::String>
67 RouteServerPropagation& WithRouteTableId(RouteTableIdT&& value) { SetRouteTableId(std::forward<RouteTableIdT>(value)); return *this;}
69
71
74 inline RouteServerPropagationState GetState() const { return m_state; }
75 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
76 inline void SetState(RouteServerPropagationState value) { m_stateHasBeenSet = true; m_state = value; }
79 private:
80
81 Aws::String m_routeServerId;
82 bool m_routeServerIdHasBeenSet = false;
83
84 Aws::String m_routeTableId;
85 bool m_routeTableIdHasBeenSet = false;
86
88 bool m_stateHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace EC2
93} // namespace Aws
AWS_EC2_API RouteServerPropagation & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetRouteServerId(RouteServerIdT &&value)
RouteServerPropagation & WithRouteServerId(RouteServerIdT &&value)
AWS_EC2_API RouteServerPropagation()=default
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
RouteServerPropagation & WithRouteTableId(RouteTableIdT &&value)
RouteServerPropagationState GetState() const
AWS_EC2_API RouteServerPropagation(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetState(RouteServerPropagationState value)
RouteServerPropagation & WithState(RouteServerPropagationState value)
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