AWS SDK for C++  1.9.123
AWS SDK for C++
IoTJobAbortConfig.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace GreengrassV2
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
46  inline const Aws::Vector<IoTJobAbortCriteria>& GetCriteriaList() const{ return m_criteriaList; }
47 
52  inline bool CriteriaListHasBeenSet() const { return m_criteriaListHasBeenSet; }
53 
58  inline void SetCriteriaList(const Aws::Vector<IoTJobAbortCriteria>& value) { m_criteriaListHasBeenSet = true; m_criteriaList = value; }
59 
64  inline void SetCriteriaList(Aws::Vector<IoTJobAbortCriteria>&& value) { m_criteriaListHasBeenSet = true; m_criteriaList = std::move(value); }
65 
70  inline IoTJobAbortConfig& WithCriteriaList(const Aws::Vector<IoTJobAbortCriteria>& value) { SetCriteriaList(value); return *this;}
71 
76  inline IoTJobAbortConfig& WithCriteriaList(Aws::Vector<IoTJobAbortCriteria>&& value) { SetCriteriaList(std::move(value)); return *this;}
77 
82  inline IoTJobAbortConfig& AddCriteriaList(const IoTJobAbortCriteria& value) { m_criteriaListHasBeenSet = true; m_criteriaList.push_back(value); return *this; }
83 
88  inline IoTJobAbortConfig& AddCriteriaList(IoTJobAbortCriteria&& value) { m_criteriaListHasBeenSet = true; m_criteriaList.push_back(std::move(value)); return *this; }
89 
90  private:
91 
92  Aws::Vector<IoTJobAbortCriteria> m_criteriaList;
93  bool m_criteriaListHasBeenSet;
94  };
95 
96 } // namespace Model
97 } // namespace GreengrassV2
98 } // namespace Aws
Aws::GreengrassV2::Model::IoTJobAbortConfig
Definition: IoTJobAbortConfig.h:34
Aws::GreengrassV2::Model::IoTJobAbortConfig::AddCriteriaList
IoTJobAbortConfig & AddCriteriaList(const IoTJobAbortCriteria &value)
Definition: IoTJobAbortConfig.h:82
IoTJobAbortCriteria.h
GreengrassV2_EXPORTS.h
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::GreengrassV2::Model::IoTJobAbortConfig::SetCriteriaList
void SetCriteriaList(Aws::Vector< IoTJobAbortCriteria > &&value)
Definition: IoTJobAbortConfig.h:64
AWS_GREENGRASSV2_API
#define AWS_GREENGRASSV2_API
Definition: GreengrassV2_EXPORTS.h:28
Aws::GreengrassV2::Model::IoTJobAbortConfig::SetCriteriaList
void SetCriteriaList(const Aws::Vector< IoTJobAbortCriteria > &value)
Definition: IoTJobAbortConfig.h:58
Aws::GreengrassV2::Model::IoTJobAbortConfig::WithCriteriaList
IoTJobAbortConfig & WithCriteriaList(Aws::Vector< IoTJobAbortCriteria > &&value)
Definition: IoTJobAbortConfig.h:76
Aws::GreengrassV2::Model::IoTJobAbortCriteria
Definition: IoTJobAbortCriteria.h:38
Aws::GreengrassV2::Model::IoTJobAbortConfig::operator=
IoTJobAbortConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::GreengrassV2::Model::IoTJobAbortConfig::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::GreengrassV2::Model::IoTJobAbortConfig::IoTJobAbortConfig
IoTJobAbortConfig()
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::GreengrassV2::Model::IoTJobAbortConfig::AddCriteriaList
IoTJobAbortConfig & AddCriteriaList(IoTJobAbortCriteria &&value)
Definition: IoTJobAbortConfig.h:88
Aws
Definition: AccessManagementClient.h:15
Aws::GreengrassV2::Model::IoTJobAbortConfig::CriteriaListHasBeenSet
bool CriteriaListHasBeenSet() const
Definition: IoTJobAbortConfig.h:52
Aws::GreengrassV2::Model::IoTJobAbortConfig::IoTJobAbortConfig
IoTJobAbortConfig(Aws::Utils::Json::JsonView jsonValue)
Aws::GreengrassV2::Model::IoTJobAbortConfig::WithCriteriaList
IoTJobAbortConfig & WithCriteriaList(const Aws::Vector< IoTJobAbortCriteria > &value)
Definition: IoTJobAbortConfig.h:70
Aws::GreengrassV2::Model::IoTJobAbortConfig::GetCriteriaList
const Aws::Vector< IoTJobAbortCriteria > & GetCriteriaList() const
Definition: IoTJobAbortConfig.h:46