AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Standard.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/securityhub/model/StandardsManagedBy.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 SecurityHub
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_SECURITYHUB_API Standard();
37 AWS_SECURITYHUB_API Standard(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SECURITYHUB_API Standard& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetStandardsArn() const{ return m_standardsArn; }
47 inline bool StandardsArnHasBeenSet() const { return m_standardsArnHasBeenSet; }
48 inline void SetStandardsArn(const Aws::String& value) { m_standardsArnHasBeenSet = true; m_standardsArn = value; }
49 inline void SetStandardsArn(Aws::String&& value) { m_standardsArnHasBeenSet = true; m_standardsArn = std::move(value); }
50 inline void SetStandardsArn(const char* value) { m_standardsArnHasBeenSet = true; m_standardsArn.assign(value); }
51 inline Standard& WithStandardsArn(const Aws::String& value) { SetStandardsArn(value); return *this;}
52 inline Standard& WithStandardsArn(Aws::String&& value) { SetStandardsArn(std::move(value)); return *this;}
53 inline Standard& WithStandardsArn(const char* value) { SetStandardsArn(value); return *this;}
55
57
60 inline const Aws::String& GetName() const{ return m_name; }
61 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
62 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
63 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
64 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
65 inline Standard& WithName(const Aws::String& value) { SetName(value); return *this;}
66 inline Standard& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
67 inline Standard& WithName(const char* value) { SetName(value); return *this;}
69
71
74 inline const Aws::String& GetDescription() const{ return m_description; }
75 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
76 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
77 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
78 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
79 inline Standard& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
80 inline Standard& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
81 inline Standard& WithDescription(const char* value) { SetDescription(value); return *this;}
83
85
92 inline bool GetEnabledByDefault() const{ return m_enabledByDefault; }
93 inline bool EnabledByDefaultHasBeenSet() const { return m_enabledByDefaultHasBeenSet; }
94 inline void SetEnabledByDefault(bool value) { m_enabledByDefaultHasBeenSet = true; m_enabledByDefault = value; }
95 inline Standard& WithEnabledByDefault(bool value) { SetEnabledByDefault(value); return *this;}
97
99
102 inline const StandardsManagedBy& GetStandardsManagedBy() const{ return m_standardsManagedBy; }
103 inline bool StandardsManagedByHasBeenSet() const { return m_standardsManagedByHasBeenSet; }
104 inline void SetStandardsManagedBy(const StandardsManagedBy& value) { m_standardsManagedByHasBeenSet = true; m_standardsManagedBy = value; }
105 inline void SetStandardsManagedBy(StandardsManagedBy&& value) { m_standardsManagedByHasBeenSet = true; m_standardsManagedBy = std::move(value); }
106 inline Standard& WithStandardsManagedBy(const StandardsManagedBy& value) { SetStandardsManagedBy(value); return *this;}
107 inline Standard& WithStandardsManagedBy(StandardsManagedBy&& value) { SetStandardsManagedBy(std::move(value)); return *this;}
109 private:
110
111 Aws::String m_standardsArn;
112 bool m_standardsArnHasBeenSet = false;
113
114 Aws::String m_name;
115 bool m_nameHasBeenSet = false;
116
117 Aws::String m_description;
118 bool m_descriptionHasBeenSet = false;
119
120 bool m_enabledByDefault;
121 bool m_enabledByDefaultHasBeenSet = false;
122
123 StandardsManagedBy m_standardsManagedBy;
124 bool m_standardsManagedByHasBeenSet = false;
125 };
126
127} // namespace Model
128} // namespace SecurityHub
129} // namespace Aws
Standard & WithStandardsManagedBy(const StandardsManagedBy &value)
Definition Standard.h:106
void SetStandardsArn(const Aws::String &value)
Definition Standard.h:48
Standard & WithStandardsManagedBy(StandardsManagedBy &&value)
Definition Standard.h:107
void SetDescription(Aws::String &&value)
Definition Standard.h:77
void SetEnabledByDefault(bool value)
Definition Standard.h:94
void SetDescription(const Aws::String &value)
Definition Standard.h:76
const Aws::String & GetName() const
Definition Standard.h:60
Standard & WithEnabledByDefault(bool value)
Definition Standard.h:95
const StandardsManagedBy & GetStandardsManagedBy() const
Definition Standard.h:102
void SetStandardsArn(const char *value)
Definition Standard.h:50
Standard & WithDescription(Aws::String &&value)
Definition Standard.h:80
Standard & WithName(const char *value)
Definition Standard.h:67
Standard & WithName(const Aws::String &value)
Definition Standard.h:65
void SetName(const char *value)
Definition Standard.h:64
Standard & WithDescription(const Aws::String &value)
Definition Standard.h:79
AWS_SECURITYHUB_API Standard()
void SetName(Aws::String &&value)
Definition Standard.h:63
Standard & WithDescription(const char *value)
Definition Standard.h:81
bool EnabledByDefaultHasBeenSet() const
Definition Standard.h:93
void SetDescription(const char *value)
Definition Standard.h:78
Standard & WithName(Aws::String &&value)
Definition Standard.h:66
void SetStandardsArn(Aws::String &&value)
Definition Standard.h:49
const Aws::String & GetDescription() const
Definition Standard.h:74
Standard & WithStandardsArn(const char *value)
Definition Standard.h:53
void SetName(const Aws::String &value)
Definition Standard.h:62
AWS_SECURITYHUB_API Standard(Aws::Utils::Json::JsonView jsonValue)
Standard & WithStandardsArn(Aws::String &&value)
Definition Standard.h:52
const Aws::String & GetStandardsArn() const
Definition Standard.h:46
void SetStandardsManagedBy(StandardsManagedBy &&value)
Definition Standard.h:105
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
void SetStandardsManagedBy(const StandardsManagedBy &value)
Definition Standard.h:104
Standard & WithStandardsArn(const Aws::String &value)
Definition Standard.h:51
bool StandardsManagedByHasBeenSet() const
Definition Standard.h:103
AWS_SECURITYHUB_API Standard & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue