AWS SDK for C++

AWS SDK for C++ Version 1.11.845

Loading...
Searching...
No Matches
DeleteThreatModelFailure.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 DeleteThreatModelFailure() = default;
31 AWS_SECURITYAGENT_API DeleteThreatModelFailure(Aws::Utils::Json::JsonView jsonValue);
33 AWS_SECURITYAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetThreatModelId() const { return m_threatModelId; }
40 inline bool ThreatModelIdHasBeenSet() const { return m_threatModelIdHasBeenSet; }
41 template <typename ThreatModelIdT = Aws::String>
42 void SetThreatModelId(ThreatModelIdT&& value) {
43 m_threatModelIdHasBeenSet = true;
44 m_threatModelId = std::forward<ThreatModelIdT>(value);
45 }
46 template <typename ThreatModelIdT = Aws::String>
48 SetThreatModelId(std::forward<ThreatModelIdT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetReason() const { return m_reason; }
58 inline bool ReasonHasBeenSet() const { return m_reasonHasBeenSet; }
59 template <typename ReasonT = Aws::String>
60 void SetReason(ReasonT&& value) {
61 m_reasonHasBeenSet = true;
62 m_reason = std::forward<ReasonT>(value);
63 }
64 template <typename ReasonT = Aws::String>
66 SetReason(std::forward<ReasonT>(value));
67 return *this;
68 }
70 private:
71 Aws::String m_threatModelId;
72
73 Aws::String m_reason;
74 bool m_threatModelIdHasBeenSet = false;
75 bool m_reasonHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace SecurityAgent
80} // namespace Aws
AWS_SECURITYAGENT_API DeleteThreatModelFailure(Aws::Utils::Json::JsonView jsonValue)
DeleteThreatModelFailure & WithReason(ReasonT &&value)
DeleteThreatModelFailure & WithThreatModelId(ThreatModelIdT &&value)
AWS_SECURITYAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SECURITYAGENT_API DeleteThreatModelFailure & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYAGENT_API DeleteThreatModelFailure()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue