AWS SDK for C++

AWS SDK for C++ Version 1.11.788

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
42 inline const UDPEndpoint& GetUDPEndpoint() const { return m_uDPEndpoint; }
43 inline bool UDPEndpointHasBeenSet() const { return m_uDPEndpointHasBeenSet; }
44 template <typename UDPEndpointT = UDPEndpoint>
45 void SetUDPEndpoint(UDPEndpointT&& value) {
46 m_uDPEndpointHasBeenSet = true;
47 m_uDPEndpoint = std::forward<UDPEndpointT>(value);
48 }
49 template <typename UDPEndpointT = UDPEndpoint>
50 PingBeacon& WithUDPEndpoint(UDPEndpointT&& value) {
51 SetUDPEndpoint(std::forward<UDPEndpointT>(value));
52 return *this;
53 }
55 private:
56 UDPEndpoint m_uDPEndpoint;
57 bool m_uDPEndpointHasBeenSet = false;
58};
59
60} // namespace Model
61} // namespace GameLift
62} // namespace Aws
AWS_GAMELIFT_API PingBeacon & operator=(Aws::Utils::Json::JsonView jsonValue)
PingBeacon & WithUDPEndpoint(UDPEndpointT &&value)
Definition PingBeacon.h:50
void SetUDPEndpoint(UDPEndpointT &&value)
Definition PingBeacon.h:45
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:42
AWS_GAMELIFT_API PingBeacon()=default
Aws::Utils::Json::JsonValue JsonValue