AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FailedKeyRegistrationEntry.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_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 QuickSight
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_QUICKSIGHT_API FailedKeyRegistrationEntry();
38 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetKeyArn() const{ return m_keyArn; }
46 inline bool KeyArnHasBeenSet() const { return m_keyArnHasBeenSet; }
47 inline void SetKeyArn(const Aws::String& value) { m_keyArnHasBeenSet = true; m_keyArn = value; }
48 inline void SetKeyArn(Aws::String&& value) { m_keyArnHasBeenSet = true; m_keyArn = std::move(value); }
49 inline void SetKeyArn(const char* value) { m_keyArnHasBeenSet = true; m_keyArn.assign(value); }
50 inline FailedKeyRegistrationEntry& WithKeyArn(const Aws::String& value) { SetKeyArn(value); return *this;}
51 inline FailedKeyRegistrationEntry& WithKeyArn(Aws::String&& value) { SetKeyArn(std::move(value)); return *this;}
52 inline FailedKeyRegistrationEntry& WithKeyArn(const char* value) { SetKeyArn(value); return *this;}
54
56
60 inline const Aws::String& GetMessage() const{ return m_message; }
61 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
62 inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
63 inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
64 inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
65 inline FailedKeyRegistrationEntry& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
66 inline FailedKeyRegistrationEntry& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
67 inline FailedKeyRegistrationEntry& WithMessage(const char* value) { SetMessage(value); return *this;}
69
71
74 inline int GetStatusCode() const{ return m_statusCode; }
75 inline bool StatusCodeHasBeenSet() const { return m_statusCodeHasBeenSet; }
76 inline void SetStatusCode(int value) { m_statusCodeHasBeenSet = true; m_statusCode = value; }
77 inline FailedKeyRegistrationEntry& WithStatusCode(int value) { SetStatusCode(value); return *this;}
79
81
89 inline bool GetSenderFault() const{ return m_senderFault; }
90 inline bool SenderFaultHasBeenSet() const { return m_senderFaultHasBeenSet; }
91 inline void SetSenderFault(bool value) { m_senderFaultHasBeenSet = true; m_senderFault = value; }
92 inline FailedKeyRegistrationEntry& WithSenderFault(bool value) { SetSenderFault(value); return *this;}
94 private:
95
96 Aws::String m_keyArn;
97 bool m_keyArnHasBeenSet = false;
98
99 Aws::String m_message;
100 bool m_messageHasBeenSet = false;
101
102 int m_statusCode;
103 bool m_statusCodeHasBeenSet = false;
104
105 bool m_senderFault;
106 bool m_senderFaultHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace QuickSight
111} // namespace Aws
AWS_QUICKSIGHT_API FailedKeyRegistrationEntry(Aws::Utils::Json::JsonView jsonValue)
int GetStatusCode() const
void SetSenderFault(bool value)
void SetStatusCode(int value)
FailedKeyRegistrationEntry & WithKeyArn(const Aws::String &value)
const Aws::String & GetKeyArn() const
FailedKeyRegistrationEntry & WithMessage(const Aws::String &value)
FailedKeyRegistrationEntry & WithSenderFault(bool value)
bool KeyArnHasBeenSet() const
void SetKeyArn(const char *value)
bool MessageHasBeenSet() const
void SetKeyArn(const Aws::String &value)
void SetMessage(const char *value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
bool SenderFaultHasBeenSet() const
FailedKeyRegistrationEntry & WithKeyArn(const char *value)
FailedKeyRegistrationEntry & WithMessage(Aws::String &&value)
bool StatusCodeHasBeenSet() const
bool GetSenderFault() const
FailedKeyRegistrationEntry & WithKeyArn(Aws::String &&value)
FailedKeyRegistrationEntry & WithMessage(const char *value)
AWS_QUICKSIGHT_API FailedKeyRegistrationEntry()
FailedKeyRegistrationEntry & WithStatusCode(int value)
void SetMessage(const Aws::String &value)
AWS_QUICKSIGHT_API FailedKeyRegistrationEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetMessage(Aws::String &&value)
const Aws::String & GetMessage() const
void SetKeyArn(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue