AWS SDK for C++  1.9.16
AWS SDK for C++
DescribeOrganizationConfigurationResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace GuardDuty
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
39  inline bool GetAutoEnable() const{ return m_autoEnable; }
40 
45  inline void SetAutoEnable(bool value) { m_autoEnable = value; }
46 
51  inline DescribeOrganizationConfigurationResult& WithAutoEnable(bool value) { SetAutoEnable(value); return *this;}
52 
53 
58  inline bool GetMemberAccountLimitReached() const{ return m_memberAccountLimitReached; }
59 
64  inline void SetMemberAccountLimitReached(bool value) { m_memberAccountLimitReached = value; }
65 
70  inline DescribeOrganizationConfigurationResult& WithMemberAccountLimitReached(bool value) { SetMemberAccountLimitReached(value); return *this;}
71 
72 
77  inline const OrganizationDataSourceConfigurationsResult& GetDataSources() const{ return m_dataSources; }
78 
83  inline void SetDataSources(const OrganizationDataSourceConfigurationsResult& value) { m_dataSources = value; }
84 
89  inline void SetDataSources(OrganizationDataSourceConfigurationsResult&& value) { m_dataSources = std::move(value); }
90 
95  inline DescribeOrganizationConfigurationResult& WithDataSources(const OrganizationDataSourceConfigurationsResult& value) { SetDataSources(value); return *this;}
96 
101  inline DescribeOrganizationConfigurationResult& WithDataSources(OrganizationDataSourceConfigurationsResult&& value) { SetDataSources(std::move(value)); return *this;}
102 
103  private:
104 
105  bool m_autoEnable;
106 
107  bool m_memberAccountLimitReached;
108 
110  };
111 
112 } // namespace Model
113 } // namespace GuardDuty
114 } // namespace Aws
OrganizationDataSourceConfigurationsResult.h
Aws::GuardDuty::Model::DescribeOrganizationConfigurationResult::operator=
DescribeOrganizationConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::GuardDuty::Model::DescribeOrganizationConfigurationResult::WithMemberAccountLimitReached
DescribeOrganizationConfigurationResult & WithMemberAccountLimitReached(bool value)
Definition: DescribeOrganizationConfigurationResult.h:70
Aws::GuardDuty::Model::OrganizationDataSourceConfigurationsResult
Definition: OrganizationDataSourceConfigurationsResult.h:33
Aws::GuardDuty::Model::DescribeOrganizationConfigurationResult::DescribeOrganizationConfigurationResult
DescribeOrganizationConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::GuardDuty::Model::DescribeOrganizationConfigurationResult::SetMemberAccountLimitReached
void SetMemberAccountLimitReached(bool value)
Definition: DescribeOrganizationConfigurationResult.h:64
Aws::GuardDuty::Model::DescribeOrganizationConfigurationResult::GetMemberAccountLimitReached
bool GetMemberAccountLimitReached() const
Definition: DescribeOrganizationConfigurationResult.h:58
Aws::GuardDuty::Model::DescribeOrganizationConfigurationResult::WithDataSources
DescribeOrganizationConfigurationResult & WithDataSources(OrganizationDataSourceConfigurationsResult &&value)
Definition: DescribeOrganizationConfigurationResult.h:101
Aws::GuardDuty::Model::DescribeOrganizationConfigurationResult
Definition: DescribeOrganizationConfigurationResult.h:28
Aws::GuardDuty::Model::DescribeOrganizationConfigurationResult::WithAutoEnable
DescribeOrganizationConfigurationResult & WithAutoEnable(bool value)
Definition: DescribeOrganizationConfigurationResult.h:51
GuardDuty_EXPORTS.h
AWS_GUARDDUTY_API
#define AWS_GUARDDUTY_API
Definition: GuardDuty_EXPORTS.h:28
Aws::GuardDuty::Model::DescribeOrganizationConfigurationResult::GetAutoEnable
bool GetAutoEnable() const
Definition: DescribeOrganizationConfigurationResult.h:39
Aws::GuardDuty::Model::DescribeOrganizationConfigurationResult::SetDataSources
void SetDataSources(OrganizationDataSourceConfigurationsResult &&value)
Definition: DescribeOrganizationConfigurationResult.h:89
Aws::GuardDuty::Model::DescribeOrganizationConfigurationResult::SetDataSources
void SetDataSources(const OrganizationDataSourceConfigurationsResult &value)
Definition: DescribeOrganizationConfigurationResult.h:83
Aws::GuardDuty::Model::DescribeOrganizationConfigurationResult::SetAutoEnable
void SetAutoEnable(bool value)
Definition: DescribeOrganizationConfigurationResult.h:45
Aws::GuardDuty::Model::DescribeOrganizationConfigurationResult::GetDataSources
const OrganizationDataSourceConfigurationsResult & GetDataSources() const
Definition: DescribeOrganizationConfigurationResult.h:77
Aws
Definition: AccessManagementClient.h:15
Aws::GuardDuty::Model::DescribeOrganizationConfigurationResult::DescribeOrganizationConfigurationResult
DescribeOrganizationConfigurationResult()
Aws::GuardDuty::Model::DescribeOrganizationConfigurationResult::WithDataSources
DescribeOrganizationConfigurationResult & WithDataSources(const OrganizationDataSourceConfigurationsResult &value)
Definition: DescribeOrganizationConfigurationResult.h:95