AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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
42 {
43 public:
44 AWS_GAMELIFTSTREAMS_API RuntimeEnvironment() = default;
45 AWS_GAMELIFTSTREAMS_API RuntimeEnvironment(Aws::Utils::Json::JsonView jsonValue);
46 AWS_GAMELIFTSTREAMS_API RuntimeEnvironment& operator=(Aws::Utils::Json::JsonView jsonValue);
47 AWS_GAMELIFTSTREAMS_API Aws::Utils::Json::JsonValue Jsonize() const;
48
49
51
55 inline RuntimeEnvironmentType GetType() const { return m_type; }
56 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
57 inline void SetType(RuntimeEnvironmentType value) { m_typeHasBeenSet = true; m_type = value; }
58 inline RuntimeEnvironment& WithType(RuntimeEnvironmentType value) { SetType(value); return *this;}
60
62
65 inline const Aws::String& GetVersion() const { return m_version; }
66 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
67 template<typename VersionT = Aws::String>
68 void SetVersion(VersionT&& value) { m_versionHasBeenSet = true; m_version = std::forward<VersionT>(value); }
69 template<typename VersionT = Aws::String>
70 RuntimeEnvironment& WithVersion(VersionT&& value) { SetVersion(std::forward<VersionT>(value)); return *this;}
72 private:
73
75 bool m_typeHasBeenSet = false;
76
77 Aws::String m_version;
78 bool m_versionHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace GameLiftStreams
83} // 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