AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
SuccessfulKeyRegistrationEntry.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
34 {
35 public:
36 AWS_QUICKSIGHT_API SuccessfulKeyRegistrationEntry() = default;
39 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetKeyArn() const { return m_keyArn; }
48 inline bool KeyArnHasBeenSet() const { return m_keyArnHasBeenSet; }
49 template<typename KeyArnT = Aws::String>
50 void SetKeyArn(KeyArnT&& value) { m_keyArnHasBeenSet = true; m_keyArn = std::forward<KeyArnT>(value); }
51 template<typename KeyArnT = Aws::String>
52 SuccessfulKeyRegistrationEntry& WithKeyArn(KeyArnT&& value) { SetKeyArn(std::forward<KeyArnT>(value)); return *this;}
54
56
59 inline int GetStatusCode() const { return m_statusCode; }
60 inline bool StatusCodeHasBeenSet() const { return m_statusCodeHasBeenSet; }
61 inline void SetStatusCode(int value) { m_statusCodeHasBeenSet = true; m_statusCode = value; }
62 inline SuccessfulKeyRegistrationEntry& WithStatusCode(int value) { SetStatusCode(value); return *this;}
64 private:
65
66 Aws::String m_keyArn;
67 bool m_keyArnHasBeenSet = false;
68
69 int m_statusCode{0};
70 bool m_statusCodeHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace QuickSight
75} // namespace Aws
const Aws::String & GetKeyArn() const
AWS_QUICKSIGHT_API SuccessfulKeyRegistrationEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
bool StatusCodeHasBeenSet() const
bool KeyArnHasBeenSet() const
void SetStatusCode(int value)
int GetStatusCode() const
SuccessfulKeyRegistrationEntry & WithKeyArn(KeyArnT &&value)
SuccessfulKeyRegistrationEntry & WithStatusCode(int value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API SuccessfulKeyRegistrationEntry()=default
AWS_QUICKSIGHT_API SuccessfulKeyRegistrationEntry(Aws::Utils::Json::JsonView jsonValue)
void SetKeyArn(KeyArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue