AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
PingBeacon.h
1
6#pragma once
7#include <aws/gamelift/GameLift_EXPORTS.h>
8#include <aws/gamelift/model/UDPEndpoint.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace GameLift
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_GAMELIFT_API PingBeacon() = default;
37 AWS_GAMELIFT_API PingBeacon(Aws::Utils::Json::JsonView jsonValue);
38 AWS_GAMELIFT_API PingBeacon& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_GAMELIFT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const UDPEndpoint& GetUDPEndpoint() const { return m_uDPEndpoint; }
47 inline bool UDPEndpointHasBeenSet() const { return m_uDPEndpointHasBeenSet; }
48 template<typename UDPEndpointT = UDPEndpoint>
49 void SetUDPEndpoint(UDPEndpointT&& value) { m_uDPEndpointHasBeenSet = true; m_uDPEndpoint = std::forward<UDPEndpointT>(value); }
50 template<typename UDPEndpointT = UDPEndpoint>
51 PingBeacon& WithUDPEndpoint(UDPEndpointT&& value) { SetUDPEndpoint(std::forward<UDPEndpointT>(value)); return *this;}
53 private:
54
55 UDPEndpoint m_uDPEndpoint;
56 bool m_uDPEndpointHasBeenSet = false;
57 };
58
59} // namespace Model
60} // namespace GameLift
61} // namespace Aws
AWS_GAMELIFT_API PingBeacon & operator=(Aws::Utils::Json::JsonView jsonValue)
PingBeacon & WithUDPEndpoint(UDPEndpointT &&value)
Definition PingBeacon.h:51
void SetUDPEndpoint(UDPEndpointT &&value)
Definition PingBeacon.h:49
AWS_GAMELIFT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GAMELIFT_API PingBeacon(Aws::Utils::Json::JsonView jsonValue)
const UDPEndpoint & GetUDPEndpoint() const
Definition PingBeacon.h:46
AWS_GAMELIFT_API PingBeacon()=default
Aws::Utils::Json::JsonValue JsonValue