AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TaskPropertiesOverride.h
1
6#pragma once
7#include <aws/batch/Batch_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/batch/model/TaskContainerOverrides.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 Batch
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_BATCH_API TaskPropertiesOverride();
39 AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::Vector<TaskContainerOverrides>& GetContainers() const{ return m_containers; }
47 inline bool ContainersHasBeenSet() const { return m_containersHasBeenSet; }
48 inline void SetContainers(const Aws::Vector<TaskContainerOverrides>& value) { m_containersHasBeenSet = true; m_containers = value; }
49 inline void SetContainers(Aws::Vector<TaskContainerOverrides>&& value) { m_containersHasBeenSet = true; m_containers = std::move(value); }
52 inline TaskPropertiesOverride& AddContainers(const TaskContainerOverrides& value) { m_containersHasBeenSet = true; m_containers.push_back(value); return *this; }
53 inline TaskPropertiesOverride& AddContainers(TaskContainerOverrides&& value) { m_containersHasBeenSet = true; m_containers.push_back(std::move(value)); return *this; }
55 private:
56
58 bool m_containersHasBeenSet = false;
59 };
60
61} // namespace Model
62} // namespace Batch
63} // namespace Aws
void SetContainers(const Aws::Vector< TaskContainerOverrides > &value)
AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BATCH_API TaskPropertiesOverride(Aws::Utils::Json::JsonView jsonValue)
TaskPropertiesOverride & AddContainers(const TaskContainerOverrides &value)
const Aws::Vector< TaskContainerOverrides > & GetContainers() const
TaskPropertiesOverride & AddContainers(TaskContainerOverrides &&value)
TaskPropertiesOverride & WithContainers(Aws::Vector< TaskContainerOverrides > &&value)
AWS_BATCH_API TaskPropertiesOverride & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetContainers(Aws::Vector< TaskContainerOverrides > &&value)
TaskPropertiesOverride & WithContainers(const Aws::Vector< TaskContainerOverrides > &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue