AWS SDK for C++

AWS SDK for C++ Version 1.11.750

Loading...
Searching...
No Matches
RegisteredCustomerManagedKey.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
33 public:
34 AWS_QUICKSIGHT_API RegisteredCustomerManagedKey() = default;
37 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
44 inline const Aws::String& GetKeyArn() const { return m_keyArn; }
45 inline bool KeyArnHasBeenSet() const { return m_keyArnHasBeenSet; }
46 template <typename KeyArnT = Aws::String>
47 void SetKeyArn(KeyArnT&& value) {
48 m_keyArnHasBeenSet = true;
49 m_keyArn = std::forward<KeyArnT>(value);
50 }
51 template <typename KeyArnT = Aws::String>
53 SetKeyArn(std::forward<KeyArnT>(value));
54 return *this;
55 }
57
59
63 inline bool GetDefaultKey() const { return m_defaultKey; }
64 inline bool DefaultKeyHasBeenSet() const { return m_defaultKeyHasBeenSet; }
65 inline void SetDefaultKey(bool value) {
66 m_defaultKeyHasBeenSet = true;
67 m_defaultKey = value;
68 }
70 SetDefaultKey(value);
71 return *this;
72 }
74 private:
75 Aws::String m_keyArn;
76
77 bool m_defaultKey{false};
78 bool m_keyArnHasBeenSet = false;
79 bool m_defaultKeyHasBeenSet = false;
80};
81
82} // namespace Model
83} // namespace QuickSight
84} // namespace Aws
RegisteredCustomerManagedKey & WithKeyArn(KeyArnT &&value)
AWS_QUICKSIGHT_API RegisteredCustomerManagedKey()=default
RegisteredCustomerManagedKey & WithDefaultKey(bool value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API RegisteredCustomerManagedKey(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API RegisteredCustomerManagedKey & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue