AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename NameT = Aws::String>
48 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
49 template<typename NameT = Aws::String>
50 ServiceMetadata& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
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) { m_displayNameHasBeenSet = true; m_displayName = std::forward<DisplayNameT>(value); }
61 template<typename DisplayNameT = Aws::String>
62 ServiceMetadata& WithDisplayName(DisplayNameT&& value) { SetDisplayName(std::forward<DisplayNameT>(value)); return *this;}
64
66
69 inline const Aws::String& GetDescription() const { return m_description; }
70 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
71 template<typename DescriptionT = Aws::String>
72 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
73 template<typename DescriptionT = Aws::String>
74 ServiceMetadata& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
76
78
82 inline const Aws::String& GetCategory() const { return m_category; }
83 inline bool CategoryHasBeenSet() const { return m_categoryHasBeenSet; }
84 template<typename CategoryT = Aws::String>
85 void SetCategory(CategoryT&& value) { m_categoryHasBeenSet = true; m_category = std::forward<CategoryT>(value); }
86 template<typename CategoryT = Aws::String>
87 ServiceMetadata& WithCategory(CategoryT&& value) { SetCategory(std::forward<CategoryT>(value)); return *this;}
89 private:
90
91 Aws::String m_name;
92 bool m_nameHasBeenSet = false;
93
94 Aws::String m_displayName;
95 bool m_displayNameHasBeenSet = false;
96
97 Aws::String m_description;
98 bool m_descriptionHasBeenSet = false;
99
100 Aws::String m_category;
101 bool m_categoryHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace AuditManager
106} // 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