AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
SigningConfiguration.h
1
6#pragma once
7#include <aws/signer/Signer_EXPORTS.h>
8#include <aws/signer/model/EncryptionAlgorithmOptions.h>
9#include <aws/signer/model/HashAlgorithmOptions.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 signer
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_SIGNER_API SigningConfiguration() = default;
38 AWS_SIGNER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const EncryptionAlgorithmOptions& GetEncryptionAlgorithmOptions() const { return m_encryptionAlgorithmOptions; }
47 inline bool EncryptionAlgorithmOptionsHasBeenSet() const { return m_encryptionAlgorithmOptionsHasBeenSet; }
48 template<typename EncryptionAlgorithmOptionsT = EncryptionAlgorithmOptions>
49 void SetEncryptionAlgorithmOptions(EncryptionAlgorithmOptionsT&& value) { m_encryptionAlgorithmOptionsHasBeenSet = true; m_encryptionAlgorithmOptions = std::forward<EncryptionAlgorithmOptionsT>(value); }
50 template<typename EncryptionAlgorithmOptionsT = EncryptionAlgorithmOptions>
51 SigningConfiguration& WithEncryptionAlgorithmOptions(EncryptionAlgorithmOptionsT&& value) { SetEncryptionAlgorithmOptions(std::forward<EncryptionAlgorithmOptionsT>(value)); return *this;}
53
55
58 inline const HashAlgorithmOptions& GetHashAlgorithmOptions() const { return m_hashAlgorithmOptions; }
59 inline bool HashAlgorithmOptionsHasBeenSet() const { return m_hashAlgorithmOptionsHasBeenSet; }
60 template<typename HashAlgorithmOptionsT = HashAlgorithmOptions>
61 void SetHashAlgorithmOptions(HashAlgorithmOptionsT&& value) { m_hashAlgorithmOptionsHasBeenSet = true; m_hashAlgorithmOptions = std::forward<HashAlgorithmOptionsT>(value); }
62 template<typename HashAlgorithmOptionsT = HashAlgorithmOptions>
63 SigningConfiguration& WithHashAlgorithmOptions(HashAlgorithmOptionsT&& value) { SetHashAlgorithmOptions(std::forward<HashAlgorithmOptionsT>(value)); return *this;}
65 private:
66
67 EncryptionAlgorithmOptions m_encryptionAlgorithmOptions;
68 bool m_encryptionAlgorithmOptionsHasBeenSet = false;
69
70 HashAlgorithmOptions m_hashAlgorithmOptions;
71 bool m_hashAlgorithmOptionsHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace signer
76} // namespace Aws
void SetHashAlgorithmOptions(HashAlgorithmOptionsT &&value)
SigningConfiguration & WithEncryptionAlgorithmOptions(EncryptionAlgorithmOptionsT &&value)
AWS_SIGNER_API SigningConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SIGNER_API SigningConfiguration()=default
void SetEncryptionAlgorithmOptions(EncryptionAlgorithmOptionsT &&value)
AWS_SIGNER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SIGNER_API SigningConfiguration(Aws::Utils::Json::JsonView jsonValue)
SigningConfiguration & WithHashAlgorithmOptions(HashAlgorithmOptionsT &&value)
const HashAlgorithmOptions & GetHashAlgorithmOptions() const
const EncryptionAlgorithmOptions & GetEncryptionAlgorithmOptions() const
Aws::Utils::Json::JsonValue JsonValue