AWS SDK for C++

AWS SDK for C++ Version 1.11.849

Loading...
Searching...
No Matches
ServiceRevisionOverrides.h
1
6#pragma once
7#include <aws/ecs/ECS_EXPORTS.h>
8#include <aws/ecs/model/RuntimePlatformOverride.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace ECS {
20namespace Model {
21
30 public:
31 AWS_ECS_API ServiceRevisionOverrides() = default;
35
37
41 inline const RuntimePlatformOverride& GetRuntimePlatform() const { return m_runtimePlatform; }
42 inline bool RuntimePlatformHasBeenSet() const { return m_runtimePlatformHasBeenSet; }
43 template <typename RuntimePlatformT = RuntimePlatformOverride>
44 void SetRuntimePlatform(RuntimePlatformT&& value) {
45 m_runtimePlatformHasBeenSet = true;
46 m_runtimePlatform = std::forward<RuntimePlatformT>(value);
47 }
48 template <typename RuntimePlatformT = RuntimePlatformOverride>
49 ServiceRevisionOverrides& WithRuntimePlatform(RuntimePlatformT&& value) {
50 SetRuntimePlatform(std::forward<RuntimePlatformT>(value));
51 return *this;
52 }
54 private:
55 RuntimePlatformOverride m_runtimePlatform;
56 bool m_runtimePlatformHasBeenSet = false;
57};
58
59} // namespace Model
60} // namespace ECS
61} // namespace Aws
void SetRuntimePlatform(RuntimePlatformT &&value)
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ECS_API ServiceRevisionOverrides()=default
ServiceRevisionOverrides & WithRuntimePlatform(RuntimePlatformT &&value)
AWS_ECS_API ServiceRevisionOverrides & operator=(Aws::Utils::Json::JsonView jsonValue)
const RuntimePlatformOverride & GetRuntimePlatform() const
AWS_ECS_API ServiceRevisionOverrides(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue