AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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