AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
LocationState.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/FleetStatus.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
48 {
49 public:
50 AWS_GAMELIFT_API LocationState() = default;
51 AWS_GAMELIFT_API LocationState(Aws::Utils::Json::JsonView jsonValue);
53 AWS_GAMELIFT_API Aws::Utils::Json::JsonValue Jsonize() const;
54
55
57
61 inline const Aws::String& GetLocation() const { return m_location; }
62 inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
63 template<typename LocationT = Aws::String>
64 void SetLocation(LocationT&& value) { m_locationHasBeenSet = true; m_location = std::forward<LocationT>(value); }
65 template<typename LocationT = Aws::String>
66 LocationState& WithLocation(LocationT&& value) { SetLocation(std::forward<LocationT>(value)); return *this;}
68
70
73 inline FleetStatus GetStatus() const { return m_status; }
74 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
75 inline void SetStatus(FleetStatus value) { m_statusHasBeenSet = true; m_status = value; }
76 inline LocationState& WithStatus(FleetStatus value) { SetStatus(value); return *this;}
78 private:
79
80 Aws::String m_location;
81 bool m_locationHasBeenSet = false;
82
84 bool m_statusHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace GameLift
89} // namespace Aws
AWS_GAMELIFT_API LocationState & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLocation(LocationT &&value)
LocationState & WithStatus(FleetStatus value)
AWS_GAMELIFT_API LocationState(Aws::Utils::Json::JsonView jsonValue)
AWS_GAMELIFT_API LocationState()=default
LocationState & WithLocation(LocationT &&value)
void SetStatus(FleetStatus value)
const Aws::String & GetLocation() const
AWS_GAMELIFT_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue