AWS SDK for C++

AWS SDK for C++ Version 1.11.745

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
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace AuditManager {
20namespace Model {
21
29 public:
30 AWS_AUDITMANAGER_API ServiceMetadata() = default;
31 AWS_AUDITMANAGER_API ServiceMetadata(Aws::Utils::Json::JsonView jsonValue);
32 AWS_AUDITMANAGER_API ServiceMetadata& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_AUDITMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetName() const { return m_name; }
40 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
41 template <typename NameT = Aws::String>
42 void SetName(NameT&& value) {
43 m_nameHasBeenSet = true;
44 m_name = std::forward<NameT>(value);
45 }
46 template <typename NameT = Aws::String>
47 ServiceMetadata& WithName(NameT&& value) {
48 SetName(std::forward<NameT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetDisplayName() const { return m_displayName; }
58 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
59 template <typename DisplayNameT = Aws::String>
60 void SetDisplayName(DisplayNameT&& value) {
61 m_displayNameHasBeenSet = true;
62 m_displayName = std::forward<DisplayNameT>(value);
63 }
64 template <typename DisplayNameT = Aws::String>
65 ServiceMetadata& WithDisplayName(DisplayNameT&& value) {
66 SetDisplayName(std::forward<DisplayNameT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetDescription() const { return m_description; }
76 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
77 template <typename DescriptionT = Aws::String>
78 void SetDescription(DescriptionT&& value) {
79 m_descriptionHasBeenSet = true;
80 m_description = std::forward<DescriptionT>(value);
81 }
82 template <typename DescriptionT = Aws::String>
83 ServiceMetadata& WithDescription(DescriptionT&& value) {
84 SetDescription(std::forward<DescriptionT>(value));
85 return *this;
86 }
88
90
94 inline const Aws::String& GetCategory() const { return m_category; }
95 inline bool CategoryHasBeenSet() const { return m_categoryHasBeenSet; }
96 template <typename CategoryT = Aws::String>
97 void SetCategory(CategoryT&& value) {
98 m_categoryHasBeenSet = true;
99 m_category = std::forward<CategoryT>(value);
100 }
101 template <typename CategoryT = Aws::String>
102 ServiceMetadata& WithCategory(CategoryT&& value) {
103 SetCategory(std::forward<CategoryT>(value));
104 return *this;
105 }
107 private:
108 Aws::String m_name;
109
110 Aws::String m_displayName;
111
112 Aws::String m_description;
113
114 Aws::String m_category;
115 bool m_nameHasBeenSet = false;
116 bool m_displayNameHasBeenSet = false;
117 bool m_descriptionHasBeenSet = false;
118 bool m_categoryHasBeenSet = false;
119};
120
121} // namespace Model
122} // namespace AuditManager
123} // namespace Aws
ServiceMetadata & WithCategory(CategoryT &&value)
AWS_AUDITMANAGER_API ServiceMetadata(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetCategory() const
ServiceMetadata & WithDescription(DescriptionT &&value)
AWS_AUDITMANAGER_API ServiceMetadata()=default
const Aws::String & GetDisplayName() const
void SetDescription(DescriptionT &&value)
ServiceMetadata & WithDisplayName(DisplayNameT &&value)
AWS_AUDITMANAGER_API ServiceMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_AUDITMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetDescription() const
ServiceMetadata & WithName(NameT &&value)
void SetDisplayName(DisplayNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue