AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
FargatePlatformConfiguration.h
1
6#pragma once
7#include <aws/batch/Batch_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Batch {
20namespace Model {
21
30 public:
31 AWS_BATCH_API FargatePlatformConfiguration() = default;
34 AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
47 inline const Aws::String& GetPlatformVersion() const { return m_platformVersion; }
48 inline bool PlatformVersionHasBeenSet() const { return m_platformVersionHasBeenSet; }
49 template <typename PlatformVersionT = Aws::String>
50 void SetPlatformVersion(PlatformVersionT&& value) {
51 m_platformVersionHasBeenSet = true;
52 m_platformVersion = std::forward<PlatformVersionT>(value);
53 }
54 template <typename PlatformVersionT = Aws::String>
56 SetPlatformVersion(std::forward<PlatformVersionT>(value));
57 return *this;
58 }
60 private:
61 Aws::String m_platformVersion;
62 bool m_platformVersionHasBeenSet = false;
63};
64
65} // namespace Model
66} // namespace Batch
67} // namespace Aws
AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BATCH_API FargatePlatformConfiguration()=default
FargatePlatformConfiguration & WithPlatformVersion(PlatformVersionT &&value)
AWS_BATCH_API FargatePlatformConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_BATCH_API FargatePlatformConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue