AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
KmsKey.h
1
6#pragma once
7#include <aws/groundstation/GroundStation_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 GroundStation
22{
23namespace Model
24{
25
31 class KmsKey
32 {
33 public:
34 AWS_GROUNDSTATION_API KmsKey();
35 AWS_GROUNDSTATION_API KmsKey(Aws::Utils::Json::JsonView jsonValue);
36 AWS_GROUNDSTATION_API KmsKey& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_GROUNDSTATION_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetKmsAliasArn() const{ return m_kmsAliasArn; }
45 inline bool KmsAliasArnHasBeenSet() const { return m_kmsAliasArnHasBeenSet; }
46 inline void SetKmsAliasArn(const Aws::String& value) { m_kmsAliasArnHasBeenSet = true; m_kmsAliasArn = value; }
47 inline void SetKmsAliasArn(Aws::String&& value) { m_kmsAliasArnHasBeenSet = true; m_kmsAliasArn = std::move(value); }
48 inline void SetKmsAliasArn(const char* value) { m_kmsAliasArnHasBeenSet = true; m_kmsAliasArn.assign(value); }
49 inline KmsKey& WithKmsAliasArn(const Aws::String& value) { SetKmsAliasArn(value); return *this;}
50 inline KmsKey& WithKmsAliasArn(Aws::String&& value) { SetKmsAliasArn(std::move(value)); return *this;}
51 inline KmsKey& WithKmsAliasArn(const char* value) { SetKmsAliasArn(value); return *this;}
53
55
58 inline const Aws::String& GetKmsAliasName() const{ return m_kmsAliasName; }
59 inline bool KmsAliasNameHasBeenSet() const { return m_kmsAliasNameHasBeenSet; }
60 inline void SetKmsAliasName(const Aws::String& value) { m_kmsAliasNameHasBeenSet = true; m_kmsAliasName = value; }
61 inline void SetKmsAliasName(Aws::String&& value) { m_kmsAliasNameHasBeenSet = true; m_kmsAliasName = std::move(value); }
62 inline void SetKmsAliasName(const char* value) { m_kmsAliasNameHasBeenSet = true; m_kmsAliasName.assign(value); }
63 inline KmsKey& WithKmsAliasName(const Aws::String& value) { SetKmsAliasName(value); return *this;}
64 inline KmsKey& WithKmsAliasName(Aws::String&& value) { SetKmsAliasName(std::move(value)); return *this;}
65 inline KmsKey& WithKmsAliasName(const char* value) { SetKmsAliasName(value); return *this;}
67
69
72 inline const Aws::String& GetKmsKeyArn() const{ return m_kmsKeyArn; }
73 inline bool KmsKeyArnHasBeenSet() const { return m_kmsKeyArnHasBeenSet; }
74 inline void SetKmsKeyArn(const Aws::String& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = value; }
75 inline void SetKmsKeyArn(Aws::String&& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = std::move(value); }
76 inline void SetKmsKeyArn(const char* value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn.assign(value); }
77 inline KmsKey& WithKmsKeyArn(const Aws::String& value) { SetKmsKeyArn(value); return *this;}
78 inline KmsKey& WithKmsKeyArn(Aws::String&& value) { SetKmsKeyArn(std::move(value)); return *this;}
79 inline KmsKey& WithKmsKeyArn(const char* value) { SetKmsKeyArn(value); return *this;}
81 private:
82
83 Aws::String m_kmsAliasArn;
84 bool m_kmsAliasArnHasBeenSet = false;
85
86 Aws::String m_kmsAliasName;
87 bool m_kmsAliasNameHasBeenSet = false;
88
89 Aws::String m_kmsKeyArn;
90 bool m_kmsKeyArnHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace GroundStation
95} // namespace Aws
void SetKmsAliasName(const char *value)
Definition KmsKey.h:62
void SetKmsKeyArn(const Aws::String &value)
Definition KmsKey.h:74
void SetKmsKeyArn(Aws::String &&value)
Definition KmsKey.h:75
KmsKey & WithKmsKeyArn(Aws::String &&value)
Definition KmsKey.h:78
KmsKey & WithKmsAliasName(Aws::String &&value)
Definition KmsKey.h:64
const Aws::String & GetKmsKeyArn() const
Definition KmsKey.h:72
const Aws::String & GetKmsAliasName() const
Definition KmsKey.h:58
AWS_GROUNDSTATION_API KmsKey(Aws::Utils::Json::JsonView jsonValue)
AWS_GROUNDSTATION_API KmsKey()
KmsKey & WithKmsAliasName(const char *value)
Definition KmsKey.h:65
void SetKmsKeyArn(const char *value)
Definition KmsKey.h:76
AWS_GROUNDSTATION_API Aws::Utils::Json::JsonValue Jsonize() const
KmsKey & WithKmsKeyArn(const Aws::String &value)
Definition KmsKey.h:77
void SetKmsAliasArn(Aws::String &&value)
Definition KmsKey.h:47
void SetKmsAliasArn(const char *value)
Definition KmsKey.h:48
void SetKmsAliasName(const Aws::String &value)
Definition KmsKey.h:60
AWS_GROUNDSTATION_API KmsKey & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetKmsAliasArn(const Aws::String &value)
Definition KmsKey.h:46
KmsKey & WithKmsAliasArn(Aws::String &&value)
Definition KmsKey.h:50
KmsKey & WithKmsKeyArn(const char *value)
Definition KmsKey.h:79
KmsKey & WithKmsAliasArn(const Aws::String &value)
Definition KmsKey.h:49
bool KmsAliasNameHasBeenSet() const
Definition KmsKey.h:59
KmsKey & WithKmsAliasArn(const char *value)
Definition KmsKey.h:51
const Aws::String & GetKmsAliasArn() const
Definition KmsKey.h:44
void SetKmsAliasName(Aws::String &&value)
Definition KmsKey.h:61
KmsKey & WithKmsAliasName(const Aws::String &value)
Definition KmsKey.h:63
bool KmsAliasArnHasBeenSet() const
Definition KmsKey.h:45
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue