AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
FailedItemDetails.h
1
6#pragma once
7#include <aws/inspector/Inspector_EXPORTS.h>
8#include <aws/inspector/model/FailedItemErrorCode.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Inspector {
20namespace Model {
21
28 public:
29 AWS_INSPECTOR_API FailedItemDetails() = default;
30 AWS_INSPECTOR_API FailedItemDetails(Aws::Utils::Json::JsonView jsonValue);
32 AWS_INSPECTOR_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline FailedItemErrorCode GetFailureCode() const { return m_failureCode; }
39 inline bool FailureCodeHasBeenSet() const { return m_failureCodeHasBeenSet; }
41 m_failureCodeHasBeenSet = true;
42 m_failureCode = value;
43 }
45 SetFailureCode(value);
46 return *this;
47 }
49
51
55 inline bool GetRetryable() const { return m_retryable; }
56 inline bool RetryableHasBeenSet() const { return m_retryableHasBeenSet; }
57 inline void SetRetryable(bool value) {
58 m_retryableHasBeenSet = true;
59 m_retryable = value;
60 }
61 inline FailedItemDetails& WithRetryable(bool value) {
62 SetRetryable(value);
63 return *this;
64 }
66 private:
68
69 bool m_retryable{false};
70 bool m_failureCodeHasBeenSet = false;
71 bool m_retryableHasBeenSet = false;
72};
73
74} // namespace Model
75} // namespace Inspector
76} // namespace Aws
AWS_INSPECTOR_API FailedItemDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_INSPECTOR_API Aws::Utils::Json::JsonValue Jsonize() const
FailedItemErrorCode GetFailureCode() const
AWS_INSPECTOR_API FailedItemDetails()=default
void SetFailureCode(FailedItemErrorCode value)
AWS_INSPECTOR_API FailedItemDetails(Aws::Utils::Json::JsonView jsonValue)
FailedItemDetails & WithFailureCode(FailedItemErrorCode value)
FailedItemDetails & WithRetryable(bool value)
Aws::Utils::Json::JsonValue JsonValue