AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Alias.h
1
6#pragma once
7#include <aws/payment-cryptography/PaymentCryptography_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 PaymentCryptography
22{
23namespace Model
24{
25
31 class Alias
32 {
33 public:
34 AWS_PAYMENTCRYPTOGRAPHY_API Alias();
35 AWS_PAYMENTCRYPTOGRAPHY_API Alias(Aws::Utils::Json::JsonView jsonValue);
36 AWS_PAYMENTCRYPTOGRAPHY_API Alias& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_PAYMENTCRYPTOGRAPHY_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
47 inline const Aws::String& GetAliasName() const{ return m_aliasName; }
48 inline bool AliasNameHasBeenSet() const { return m_aliasNameHasBeenSet; }
49 inline void SetAliasName(const Aws::String& value) { m_aliasNameHasBeenSet = true; m_aliasName = value; }
50 inline void SetAliasName(Aws::String&& value) { m_aliasNameHasBeenSet = true; m_aliasName = std::move(value); }
51 inline void SetAliasName(const char* value) { m_aliasNameHasBeenSet = true; m_aliasName.assign(value); }
52 inline Alias& WithAliasName(const Aws::String& value) { SetAliasName(value); return *this;}
53 inline Alias& WithAliasName(Aws::String&& value) { SetAliasName(std::move(value)); return *this;}
54 inline Alias& WithAliasName(const char* value) { SetAliasName(value); return *this;}
56
58
61 inline const Aws::String& GetKeyArn() const{ return m_keyArn; }
62 inline bool KeyArnHasBeenSet() const { return m_keyArnHasBeenSet; }
63 inline void SetKeyArn(const Aws::String& value) { m_keyArnHasBeenSet = true; m_keyArn = value; }
64 inline void SetKeyArn(Aws::String&& value) { m_keyArnHasBeenSet = true; m_keyArn = std::move(value); }
65 inline void SetKeyArn(const char* value) { m_keyArnHasBeenSet = true; m_keyArn.assign(value); }
66 inline Alias& WithKeyArn(const Aws::String& value) { SetKeyArn(value); return *this;}
67 inline Alias& WithKeyArn(Aws::String&& value) { SetKeyArn(std::move(value)); return *this;}
68 inline Alias& WithKeyArn(const char* value) { SetKeyArn(value); return *this;}
70 private:
71
72 Aws::String m_aliasName;
73 bool m_aliasNameHasBeenSet = false;
74
75 Aws::String m_keyArn;
76 bool m_keyArnHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace PaymentCryptography
81} // namespace Aws
void SetAliasName(const char *value)
Definition Alias.h:51
Alias & WithKeyArn(const char *value)
Definition Alias.h:68
Alias & WithAliasName(const char *value)
Definition Alias.h:54
void SetAliasName(Aws::String &&value)
Definition Alias.h:50
const Aws::String & GetAliasName() const
Definition Alias.h:47
AWS_PAYMENTCRYPTOGRAPHY_API Alias & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetKeyArn(Aws::String &&value)
Definition Alias.h:64
Alias & WithAliasName(Aws::String &&value)
Definition Alias.h:53
Alias & WithKeyArn(const Aws::String &value)
Definition Alias.h:66
void SetKeyArn(const Aws::String &value)
Definition Alias.h:63
AWS_PAYMENTCRYPTOGRAPHY_API Alias()
AWS_PAYMENTCRYPTOGRAPHY_API Aws::Utils::Json::JsonValue Jsonize() const
Alias & WithKeyArn(Aws::String &&value)
Definition Alias.h:67
void SetAliasName(const Aws::String &value)
Definition Alias.h:49
Alias & WithAliasName(const Aws::String &value)
Definition Alias.h:52
void SetKeyArn(const char *value)
Definition Alias.h:65
const Aws::String & GetKeyArn() const
Definition Alias.h:61
AWS_PAYMENTCRYPTOGRAPHY_API Alias(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue