AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DataLakeUpdateException.h
1
6#pragma once
7#include <aws/securitylake/SecurityLake_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.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 SecurityLake
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_SECURITYLAKE_API DataLakeUpdateException();
37 AWS_SECURITYLAKE_API DataLakeUpdateException(Aws::Utils::Json::JsonView jsonValue);
39 AWS_SECURITYLAKE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetCode() const{ return m_code; }
48 inline bool CodeHasBeenSet() const { return m_codeHasBeenSet; }
49 inline void SetCode(const Aws::String& value) { m_codeHasBeenSet = true; m_code = value; }
50 inline void SetCode(Aws::String&& value) { m_codeHasBeenSet = true; m_code = std::move(value); }
51 inline void SetCode(const char* value) { m_codeHasBeenSet = true; m_code.assign(value); }
52 inline DataLakeUpdateException& WithCode(const Aws::String& value) { SetCode(value); return *this;}
53 inline DataLakeUpdateException& WithCode(Aws::String&& value) { SetCode(std::move(value)); return *this;}
54 inline DataLakeUpdateException& WithCode(const char* value) { SetCode(value); return *this;}
56
58
62 inline const Aws::String& GetReason() const{ return m_reason; }
63 inline bool ReasonHasBeenSet() const { return m_reasonHasBeenSet; }
64 inline void SetReason(const Aws::String& value) { m_reasonHasBeenSet = true; m_reason = value; }
65 inline void SetReason(Aws::String&& value) { m_reasonHasBeenSet = true; m_reason = std::move(value); }
66 inline void SetReason(const char* value) { m_reasonHasBeenSet = true; m_reason.assign(value); }
67 inline DataLakeUpdateException& WithReason(const Aws::String& value) { SetReason(value); return *this;}
68 inline DataLakeUpdateException& WithReason(Aws::String&& value) { SetReason(std::move(value)); return *this;}
69 inline DataLakeUpdateException& WithReason(const char* value) { SetReason(value); return *this;}
71 private:
72
73 Aws::String m_code;
74 bool m_codeHasBeenSet = false;
75
76 Aws::String m_reason;
77 bool m_reasonHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace SecurityLake
82} // namespace Aws
AWS_SECURITYLAKE_API Aws::Utils::Json::JsonValue Jsonize() const
DataLakeUpdateException & WithReason(const char *value)
DataLakeUpdateException & WithReason(const Aws::String &value)
AWS_SECURITYLAKE_API DataLakeUpdateException(Aws::Utils::Json::JsonView jsonValue)
DataLakeUpdateException & WithReason(Aws::String &&value)
AWS_SECURITYLAKE_API DataLakeUpdateException & operator=(Aws::Utils::Json::JsonView jsonValue)
DataLakeUpdateException & WithCode(const char *value)
DataLakeUpdateException & WithCode(const Aws::String &value)
DataLakeUpdateException & WithCode(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue