AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetKeyArn(const Aws::String& value) { m_keyArnHasBeenSet = true; m_keyArn = value; }
53 inline void SetKeyArn(Aws::String&& value) { m_keyArnHasBeenSet = true; m_keyArn = std::move(value); }
54 inline void SetKeyArn(const char* value) { m_keyArnHasBeenSet = true; m_keyArn.assign(value); }
55 inline RegisteredCustomerManagedKey& WithKeyArn(const Aws::String& value) { SetKeyArn(value); return *this;}
56 inline RegisteredCustomerManagedKey& WithKeyArn(Aws::String&& value) { SetKeyArn(std::move(value)); return *this;}
57 inline RegisteredCustomerManagedKey& WithKeyArn(const char* value) { SetKeyArn(value); return *this;}
59
61
65 inline bool GetDefaultKey() const{ return m_defaultKey; }
66 inline bool DefaultKeyHasBeenSet() const { return m_defaultKeyHasBeenSet; }
67 inline void SetDefaultKey(bool value) { m_defaultKeyHasBeenSet = true; m_defaultKey = value; }
68 inline RegisteredCustomerManagedKey& WithDefaultKey(bool value) { SetDefaultKey(value); return *this;}
70 private:
71
72 Aws::String m_keyArn;
73 bool m_keyArnHasBeenSet = false;
74
75 bool m_defaultKey;
76 bool m_defaultKeyHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace QuickSight
81} // namespace Aws
RegisteredCustomerManagedKey & WithKeyArn(const Aws::String &value)
RegisteredCustomerManagedKey & WithDefaultKey(bool value)
RegisteredCustomerManagedKey & WithKeyArn(Aws::String &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API RegisteredCustomerManagedKey(Aws::Utils::Json::JsonView jsonValue)
RegisteredCustomerManagedKey & WithKeyArn(const char *value)
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