AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
LocationModel.h
1
6#pragma once
7#include <aws/gamelift/GameLift_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/gamelift/model/PingBeacon.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 GameLift
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_GAMELIFT_API LocationModel() = default;
37 AWS_GAMELIFT_API LocationModel(Aws::Utils::Json::JsonView jsonValue);
39 AWS_GAMELIFT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetLocationName() const { return m_locationName; }
47 inline bool LocationNameHasBeenSet() const { return m_locationNameHasBeenSet; }
48 template<typename LocationNameT = Aws::String>
49 void SetLocationName(LocationNameT&& value) { m_locationNameHasBeenSet = true; m_locationName = std::forward<LocationNameT>(value); }
50 template<typename LocationNameT = Aws::String>
51 LocationModel& WithLocationName(LocationNameT&& value) { SetLocationName(std::forward<LocationNameT>(value)); return *this;}
53
55
62 inline const Aws::String& GetLocationArn() const { return m_locationArn; }
63 inline bool LocationArnHasBeenSet() const { return m_locationArnHasBeenSet; }
64 template<typename LocationArnT = Aws::String>
65 void SetLocationArn(LocationArnT&& value) { m_locationArnHasBeenSet = true; m_locationArn = std::forward<LocationArnT>(value); }
66 template<typename LocationArnT = Aws::String>
67 LocationModel& WithLocationArn(LocationArnT&& value) { SetLocationArn(std::forward<LocationArnT>(value)); return *this;}
69
71
74 inline const PingBeacon& GetPingBeacon() const { return m_pingBeacon; }
75 inline bool PingBeaconHasBeenSet() const { return m_pingBeaconHasBeenSet; }
76 template<typename PingBeaconT = PingBeacon>
77 void SetPingBeacon(PingBeaconT&& value) { m_pingBeaconHasBeenSet = true; m_pingBeacon = std::forward<PingBeaconT>(value); }
78 template<typename PingBeaconT = PingBeacon>
79 LocationModel& WithPingBeacon(PingBeaconT&& value) { SetPingBeacon(std::forward<PingBeaconT>(value)); return *this;}
81 private:
82
83 Aws::String m_locationName;
84 bool m_locationNameHasBeenSet = false;
85
86 Aws::String m_locationArn;
87 bool m_locationArnHasBeenSet = false;
88
89 PingBeacon m_pingBeacon;
90 bool m_pingBeaconHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace GameLift
95} // namespace Aws
const PingBeacon & GetPingBeacon() const
AWS_GAMELIFT_API Aws::Utils::Json::JsonValue Jsonize() const
LocationModel & WithLocationName(LocationNameT &&value)
void SetPingBeacon(PingBeaconT &&value)
void SetLocationArn(LocationArnT &&value)
AWS_GAMELIFT_API LocationModel & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetLocationName() const
LocationModel & WithPingBeacon(PingBeaconT &&value)
const Aws::String & GetLocationArn() const
LocationModel & WithLocationArn(LocationArnT &&value)
void SetLocationName(LocationNameT &&value)
AWS_GAMELIFT_API LocationModel()=default
AWS_GAMELIFT_API LocationModel(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue