AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TaskVolumeConfiguration.h
1
6#pragma once
7#include <aws/ecs/ECS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ecs/model/TaskManagedEBSVolumeConfiguration.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
35 {
36 public:
41
42
44
48 inline const Aws::String& GetName() const{ return m_name; }
49 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
50 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
51 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
52 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
53 inline TaskVolumeConfiguration& WithName(const Aws::String& value) { SetName(value); return *this;}
54 inline TaskVolumeConfiguration& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
55 inline TaskVolumeConfiguration& WithName(const char* value) { SetName(value); return *this;}
57
59
65 inline const TaskManagedEBSVolumeConfiguration& GetManagedEBSVolume() const{ return m_managedEBSVolume; }
66 inline bool ManagedEBSVolumeHasBeenSet() const { return m_managedEBSVolumeHasBeenSet; }
67 inline void SetManagedEBSVolume(const TaskManagedEBSVolumeConfiguration& value) { m_managedEBSVolumeHasBeenSet = true; m_managedEBSVolume = value; }
68 inline void SetManagedEBSVolume(TaskManagedEBSVolumeConfiguration&& value) { m_managedEBSVolumeHasBeenSet = true; m_managedEBSVolume = std::move(value); }
72 private:
73
74 Aws::String m_name;
75 bool m_nameHasBeenSet = false;
76
77 TaskManagedEBSVolumeConfiguration m_managedEBSVolume;
78 bool m_managedEBSVolumeHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace ECS
83} // namespace Aws
TaskVolumeConfiguration & WithManagedEBSVolume(TaskManagedEBSVolumeConfiguration &&value)
AWS_ECS_API TaskVolumeConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
TaskVolumeConfiguration & WithManagedEBSVolume(const TaskManagedEBSVolumeConfiguration &value)
TaskVolumeConfiguration & WithName(const char *value)
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetManagedEBSVolume(TaskManagedEBSVolumeConfiguration &&value)
AWS_ECS_API TaskVolumeConfiguration(Aws::Utils::Json::JsonView jsonValue)
const TaskManagedEBSVolumeConfiguration & GetManagedEBSVolume() const
TaskVolumeConfiguration & WithName(Aws::String &&value)
TaskVolumeConfiguration & WithName(const Aws::String &value)
void SetManagedEBSVolume(const TaskManagedEBSVolumeConfiguration &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue