AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DescribeHubResult.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/ControlFindingGenerator.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace SecurityHub
25{
26namespace Model
27{
29 {
30 public:
31 AWS_SECURITYHUB_API DescribeHubResult() = default;
34
35
37
40 inline const Aws::String& GetHubArn() const { return m_hubArn; }
41 template<typename HubArnT = Aws::String>
42 void SetHubArn(HubArnT&& value) { m_hubArnHasBeenSet = true; m_hubArn = std::forward<HubArnT>(value); }
43 template<typename HubArnT = Aws::String>
44 DescribeHubResult& WithHubArn(HubArnT&& value) { SetHubArn(std::forward<HubArnT>(value)); return *this;}
46
48
51 inline const Aws::String& GetSubscribedAt() const { return m_subscribedAt; }
52 template<typename SubscribedAtT = Aws::String>
53 void SetSubscribedAt(SubscribedAtT&& value) { m_subscribedAtHasBeenSet = true; m_subscribedAt = std::forward<SubscribedAtT>(value); }
54 template<typename SubscribedAtT = Aws::String>
55 DescribeHubResult& WithSubscribedAt(SubscribedAtT&& value) { SetSubscribedAt(std::forward<SubscribedAtT>(value)); return *this;}
57
59
73 inline bool GetAutoEnableControls() const { return m_autoEnableControls; }
74 inline void SetAutoEnableControls(bool value) { m_autoEnableControlsHasBeenSet = true; m_autoEnableControls = value; }
75 inline DescribeHubResult& WithAutoEnableControls(bool value) { SetAutoEnableControls(value); return *this;}
77
79
91 inline ControlFindingGenerator GetControlFindingGenerator() const { return m_controlFindingGenerator; }
92 inline void SetControlFindingGenerator(ControlFindingGenerator value) { m_controlFindingGeneratorHasBeenSet = true; m_controlFindingGenerator = value; }
95
97
98 inline const Aws::String& GetRequestId() const { return m_requestId; }
99 template<typename RequestIdT = Aws::String>
100 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
101 template<typename RequestIdT = Aws::String>
102 DescribeHubResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
104 private:
105
106 Aws::String m_hubArn;
107 bool m_hubArnHasBeenSet = false;
108
109 Aws::String m_subscribedAt;
110 bool m_subscribedAtHasBeenSet = false;
111
112 bool m_autoEnableControls{false};
113 bool m_autoEnableControlsHasBeenSet = false;
114
116 bool m_controlFindingGeneratorHasBeenSet = false;
117
118 Aws::String m_requestId;
119 bool m_requestIdHasBeenSet = false;
120 };
121
122} // namespace Model
123} // namespace SecurityHub
124} // namespace Aws
void SetControlFindingGenerator(ControlFindingGenerator value)
void SetSubscribedAt(SubscribedAtT &&value)
DescribeHubResult & WithControlFindingGenerator(ControlFindingGenerator value)
DescribeHubResult & WithAutoEnableControls(bool value)
AWS_SECURITYHUB_API DescribeHubResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ControlFindingGenerator GetControlFindingGenerator() const
DescribeHubResult & WithSubscribedAt(SubscribedAtT &&value)
DescribeHubResult & WithRequestId(RequestIdT &&value)
AWS_SECURITYHUB_API DescribeHubResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeHubResult & WithHubArn(HubArnT &&value)
AWS_SECURITYHUB_API DescribeHubResult()=default
const Aws::String & GetSubscribedAt() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue