AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
EncryptionAlgorithmOptions.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/signer/Signer_EXPORTS.h>
9#include <aws/signer/model/EncryptionAlgorithm.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
30 public:
31 AWS_SIGNER_API EncryptionAlgorithmOptions() = default;
34 AWS_SIGNER_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const Aws::Vector<EncryptionAlgorithm>& GetAllowedValues() const { return m_allowedValues; }
42 inline bool AllowedValuesHasBeenSet() const { return m_allowedValuesHasBeenSet; }
43 template <typename AllowedValuesT = Aws::Vector<EncryptionAlgorithm>>
44 void SetAllowedValues(AllowedValuesT&& value) {
45 m_allowedValuesHasBeenSet = true;
46 m_allowedValues = std::forward<AllowedValuesT>(value);
47 }
48 template <typename AllowedValuesT = Aws::Vector<EncryptionAlgorithm>>
50 SetAllowedValues(std::forward<AllowedValuesT>(value));
51 return *this;
52 }
54 m_allowedValuesHasBeenSet = true;
55 m_allowedValues.push_back(value);
56 return *this;
57 }
59
61
64 inline EncryptionAlgorithm GetDefaultValue() const { return m_defaultValue; }
65 inline bool DefaultValueHasBeenSet() const { return m_defaultValueHasBeenSet; }
67 m_defaultValueHasBeenSet = true;
68 m_defaultValue = value;
69 }
71 SetDefaultValue(value);
72 return *this;
73 }
75 private:
77
79 bool m_allowedValuesHasBeenSet = false;
80 bool m_defaultValueHasBeenSet = false;
81};
82
83} // namespace Model
84} // namespace signer
85} // namespace Aws
AWS_SIGNER_API EncryptionAlgorithmOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
EncryptionAlgorithmOptions & WithDefaultValue(EncryptionAlgorithm value)
EncryptionAlgorithmOptions & WithAllowedValues(AllowedValuesT &&value)
AWS_SIGNER_API EncryptionAlgorithmOptions(Aws::Utils::Json::JsonView jsonValue)
EncryptionAlgorithmOptions & AddAllowedValues(EncryptionAlgorithm value)
const Aws::Vector< EncryptionAlgorithm > & GetAllowedValues() const
AWS_SIGNER_API EncryptionAlgorithmOptions()=default
AWS_SIGNER_API Aws::Utils::Json::JsonValue Jsonize() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue