AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ReplicationStatus.h
1
6#pragma once
7#include <aws/gameliftstreams/GameLiftStreams_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/gameliftstreams/model/ReplicationStatusType.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 GameLiftStreams
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_GAMELIFTSTREAMS_API ReplicationStatus() = default;
38 AWS_GAMELIFTSTREAMS_API ReplicationStatus(Aws::Utils::Json::JsonView jsonValue);
39 AWS_GAMELIFTSTREAMS_API ReplicationStatus& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_GAMELIFTSTREAMS_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
51 inline const Aws::String& GetLocation() const { return m_location; }
52 inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
53 template<typename LocationT = Aws::String>
54 void SetLocation(LocationT&& value) { m_locationHasBeenSet = true; m_location = std::forward<LocationT>(value); }
55 template<typename LocationT = Aws::String>
56 ReplicationStatus& WithLocation(LocationT&& value) { SetLocation(std::forward<LocationT>(value)); return *this;}
58
60
63 inline ReplicationStatusType GetStatus() const { return m_status; }
64 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
65 inline void SetStatus(ReplicationStatusType value) { m_statusHasBeenSet = true; m_status = value; }
66 inline ReplicationStatus& WithStatus(ReplicationStatusType value) { SetStatus(value); return *this;}
68 private:
69
70 Aws::String m_location;
71 bool m_locationHasBeenSet = false;
72
74 bool m_statusHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace GameLiftStreams
79} // namespace Aws
AWS_GAMELIFTSTREAMS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GAMELIFTSTREAMS_API ReplicationStatus(Aws::Utils::Json::JsonView jsonValue)
ReplicationStatus & WithStatus(ReplicationStatusType value)
ReplicationStatus & WithLocation(LocationT &&value)
AWS_GAMELIFTSTREAMS_API ReplicationStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GAMELIFTSTREAMS_API ReplicationStatus()=default
void SetStatus(ReplicationStatusType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue