AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
OperationFailureDetails.h
1
6#pragma once
7#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/kinesisanalyticsv2/model/ErrorInfo.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace KinesisAnalyticsV2
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_KINESISANALYTICSV2_API OperationFailureDetails();
36 AWS_KINESISANALYTICSV2_API OperationFailureDetails(Aws::Utils::Json::JsonView jsonValue);
37 AWS_KINESISANALYTICSV2_API OperationFailureDetails& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::String& GetRollbackOperationId() const{ return m_rollbackOperationId; }
47 inline bool RollbackOperationIdHasBeenSet() const { return m_rollbackOperationIdHasBeenSet; }
48 inline void SetRollbackOperationId(const Aws::String& value) { m_rollbackOperationIdHasBeenSet = true; m_rollbackOperationId = value; }
49 inline void SetRollbackOperationId(Aws::String&& value) { m_rollbackOperationIdHasBeenSet = true; m_rollbackOperationId = std::move(value); }
50 inline void SetRollbackOperationId(const char* value) { m_rollbackOperationIdHasBeenSet = true; m_rollbackOperationId.assign(value); }
52 inline OperationFailureDetails& WithRollbackOperationId(Aws::String&& value) { SetRollbackOperationId(std::move(value)); return *this;}
53 inline OperationFailureDetails& WithRollbackOperationId(const char* value) { SetRollbackOperationId(value); return *this;}
55
57
58 inline const ErrorInfo& GetErrorInfo() const{ return m_errorInfo; }
59 inline bool ErrorInfoHasBeenSet() const { return m_errorInfoHasBeenSet; }
60 inline void SetErrorInfo(const ErrorInfo& value) { m_errorInfoHasBeenSet = true; m_errorInfo = value; }
61 inline void SetErrorInfo(ErrorInfo&& value) { m_errorInfoHasBeenSet = true; m_errorInfo = std::move(value); }
62 inline OperationFailureDetails& WithErrorInfo(const ErrorInfo& value) { SetErrorInfo(value); return *this;}
63 inline OperationFailureDetails& WithErrorInfo(ErrorInfo&& value) { SetErrorInfo(std::move(value)); return *this;}
65 private:
66
67 Aws::String m_rollbackOperationId;
68 bool m_rollbackOperationIdHasBeenSet = false;
69
70 ErrorInfo m_errorInfo;
71 bool m_errorInfoHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace KinesisAnalyticsV2
76} // namespace Aws
OperationFailureDetails & WithErrorInfo(const ErrorInfo &value)
AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const
OperationFailureDetails & WithRollbackOperationId(const char *value)
AWS_KINESISANALYTICSV2_API OperationFailureDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
OperationFailureDetails & WithRollbackOperationId(Aws::String &&value)
AWS_KINESISANALYTICSV2_API OperationFailureDetails(Aws::Utils::Json::JsonView jsonValue)
OperationFailureDetails & WithErrorInfo(ErrorInfo &&value)
OperationFailureDetails & WithRollbackOperationId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue