AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EthernetPayload.h
1
6#pragma once
7#include <aws/panorama/Panorama_EXPORTS.h>
8#include <aws/panorama/model/ConnectionType.h>
9#include <aws/panorama/model/StaticIpConnectionInfo.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Panorama
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_PANORAMA_API EthernetPayload();
36 AWS_PANORAMA_API EthernetPayload(Aws::Utils::Json::JsonView jsonValue);
38 AWS_PANORAMA_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const ConnectionType& GetConnectionType() const{ return m_connectionType; }
46 inline bool ConnectionTypeHasBeenSet() const { return m_connectionTypeHasBeenSet; }
47 inline void SetConnectionType(const ConnectionType& value) { m_connectionTypeHasBeenSet = true; m_connectionType = value; }
48 inline void SetConnectionType(ConnectionType&& value) { m_connectionTypeHasBeenSet = true; m_connectionType = std::move(value); }
49 inline EthernetPayload& WithConnectionType(const ConnectionType& value) { SetConnectionType(value); return *this;}
50 inline EthernetPayload& WithConnectionType(ConnectionType&& value) { SetConnectionType(std::move(value)); return *this;}
52
54
57 inline const StaticIpConnectionInfo& GetStaticIpConnectionInfo() const{ return m_staticIpConnectionInfo; }
58 inline bool StaticIpConnectionInfoHasBeenSet() const { return m_staticIpConnectionInfoHasBeenSet; }
59 inline void SetStaticIpConnectionInfo(const StaticIpConnectionInfo& value) { m_staticIpConnectionInfoHasBeenSet = true; m_staticIpConnectionInfo = value; }
60 inline void SetStaticIpConnectionInfo(StaticIpConnectionInfo&& value) { m_staticIpConnectionInfoHasBeenSet = true; m_staticIpConnectionInfo = std::move(value); }
64 private:
65
66 ConnectionType m_connectionType;
67 bool m_connectionTypeHasBeenSet = false;
68
69 StaticIpConnectionInfo m_staticIpConnectionInfo;
70 bool m_staticIpConnectionInfoHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace Panorama
75} // namespace Aws
const ConnectionType & GetConnectionType() const
AWS_PANORAMA_API EthernetPayload(Aws::Utils::Json::JsonView jsonValue)
AWS_PANORAMA_API EthernetPayload & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetStaticIpConnectionInfo(const StaticIpConnectionInfo &value)
const StaticIpConnectionInfo & GetStaticIpConnectionInfo() const
AWS_PANORAMA_API Aws::Utils::Json::JsonValue Jsonize() const
EthernetPayload & WithConnectionType(const ConnectionType &value)
void SetConnectionType(const ConnectionType &value)
void SetConnectionType(ConnectionType &&value)
EthernetPayload & WithStaticIpConnectionInfo(const StaticIpConnectionInfo &value)
void SetStaticIpConnectionInfo(StaticIpConnectionInfo &&value)
EthernetPayload & WithConnectionType(ConnectionType &&value)
EthernetPayload & WithStaticIpConnectionInfo(StaticIpConnectionInfo &&value)
Aws::Utils::Json::JsonValue JsonValue