AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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