AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
RdsDbClusterSnapshotConfiguration.h
1
6#pragma once
7#include <aws/accessanalyzer/AccessAnalyzer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/accessanalyzer/model/RdsDbClusterSnapshotAttributeValue.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace AccessAnalyzer
24{
25namespace Model
26{
27
40 {
41 public:
42 AWS_ACCESSANALYZER_API RdsDbClusterSnapshotConfiguration() = default;
45 AWS_ACCESSANALYZER_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
55 inline const Aws::Map<Aws::String, RdsDbClusterSnapshotAttributeValue>& GetAttributes() const { return m_attributes; }
56 inline bool AttributesHasBeenSet() const { return m_attributesHasBeenSet; }
57 template<typename AttributesT = Aws::Map<Aws::String, RdsDbClusterSnapshotAttributeValue>>
58 void SetAttributes(AttributesT&& value) { m_attributesHasBeenSet = true; m_attributes = std::forward<AttributesT>(value); }
59 template<typename AttributesT = Aws::Map<Aws::String, RdsDbClusterSnapshotAttributeValue>>
60 RdsDbClusterSnapshotConfiguration& WithAttributes(AttributesT&& value) { SetAttributes(std::forward<AttributesT>(value)); return *this;}
61 template<typename AttributesKeyT = Aws::String, typename AttributesValueT = RdsDbClusterSnapshotAttributeValue>
62 RdsDbClusterSnapshotConfiguration& AddAttributes(AttributesKeyT&& key, AttributesValueT&& value) {
63 m_attributesHasBeenSet = true; m_attributes.emplace(std::forward<AttributesKeyT>(key), std::forward<AttributesValueT>(value)); return *this;
64 }
66
68
79 inline const Aws::String& GetKmsKeyId() const { return m_kmsKeyId; }
80 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
81 template<typename KmsKeyIdT = Aws::String>
82 void SetKmsKeyId(KmsKeyIdT&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::forward<KmsKeyIdT>(value); }
83 template<typename KmsKeyIdT = Aws::String>
84 RdsDbClusterSnapshotConfiguration& WithKmsKeyId(KmsKeyIdT&& value) { SetKmsKeyId(std::forward<KmsKeyIdT>(value)); return *this;}
86 private:
87
89 bool m_attributesHasBeenSet = false;
90
91 Aws::String m_kmsKeyId;
92 bool m_kmsKeyIdHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace AccessAnalyzer
97} // namespace Aws
AWS_ACCESSANALYZER_API RdsDbClusterSnapshotConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
RdsDbClusterSnapshotConfiguration & WithAttributes(AttributesT &&value)
AWS_ACCESSANALYZER_API RdsDbClusterSnapshotConfiguration()=default
AWS_ACCESSANALYZER_API RdsDbClusterSnapshotConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_ACCESSANALYZER_API Aws::Utils::Json::JsonValue Jsonize() const
RdsDbClusterSnapshotConfiguration & AddAttributes(AttributesKeyT &&key, AttributesValueT &&value)
const Aws::Map< Aws::String, RdsDbClusterSnapshotAttributeValue > & GetAttributes() const
RdsDbClusterSnapshotConfiguration & WithKmsKeyId(KmsKeyIdT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue