AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ContainerFleetLocationAttributes.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/ContainerFleetLocationStatus.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 ContainerFleetLocationAttributes() = default;
39 AWS_GAMELIFT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetLocation() const { return m_location; }
47 inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
48 template<typename LocationT = Aws::String>
49 void SetLocation(LocationT&& value) { m_locationHasBeenSet = true; m_location = std::forward<LocationT>(value); }
50 template<typename LocationT = Aws::String>
51 ContainerFleetLocationAttributes& WithLocation(LocationT&& value) { SetLocation(std::forward<LocationT>(value)); return *this;}
53
55
67 inline ContainerFleetLocationStatus GetStatus() const { return m_status; }
68 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
69 inline void SetStatus(ContainerFleetLocationStatus value) { m_statusHasBeenSet = true; m_status = value; }
72 private:
73
74 Aws::String m_location;
75 bool m_locationHasBeenSet = false;
76
78 bool m_statusHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace GameLift
83} // namespace Aws
AWS_GAMELIFT_API ContainerFleetLocationAttributes()=default
ContainerFleetLocationAttributes & WithLocation(LocationT &&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