AWS SDK for C++

AWS SDK for C++ Version 1.11.636

Loading...
Searching...
No Matches
RuntimeEnvironment.h
1
6#pragma once
7#include <aws/gameliftstreams/GameLiftStreams_EXPORTS.h>
8#include <aws/gameliftstreams/model/RuntimeEnvironmentType.h>
9#include <aws/core/utils/memory/stl/AWSString.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
43 {
44 public:
45 AWS_GAMELIFTSTREAMS_API RuntimeEnvironment() = default;
46 AWS_GAMELIFTSTREAMS_API RuntimeEnvironment(Aws::Utils::Json::JsonView jsonValue);
47 AWS_GAMELIFTSTREAMS_API RuntimeEnvironment& operator=(Aws::Utils::Json::JsonView jsonValue);
48 AWS_GAMELIFTSTREAMS_API Aws::Utils::Json::JsonValue Jsonize() const;
49
50
52
56 inline RuntimeEnvironmentType GetType() const { return m_type; }
57 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
58 inline void SetType(RuntimeEnvironmentType value) { m_typeHasBeenSet = true; m_type = value; }
59 inline RuntimeEnvironment& WithType(RuntimeEnvironmentType value) { SetType(value); return *this;}
61
63
66 inline const Aws::String& GetVersion() const { return m_version; }
67 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
68 template<typename VersionT = Aws::String>
69 void SetVersion(VersionT&& value) { m_versionHasBeenSet = true; m_version = std::forward<VersionT>(value); }
70 template<typename VersionT = Aws::String>
71 RuntimeEnvironment& WithVersion(VersionT&& value) { SetVersion(std::forward<VersionT>(value)); return *this;}
73 private:
74
76 bool m_typeHasBeenSet = false;
77
78 Aws::String m_version;
79 bool m_versionHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace GameLiftStreams
84} // namespace Aws
RuntimeEnvironment & WithVersion(VersionT &&value)
RuntimeEnvironment & WithType(RuntimeEnvironmentType value)
AWS_GAMELIFTSTREAMS_API RuntimeEnvironment & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GAMELIFTSTREAMS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetType(RuntimeEnvironmentType value)
AWS_GAMELIFTSTREAMS_API RuntimeEnvironment(Aws::Utils::Json::JsonView jsonValue)
AWS_GAMELIFTSTREAMS_API RuntimeEnvironment()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue