AWS SDK for C++

AWS SDK for C++ Version 1.11.754

Loading...
Searching...
No Matches
SuccessfulKeyRegistrationEntry.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/quicksight/QuickSight_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace QuickSight {
20namespace Model {
21
29 public:
30 AWS_QUICKSIGHT_API SuccessfulKeyRegistrationEntry() = default;
33 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline const Aws::String& GetKeyArn() const { return m_keyArn; }
41 inline bool KeyArnHasBeenSet() const { return m_keyArnHasBeenSet; }
42 template <typename KeyArnT = Aws::String>
43 void SetKeyArn(KeyArnT&& value) {
44 m_keyArnHasBeenSet = true;
45 m_keyArn = std::forward<KeyArnT>(value);
46 }
47 template <typename KeyArnT = Aws::String>
49 SetKeyArn(std::forward<KeyArnT>(value));
50 return *this;
51 }
53
55
58 inline int GetStatusCode() const { return m_statusCode; }
59 inline bool StatusCodeHasBeenSet() const { return m_statusCodeHasBeenSet; }
60 inline void SetStatusCode(int value) {
61 m_statusCodeHasBeenSet = true;
62 m_statusCode = value;
63 }
65 SetStatusCode(value);
66 return *this;
67 }
69 private:
70 Aws::String m_keyArn;
71
72 int m_statusCode{0};
73 bool m_keyArnHasBeenSet = false;
74 bool m_statusCodeHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace QuickSight
79} // 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