AWS SDK for C++

AWS SDK for C++ Version 1.11.845

Loading...
Searching...
No Matches
CreateSecurityRequirementEntry.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/securityagent/SecurityAgent_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SecurityAgent {
20namespace Model {
21
29 public:
30 AWS_SECURITYAGENT_API CreateSecurityRequirementEntry() = default;
33 AWS_SECURITYAGENT_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>
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>
66 SetDescription(std::forward<DescriptionT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetDomain() const { return m_domain; }
76 inline bool DomainHasBeenSet() const { return m_domainHasBeenSet; }
77 template <typename DomainT = Aws::String>
78 void SetDomain(DomainT&& value) {
79 m_domainHasBeenSet = true;
80 m_domain = std::forward<DomainT>(value);
81 }
82 template <typename DomainT = Aws::String>
84 SetDomain(std::forward<DomainT>(value));
85 return *this;
86 }
88
90
93 inline const Aws::String& GetEvaluation() const { return m_evaluation; }
94 inline bool EvaluationHasBeenSet() const { return m_evaluationHasBeenSet; }
95 template <typename EvaluationT = Aws::String>
96 void SetEvaluation(EvaluationT&& value) {
97 m_evaluationHasBeenSet = true;
98 m_evaluation = std::forward<EvaluationT>(value);
99 }
100 template <typename EvaluationT = Aws::String>
102 SetEvaluation(std::forward<EvaluationT>(value));
103 return *this;
104 }
106
108
111 inline const Aws::String& GetRemediation() const { return m_remediation; }
112 inline bool RemediationHasBeenSet() const { return m_remediationHasBeenSet; }
113 template <typename RemediationT = Aws::String>
114 void SetRemediation(RemediationT&& value) {
115 m_remediationHasBeenSet = true;
116 m_remediation = std::forward<RemediationT>(value);
117 }
118 template <typename RemediationT = Aws::String>
120 SetRemediation(std::forward<RemediationT>(value));
121 return *this;
122 }
124 private:
125 Aws::String m_name;
126
127 Aws::String m_description;
128
129 Aws::String m_domain;
130
131 Aws::String m_evaluation;
132
133 Aws::String m_remediation;
134 bool m_nameHasBeenSet = false;
135 bool m_descriptionHasBeenSet = false;
136 bool m_domainHasBeenSet = false;
137 bool m_evaluationHasBeenSet = false;
138 bool m_remediationHasBeenSet = false;
139};
140
141} // namespace Model
142} // namespace SecurityAgent
143} // namespace Aws
void SetEvaluation(EvaluationT &&value)
const Aws::String & GetEvaluation() const
bool EvaluationHasBeenSet() const
CreateSecurityRequirementEntry & WithDomain(DomainT &&value)
const Aws::String & GetDomain() const
bool DomainHasBeenSet() const
const Aws::String & GetRemediation() const
AWS_SECURITYAGENT_API CreateSecurityRequirementEntry()=default
CreateSecurityRequirementEntry & WithName(NameT &&value)
void SetDomain(DomainT &&value)
bool DescriptionHasBeenSet() const
void SetRemediation(RemediationT &&value)
AWS_SECURITYAGENT_API CreateSecurityRequirementEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
bool RemediationHasBeenSet() const
AWS_SECURITYAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SECURITYAGENT_API CreateSecurityRequirementEntry(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetDescription() const
bool NameHasBeenSet() const
void SetName(NameT &&value)
const Aws::String & GetName() const
CreateSecurityRequirementEntry & WithDescription(DescriptionT &&value)
CreateSecurityRequirementEntry & WithEvaluation(EvaluationT &&value)
CreateSecurityRequirementEntry & WithRemediation(RemediationT &&value)
void SetDescription(DescriptionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue