AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 const FailedItemErrorCode& GetFailureCode() const{ return m_failureCode; }
45 inline bool FailureCodeHasBeenSet() const { return m_failureCodeHasBeenSet; }
46 inline void SetFailureCode(const FailedItemErrorCode& value) { m_failureCodeHasBeenSet = true; m_failureCode = value; }
47 inline void SetFailureCode(FailedItemErrorCode&& value) { m_failureCodeHasBeenSet = true; m_failureCode = std::move(value); }
48 inline FailedItemDetails& WithFailureCode(const FailedItemErrorCode& value) { SetFailureCode(value); return *this;}
49 inline FailedItemDetails& WithFailureCode(FailedItemErrorCode&& value) { SetFailureCode(std::move(value)); return *this;}
51
53
57 inline bool GetRetryable() const{ return m_retryable; }
58 inline bool RetryableHasBeenSet() const { return m_retryableHasBeenSet; }
59 inline void SetRetryable(bool value) { m_retryableHasBeenSet = true; m_retryable = value; }
60 inline FailedItemDetails& WithRetryable(bool value) { SetRetryable(value); return *this;}
62 private:
63
64 FailedItemErrorCode m_failureCode;
65 bool m_failureCodeHasBeenSet = false;
66
67 bool m_retryable;
68 bool m_retryableHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace Inspector
73} // namespace Aws
AWS_INSPECTOR_API FailedItemDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetFailureCode(FailedItemErrorCode &&value)
void SetFailureCode(const FailedItemErrorCode &value)
AWS_INSPECTOR_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_INSPECTOR_API FailedItemDetails(Aws::Utils::Json::JsonView jsonValue)
FailedItemDetails & WithFailureCode(FailedItemErrorCode &&value)
const FailedItemErrorCode & GetFailureCode() const
FailedItemDetails & WithRetryable(bool value)
FailedItemDetails & WithFailureCode(const FailedItemErrorCode &value)
Aws::Utils::Json::JsonValue JsonValue