AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RdsDbInstanceDetails.h
1
6#pragma once
7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/guardduty/model/Tag.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 GuardDuty
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_GUARDDUTY_API RdsDbInstanceDetails();
40 AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Aws::String& GetDbInstanceIdentifier() const{ return m_dbInstanceIdentifier; }
49 inline bool DbInstanceIdentifierHasBeenSet() const { return m_dbInstanceIdentifierHasBeenSet; }
50 inline void SetDbInstanceIdentifier(const Aws::String& value) { m_dbInstanceIdentifierHasBeenSet = true; m_dbInstanceIdentifier = value; }
51 inline void SetDbInstanceIdentifier(Aws::String&& value) { m_dbInstanceIdentifierHasBeenSet = true; m_dbInstanceIdentifier = std::move(value); }
52 inline void SetDbInstanceIdentifier(const char* value) { m_dbInstanceIdentifierHasBeenSet = true; m_dbInstanceIdentifier.assign(value); }
54 inline RdsDbInstanceDetails& WithDbInstanceIdentifier(Aws::String&& value) { SetDbInstanceIdentifier(std::move(value)); return *this;}
55 inline RdsDbInstanceDetails& WithDbInstanceIdentifier(const char* value) { SetDbInstanceIdentifier(value); return *this;}
57
59
62 inline const Aws::String& GetEngine() const{ return m_engine; }
63 inline bool EngineHasBeenSet() const { return m_engineHasBeenSet; }
64 inline void SetEngine(const Aws::String& value) { m_engineHasBeenSet = true; m_engine = value; }
65 inline void SetEngine(Aws::String&& value) { m_engineHasBeenSet = true; m_engine = std::move(value); }
66 inline void SetEngine(const char* value) { m_engineHasBeenSet = true; m_engine.assign(value); }
67 inline RdsDbInstanceDetails& WithEngine(const Aws::String& value) { SetEngine(value); return *this;}
68 inline RdsDbInstanceDetails& WithEngine(Aws::String&& value) { SetEngine(std::move(value)); return *this;}
69 inline RdsDbInstanceDetails& WithEngine(const char* value) { SetEngine(value); return *this;}
71
73
76 inline const Aws::String& GetEngineVersion() const{ return m_engineVersion; }
77 inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; }
78 inline void SetEngineVersion(const Aws::String& value) { m_engineVersionHasBeenSet = true; m_engineVersion = value; }
79 inline void SetEngineVersion(Aws::String&& value) { m_engineVersionHasBeenSet = true; m_engineVersion = std::move(value); }
80 inline void SetEngineVersion(const char* value) { m_engineVersionHasBeenSet = true; m_engineVersion.assign(value); }
81 inline RdsDbInstanceDetails& WithEngineVersion(const Aws::String& value) { SetEngineVersion(value); return *this;}
82 inline RdsDbInstanceDetails& WithEngineVersion(Aws::String&& value) { SetEngineVersion(std::move(value)); return *this;}
83 inline RdsDbInstanceDetails& WithEngineVersion(const char* value) { SetEngineVersion(value); return *this;}
85
87
91 inline const Aws::String& GetDbClusterIdentifier() const{ return m_dbClusterIdentifier; }
92 inline bool DbClusterIdentifierHasBeenSet() const { return m_dbClusterIdentifierHasBeenSet; }
93 inline void SetDbClusterIdentifier(const Aws::String& value) { m_dbClusterIdentifierHasBeenSet = true; m_dbClusterIdentifier = value; }
94 inline void SetDbClusterIdentifier(Aws::String&& value) { m_dbClusterIdentifierHasBeenSet = true; m_dbClusterIdentifier = std::move(value); }
95 inline void SetDbClusterIdentifier(const char* value) { m_dbClusterIdentifierHasBeenSet = true; m_dbClusterIdentifier.assign(value); }
97 inline RdsDbInstanceDetails& WithDbClusterIdentifier(Aws::String&& value) { SetDbClusterIdentifier(std::move(value)); return *this;}
98 inline RdsDbInstanceDetails& WithDbClusterIdentifier(const char* value) { SetDbClusterIdentifier(value); return *this;}
100
102
106 inline const Aws::String& GetDbInstanceArn() const{ return m_dbInstanceArn; }
107 inline bool DbInstanceArnHasBeenSet() const { return m_dbInstanceArnHasBeenSet; }
108 inline void SetDbInstanceArn(const Aws::String& value) { m_dbInstanceArnHasBeenSet = true; m_dbInstanceArn = value; }
109 inline void SetDbInstanceArn(Aws::String&& value) { m_dbInstanceArnHasBeenSet = true; m_dbInstanceArn = std::move(value); }
110 inline void SetDbInstanceArn(const char* value) { m_dbInstanceArnHasBeenSet = true; m_dbInstanceArn.assign(value); }
111 inline RdsDbInstanceDetails& WithDbInstanceArn(const Aws::String& value) { SetDbInstanceArn(value); return *this;}
112 inline RdsDbInstanceDetails& WithDbInstanceArn(Aws::String&& value) { SetDbInstanceArn(std::move(value)); return *this;}
113 inline RdsDbInstanceDetails& WithDbInstanceArn(const char* value) { SetDbInstanceArn(value); return *this;}
115
117
120 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
121 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
122 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
123 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
124 inline RdsDbInstanceDetails& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
125 inline RdsDbInstanceDetails& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
126 inline RdsDbInstanceDetails& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
127 inline RdsDbInstanceDetails& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
129 private:
130
131 Aws::String m_dbInstanceIdentifier;
132 bool m_dbInstanceIdentifierHasBeenSet = false;
133
134 Aws::String m_engine;
135 bool m_engineHasBeenSet = false;
136
137 Aws::String m_engineVersion;
138 bool m_engineVersionHasBeenSet = false;
139
140 Aws::String m_dbClusterIdentifier;
141 bool m_dbClusterIdentifierHasBeenSet = false;
142
143 Aws::String m_dbInstanceArn;
144 bool m_dbInstanceArnHasBeenSet = false;
145
146 Aws::Vector<Tag> m_tags;
147 bool m_tagsHasBeenSet = false;
148 };
149
150} // namespace Model
151} // namespace GuardDuty
152} // namespace Aws
void SetTags(const Aws::Vector< Tag > &value)
RdsDbInstanceDetails & WithEngine(const Aws::String &value)
AWS_GUARDDUTY_API RdsDbInstanceDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
RdsDbInstanceDetails & WithDbClusterIdentifier(const char *value)
void SetDbInstanceArn(const Aws::String &value)
RdsDbInstanceDetails & WithDbClusterIdentifier(const Aws::String &value)
RdsDbInstanceDetails & WithDbInstanceArn(const Aws::String &value)
RdsDbInstanceDetails & WithDbInstanceIdentifier(const Aws::String &value)
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDbClusterIdentifier(const Aws::String &value)
RdsDbInstanceDetails & WithEngineVersion(const char *value)
RdsDbInstanceDetails & AddTags(const Tag &value)
RdsDbInstanceDetails & WithEngineVersion(const Aws::String &value)
RdsDbInstanceDetails & WithDbInstanceArn(const char *value)
RdsDbInstanceDetails & WithDbInstanceArn(Aws::String &&value)
RdsDbInstanceDetails & WithTags(Aws::Vector< Tag > &&value)
const Aws::String & GetDbInstanceIdentifier() const
RdsDbInstanceDetails & WithEngine(Aws::String &&value)
RdsDbInstanceDetails & WithTags(const Aws::Vector< Tag > &value)
RdsDbInstanceDetails & AddTags(Tag &&value)
RdsDbInstanceDetails & WithDbInstanceIdentifier(Aws::String &&value)
const Aws::Vector< Tag > & GetTags() const
RdsDbInstanceDetails & WithEngineVersion(Aws::String &&value)
void SetDbInstanceIdentifier(const Aws::String &value)
void SetEngineVersion(const Aws::String &value)
RdsDbInstanceDetails & WithEngine(const char *value)
RdsDbInstanceDetails & WithDbInstanceIdentifier(const char *value)
RdsDbInstanceDetails & WithDbClusterIdentifier(Aws::String &&value)
AWS_GUARDDUTY_API RdsDbInstanceDetails(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue