AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename CodeT = Aws::String>
50 void SetCode(CodeT&& value) { m_codeHasBeenSet = true; m_code = std::forward<CodeT>(value); }
51 template<typename CodeT = Aws::String>
52 DataLakeUpdateException& WithCode(CodeT&& value) { SetCode(std::forward<CodeT>(value)); return *this;}
54
56
60 inline const Aws::String& GetReason() const { return m_reason; }
61 inline bool ReasonHasBeenSet() const { return m_reasonHasBeenSet; }
62 template<typename ReasonT = Aws::String>
63 void SetReason(ReasonT&& value) { m_reasonHasBeenSet = true; m_reason = std::forward<ReasonT>(value); }
64 template<typename ReasonT = Aws::String>
65 DataLakeUpdateException& WithReason(ReasonT&& value) { SetReason(std::forward<ReasonT>(value)); return *this;}
67 private:
68
69 Aws::String m_code;
70 bool m_codeHasBeenSet = false;
71
72 Aws::String m_reason;
73 bool m_reasonHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace SecurityLake
78} // namespace Aws
DataLakeUpdateException & WithCode(CodeT &&value)
AWS_SECURITYLAKE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SECURITYLAKE_API DataLakeUpdateException(Aws::Utils::Json::JsonView jsonValue)
DataLakeUpdateException & WithReason(ReasonT &&value)
AWS_SECURITYLAKE_API DataLakeUpdateException & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYLAKE_API DataLakeUpdateException()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue