AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EventCategoryGroup.h
1
6#pragma once
7#include <aws/dms/DatabaseMigrationService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace DatabaseMigrationService
23{
24namespace Model
25{
26
36 {
37 public:
38 AWS_DATABASEMIGRATIONSERVICE_API EventCategoryGroup();
39 AWS_DATABASEMIGRATIONSERVICE_API EventCategoryGroup(Aws::Utils::Json::JsonView jsonValue);
40 AWS_DATABASEMIGRATIONSERVICE_API EventCategoryGroup& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
50 inline const Aws::String& GetSourceType() const{ return m_sourceType; }
51 inline bool SourceTypeHasBeenSet() const { return m_sourceTypeHasBeenSet; }
52 inline void SetSourceType(const Aws::String& value) { m_sourceTypeHasBeenSet = true; m_sourceType = value; }
53 inline void SetSourceType(Aws::String&& value) { m_sourceTypeHasBeenSet = true; m_sourceType = std::move(value); }
54 inline void SetSourceType(const char* value) { m_sourceTypeHasBeenSet = true; m_sourceType.assign(value); }
55 inline EventCategoryGroup& WithSourceType(const Aws::String& value) { SetSourceType(value); return *this;}
56 inline EventCategoryGroup& WithSourceType(Aws::String&& value) { SetSourceType(std::move(value)); return *this;}
57 inline EventCategoryGroup& WithSourceType(const char* value) { SetSourceType(value); return *this;}
59
61
64 inline const Aws::Vector<Aws::String>& GetEventCategories() const{ return m_eventCategories; }
65 inline bool EventCategoriesHasBeenSet() const { return m_eventCategoriesHasBeenSet; }
66 inline void SetEventCategories(const Aws::Vector<Aws::String>& value) { m_eventCategoriesHasBeenSet = true; m_eventCategories = value; }
67 inline void SetEventCategories(Aws::Vector<Aws::String>&& value) { m_eventCategoriesHasBeenSet = true; m_eventCategories = std::move(value); }
69 inline EventCategoryGroup& WithEventCategories(Aws::Vector<Aws::String>&& value) { SetEventCategories(std::move(value)); return *this;}
70 inline EventCategoryGroup& AddEventCategories(const Aws::String& value) { m_eventCategoriesHasBeenSet = true; m_eventCategories.push_back(value); return *this; }
71 inline EventCategoryGroup& AddEventCategories(Aws::String&& value) { m_eventCategoriesHasBeenSet = true; m_eventCategories.push_back(std::move(value)); return *this; }
72 inline EventCategoryGroup& AddEventCategories(const char* value) { m_eventCategoriesHasBeenSet = true; m_eventCategories.push_back(value); return *this; }
74 private:
75
76 Aws::String m_sourceType;
77 bool m_sourceTypeHasBeenSet = false;
78
79 Aws::Vector<Aws::String> m_eventCategories;
80 bool m_eventCategoriesHasBeenSet = false;
81 };
82
83} // namespace Model
84} // namespace DatabaseMigrationService
85} // namespace Aws
EventCategoryGroup & AddEventCategories(const Aws::String &value)
EventCategoryGroup & AddEventCategories(Aws::String &&value)
AWS_DATABASEMIGRATIONSERVICE_API EventCategoryGroup()
EventCategoryGroup & WithSourceType(const Aws::String &value)
EventCategoryGroup & AddEventCategories(const char *value)
EventCategoryGroup & WithSourceType(const char *value)
AWS_DATABASEMIGRATIONSERVICE_API EventCategoryGroup & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetEventCategories() const
EventCategoryGroup & WithEventCategories(const Aws::Vector< Aws::String > &value)
EventCategoryGroup & WithSourceType(Aws::String &&value)
void SetEventCategories(const Aws::Vector< Aws::String > &value)
AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetEventCategories(Aws::Vector< Aws::String > &&value)
EventCategoryGroup & WithEventCategories(Aws::Vector< Aws::String > &&value)
AWS_DATABASEMIGRATIONSERVICE_API EventCategoryGroup(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