AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
DataLakeUpdateException.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/securitylake/SecurityLake_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SecurityLake {
20namespace Model {
21
30 public:
31 AWS_SECURITYLAKE_API DataLakeUpdateException() = default;
32 AWS_SECURITYLAKE_API DataLakeUpdateException(Aws::Utils::Json::JsonView jsonValue);
34 AWS_SECURITYLAKE_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const Aws::String& GetCode() const { return m_code; }
42 inline bool CodeHasBeenSet() const { return m_codeHasBeenSet; }
43 template <typename CodeT = Aws::String>
44 void SetCode(CodeT&& value) {
45 m_codeHasBeenSet = true;
46 m_code = std::forward<CodeT>(value);
47 }
48 template <typename CodeT = Aws::String>
50 SetCode(std::forward<CodeT>(value));
51 return *this;
52 }
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) {
64 m_reasonHasBeenSet = true;
65 m_reason = std::forward<ReasonT>(value);
66 }
67 template <typename ReasonT = Aws::String>
69 SetReason(std::forward<ReasonT>(value));
70 return *this;
71 }
73 private:
74 Aws::String m_code;
75
76 Aws::String m_reason;
77 bool m_codeHasBeenSet = false;
78 bool m_reasonHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace SecurityLake
83} // 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