AWS SDK for C++

AWS SDK for C++ Version 1.11.763

Loading...
Searching...
No Matches
DescribeOrganizationConfigurationResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/macie2/Macie2_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace Macie2 {
23namespace Model {
25 public:
26 AWS_MACIE2_API DescribeOrganizationConfigurationResult() = default;
29
31
35 inline bool GetAutoEnable() const { return m_autoEnable; }
36 inline void SetAutoEnable(bool value) {
37 m_autoEnableHasBeenSet = true;
38 m_autoEnable = value;
39 }
41 SetAutoEnable(value);
42 return *this;
43 }
45
47
51 inline bool GetMaxAccountLimitReached() const { return m_maxAccountLimitReached; }
52 inline void SetMaxAccountLimitReached(bool value) {
53 m_maxAccountLimitReachedHasBeenSet = true;
54 m_maxAccountLimitReached = value;
55 }
58 return *this;
59 }
61
63
64 inline const Aws::String& GetRequestId() const { return m_requestId; }
65 template <typename RequestIdT = Aws::String>
66 void SetRequestId(RequestIdT&& value) {
67 m_requestIdHasBeenSet = true;
68 m_requestId = std::forward<RequestIdT>(value);
69 }
70 template <typename RequestIdT = Aws::String>
72 SetRequestId(std::forward<RequestIdT>(value));
73 return *this;
74 }
76 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
77
78 private:
79 bool m_autoEnable{false};
80
81 bool m_maxAccountLimitReached{false};
82
83 Aws::String m_requestId;
84 Aws::Http::HttpResponseCode m_HttpResponseCode;
85 bool m_autoEnableHasBeenSet = false;
86 bool m_maxAccountLimitReachedHasBeenSet = false;
87 bool m_requestIdHasBeenSet = false;
88};
89
90} // namespace Model
91} // namespace Macie2
92} // namespace Aws
AWS_MACIE2_API DescribeOrganizationConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeOrganizationConfigurationResult & WithRequestId(RequestIdT &&value)
AWS_MACIE2_API DescribeOrganizationConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeOrganizationConfigurationResult & WithMaxAccountLimitReached(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue