AWS SDK for C++

AWS SDK for C++ Version 1.11.869

Loading...
Searching...
No Matches
DisplayConfiguration.h
1
6#pragma once
7#include <aws/gameliftstreams/GameLiftStreams_EXPORTS.h>
8#include <aws/gameliftstreams/model/Resolution.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace GameLiftStreams {
20namespace Model {
21
30 public:
31 AWS_GAMELIFTSTREAMS_API DisplayConfiguration() = default;
32 AWS_GAMELIFTSTREAMS_API DisplayConfiguration(Aws::Utils::Json::JsonView jsonValue);
33 AWS_GAMELIFTSTREAMS_API DisplayConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_GAMELIFTSTREAMS_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const Resolution& GetResolution() const { return m_resolution; }
42 inline bool ResolutionHasBeenSet() const { return m_resolutionHasBeenSet; }
43 template <typename ResolutionT = Resolution>
44 void SetResolution(ResolutionT&& value) {
45 m_resolutionHasBeenSet = true;
46 m_resolution = std::forward<ResolutionT>(value);
47 }
48 template <typename ResolutionT = Resolution>
49 DisplayConfiguration& WithResolution(ResolutionT&& value) {
50 SetResolution(std::forward<ResolutionT>(value));
51 return *this;
52 }
54 private:
55 Resolution m_resolution;
56 bool m_resolutionHasBeenSet = false;
57};
58
59} // namespace Model
60} // namespace GameLiftStreams
61} // namespace Aws
DisplayConfiguration & WithResolution(ResolutionT &&value)
AWS_GAMELIFTSTREAMS_API DisplayConfiguration()=default
AWS_GAMELIFTSTREAMS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GAMELIFTSTREAMS_API DisplayConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GAMELIFTSTREAMS_API DisplayConfiguration(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue