AWS SDK for C++

AWS SDK for C++ Version 1.11.740

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