AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DatabaseSummary.h
1
6#pragma once
7#include <aws/ssm-sap/SsmSap_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ssm-sap/model/DatabaseType.h>
10#include <aws/core/utils/memory/stl/AWSMap.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 SsmSap
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_SSMSAP_API DatabaseSummary();
39 AWS_SSMSAP_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetApplicationId() const{ return m_applicationId; }
47 inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
48 inline void SetApplicationId(const Aws::String& value) { m_applicationIdHasBeenSet = true; m_applicationId = value; }
49 inline void SetApplicationId(Aws::String&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::move(value); }
50 inline void SetApplicationId(const char* value) { m_applicationIdHasBeenSet = true; m_applicationId.assign(value); }
51 inline DatabaseSummary& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;}
52 inline DatabaseSummary& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;}
53 inline DatabaseSummary& WithApplicationId(const char* value) { SetApplicationId(value); return *this;}
55
57
60 inline const Aws::String& GetComponentId() const{ return m_componentId; }
61 inline bool ComponentIdHasBeenSet() const { return m_componentIdHasBeenSet; }
62 inline void SetComponentId(const Aws::String& value) { m_componentIdHasBeenSet = true; m_componentId = value; }
63 inline void SetComponentId(Aws::String&& value) { m_componentIdHasBeenSet = true; m_componentId = std::move(value); }
64 inline void SetComponentId(const char* value) { m_componentIdHasBeenSet = true; m_componentId.assign(value); }
65 inline DatabaseSummary& WithComponentId(const Aws::String& value) { SetComponentId(value); return *this;}
66 inline DatabaseSummary& WithComponentId(Aws::String&& value) { SetComponentId(std::move(value)); return *this;}
67 inline DatabaseSummary& WithComponentId(const char* value) { SetComponentId(value); return *this;}
69
71
74 inline const Aws::String& GetDatabaseId() const{ return m_databaseId; }
75 inline bool DatabaseIdHasBeenSet() const { return m_databaseIdHasBeenSet; }
76 inline void SetDatabaseId(const Aws::String& value) { m_databaseIdHasBeenSet = true; m_databaseId = value; }
77 inline void SetDatabaseId(Aws::String&& value) { m_databaseIdHasBeenSet = true; m_databaseId = std::move(value); }
78 inline void SetDatabaseId(const char* value) { m_databaseIdHasBeenSet = true; m_databaseId.assign(value); }
79 inline DatabaseSummary& WithDatabaseId(const Aws::String& value) { SetDatabaseId(value); return *this;}
80 inline DatabaseSummary& WithDatabaseId(Aws::String&& value) { SetDatabaseId(std::move(value)); return *this;}
81 inline DatabaseSummary& WithDatabaseId(const char* value) { SetDatabaseId(value); return *this;}
83
85
88 inline const DatabaseType& GetDatabaseType() const{ return m_databaseType; }
89 inline bool DatabaseTypeHasBeenSet() const { return m_databaseTypeHasBeenSet; }
90 inline void SetDatabaseType(const DatabaseType& value) { m_databaseTypeHasBeenSet = true; m_databaseType = value; }
91 inline void SetDatabaseType(DatabaseType&& value) { m_databaseTypeHasBeenSet = true; m_databaseType = std::move(value); }
92 inline DatabaseSummary& WithDatabaseType(const DatabaseType& value) { SetDatabaseType(value); return *this;}
93 inline DatabaseSummary& WithDatabaseType(DatabaseType&& value) { SetDatabaseType(std::move(value)); return *this;}
95
97
100 inline const Aws::String& GetArn() const{ return m_arn; }
101 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
102 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
103 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
104 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
105 inline DatabaseSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
106 inline DatabaseSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
107 inline DatabaseSummary& WithArn(const char* value) { SetArn(value); return *this;}
109
111
114 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
115 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
116 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
117 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
118 inline DatabaseSummary& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
119 inline DatabaseSummary& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
120 inline DatabaseSummary& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
121 inline DatabaseSummary& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
122 inline DatabaseSummary& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
123 inline DatabaseSummary& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
124 inline DatabaseSummary& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
125 inline DatabaseSummary& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
126 inline DatabaseSummary& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
128 private:
129
130 Aws::String m_applicationId;
131 bool m_applicationIdHasBeenSet = false;
132
133 Aws::String m_componentId;
134 bool m_componentIdHasBeenSet = false;
135
136 Aws::String m_databaseId;
137 bool m_databaseIdHasBeenSet = false;
138
139 DatabaseType m_databaseType;
140 bool m_databaseTypeHasBeenSet = false;
141
142 Aws::String m_arn;
143 bool m_arnHasBeenSet = false;
144
146 bool m_tagsHasBeenSet = false;
147 };
148
149} // namespace Model
150} // namespace SsmSap
151} // namespace Aws
void SetDatabaseId(Aws::String &&value)
DatabaseSummary & WithApplicationId(const char *value)
DatabaseSummary & AddTags(Aws::String &&key, const Aws::String &value)
DatabaseSummary & AddTags(Aws::String &&key, const char *value)
const Aws::String & GetApplicationId() const
AWS_SSMSAP_API DatabaseSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetComponentId(const Aws::String &value)
const Aws::String & GetDatabaseId() const
const Aws::String & GetArn() const
void SetArn(Aws::String &&value)
DatabaseSummary & AddTags(const char *key, const char *value)
void SetArn(const Aws::String &value)
void SetComponentId(Aws::String &&value)
DatabaseSummary & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetApplicationId(const Aws::String &value)
DatabaseSummary & AddTags(const Aws::String &key, Aws::String &&value)
DatabaseSummary & WithDatabaseId(const Aws::String &value)
DatabaseSummary & WithArn(const char *value)
DatabaseSummary & WithApplicationId(Aws::String &&value)
AWS_SSMSAP_API Aws::Utils::Json::JsonValue Jsonize() const
void SetComponentId(const char *value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
AWS_SSMSAP_API DatabaseSummary(Aws::Utils::Json::JsonView jsonValue)
DatabaseSummary & AddTags(const Aws::String &key, const Aws::String &value)
DatabaseSummary & WithComponentId(const char *value)
DatabaseSummary & WithDatabaseId(const char *value)
void SetApplicationId(Aws::String &&value)
const Aws::String & GetComponentId() const
DatabaseSummary & WithComponentId(const Aws::String &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
DatabaseSummary & WithArn(Aws::String &&value)
void SetDatabaseId(const Aws::String &value)
DatabaseSummary & WithArn(const Aws::String &value)
DatabaseSummary & AddTags(const char *key, Aws::String &&value)
void SetDatabaseId(const char *value)
DatabaseSummary & WithComponentId(Aws::String &&value)
DatabaseSummary & WithDatabaseId(Aws::String &&value)
void SetDatabaseType(const DatabaseType &value)
DatabaseSummary & WithDatabaseType(const DatabaseType &value)
DatabaseSummary & AddTags(Aws::String &&key, Aws::String &&value)
DatabaseSummary & WithDatabaseType(DatabaseType &&value)
const DatabaseType & GetDatabaseType() const
DatabaseSummary & WithApplicationId(const Aws::String &value)
DatabaseSummary & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetDatabaseType(DatabaseType &&value)
void SetApplicationId(const char *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