AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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