AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
IoTJobAbortConfig.h
1
6#pragma once
7#include <aws/greengrassv2/GreengrassV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/greengrassv2/model/IoTJobAbortCriteria.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 GreengrassV2
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_GREENGRASSV2_API IoTJobAbortConfig();
37 AWS_GREENGRASSV2_API IoTJobAbortConfig(Aws::Utils::Json::JsonView jsonValue);
38 AWS_GREENGRASSV2_API IoTJobAbortConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_GREENGRASSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::Vector<IoTJobAbortCriteria>& GetCriteriaList() const{ return m_criteriaList; }
48 inline bool CriteriaListHasBeenSet() const { return m_criteriaListHasBeenSet; }
49 inline void SetCriteriaList(const Aws::Vector<IoTJobAbortCriteria>& value) { m_criteriaListHasBeenSet = true; m_criteriaList = value; }
50 inline void SetCriteriaList(Aws::Vector<IoTJobAbortCriteria>&& value) { m_criteriaListHasBeenSet = true; m_criteriaList = std::move(value); }
52 inline IoTJobAbortConfig& WithCriteriaList(Aws::Vector<IoTJobAbortCriteria>&& value) { SetCriteriaList(std::move(value)); return *this;}
53 inline IoTJobAbortConfig& AddCriteriaList(const IoTJobAbortCriteria& value) { m_criteriaListHasBeenSet = true; m_criteriaList.push_back(value); return *this; }
54 inline IoTJobAbortConfig& AddCriteriaList(IoTJobAbortCriteria&& value) { m_criteriaListHasBeenSet = true; m_criteriaList.push_back(std::move(value)); return *this; }
56 private:
57
59 bool m_criteriaListHasBeenSet = false;
60 };
61
62} // namespace Model
63} // namespace GreengrassV2
64} // namespace Aws
IoTJobAbortConfig & AddCriteriaList(const IoTJobAbortCriteria &value)
void SetCriteriaList(const Aws::Vector< IoTJobAbortCriteria > &value)
const Aws::Vector< IoTJobAbortCriteria > & GetCriteriaList() const
IoTJobAbortConfig & AddCriteriaList(IoTJobAbortCriteria &&value)
AWS_GREENGRASSV2_API IoTJobAbortConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GREENGRASSV2_API Aws::Utils::Json::JsonValue Jsonize() const
IoTJobAbortConfig & WithCriteriaList(Aws::Vector< IoTJobAbortCriteria > &&value)
AWS_GREENGRASSV2_API IoTJobAbortConfig(Aws::Utils::Json::JsonView jsonValue)
void SetCriteriaList(Aws::Vector< IoTJobAbortCriteria > &&value)
IoTJobAbortConfig & WithCriteriaList(const Aws::Vector< IoTJobAbortCriteria > &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue