AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EncryptionAlgorithmOptions.h
1
6#pragma once
7#include <aws/signer/Signer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/signer/model/EncryptionAlgorithm.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
34 {
35 public:
39 AWS_SIGNER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::Vector<EncryptionAlgorithm>& GetAllowedValues() const{ return m_allowedValues; }
48 inline bool AllowedValuesHasBeenSet() const { return m_allowedValuesHasBeenSet; }
49 inline void SetAllowedValues(const Aws::Vector<EncryptionAlgorithm>& value) { m_allowedValuesHasBeenSet = true; m_allowedValues = value; }
50 inline void SetAllowedValues(Aws::Vector<EncryptionAlgorithm>&& value) { m_allowedValuesHasBeenSet = true; m_allowedValues = std::move(value); }
53 inline EncryptionAlgorithmOptions& AddAllowedValues(const EncryptionAlgorithm& value) { m_allowedValuesHasBeenSet = true; m_allowedValues.push_back(value); return *this; }
54 inline EncryptionAlgorithmOptions& AddAllowedValues(EncryptionAlgorithm&& value) { m_allowedValuesHasBeenSet = true; m_allowedValues.push_back(std::move(value)); return *this; }
56
58
61 inline const EncryptionAlgorithm& GetDefaultValue() const{ return m_defaultValue; }
62 inline bool DefaultValueHasBeenSet() const { return m_defaultValueHasBeenSet; }
63 inline void SetDefaultValue(const EncryptionAlgorithm& value) { m_defaultValueHasBeenSet = true; m_defaultValue = value; }
64 inline void SetDefaultValue(EncryptionAlgorithm&& value) { m_defaultValueHasBeenSet = true; m_defaultValue = std::move(value); }
66 inline EncryptionAlgorithmOptions& WithDefaultValue(EncryptionAlgorithm&& value) { SetDefaultValue(std::move(value)); return *this;}
68 private:
69
71 bool m_allowedValuesHasBeenSet = false;
72
73 EncryptionAlgorithm m_defaultValue;
74 bool m_defaultValueHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace signer
79} // namespace Aws
AWS_SIGNER_API EncryptionAlgorithmOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
EncryptionAlgorithmOptions & WithAllowedValues(const Aws::Vector< EncryptionAlgorithm > &value)
void SetAllowedValues(const Aws::Vector< EncryptionAlgorithm > &value)
EncryptionAlgorithmOptions & WithDefaultValue(EncryptionAlgorithm &&value)
EncryptionAlgorithmOptions & WithAllowedValues(Aws::Vector< EncryptionAlgorithm > &&value)
void SetDefaultValue(const EncryptionAlgorithm &value)
AWS_SIGNER_API EncryptionAlgorithmOptions(Aws::Utils::Json::JsonView jsonValue)
EncryptionAlgorithmOptions & WithDefaultValue(const EncryptionAlgorithm &value)
void SetAllowedValues(Aws::Vector< EncryptionAlgorithm > &&value)
const Aws::Vector< EncryptionAlgorithm > & GetAllowedValues() const
EncryptionAlgorithmOptions & AddAllowedValues(EncryptionAlgorithm &&value)
AWS_SIGNER_API Aws::Utils::Json::JsonValue Jsonize() const
EncryptionAlgorithmOptions & AddAllowedValues(const EncryptionAlgorithm &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue