AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DescribeOrganizationConfigurationResult.h
1
6#pragma once
7#include <aws/inspector2/Inspector2_EXPORTS.h>
8#include <aws/inspector2/model/AutoEnable.h>
9#include <aws/core/utils/memory/stl/AWSString.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 Inspector2
25{
26namespace Model
27{
29 {
30 public:
31 AWS_INSPECTOR2_API DescribeOrganizationConfigurationResult() = default;
34
35
37
41 inline const AutoEnable& GetAutoEnable() const { return m_autoEnable; }
42 template<typename AutoEnableT = AutoEnable>
43 void SetAutoEnable(AutoEnableT&& value) { m_autoEnableHasBeenSet = true; m_autoEnable = std::forward<AutoEnableT>(value); }
44 template<typename AutoEnableT = AutoEnable>
45 DescribeOrganizationConfigurationResult& WithAutoEnable(AutoEnableT&& value) { SetAutoEnable(std::forward<AutoEnableT>(value)); return *this;}
47
49
53 inline bool GetMaxAccountLimitReached() const { return m_maxAccountLimitReached; }
54 inline void SetMaxAccountLimitReached(bool value) { m_maxAccountLimitReachedHasBeenSet = true; m_maxAccountLimitReached = 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 DescribeOrganizationConfigurationResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
66 private:
67
68 AutoEnable m_autoEnable;
69 bool m_autoEnableHasBeenSet = false;
70
71 bool m_maxAccountLimitReached{false};
72 bool m_maxAccountLimitReachedHasBeenSet = false;
73
74 Aws::String m_requestId;
75 bool m_requestIdHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace Inspector2
80} // namespace Aws
DescribeOrganizationConfigurationResult & WithMaxAccountLimitReached(bool value)
DescribeOrganizationConfigurationResult & WithRequestId(RequestIdT &&value)
AWS_INSPECTOR2_API DescribeOrganizationConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeOrganizationConfigurationResult & WithAutoEnable(AutoEnableT &&value)
AWS_INSPECTOR2_API DescribeOrganizationConfigurationResult(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