AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
34
35
37
40 inline const Aws::String& GetHubArn() const{ return m_hubArn; }
41 inline void SetHubArn(const Aws::String& value) { m_hubArn = value; }
42 inline void SetHubArn(Aws::String&& value) { m_hubArn = std::move(value); }
43 inline void SetHubArn(const char* value) { m_hubArn.assign(value); }
44 inline DescribeHubResult& WithHubArn(const Aws::String& value) { SetHubArn(value); return *this;}
45 inline DescribeHubResult& WithHubArn(Aws::String&& value) { SetHubArn(std::move(value)); return *this;}
46 inline DescribeHubResult& WithHubArn(const char* value) { SetHubArn(value); return *this;}
48
50
53 inline const Aws::String& GetSubscribedAt() const{ return m_subscribedAt; }
54 inline void SetSubscribedAt(const Aws::String& value) { m_subscribedAt = value; }
55 inline void SetSubscribedAt(Aws::String&& value) { m_subscribedAt = std::move(value); }
56 inline void SetSubscribedAt(const char* value) { m_subscribedAt.assign(value); }
57 inline DescribeHubResult& WithSubscribedAt(const Aws::String& value) { SetSubscribedAt(value); return *this;}
58 inline DescribeHubResult& WithSubscribedAt(Aws::String&& value) { SetSubscribedAt(std::move(value)); return *this;}
59 inline DescribeHubResult& WithSubscribedAt(const char* value) { SetSubscribedAt(value); return *this;}
61
63
69 inline bool GetAutoEnableControls() const{ return m_autoEnableControls; }
70 inline void SetAutoEnableControls(bool value) { m_autoEnableControls = value; }
71 inline DescribeHubResult& WithAutoEnableControls(bool value) { SetAutoEnableControls(value); return *this;}
73
75
87 inline const ControlFindingGenerator& GetControlFindingGenerator() const{ return m_controlFindingGenerator; }
88 inline void SetControlFindingGenerator(const ControlFindingGenerator& value) { m_controlFindingGenerator = value; }
89 inline void SetControlFindingGenerator(ControlFindingGenerator&& value) { m_controlFindingGenerator = std::move(value); }
93
95
96 inline const Aws::String& GetRequestId() const{ return m_requestId; }
97 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
98 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
99 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
100 inline DescribeHubResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
101 inline DescribeHubResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
102 inline DescribeHubResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
104 private:
105
106 Aws::String m_hubArn;
107
108 Aws::String m_subscribedAt;
109
110 bool m_autoEnableControls;
111
112 ControlFindingGenerator m_controlFindingGenerator;
113
114 Aws::String m_requestId;
115 };
116
117} // namespace Model
118} // namespace SecurityHub
119} // namespace Aws
DescribeHubResult & WithHubArn(Aws::String &&value)
DescribeHubResult & WithRequestId(Aws::String &&value)
void SetHubArn(const Aws::String &value)
void SetControlFindingGenerator(const ControlFindingGenerator &value)
DescribeHubResult & WithSubscribedAt(Aws::String &&value)
void SetRequestId(const Aws::String &value)
void SetControlFindingGenerator(ControlFindingGenerator &&value)
DescribeHubResult & WithHubArn(const char *value)
const ControlFindingGenerator & GetControlFindingGenerator() const
DescribeHubResult & WithSubscribedAt(const char *value)
void SetSubscribedAt(const Aws::String &value)
DescribeHubResult & WithSubscribedAt(const Aws::String &value)
DescribeHubResult & WithRequestId(const char *value)
DescribeHubResult & WithAutoEnableControls(bool value)
AWS_SECURITYHUB_API DescribeHubResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeHubResult & WithControlFindingGenerator(const ControlFindingGenerator &value)
DescribeHubResult & WithHubArn(const Aws::String &value)
DescribeHubResult & WithRequestId(const Aws::String &value)
AWS_SECURITYHUB_API DescribeHubResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeHubResult & WithControlFindingGenerator(ControlFindingGenerator &&value)
const Aws::String & GetSubscribedAt() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue