AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetLocation(const Aws::String& value) { m_locationHasBeenSet = true; m_location = value; }
64 inline void SetLocation(Aws::String&& value) { m_locationHasBeenSet = true; m_location = std::move(value); }
65 inline void SetLocation(const char* value) { m_locationHasBeenSet = true; m_location.assign(value); }
66 inline LocationState& WithLocation(const Aws::String& value) { SetLocation(value); return *this;}
67 inline LocationState& WithLocation(Aws::String&& value) { SetLocation(std::move(value)); return *this;}
68 inline LocationState& WithLocation(const char* value) { SetLocation(value); return *this;}
70
72
75 inline const FleetStatus& GetStatus() const{ return m_status; }
76 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
77 inline void SetStatus(const FleetStatus& value) { m_statusHasBeenSet = true; m_status = value; }
78 inline void SetStatus(FleetStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
79 inline LocationState& WithStatus(const FleetStatus& value) { SetStatus(value); return *this;}
80 inline LocationState& WithStatus(FleetStatus&& value) { SetStatus(std::move(value)); return *this;}
82 private:
83
84 Aws::String m_location;
85 bool m_locationHasBeenSet = false;
86
87 FleetStatus m_status;
88 bool m_statusHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace GameLift
93} // namespace Aws
void SetLocation(const Aws::String &value)
AWS_GAMELIFT_API LocationState & operator=(Aws::Utils::Json::JsonView jsonValue)
const FleetStatus & GetStatus() const
AWS_GAMELIFT_API LocationState(Aws::Utils::Json::JsonView jsonValue)
void SetLocation(const char *value)
LocationState & WithStatus(FleetStatus &&value)
LocationState & WithLocation(const char *value)
void SetStatus(FleetStatus &&value)
void SetLocation(Aws::String &&value)
LocationState & WithLocation(Aws::String &&value)
void SetStatus(const FleetStatus &value)
LocationState & WithStatus(const FleetStatus &value)
LocationState & WithLocation(const Aws::String &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