AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
DescribeOrganizationConfigurationResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/securityhub/SecurityHub_EXPORTS.h>
9#include <aws/securityhub/model/AutoEnableStandards.h>
10#include <aws/securityhub/model/OrganizationConfiguration.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace SecurityHub {
24namespace Model {
26 public:
27 AWS_SECURITYHUB_API DescribeOrganizationConfigurationResult() = default;
31
33
45 inline bool GetAutoEnable() const { return m_autoEnable; }
46 inline void SetAutoEnable(bool value) {
47 m_autoEnableHasBeenSet = true;
48 m_autoEnable = value;
49 }
51 SetAutoEnable(value);
52 return *this;
53 }
55
57
61 inline bool GetMemberAccountLimitReached() const { return m_memberAccountLimitReached; }
62 inline void SetMemberAccountLimitReached(bool value) {
63 m_memberAccountLimitReachedHasBeenSet = true;
64 m_memberAccountLimitReached = value;
65 }
68 return *this;
69 }
71
73
88 inline AutoEnableStandards GetAutoEnableStandards() const { return m_autoEnableStandards; }
90 m_autoEnableStandardsHasBeenSet = true;
91 m_autoEnableStandards = value;
92 }
95 return *this;
96 }
98
100
101 inline const OrganizationConfiguration& GetOrganizationConfiguration() const { return m_organizationConfiguration; }
102 template <typename OrganizationConfigurationT = OrganizationConfiguration>
103 void SetOrganizationConfiguration(OrganizationConfigurationT&& value) {
104 m_organizationConfigurationHasBeenSet = true;
105 m_organizationConfiguration = std::forward<OrganizationConfigurationT>(value);
106 }
107 template <typename OrganizationConfigurationT = OrganizationConfiguration>
109 SetOrganizationConfiguration(std::forward<OrganizationConfigurationT>(value));
110 return *this;
111 }
113
115
116 inline const Aws::String& GetRequestId() const { return m_requestId; }
117 template <typename RequestIdT = Aws::String>
118 void SetRequestId(RequestIdT&& value) {
119 m_requestIdHasBeenSet = true;
120 m_requestId = std::forward<RequestIdT>(value);
121 }
122 template <typename RequestIdT = Aws::String>
124 SetRequestId(std::forward<RequestIdT>(value));
125 return *this;
126 }
128 private:
129 bool m_autoEnable{false};
130
131 bool m_memberAccountLimitReached{false};
132
134
135 OrganizationConfiguration m_organizationConfiguration;
136
137 Aws::String m_requestId;
138 bool m_autoEnableHasBeenSet = false;
139 bool m_memberAccountLimitReachedHasBeenSet = false;
140 bool m_autoEnableStandardsHasBeenSet = false;
141 bool m_organizationConfigurationHasBeenSet = false;
142 bool m_requestIdHasBeenSet = false;
143};
144
145} // namespace Model
146} // namespace SecurityHub
147} // namespace Aws
DescribeOrganizationConfigurationResult & WithMemberAccountLimitReached(bool value)
AWS_SECURITYHUB_API DescribeOrganizationConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeOrganizationConfigurationResult & WithAutoEnableStandards(AutoEnableStandards value)
DescribeOrganizationConfigurationResult & WithRequestId(RequestIdT &&value)
AWS_SECURITYHUB_API DescribeOrganizationConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeOrganizationConfigurationResult & WithOrganizationConfiguration(OrganizationConfigurationT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue