AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
FrameworkMetadata.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 FrameworkMetadata() = default;
31 AWS_AUDITMANAGER_API FrameworkMetadata(Aws::Utils::Json::JsonView jsonValue);
32 AWS_AUDITMANAGER_API FrameworkMetadata& 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 FrameworkMetadata& WithName(NameT&& value) {
48 SetName(std::forward<NameT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetDescription() const { return m_description; }
58 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
59 template <typename DescriptionT = Aws::String>
60 void SetDescription(DescriptionT&& value) {
61 m_descriptionHasBeenSet = true;
62 m_description = std::forward<DescriptionT>(value);
63 }
64 template <typename DescriptionT = Aws::String>
65 FrameworkMetadata& WithDescription(DescriptionT&& value) {
66 SetDescription(std::forward<DescriptionT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetLogo() const { return m_logo; }
76 inline bool LogoHasBeenSet() const { return m_logoHasBeenSet; }
77 template <typename LogoT = Aws::String>
78 void SetLogo(LogoT&& value) {
79 m_logoHasBeenSet = true;
80 m_logo = std::forward<LogoT>(value);
81 }
82 template <typename LogoT = Aws::String>
83 FrameworkMetadata& WithLogo(LogoT&& value) {
84 SetLogo(std::forward<LogoT>(value));
85 return *this;
86 }
88
90
94 inline const Aws::String& GetComplianceType() const { return m_complianceType; }
95 inline bool ComplianceTypeHasBeenSet() const { return m_complianceTypeHasBeenSet; }
96 template <typename ComplianceTypeT = Aws::String>
97 void SetComplianceType(ComplianceTypeT&& value) {
98 m_complianceTypeHasBeenSet = true;
99 m_complianceType = std::forward<ComplianceTypeT>(value);
100 }
101 template <typename ComplianceTypeT = Aws::String>
102 FrameworkMetadata& WithComplianceType(ComplianceTypeT&& value) {
103 SetComplianceType(std::forward<ComplianceTypeT>(value));
104 return *this;
105 }
107 private:
108 Aws::String m_name;
109
110 Aws::String m_description;
111
112 Aws::String m_logo;
113
114 Aws::String m_complianceType;
115 bool m_nameHasBeenSet = false;
116 bool m_descriptionHasBeenSet = false;
117 bool m_logoHasBeenSet = false;
118 bool m_complianceTypeHasBeenSet = false;
119};
120
121} // namespace Model
122} // namespace AuditManager
123} // namespace Aws
FrameworkMetadata & WithComplianceType(ComplianceTypeT &&value)
AWS_AUDITMANAGER_API FrameworkMetadata()=default
AWS_AUDITMANAGER_API FrameworkMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetComplianceType() const
FrameworkMetadata & WithLogo(LogoT &&value)
void SetComplianceType(ComplianceTypeT &&value)
AWS_AUDITMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_AUDITMANAGER_API FrameworkMetadata(Aws::Utils::Json::JsonView jsonValue)
FrameworkMetadata & WithName(NameT &&value)
FrameworkMetadata & WithDescription(DescriptionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue