AWS SDK for C++

AWS SDK for C++ Version 1.11.751

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
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace GameLift {
21namespace Model {
22
30 public:
31 AWS_GAMELIFT_API ContainerFleetLocationAttributes() = default;
34 AWS_GAMELIFT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetLocation() const { return m_location; }
41 inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
42 template <typename LocationT = Aws::String>
43 void SetLocation(LocationT&& value) {
44 m_locationHasBeenSet = true;
45 m_location = std::forward<LocationT>(value);
46 }
47 template <typename LocationT = Aws::String>
49 SetLocation(std::forward<LocationT>(value));
50 return *this;
51 }
53
55
67 inline ContainerFleetLocationStatus GetStatus() const { return m_status; }
68 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
70 m_statusHasBeenSet = true;
71 m_status = value;
72 }
74 SetStatus(value);
75 return *this;
76 }
78 private:
79 Aws::String m_location;
80
82 bool m_locationHasBeenSet = false;
83 bool m_statusHasBeenSet = false;
84};
85
86} // namespace Model
87} // namespace GameLift
88} // 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