AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetKeyArn(const Aws::String& value) { m_keyArnHasBeenSet = true; m_keyArn = value; }
50 inline void SetKeyArn(Aws::String&& value) { m_keyArnHasBeenSet = true; m_keyArn = std::move(value); }
51 inline void SetKeyArn(const char* value) { m_keyArnHasBeenSet = true; m_keyArn.assign(value); }
52 inline SuccessfulKeyRegistrationEntry& WithKeyArn(const Aws::String& value) { SetKeyArn(value); return *this;}
53 inline SuccessfulKeyRegistrationEntry& WithKeyArn(Aws::String&& value) { SetKeyArn(std::move(value)); return *this;}
54 inline SuccessfulKeyRegistrationEntry& WithKeyArn(const char* value) { SetKeyArn(value); return *this;}
56
58
61 inline int GetStatusCode() const{ return m_statusCode; }
62 inline bool StatusCodeHasBeenSet() const { return m_statusCodeHasBeenSet; }
63 inline void SetStatusCode(int value) { m_statusCodeHasBeenSet = true; m_statusCode = value; }
64 inline SuccessfulKeyRegistrationEntry& WithStatusCode(int value) { SetStatusCode(value); return *this;}
66 private:
67
68 Aws::String m_keyArn;
69 bool m_keyArnHasBeenSet = false;
70
71 int m_statusCode;
72 bool m_statusCodeHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace QuickSight
77} // namespace Aws
SuccessfulKeyRegistrationEntry & WithKeyArn(const Aws::String &value)
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)
void SetKeyArn(Aws::String &&value)
SuccessfulKeyRegistrationEntry & WithKeyArn(Aws::String &&value)
int GetStatusCode() const
void SetKeyArn(const char *value)
AWS_QUICKSIGHT_API SuccessfulKeyRegistrationEntry()
SuccessfulKeyRegistrationEntry & WithStatusCode(int value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetKeyArn(const Aws::String &value)
SuccessfulKeyRegistrationEntry & WithKeyArn(const char *value)
AWS_QUICKSIGHT_API SuccessfulKeyRegistrationEntry(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue