AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
RegisteredCustomerManagedKey.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
37 {
38 public:
39 AWS_QUICKSIGHT_API RegisteredCustomerManagedKey() = default;
42 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
50 inline const Aws::String& GetKeyArn() const { return m_keyArn; }
51 inline bool KeyArnHasBeenSet() const { return m_keyArnHasBeenSet; }
52 template<typename KeyArnT = Aws::String>
53 void SetKeyArn(KeyArnT&& value) { m_keyArnHasBeenSet = true; m_keyArn = std::forward<KeyArnT>(value); }
54 template<typename KeyArnT = Aws::String>
55 RegisteredCustomerManagedKey& WithKeyArn(KeyArnT&& value) { SetKeyArn(std::forward<KeyArnT>(value)); return *this;}
57
59
63 inline bool GetDefaultKey() const { return m_defaultKey; }
64 inline bool DefaultKeyHasBeenSet() const { return m_defaultKeyHasBeenSet; }
65 inline void SetDefaultKey(bool value) { m_defaultKeyHasBeenSet = true; m_defaultKey = value; }
66 inline RegisteredCustomerManagedKey& WithDefaultKey(bool value) { SetDefaultKey(value); return *this;}
68 private:
69
70 Aws::String m_keyArn;
71 bool m_keyArnHasBeenSet = false;
72
73 bool m_defaultKey{false};
74 bool m_defaultKeyHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace QuickSight
79} // 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