AWS SDK for C++

AWS SDK for C++ Version 1.11.830

Loading...
Searching...
No Matches
RuntimeEnvironment.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/gameliftstreams/GameLiftStreams_EXPORTS.h>
9#include <aws/gameliftstreams/model/RuntimeEnvironmentType.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace GameLiftStreams {
21namespace Model {
22
40 public:
41 AWS_GAMELIFTSTREAMS_API RuntimeEnvironment() = default;
42 AWS_GAMELIFTSTREAMS_API RuntimeEnvironment(Aws::Utils::Json::JsonView jsonValue);
43 AWS_GAMELIFTSTREAMS_API RuntimeEnvironment& operator=(Aws::Utils::Json::JsonView jsonValue);
44 AWS_GAMELIFTSTREAMS_API Aws::Utils::Json::JsonValue Jsonize() const;
45
47
51 inline RuntimeEnvironmentType GetType() const { return m_type; }
52 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
53 inline void SetType(RuntimeEnvironmentType value) {
54 m_typeHasBeenSet = true;
55 m_type = value;
56 }
58 SetType(value);
59 return *this;
60 }
62
64
67 inline const Aws::String& GetVersion() const { return m_version; }
68 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
69 template <typename VersionT = Aws::String>
70 void SetVersion(VersionT&& value) {
71 m_versionHasBeenSet = true;
72 m_version = std::forward<VersionT>(value);
73 }
74 template <typename VersionT = Aws::String>
75 RuntimeEnvironment& WithVersion(VersionT&& value) {
76 SetVersion(std::forward<VersionT>(value));
77 return *this;
78 }
80 private:
82
83 Aws::String m_version;
84 bool m_typeHasBeenSet = false;
85 bool m_versionHasBeenSet = false;
86};
87
88} // namespace Model
89} // namespace GameLiftStreams
90} // 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