AWS SDK for C++

AWS SDK for C++ Version 1.11.717

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
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace signer {
21namespace Model {
22
29 public:
30 AWS_SIGNER_API SigningConfiguration() = default;
33 AWS_SIGNER_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline const EncryptionAlgorithmOptions& GetEncryptionAlgorithmOptions() const { return m_encryptionAlgorithmOptions; }
41 inline bool EncryptionAlgorithmOptionsHasBeenSet() const { return m_encryptionAlgorithmOptionsHasBeenSet; }
42 template <typename EncryptionAlgorithmOptionsT = EncryptionAlgorithmOptions>
43 void SetEncryptionAlgorithmOptions(EncryptionAlgorithmOptionsT&& value) {
44 m_encryptionAlgorithmOptionsHasBeenSet = true;
45 m_encryptionAlgorithmOptions = std::forward<EncryptionAlgorithmOptionsT>(value);
46 }
47 template <typename EncryptionAlgorithmOptionsT = EncryptionAlgorithmOptions>
48 SigningConfiguration& WithEncryptionAlgorithmOptions(EncryptionAlgorithmOptionsT&& value) {
49 SetEncryptionAlgorithmOptions(std::forward<EncryptionAlgorithmOptionsT>(value));
50 return *this;
51 }
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) {
62 m_hashAlgorithmOptionsHasBeenSet = true;
63 m_hashAlgorithmOptions = std::forward<HashAlgorithmOptionsT>(value);
64 }
65 template <typename HashAlgorithmOptionsT = HashAlgorithmOptions>
66 SigningConfiguration& WithHashAlgorithmOptions(HashAlgorithmOptionsT&& value) {
67 SetHashAlgorithmOptions(std::forward<HashAlgorithmOptionsT>(value));
68 return *this;
69 }
71 private:
72 EncryptionAlgorithmOptions m_encryptionAlgorithmOptions;
73
74 HashAlgorithmOptions m_hashAlgorithmOptions;
75 bool m_encryptionAlgorithmOptionsHasBeenSet = false;
76 bool m_hashAlgorithmOptionsHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace signer
81} // 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