AWS SDK for C++  1.9.129
AWS SDK for C++
AbortConfig.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iot/IoT_EXPORTS.h>
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 IoT
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
45  inline const Aws::Vector<AbortCriteria>& GetCriteriaList() const{ return m_criteriaList; }
46 
50  inline bool CriteriaListHasBeenSet() const { return m_criteriaListHasBeenSet; }
51 
55  inline void SetCriteriaList(const Aws::Vector<AbortCriteria>& value) { m_criteriaListHasBeenSet = true; m_criteriaList = value; }
56 
60  inline void SetCriteriaList(Aws::Vector<AbortCriteria>&& value) { m_criteriaListHasBeenSet = true; m_criteriaList = std::move(value); }
61 
65  inline AbortConfig& WithCriteriaList(const Aws::Vector<AbortCriteria>& value) { SetCriteriaList(value); return *this;}
66 
70  inline AbortConfig& WithCriteriaList(Aws::Vector<AbortCriteria>&& value) { SetCriteriaList(std::move(value)); return *this;}
71 
75  inline AbortConfig& AddCriteriaList(const AbortCriteria& value) { m_criteriaListHasBeenSet = true; m_criteriaList.push_back(value); return *this; }
76 
80  inline AbortConfig& AddCriteriaList(AbortCriteria&& value) { m_criteriaListHasBeenSet = true; m_criteriaList.push_back(std::move(value)); return *this; }
81 
82  private:
83 
84  Aws::Vector<AbortCriteria> m_criteriaList;
85  bool m_criteriaListHasBeenSet;
86  };
87 
88 } // namespace Model
89 } // namespace IoT
90 } // namespace Aws
Aws::IoT::Model::AbortConfig::WithCriteriaList
AbortConfig & WithCriteriaList(const Aws::Vector< AbortCriteria > &value)
Definition: AbortConfig.h:65
Aws::IoT::Model::AbortConfig::AddCriteriaList
AbortConfig & AddCriteriaList(AbortCriteria &&value)
Definition: AbortConfig.h:80
Aws::IoT::Model::AbortConfig::GetCriteriaList
const Aws::Vector< AbortCriteria > & GetCriteriaList() const
Definition: AbortConfig.h:45
Aws::IoT::Model::AbortConfig::AddCriteriaList
AbortConfig & AddCriteriaList(const AbortCriteria &value)
Definition: AbortConfig.h:75
Aws::IoT::Model::AbortConfig::CriteriaListHasBeenSet
bool CriteriaListHasBeenSet() const
Definition: AbortConfig.h:50
Aws::IoT::Model::AbortConfig::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::IoT::Model::AbortConfig
Definition: AbortConfig.h:34
Aws::IoT::Model::AbortConfig::WithCriteriaList
AbortConfig & WithCriteriaList(Aws::Vector< AbortCriteria > &&value)
Definition: AbortConfig.h:70
Aws::IoT::Model::AbortConfig::AbortConfig
AbortConfig(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::IoT::Model::AbortConfig::SetCriteriaList
void SetCriteriaList(const Aws::Vector< AbortCriteria > &value)
Definition: AbortConfig.h:55
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
AbortCriteria.h
Aws::IoT::Model::AbortConfig::operator=
AbortConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::AbortCriteria
Definition: AbortCriteria.h:34
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
Aws::IoT::Model::AbortConfig::AbortConfig
AbortConfig()
Aws::IoT::Model::AbortConfig::SetCriteriaList
void SetCriteriaList(Aws::Vector< AbortCriteria > &&value)
Definition: AbortConfig.h:60
IoT_EXPORTS.h