AWS SDK for C++

AWS SDK for C++ Version 1.11.816

Loading...
Searching...
No Matches
PlayerGatewayConfiguration.h
1
6#pragma once
7#include <aws/crt/cbor/Cbor.h>
8#include <aws/gamelift/GameLift_EXPORTS.h>
9#include <aws/gamelift/model/GameServerIpProtocolSupported.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Cbor {
16class CborValue;
17} // namespace Cbor
18} // namespace Utils
19namespace GameLift {
20namespace Model {
21
30 public:
31 AWS_GAMELIFT_API PlayerGatewayConfiguration() = default;
32 AWS_GAMELIFT_API PlayerGatewayConfiguration(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
33 AWS_GAMELIFT_API PlayerGatewayConfiguration& operator=(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
34 AWS_GAMELIFT_API void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder) const;
35
37
46 inline GameServerIpProtocolSupported GetGameServerIpProtocolSupported() const { return m_gameServerIpProtocolSupported; }
47 inline bool GameServerIpProtocolSupportedHasBeenSet() const { return m_gameServerIpProtocolSupportedHasBeenSet; }
49 m_gameServerIpProtocolSupportedHasBeenSet = true;
50 m_gameServerIpProtocolSupported = value;
51 }
54 return *this;
55 }
57 private:
59 bool m_gameServerIpProtocolSupportedHasBeenSet = false;
60};
61
62} // namespace Model
63} // namespace GameLift
64} // namespace Aws
AWS_GAMELIFT_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
void SetGameServerIpProtocolSupported(GameServerIpProtocolSupported value)
AWS_GAMELIFT_API PlayerGatewayConfiguration()=default
GameServerIpProtocolSupported GetGameServerIpProtocolSupported() const
PlayerGatewayConfiguration & WithGameServerIpProtocolSupported(GameServerIpProtocolSupported value)
AWS_GAMELIFT_API PlayerGatewayConfiguration(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_GAMELIFT_API PlayerGatewayConfiguration & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)