AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AbortConfig.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/AbortCriteria.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 AbortConfig();
40
41
43
46 inline const Aws::Vector<AbortCriteria>& GetCriteriaList() const{ return m_criteriaList; }
47 inline bool CriteriaListHasBeenSet() const { return m_criteriaListHasBeenSet; }
48 inline void SetCriteriaList(const Aws::Vector<AbortCriteria>& value) { m_criteriaListHasBeenSet = true; m_criteriaList = value; }
49 inline void SetCriteriaList(Aws::Vector<AbortCriteria>&& value) { m_criteriaListHasBeenSet = true; m_criteriaList = std::move(value); }
50 inline AbortConfig& WithCriteriaList(const Aws::Vector<AbortCriteria>& value) { SetCriteriaList(value); return *this;}
51 inline AbortConfig& WithCriteriaList(Aws::Vector<AbortCriteria>&& value) { SetCriteriaList(std::move(value)); return *this;}
52 inline AbortConfig& AddCriteriaList(const AbortCriteria& value) { m_criteriaListHasBeenSet = true; m_criteriaList.push_back(value); return *this; }
53 inline AbortConfig& AddCriteriaList(AbortCriteria&& value) { m_criteriaListHasBeenSet = true; m_criteriaList.push_back(std::move(value)); return *this; }
55 private:
56
57 Aws::Vector<AbortCriteria> m_criteriaList;
58 bool m_criteriaListHasBeenSet = false;
59 };
60
61} // namespace Model
62} // namespace IoT
63} // namespace Aws
AbortConfig & WithCriteriaList(const Aws::Vector< AbortCriteria > &value)
Definition AbortConfig.h:50
AbortConfig & WithCriteriaList(Aws::Vector< AbortCriteria > &&value)
Definition AbortConfig.h:51
AWS_IOT_API AbortConfig(Aws::Utils::Json::JsonView jsonValue)
void SetCriteriaList(const Aws::Vector< AbortCriteria > &value)
Definition AbortConfig.h:48
const Aws::Vector< AbortCriteria > & GetCriteriaList() const
Definition AbortConfig.h:46
void SetCriteriaList(Aws::Vector< AbortCriteria > &&value)
Definition AbortConfig.h:49
AWS_IOT_API AbortConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
bool CriteriaListHasBeenSet() const
Definition AbortConfig.h:47
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
AbortConfig & AddCriteriaList(AbortCriteria &&value)
Definition AbortConfig.h:53
AbortConfig & AddCriteriaList(const AbortCriteria &value)
Definition AbortConfig.h:52
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue