AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ServiceMetadata.h
1
6#pragma once
7#include <aws/auditmanager/AuditManager_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace AuditManager
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_AUDITMANAGER_API ServiceMetadata();
36 AWS_AUDITMANAGER_API ServiceMetadata(Aws::Utils::Json::JsonView jsonValue);
37 AWS_AUDITMANAGER_API ServiceMetadata& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_AUDITMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetName() const{ return m_name; }
46 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
47 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
48 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
49 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
50 inline ServiceMetadata& WithName(const Aws::String& value) { SetName(value); return *this;}
51 inline ServiceMetadata& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
52 inline ServiceMetadata& WithName(const char* value) { SetName(value); return *this;}
54
56
59 inline const Aws::String& GetDisplayName() const{ return m_displayName; }
60 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
61 inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; }
62 inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); }
63 inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); }
64 inline ServiceMetadata& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;}
65 inline ServiceMetadata& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;}
66 inline ServiceMetadata& WithDisplayName(const char* value) { SetDisplayName(value); return *this;}
68
70
73 inline const Aws::String& GetDescription() const{ return m_description; }
74 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
75 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
76 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
77 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
78 inline ServiceMetadata& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
79 inline ServiceMetadata& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
80 inline ServiceMetadata& WithDescription(const char* value) { SetDescription(value); return *this;}
82
84
88 inline const Aws::String& GetCategory() const{ return m_category; }
89 inline bool CategoryHasBeenSet() const { return m_categoryHasBeenSet; }
90 inline void SetCategory(const Aws::String& value) { m_categoryHasBeenSet = true; m_category = value; }
91 inline void SetCategory(Aws::String&& value) { m_categoryHasBeenSet = true; m_category = std::move(value); }
92 inline void SetCategory(const char* value) { m_categoryHasBeenSet = true; m_category.assign(value); }
93 inline ServiceMetadata& WithCategory(const Aws::String& value) { SetCategory(value); return *this;}
94 inline ServiceMetadata& WithCategory(Aws::String&& value) { SetCategory(std::move(value)); return *this;}
95 inline ServiceMetadata& WithCategory(const char* value) { SetCategory(value); return *this;}
97 private:
98
99 Aws::String m_name;
100 bool m_nameHasBeenSet = false;
101
102 Aws::String m_displayName;
103 bool m_displayNameHasBeenSet = false;
104
105 Aws::String m_description;
106 bool m_descriptionHasBeenSet = false;
107
108 Aws::String m_category;
109 bool m_categoryHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace AuditManager
114} // namespace Aws
ServiceMetadata & WithDisplayName(Aws::String &&value)
void SetName(const Aws::String &value)
void SetDescription(const Aws::String &value)
AWS_AUDITMANAGER_API ServiceMetadata(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetCategory() const
const Aws::String & GetDisplayName() const
ServiceMetadata & WithCategory(const Aws::String &value)
AWS_AUDITMANAGER_API ServiceMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
ServiceMetadata & WithDisplayName(const Aws::String &value)
ServiceMetadata & WithDescription(const Aws::String &value)
ServiceMetadata & WithDisplayName(const char *value)
ServiceMetadata & WithCategory(Aws::String &&value)
ServiceMetadata & WithDescription(Aws::String &&value)
ServiceMetadata & WithName(const char *value)
AWS_AUDITMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetDescription() const
ServiceMetadata & WithName(const Aws::String &value)
void SetDisplayName(const Aws::String &value)
void SetCategory(const Aws::String &value)
ServiceMetadata & WithCategory(const char *value)
ServiceMetadata & WithName(Aws::String &&value)
ServiceMetadata & WithDescription(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue