AWS SDK for C++

AWS SDK for C++ Version 1.11.929

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
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace IoTManagedIntegrations {
20namespace Model {
21
29 public:
30 AWS_IOTMANAGEDINTEGRATIONS_API RetryConfigCriteria() = default;
31 AWS_IOTMANAGEDINTEGRATIONS_API RetryConfigCriteria(Aws::Utils::Json::JsonView jsonValue);
32 AWS_IOTMANAGEDINTEGRATIONS_API RetryConfigCriteria& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_IOTMANAGEDINTEGRATIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline RetryCriteriaFailureType GetFailureType() const { return m_failureType; }
40 inline bool FailureTypeHasBeenSet() const { return m_failureTypeHasBeenSet; }
42 m_failureTypeHasBeenSet = true;
43 m_failureType = value;
44 }
46 SetFailureType(value);
47 return *this;
48 }
50
52
56 inline int GetMinNumberOfRetries() const { return m_minNumberOfRetries; }
57 inline bool MinNumberOfRetriesHasBeenSet() const { return m_minNumberOfRetriesHasBeenSet; }
58 inline void SetMinNumberOfRetries(int value) {
59 m_minNumberOfRetriesHasBeenSet = true;
60 m_minNumberOfRetries = value;
61 }
64 return *this;
65 }
67 private:
69
70 int m_minNumberOfRetries{0};
71 bool m_failureTypeHasBeenSet = false;
72 bool m_minNumberOfRetriesHasBeenSet = false;
73};
74
75} // namespace Model
76} // namespace IoTManagedIntegrations
77} // 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