AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Batch
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_BATCH_API FargatePlatformConfiguration() = default;
39 AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
53 inline const Aws::String& GetPlatformVersion() const { return m_platformVersion; }
54 inline bool PlatformVersionHasBeenSet() const { return m_platformVersionHasBeenSet; }
55 template<typename PlatformVersionT = Aws::String>
56 void SetPlatformVersion(PlatformVersionT&& value) { m_platformVersionHasBeenSet = true; m_platformVersion = std::forward<PlatformVersionT>(value); }
57 template<typename PlatformVersionT = Aws::String>
58 FargatePlatformConfiguration& WithPlatformVersion(PlatformVersionT&& value) { SetPlatformVersion(std::forward<PlatformVersionT>(value)); return *this;}
60 private:
61
62 Aws::String m_platformVersion;
63 bool m_platformVersionHasBeenSet = false;
64 };
65
66} // namespace Model
67} // namespace Batch
68} // 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