AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
InternalServerException.h
Go to the documentation of this file.
1
6#pragma once
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 Panorama
22{
23namespace Model
24{
25
32 {
33 public:
38
39
40
41 inline const Aws::String& GetMessage() const{ return m_message; }
42
43
44 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
45
46
47 inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
48
49
50 inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
51
52
53 inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
54
55
56 inline InternalServerException& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
57
58
59 inline InternalServerException& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
60
61
62 inline InternalServerException& WithMessage(const char* value) { SetMessage(value); return *this;}
63
64
68 inline int GetRetryAfterSeconds() const{ return m_retryAfterSeconds; }
69
73 inline bool RetryAfterSecondsHasBeenSet() const { return m_retryAfterSecondsHasBeenSet; }
74
78 inline void SetRetryAfterSeconds(int value) { m_retryAfterSecondsHasBeenSet = true; m_retryAfterSeconds = value; }
79
83 inline InternalServerException& WithRetryAfterSeconds(int value) { SetRetryAfterSeconds(value); return *this;}
84
85 private:
86
87 Aws::String m_message;
88 bool m_messageHasBeenSet = false;
89
90 int m_retryAfterSeconds;
91 bool m_retryAfterSecondsHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace Panorama
96} // namespace Aws
#define AWS_PANORAMA_API
InternalServerException & WithMessage(const char *value)
InternalServerException & WithMessage(const Aws::String &value)
InternalServerException & WithMessage(Aws::String &&value)
AWS_PANORAMA_API InternalServerException(Aws::Utils::Json::JsonView jsonValue)
AWS_PANORAMA_API InternalServerException & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_PANORAMA_API Aws::Utils::Json::JsonValue Jsonize() const
InternalServerException & WithRetryAfterSeconds(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String