AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ClusterConfiguration.h
1
6#pragma once
7#include <aws/ecs/ECS_EXPORTS.h>
8#include <aws/ecs/model/ExecuteCommandConfiguration.h>
9#include <aws/ecs/model/ManagedStorageConfiguration.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace ECS
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_ECS_API ClusterConfiguration() = default;
40
41
43
46 inline const ExecuteCommandConfiguration& GetExecuteCommandConfiguration() const { return m_executeCommandConfiguration; }
47 inline bool ExecuteCommandConfigurationHasBeenSet() const { return m_executeCommandConfigurationHasBeenSet; }
48 template<typename ExecuteCommandConfigurationT = ExecuteCommandConfiguration>
49 void SetExecuteCommandConfiguration(ExecuteCommandConfigurationT&& value) { m_executeCommandConfigurationHasBeenSet = true; m_executeCommandConfiguration = std::forward<ExecuteCommandConfigurationT>(value); }
50 template<typename ExecuteCommandConfigurationT = ExecuteCommandConfiguration>
51 ClusterConfiguration& WithExecuteCommandConfiguration(ExecuteCommandConfigurationT&& value) { SetExecuteCommandConfiguration(std::forward<ExecuteCommandConfigurationT>(value)); return *this;}
53
55
58 inline const ManagedStorageConfiguration& GetManagedStorageConfiguration() const { return m_managedStorageConfiguration; }
59 inline bool ManagedStorageConfigurationHasBeenSet() const { return m_managedStorageConfigurationHasBeenSet; }
60 template<typename ManagedStorageConfigurationT = ManagedStorageConfiguration>
61 void SetManagedStorageConfiguration(ManagedStorageConfigurationT&& value) { m_managedStorageConfigurationHasBeenSet = true; m_managedStorageConfiguration = std::forward<ManagedStorageConfigurationT>(value); }
62 template<typename ManagedStorageConfigurationT = ManagedStorageConfiguration>
63 ClusterConfiguration& WithManagedStorageConfiguration(ManagedStorageConfigurationT&& value) { SetManagedStorageConfiguration(std::forward<ManagedStorageConfigurationT>(value)); return *this;}
65 private:
66
67 ExecuteCommandConfiguration m_executeCommandConfiguration;
68 bool m_executeCommandConfigurationHasBeenSet = false;
69
70 ManagedStorageConfiguration m_managedStorageConfiguration;
71 bool m_managedStorageConfigurationHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace ECS
76} // namespace Aws
void SetExecuteCommandConfiguration(ExecuteCommandConfigurationT &&value)
ClusterConfiguration & WithExecuteCommandConfiguration(ExecuteCommandConfigurationT &&value)
ClusterConfiguration & WithManagedStorageConfiguration(ManagedStorageConfigurationT &&value)
AWS_ECS_API ClusterConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ECS_API ClusterConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetManagedStorageConfiguration(ManagedStorageConfigurationT &&value)
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ECS_API ClusterConfiguration()=default
const ManagedStorageConfiguration & GetManagedStorageConfiguration() const
const ExecuteCommandConfiguration & GetExecuteCommandConfiguration() const
Aws::Utils::Json::JsonValue JsonValue