AWS SDK for C++

AWS SDK for C++ Version 1.11.716

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
39 public:
40 AWS_GAMELIFTSTREAMS_API RuntimeEnvironment() = default;
41 AWS_GAMELIFTSTREAMS_API RuntimeEnvironment(Aws::Utils::Json::JsonView jsonValue);
42 AWS_GAMELIFTSTREAMS_API RuntimeEnvironment& operator=(Aws::Utils::Json::JsonView jsonValue);
43 AWS_GAMELIFTSTREAMS_API Aws::Utils::Json::JsonValue Jsonize() const;
44
46
50 inline RuntimeEnvironmentType GetType() const { return m_type; }
51 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
52 inline void SetType(RuntimeEnvironmentType value) {
53 m_typeHasBeenSet = true;
54 m_type = value;
55 }
57 SetType(value);
58 return *this;
59 }
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) {
70 m_versionHasBeenSet = true;
71 m_version = std::forward<VersionT>(value);
72 }
73 template <typename VersionT = Aws::String>
74 RuntimeEnvironment& WithVersion(VersionT&& value) {
75 SetVersion(std::forward<VersionT>(value));
76 return *this;
77 }
79 private:
81
82 Aws::String m_version;
83 bool m_typeHasBeenSet = false;
84 bool m_versionHasBeenSet = false;
85};
86
87} // namespace Model
88} // namespace GameLiftStreams
89} // 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