AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RdsDbSnapshotConfiguration.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/RdsDbSnapshotAttributeValue.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
39 {
40 public:
41 AWS_ACCESSANALYZER_API RdsDbSnapshotConfiguration();
42 AWS_ACCESSANALYZER_API RdsDbSnapshotConfiguration(Aws::Utils::Json::JsonView jsonValue);
44 AWS_ACCESSANALYZER_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
54 inline const Aws::Map<Aws::String, RdsDbSnapshotAttributeValue>& GetAttributes() const{ return m_attributes; }
55 inline bool AttributesHasBeenSet() const { return m_attributesHasBeenSet; }
56 inline void SetAttributes(const Aws::Map<Aws::String, RdsDbSnapshotAttributeValue>& value) { m_attributesHasBeenSet = true; m_attributes = value; }
57 inline void SetAttributes(Aws::Map<Aws::String, RdsDbSnapshotAttributeValue>&& value) { m_attributesHasBeenSet = true; m_attributes = std::move(value); }
60 inline RdsDbSnapshotConfiguration& AddAttributes(const Aws::String& key, const RdsDbSnapshotAttributeValue& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, value); return *this; }
61 inline RdsDbSnapshotConfiguration& AddAttributes(Aws::String&& key, const RdsDbSnapshotAttributeValue& value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), value); return *this; }
62 inline RdsDbSnapshotConfiguration& AddAttributes(const Aws::String& key, RdsDbSnapshotAttributeValue&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, std::move(value)); return *this; }
63 inline RdsDbSnapshotConfiguration& AddAttributes(Aws::String&& key, RdsDbSnapshotAttributeValue&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), std::move(value)); return *this; }
64 inline RdsDbSnapshotConfiguration& AddAttributes(const char* key, RdsDbSnapshotAttributeValue&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, std::move(value)); return *this; }
65 inline RdsDbSnapshotConfiguration& AddAttributes(const char* key, const RdsDbSnapshotAttributeValue& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, value); return *this; }
67
69
79 inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; }
80 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
81 inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = value; }
82 inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::move(value); }
83 inline void SetKmsKeyId(const char* value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId.assign(value); }
84 inline RdsDbSnapshotConfiguration& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;}
85 inline RdsDbSnapshotConfiguration& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;}
86 inline RdsDbSnapshotConfiguration& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;}
88 private:
89
91 bool m_attributesHasBeenSet = false;
92
93 Aws::String m_kmsKeyId;
94 bool m_kmsKeyIdHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace AccessAnalyzer
99} // namespace Aws
void SetAttributes(const Aws::Map< Aws::String, RdsDbSnapshotAttributeValue > &value)
AWS_ACCESSANALYZER_API RdsDbSnapshotConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_ACCESSANALYZER_API Aws::Utils::Json::JsonValue Jsonize() const
RdsDbSnapshotConfiguration & AddAttributes(Aws::String &&key, RdsDbSnapshotAttributeValue &&value)
RdsDbSnapshotConfiguration & AddAttributes(const char *key, RdsDbSnapshotAttributeValue &&value)
AWS_ACCESSANALYZER_API RdsDbSnapshotConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Map< Aws::String, RdsDbSnapshotAttributeValue > & GetAttributes() const
RdsDbSnapshotConfiguration & WithAttributes(const Aws::Map< Aws::String, RdsDbSnapshotAttributeValue > &value)
void SetAttributes(Aws::Map< Aws::String, RdsDbSnapshotAttributeValue > &&value)
RdsDbSnapshotConfiguration & WithAttributes(Aws::Map< Aws::String, RdsDbSnapshotAttributeValue > &&value)
RdsDbSnapshotConfiguration & AddAttributes(const Aws::String &key, RdsDbSnapshotAttributeValue &&value)
RdsDbSnapshotConfiguration & WithKmsKeyId(Aws::String &&value)
RdsDbSnapshotConfiguration & WithKmsKeyId(const char *value)
RdsDbSnapshotConfiguration & AddAttributes(const char *key, const RdsDbSnapshotAttributeValue &value)
RdsDbSnapshotConfiguration & AddAttributes(Aws::String &&key, const RdsDbSnapshotAttributeValue &value)
RdsDbSnapshotConfiguration & AddAttributes(const Aws::String &key, const RdsDbSnapshotAttributeValue &value)
RdsDbSnapshotConfiguration & WithKmsKeyId(const Aws::String &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