AWS SDK for C++

AWS SDK for C++ Version 1.11.613

Loading...
Searching...
No Matches
RetryConfigCriteria.h
1
6#pragma once
7#include <aws/iot-managed-integrations/IoTManagedIntegrations_EXPORTS.h>
8#include <aws/iot-managed-integrations/model/RetryCriteriaFailureType.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace IoTManagedIntegrations
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_IOTMANAGEDINTEGRATIONS_API RetryConfigCriteria() = default;
36 AWS_IOTMANAGEDINTEGRATIONS_API RetryConfigCriteria(Aws::Utils::Json::JsonView jsonValue);
37 AWS_IOTMANAGEDINTEGRATIONS_API RetryConfigCriteria& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_IOTMANAGEDINTEGRATIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline RetryCriteriaFailureType GetFailureType() const { return m_failureType; }
46 inline bool FailureTypeHasBeenSet() const { return m_failureTypeHasBeenSet; }
47 inline void SetFailureType(RetryCriteriaFailureType value) { m_failureTypeHasBeenSet = true; m_failureType = value; }
50
52
56 inline int GetMinNumberOfRetries() const { return m_minNumberOfRetries; }
57 inline bool MinNumberOfRetriesHasBeenSet() const { return m_minNumberOfRetriesHasBeenSet; }
58 inline void SetMinNumberOfRetries(int value) { m_minNumberOfRetriesHasBeenSet = true; m_minNumberOfRetries = value; }
59 inline RetryConfigCriteria& WithMinNumberOfRetries(int value) { SetMinNumberOfRetries(value); return *this;}
61 private:
62
64 bool m_failureTypeHasBeenSet = false;
65
66 int m_minNumberOfRetries{0};
67 bool m_minNumberOfRetriesHasBeenSet = false;
68 };
69
70} // namespace Model
71} // namespace IoTManagedIntegrations
72} // namespace Aws
AWS_IOTMANAGEDINTEGRATIONS_API RetryConfigCriteria()=default
AWS_IOTMANAGEDINTEGRATIONS_API RetryConfigCriteria(Aws::Utils::Json::JsonView jsonValue)
RetryConfigCriteria & WithFailureType(RetryCriteriaFailureType value)
AWS_IOTMANAGEDINTEGRATIONS_API RetryConfigCriteria & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTMANAGEDINTEGRATIONS_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue