AWS SDK for C++  1.9.16
AWS SDK for C++
KMSKey.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace FraudDetector
22 {
23 namespace Model
24 {
25 
32  {
33  public:
34  KMSKey();
38 
39 
43  inline const Aws::String& GetKmsEncryptionKeyArn() const{ return m_kmsEncryptionKeyArn; }
44 
48  inline bool KmsEncryptionKeyArnHasBeenSet() const { return m_kmsEncryptionKeyArnHasBeenSet; }
49 
53  inline void SetKmsEncryptionKeyArn(const Aws::String& value) { m_kmsEncryptionKeyArnHasBeenSet = true; m_kmsEncryptionKeyArn = value; }
54 
58  inline void SetKmsEncryptionKeyArn(Aws::String&& value) { m_kmsEncryptionKeyArnHasBeenSet = true; m_kmsEncryptionKeyArn = std::move(value); }
59 
63  inline void SetKmsEncryptionKeyArn(const char* value) { m_kmsEncryptionKeyArnHasBeenSet = true; m_kmsEncryptionKeyArn.assign(value); }
64 
68  inline KMSKey& WithKmsEncryptionKeyArn(const Aws::String& value) { SetKmsEncryptionKeyArn(value); return *this;}
69 
73  inline KMSKey& WithKmsEncryptionKeyArn(Aws::String&& value) { SetKmsEncryptionKeyArn(std::move(value)); return *this;}
74 
78  inline KMSKey& WithKmsEncryptionKeyArn(const char* value) { SetKmsEncryptionKeyArn(value); return *this;}
79 
80  private:
81 
82  Aws::String m_kmsEncryptionKeyArn;
83  bool m_kmsEncryptionKeyArnHasBeenSet;
84  };
85 
86 } // namespace Model
87 } // namespace FraudDetector
88 } // namespace Aws
Aws::FraudDetector::Model::KMSKey::KMSKey
KMSKey()
Aws::FraudDetector::Model::KMSKey::operator=
KMSKey & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::FraudDetector::Model::KMSKey
Definition: KMSKey.h:32
FraudDetector_EXPORTS.h
Aws::FraudDetector::Model::KMSKey::SetKmsEncryptionKeyArn
void SetKmsEncryptionKeyArn(const Aws::String &value)
Definition: KMSKey.h:53
Aws::FraudDetector::Model::KMSKey::WithKmsEncryptionKeyArn
KMSKey & WithKmsEncryptionKeyArn(Aws::String &&value)
Definition: KMSKey.h:73
Aws::FraudDetector::Model::KMSKey::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::FraudDetector::Model::KMSKey::KmsEncryptionKeyArnHasBeenSet
bool KmsEncryptionKeyArnHasBeenSet() const
Definition: KMSKey.h:48
Aws::FraudDetector::Model::KMSKey::WithKmsEncryptionKeyArn
KMSKey & WithKmsEncryptionKeyArn(const char *value)
Definition: KMSKey.h:78
AWS_FRAUDDETECTOR_API
#define AWS_FRAUDDETECTOR_API
Definition: FraudDetector_EXPORTS.h:28
Aws::FraudDetector::Model::KMSKey::SetKmsEncryptionKeyArn
void SetKmsEncryptionKeyArn(const char *value)
Definition: KMSKey.h:63
Aws::FraudDetector::Model::KMSKey::KMSKey
KMSKey(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::FraudDetector::Model::KMSKey::GetKmsEncryptionKeyArn
const Aws::String & GetKmsEncryptionKeyArn() const
Definition: KMSKey.h:43
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::FraudDetector::Model::KMSKey::WithKmsEncryptionKeyArn
KMSKey & WithKmsEncryptionKeyArn(const Aws::String &value)
Definition: KMSKey.h:68
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::FraudDetector::Model::KMSKey::SetKmsEncryptionKeyArn
void SetKmsEncryptionKeyArn(Aws::String &&value)
Definition: KMSKey.h:58