7#include <aws/ecs/ECS_EXPORTS.h>
8#include <aws/ecs/model/Scope.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
54 inline void SetScope(
Scope value) { m_scopeHasBeenSet =
true; m_scope = value; }
66 inline void SetAutoprovision(
bool value) { m_autoprovisionHasBeenSet =
true; m_autoprovision = value; }
82 template<
typename DriverT = Aws::String>
83 void SetDriver(DriverT&& value) { m_driverHasBeenSet =
true; m_driver = std::forward<DriverT>(value); }
84 template<
typename DriverT = Aws::String>
96 template<
typename DriverOptsT = Aws::Map<Aws::String, Aws::String>>
97 void SetDriverOpts(DriverOptsT&& value) { m_driverOptsHasBeenSet =
true; m_driverOpts = std::forward<DriverOptsT>(value); }
98 template<
typename DriverOptsT = Aws::Map<Aws::String, Aws::String>>
100 template<
typename DriverOptsKeyT = Aws::String,
typename DriverOptsValueT = Aws::String>
102 m_driverOptsHasBeenSet =
true; m_driverOpts.emplace(std::forward<DriverOptsKeyT>(key), std::forward<DriverOptsValueT>(value));
return *
this;
114 template<
typename LabelsT = Aws::Map<Aws::String, Aws::String>>
115 void SetLabels(LabelsT&& value) { m_labelsHasBeenSet =
true; m_labels = std::forward<LabelsT>(value); }
116 template<
typename LabelsT = Aws::Map<Aws::String, Aws::String>>
118 template<
typename LabelsKeyT = Aws::String,
typename LabelsValueT = Aws::String>
120 m_labelsHasBeenSet =
true; m_labels.emplace(std::forward<LabelsKeyT>(key), std::forward<LabelsValueT>(value));
return *
this;
126 bool m_scopeHasBeenSet =
false;
128 bool m_autoprovision{
false};
129 bool m_autoprovisionHasBeenSet =
false;
132 bool m_driverHasBeenSet =
false;
135 bool m_driverOptsHasBeenSet =
false;
138 bool m_labelsHasBeenSet =
false;
const Aws::String & GetDriver() const
bool DriverOptsHasBeenSet() const
void SetAutoprovision(bool value)
DockerVolumeConfiguration & WithLabels(LabelsT &&value)
AWS_ECS_API DockerVolumeConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetScope(Scope value)
bool GetAutoprovision() const
void SetLabels(LabelsT &&value)
bool AutoprovisionHasBeenSet() const
DockerVolumeConfiguration & AddDriverOpts(DriverOptsKeyT &&key, DriverOptsValueT &&value)
bool ScopeHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetDriverOpts() const
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDriver(DriverT &&value)
bool LabelsHasBeenSet() const
DockerVolumeConfiguration & WithScope(Scope value)
AWS_ECS_API DockerVolumeConfiguration()=default
bool DriverHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetLabels() const
DockerVolumeConfiguration & AddLabels(LabelsKeyT &&key, LabelsValueT &&value)
DockerVolumeConfiguration & WithDriver(DriverT &&value)
DockerVolumeConfiguration & WithDriverOpts(DriverOptsT &&value)
DockerVolumeConfiguration & WithAutoprovision(bool value)
AWS_ECS_API DockerVolumeConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDriverOpts(DriverOptsT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue