AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
DocumentServiceException.h
1
6#pragma once
7#include <aws/cloudsearchdomain/CloudSearchDomain_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace CloudSearchDomain {
20namespace Model {
21
29 public:
30 AWS_CLOUDSEARCHDOMAIN_API DocumentServiceException() = default;
31 AWS_CLOUDSEARCHDOMAIN_API DocumentServiceException(Aws::Utils::Json::JsonView jsonValue);
32 AWS_CLOUDSEARCHDOMAIN_API DocumentServiceException& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_CLOUDSEARCHDOMAIN_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline const Aws::String& GetStatus() const { return m_status; }
41 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
42 template <typename StatusT = Aws::String>
43 void SetStatus(StatusT&& value) {
44 m_statusHasBeenSet = true;
45 m_status = std::forward<StatusT>(value);
46 }
47 template <typename StatusT = Aws::String>
49 SetStatus(std::forward<StatusT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetMessage() const { return m_message; }
59 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
60 template <typename MessageT = Aws::String>
61 void SetMessage(MessageT&& value) {
62 m_messageHasBeenSet = true;
63 m_message = std::forward<MessageT>(value);
64 }
65 template <typename MessageT = Aws::String>
67 SetMessage(std::forward<MessageT>(value));
68 return *this;
69 }
71 private:
72 Aws::String m_status;
73
74 Aws::String m_message;
75 bool m_statusHasBeenSet = false;
76 bool m_messageHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace CloudSearchDomain
81} // namespace Aws
DocumentServiceException & WithMessage(MessageT &&value)
AWS_CLOUDSEARCHDOMAIN_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CLOUDSEARCHDOMAIN_API DocumentServiceException & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CLOUDSEARCHDOMAIN_API DocumentServiceException()=default
DocumentServiceException & WithStatus(StatusT &&value)
AWS_CLOUDSEARCHDOMAIN_API DocumentServiceException(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue