AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename KeyArnT = Aws::String>
48 void SetKeyArn(KeyArnT&& value) { m_keyArnHasBeenSet = true; m_keyArn = std::forward<KeyArnT>(value); }
49 template<typename KeyArnT = Aws::String>
50 FailedKeyRegistrationEntry& WithKeyArn(KeyArnT&& value) { SetKeyArn(std::forward<KeyArnT>(value)); return *this;}
52
54
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) { m_messageHasBeenSet = true; m_message = std::forward<MessageT>(value); }
62 template<typename MessageT = Aws::String>
63 FailedKeyRegistrationEntry& WithMessage(MessageT&& value) { SetMessage(std::forward<MessageT>(value)); return *this;}
65
67
70 inline int GetStatusCode() const { return m_statusCode; }
71 inline bool StatusCodeHasBeenSet() const { return m_statusCodeHasBeenSet; }
72 inline void SetStatusCode(int value) { m_statusCodeHasBeenSet = true; m_statusCode = value; }
73 inline FailedKeyRegistrationEntry& WithStatusCode(int value) { SetStatusCode(value); return *this;}
75
77
85 inline bool GetSenderFault() const { return m_senderFault; }
86 inline bool SenderFaultHasBeenSet() const { return m_senderFaultHasBeenSet; }
87 inline void SetSenderFault(bool value) { m_senderFaultHasBeenSet = true; m_senderFault = value; }
88 inline FailedKeyRegistrationEntry& WithSenderFault(bool value) { SetSenderFault(value); return *this;}
90 private:
91
92 Aws::String m_keyArn;
93 bool m_keyArnHasBeenSet = false;
94
95 Aws::String m_message;
96 bool m_messageHasBeenSet = false;
97
98 int m_statusCode{0};
99 bool m_statusCodeHasBeenSet = false;
100
101 bool m_senderFault{false};
102 bool m_senderFaultHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace QuickSight
107} // namespace Aws
AWS_QUICKSIGHT_API FailedKeyRegistrationEntry(Aws::Utils::Json::JsonView jsonValue)
int GetStatusCode() const
void SetKeyArn(KeyArnT &&value)
void SetSenderFault(bool value)
void SetStatusCode(int value)
const Aws::String & GetKeyArn() const
FailedKeyRegistrationEntry & WithSenderFault(bool value)
bool KeyArnHasBeenSet() const
FailedKeyRegistrationEntry & WithKeyArn(KeyArnT &&value)
FailedKeyRegistrationEntry & WithMessage(MessageT &&value)
bool MessageHasBeenSet() const
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
bool SenderFaultHasBeenSet() const
bool StatusCodeHasBeenSet() const
bool GetSenderFault() const
FailedKeyRegistrationEntry & WithStatusCode(int value)
AWS_QUICKSIGHT_API FailedKeyRegistrationEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API FailedKeyRegistrationEntry()=default
const Aws::String & GetMessage() const
void SetMessage(MessageT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue