AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EcsPropertiesOverride.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/TaskPropertiesOverride.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 EcsPropertiesOverride();
39 AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::Vector<TaskPropertiesOverride>& GetTaskProperties() const{ return m_taskProperties; }
48 inline bool TaskPropertiesHasBeenSet() const { return m_taskPropertiesHasBeenSet; }
49 inline void SetTaskProperties(const Aws::Vector<TaskPropertiesOverride>& value) { m_taskPropertiesHasBeenSet = true; m_taskProperties = value; }
50 inline void SetTaskProperties(Aws::Vector<TaskPropertiesOverride>&& value) { m_taskPropertiesHasBeenSet = true; m_taskProperties = std::move(value); }
53 inline EcsPropertiesOverride& AddTaskProperties(const TaskPropertiesOverride& value) { m_taskPropertiesHasBeenSet = true; m_taskProperties.push_back(value); return *this; }
54 inline EcsPropertiesOverride& AddTaskProperties(TaskPropertiesOverride&& value) { m_taskPropertiesHasBeenSet = true; m_taskProperties.push_back(std::move(value)); return *this; }
56 private:
57
59 bool m_taskPropertiesHasBeenSet = false;
60 };
61
62} // namespace Model
63} // namespace Batch
64} // namespace Aws
AWS_BATCH_API EcsPropertiesOverride(Aws::Utils::Json::JsonView jsonValue)
void SetTaskProperties(const Aws::Vector< TaskPropertiesOverride > &value)
AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const
EcsPropertiesOverride & AddTaskProperties(TaskPropertiesOverride &&value)
EcsPropertiesOverride & WithTaskProperties(const Aws::Vector< TaskPropertiesOverride > &value)
EcsPropertiesOverride & AddTaskProperties(const TaskPropertiesOverride &value)
void SetTaskProperties(Aws::Vector< TaskPropertiesOverride > &&value)
EcsPropertiesOverride & WithTaskProperties(Aws::Vector< TaskPropertiesOverride > &&value)
AWS_BATCH_API EcsPropertiesOverride & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< TaskPropertiesOverride > & GetTaskProperties() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue