AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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#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 Inspector
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_INSPECTOR_API FailedItemDetails() = default;
35 AWS_INSPECTOR_API FailedItemDetails(Aws::Utils::Json::JsonView jsonValue);
37 AWS_INSPECTOR_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline FailedItemErrorCode GetFailureCode() const { return m_failureCode; }
45 inline bool FailureCodeHasBeenSet() const { return m_failureCodeHasBeenSet; }
46 inline void SetFailureCode(FailedItemErrorCode value) { m_failureCodeHasBeenSet = true; m_failureCode = value; }
49
51
55 inline bool GetRetryable() const { return m_retryable; }
56 inline bool RetryableHasBeenSet() const { return m_retryableHasBeenSet; }
57 inline void SetRetryable(bool value) { m_retryableHasBeenSet = true; m_retryable = value; }
58 inline FailedItemDetails& WithRetryable(bool value) { SetRetryable(value); return *this;}
60 private:
61
63 bool m_failureCodeHasBeenSet = false;
64
65 bool m_retryable{false};
66 bool m_retryableHasBeenSet = false;
67 };
68
69} // namespace Model
70} // namespace Inspector
71} // 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