AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
EnableOrganizationAdminAccountResult.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/SecurityHubFeature.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 EnableOrganizationAdminAccountResult() = default;
34
35
37
41 inline const Aws::String& GetAdminAccountId() const { return m_adminAccountId; }
42 template<typename AdminAccountIdT = Aws::String>
43 void SetAdminAccountId(AdminAccountIdT&& value) { m_adminAccountIdHasBeenSet = true; m_adminAccountId = std::forward<AdminAccountIdT>(value); }
44 template<typename AdminAccountIdT = Aws::String>
45 EnableOrganizationAdminAccountResult& WithAdminAccountId(AdminAccountIdT&& value) { SetAdminAccountId(std::forward<AdminAccountIdT>(value)); return *this;}
47
49
53 inline SecurityHubFeature GetFeature() const { return m_feature; }
54 inline void SetFeature(SecurityHubFeature value) { m_featureHasBeenSet = true; m_feature = value; }
57
59
60 inline const Aws::String& GetRequestId() const { return m_requestId; }
61 template<typename RequestIdT = Aws::String>
62 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
63 template<typename RequestIdT = Aws::String>
64 EnableOrganizationAdminAccountResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
66 private:
67
68 Aws::String m_adminAccountId;
69 bool m_adminAccountIdHasBeenSet = false;
70
72 bool m_featureHasBeenSet = false;
73
74 Aws::String m_requestId;
75 bool m_requestIdHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace SecurityHub
80} // namespace Aws
EnableOrganizationAdminAccountResult & WithAdminAccountId(AdminAccountIdT &&value)
EnableOrganizationAdminAccountResult & WithRequestId(RequestIdT &&value)
AWS_SECURITYHUB_API EnableOrganizationAdminAccountResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_SECURITYHUB_API EnableOrganizationAdminAccountResult()=default
EnableOrganizationAdminAccountResult & WithFeature(SecurityHubFeature value)
AWS_SECURITYHUB_API EnableOrganizationAdminAccountResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue