AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
ContainerFleetLocationAttributes.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/gamelift/GameLift_EXPORTS.h>
9#include <aws/gamelift/model/ContainerFleetLocationStatus.h>
10#include <aws/gamelift/model/PlayerGatewayStatus.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace GameLift {
22namespace Model {
23
31 public:
32 AWS_GAMELIFT_API ContainerFleetLocationAttributes() = default;
35 AWS_GAMELIFT_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetLocation() const { return m_location; }
42 inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
43 template <typename LocationT = Aws::String>
44 void SetLocation(LocationT&& value) {
45 m_locationHasBeenSet = true;
46 m_location = std::forward<LocationT>(value);
47 }
48 template <typename LocationT = Aws::String>
50 SetLocation(std::forward<LocationT>(value));
51 return *this;
52 }
54
56
68 inline ContainerFleetLocationStatus GetStatus() const { return m_status; }
69 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
71 m_statusHasBeenSet = true;
72 m_status = value;
73 }
75 SetStatus(value);
76 return *this;
77 }
79
81
93 inline PlayerGatewayStatus GetPlayerGatewayStatus() const { return m_playerGatewayStatus; }
94 inline bool PlayerGatewayStatusHasBeenSet() const { return m_playerGatewayStatusHasBeenSet; }
96 m_playerGatewayStatusHasBeenSet = true;
97 m_playerGatewayStatus = value;
98 }
101 return *this;
102 }
104 private:
105 Aws::String m_location;
106
108
110 bool m_locationHasBeenSet = false;
111 bool m_statusHasBeenSet = false;
112 bool m_playerGatewayStatusHasBeenSet = false;
113};
114
115} // namespace Model
116} // namespace GameLift
117} // namespace Aws
AWS_GAMELIFT_API ContainerFleetLocationAttributes()=default
ContainerFleetLocationAttributes & WithLocation(LocationT &&value)
ContainerFleetLocationAttributes & WithPlayerGatewayStatus(PlayerGatewayStatus value)
AWS_GAMELIFT_API ContainerFleetLocationAttributes(Aws::Utils::Json::JsonView jsonValue)
AWS_GAMELIFT_API Aws::Utils::Json::JsonValue Jsonize() const
ContainerFleetLocationAttributes & WithStatus(ContainerFleetLocationStatus value)
AWS_GAMELIFT_API ContainerFleetLocationAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue