AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AwsJobAbortConfig.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/iot/model/AwsJobAbortCriteria.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 IoT
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_IOT_API AwsJobAbortConfig();
40
41
43
46 inline const Aws::Vector<AwsJobAbortCriteria>& GetAbortCriteriaList() const{ return m_abortCriteriaList; }
47 inline bool AbortCriteriaListHasBeenSet() const { return m_abortCriteriaListHasBeenSet; }
48 inline void SetAbortCriteriaList(const Aws::Vector<AwsJobAbortCriteria>& value) { m_abortCriteriaListHasBeenSet = true; m_abortCriteriaList = value; }
49 inline void SetAbortCriteriaList(Aws::Vector<AwsJobAbortCriteria>&& value) { m_abortCriteriaListHasBeenSet = true; m_abortCriteriaList = std::move(value); }
52 inline AwsJobAbortConfig& AddAbortCriteriaList(const AwsJobAbortCriteria& value) { m_abortCriteriaListHasBeenSet = true; m_abortCriteriaList.push_back(value); return *this; }
53 inline AwsJobAbortConfig& AddAbortCriteriaList(AwsJobAbortCriteria&& value) { m_abortCriteriaListHasBeenSet = true; m_abortCriteriaList.push_back(std::move(value)); return *this; }
55 private:
56
57 Aws::Vector<AwsJobAbortCriteria> m_abortCriteriaList;
58 bool m_abortCriteriaListHasBeenSet = false;
59 };
60
61} // namespace Model
62} // namespace IoT
63} // namespace Aws
AwsJobAbortConfig & AddAbortCriteriaList(AwsJobAbortCriteria &&value)
AwsJobAbortConfig & WithAbortCriteriaList(Aws::Vector< AwsJobAbortCriteria > &&value)
AWS_IOT_API AwsJobAbortConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsJobAbortConfig & WithAbortCriteriaList(const Aws::Vector< AwsJobAbortCriteria > &value)
void SetAbortCriteriaList(const Aws::Vector< AwsJobAbortCriteria > &value)
AwsJobAbortConfig & AddAbortCriteriaList(const AwsJobAbortCriteria &value)
const Aws::Vector< AwsJobAbortCriteria > & GetAbortCriteriaList() const
AWS_IOT_API AwsJobAbortConfig(Aws::Utils::Json::JsonView jsonValue)
void SetAbortCriteriaList(Aws::Vector< AwsJobAbortCriteria > &&value)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue