AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
45 AWS_ACCESSANALYZER_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
56 inline bool AttributesHasBeenSet() const { return m_attributesHasBeenSet; }
57 inline void SetAttributes(const Aws::Map<Aws::String, RdsDbClusterSnapshotAttributeValue>& value) { m_attributesHasBeenSet = true; m_attributes = value; }
58 inline void SetAttributes(Aws::Map<Aws::String, RdsDbClusterSnapshotAttributeValue>&& value) { m_attributesHasBeenSet = true; m_attributes = std::move(value); }
61 inline RdsDbClusterSnapshotConfiguration& AddAttributes(const Aws::String& key, const RdsDbClusterSnapshotAttributeValue& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, value); return *this; }
62 inline RdsDbClusterSnapshotConfiguration& AddAttributes(Aws::String&& key, const RdsDbClusterSnapshotAttributeValue& value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), value); return *this; }
63 inline RdsDbClusterSnapshotConfiguration& AddAttributes(const Aws::String& key, RdsDbClusterSnapshotAttributeValue&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, std::move(value)); return *this; }
64 inline RdsDbClusterSnapshotConfiguration& AddAttributes(Aws::String&& key, RdsDbClusterSnapshotAttributeValue&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), std::move(value)); return *this; }
65 inline RdsDbClusterSnapshotConfiguration& AddAttributes(const char* key, RdsDbClusterSnapshotAttributeValue&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, std::move(value)); return *this; }
66 inline RdsDbClusterSnapshotConfiguration& AddAttributes(const char* key, const RdsDbClusterSnapshotAttributeValue& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, value); return *this; }
68
70
81 inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; }
82 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
83 inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = value; }
84 inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::move(value); }
85 inline void SetKmsKeyId(const char* value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId.assign(value); }
86 inline RdsDbClusterSnapshotConfiguration& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;}
87 inline RdsDbClusterSnapshotConfiguration& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;}
88 inline RdsDbClusterSnapshotConfiguration& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;}
90 private:
91
93 bool m_attributesHasBeenSet = false;
94
95 Aws::String m_kmsKeyId;
96 bool m_kmsKeyIdHasBeenSet = false;
97 };
98
99} // namespace Model
100} // namespace AccessAnalyzer
101} // namespace Aws
RdsDbClusterSnapshotConfiguration & AddAttributes(const Aws::String &key, RdsDbClusterSnapshotAttributeValue &&value)
AWS_ACCESSANALYZER_API RdsDbClusterSnapshotConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
RdsDbClusterSnapshotConfiguration & AddAttributes(Aws::String &&key, RdsDbClusterSnapshotAttributeValue &&value)
RdsDbClusterSnapshotConfiguration & WithAttributes(Aws::Map< Aws::String, RdsDbClusterSnapshotAttributeValue > &&value)
void SetAttributes(const Aws::Map< Aws::String, RdsDbClusterSnapshotAttributeValue > &value)
AWS_ACCESSANALYZER_API RdsDbClusterSnapshotConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetAttributes(Aws::Map< Aws::String, RdsDbClusterSnapshotAttributeValue > &&value)
RdsDbClusterSnapshotConfiguration & AddAttributes(Aws::String &&key, const RdsDbClusterSnapshotAttributeValue &value)
RdsDbClusterSnapshotConfiguration & WithAttributes(const Aws::Map< Aws::String, RdsDbClusterSnapshotAttributeValue > &value)
RdsDbClusterSnapshotConfiguration & WithKmsKeyId(Aws::String &&value)
RdsDbClusterSnapshotConfiguration & AddAttributes(const char *key, RdsDbClusterSnapshotAttributeValue &&value)
RdsDbClusterSnapshotConfiguration & WithKmsKeyId(const char *value)
AWS_ACCESSANALYZER_API Aws::Utils::Json::JsonValue Jsonize() const
RdsDbClusterSnapshotConfiguration & AddAttributes(const Aws::String &key, const RdsDbClusterSnapshotAttributeValue &value)
RdsDbClusterSnapshotConfiguration & WithKmsKeyId(const Aws::String &value)
const Aws::Map< Aws::String, RdsDbClusterSnapshotAttributeValue > & GetAttributes() const
RdsDbClusterSnapshotConfiguration & AddAttributes(const char *key, const RdsDbClusterSnapshotAttributeValue &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