AWS SDK for C++

AWS SDK for C++ Version 1.11.685

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
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace GameLift {
20namespace Model {
21
30 public:
31 AWS_GAMELIFT_API PingBeacon() = default;
32 AWS_GAMELIFT_API PingBeacon(Aws::Utils::Json::JsonView jsonValue);
33 AWS_GAMELIFT_API PingBeacon& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_GAMELIFT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const UDPEndpoint& GetUDPEndpoint() const { return m_uDPEndpoint; }
41 inline bool UDPEndpointHasBeenSet() const { return m_uDPEndpointHasBeenSet; }
42 template <typename UDPEndpointT = UDPEndpoint>
43 void SetUDPEndpoint(UDPEndpointT&& value) {
44 m_uDPEndpointHasBeenSet = true;
45 m_uDPEndpoint = std::forward<UDPEndpointT>(value);
46 }
47 template <typename UDPEndpointT = UDPEndpoint>
48 PingBeacon& WithUDPEndpoint(UDPEndpointT&& value) {
49 SetUDPEndpoint(std::forward<UDPEndpointT>(value));
50 return *this;
51 }
53 private:
54 UDPEndpoint m_uDPEndpoint;
55 bool m_uDPEndpointHasBeenSet = false;
56};
57
58} // namespace Model
59} // namespace GameLift
60} // namespace Aws
AWS_GAMELIFT_API PingBeacon & operator=(Aws::Utils::Json::JsonView jsonValue)
PingBeacon & WithUDPEndpoint(UDPEndpointT &&value)
Definition PingBeacon.h:48
void SetUDPEndpoint(UDPEndpointT &&value)
Definition PingBeacon.h:43
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:40
AWS_GAMELIFT_API PingBeacon()=default
Aws::Utils::Json::JsonValue JsonValue