AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SseConfig.h
1
6#pragma once
7#include <aws/omics/Omics_EXPORTS.h>
8#include <aws/omics/model/EncryptionType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Omics
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_OMICS_API SseConfig();
36 AWS_OMICS_API SseConfig(Aws::Utils::Json::JsonView jsonValue);
38 AWS_OMICS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const EncryptionType& GetType() const{ return m_type; }
46 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
47 inline void SetType(const EncryptionType& value) { m_typeHasBeenSet = true; m_type = value; }
48 inline void SetType(EncryptionType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
49 inline SseConfig& WithType(const EncryptionType& value) { SetType(value); return *this;}
50 inline SseConfig& WithType(EncryptionType&& value) { SetType(std::move(value)); return *this;}
52
54
57 inline const Aws::String& GetKeyArn() const{ return m_keyArn; }
58 inline bool KeyArnHasBeenSet() const { return m_keyArnHasBeenSet; }
59 inline void SetKeyArn(const Aws::String& value) { m_keyArnHasBeenSet = true; m_keyArn = value; }
60 inline void SetKeyArn(Aws::String&& value) { m_keyArnHasBeenSet = true; m_keyArn = std::move(value); }
61 inline void SetKeyArn(const char* value) { m_keyArnHasBeenSet = true; m_keyArn.assign(value); }
62 inline SseConfig& WithKeyArn(const Aws::String& value) { SetKeyArn(value); return *this;}
63 inline SseConfig& WithKeyArn(Aws::String&& value) { SetKeyArn(std::move(value)); return *this;}
64 inline SseConfig& WithKeyArn(const char* value) { SetKeyArn(value); return *this;}
66 private:
67
68 EncryptionType m_type;
69 bool m_typeHasBeenSet = false;
70
71 Aws::String m_keyArn;
72 bool m_keyArnHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace Omics
77} // namespace Aws
SseConfig & WithType(const EncryptionType &value)
Definition SseConfig.h:49
const Aws::String & GetKeyArn() const
Definition SseConfig.h:57
void SetType(EncryptionType &&value)
Definition SseConfig.h:48
AWS_OMICS_API SseConfig(Aws::Utils::Json::JsonView jsonValue)
bool KeyArnHasBeenSet() const
Definition SseConfig.h:58
SseConfig & WithKeyArn(Aws::String &&value)
Definition SseConfig.h:63
void SetKeyArn(const char *value)
Definition SseConfig.h:61
AWS_OMICS_API Aws::Utils::Json::JsonValue Jsonize() const
const EncryptionType & GetType() const
Definition SseConfig.h:45
AWS_OMICS_API SseConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetKeyArn(Aws::String &&value)
Definition SseConfig.h:60
void SetKeyArn(const Aws::String &value)
Definition SseConfig.h:59
SseConfig & WithType(EncryptionType &&value)
Definition SseConfig.h:50
void SetType(const EncryptionType &value)
Definition SseConfig.h:47
SseConfig & WithKeyArn(const char *value)
Definition SseConfig.h:64
SseConfig & WithKeyArn(const Aws::String &value)
Definition SseConfig.h:62
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue