AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
OrganizationFeatureStatistics.h
1
6#pragma once
7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/guardduty/model/OrgFeature.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/guardduty/model/OrganizationFeatureStatisticsAdditionalConfiguration.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace GuardDuty
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_GUARDDUTY_API OrganizationFeatureStatistics();
40 AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const OrgFeature& GetName() const{ return m_name; }
48 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
49 inline void SetName(const OrgFeature& value) { m_nameHasBeenSet = true; m_name = value; }
50 inline void SetName(OrgFeature&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
51 inline OrganizationFeatureStatistics& WithName(const OrgFeature& value) { SetName(value); return *this;}
52 inline OrganizationFeatureStatistics& WithName(OrgFeature&& value) { SetName(std::move(value)); return *this;}
54
56
59 inline int GetEnabledAccountsCount() const{ return m_enabledAccountsCount; }
60 inline bool EnabledAccountsCountHasBeenSet() const { return m_enabledAccountsCountHasBeenSet; }
61 inline void SetEnabledAccountsCount(int value) { m_enabledAccountsCountHasBeenSet = true; m_enabledAccountsCount = value; }
64
66
70 inline bool AdditionalConfigurationHasBeenSet() const { return m_additionalConfigurationHasBeenSet; }
71 inline void SetAdditionalConfiguration(const Aws::Vector<OrganizationFeatureStatisticsAdditionalConfiguration>& value) { m_additionalConfigurationHasBeenSet = true; m_additionalConfiguration = value; }
72 inline void SetAdditionalConfiguration(Aws::Vector<OrganizationFeatureStatisticsAdditionalConfiguration>&& value) { m_additionalConfigurationHasBeenSet = true; m_additionalConfiguration = std::move(value); }
75 inline OrganizationFeatureStatistics& AddAdditionalConfiguration(const OrganizationFeatureStatisticsAdditionalConfiguration& value) { m_additionalConfigurationHasBeenSet = true; m_additionalConfiguration.push_back(value); return *this; }
76 inline OrganizationFeatureStatistics& AddAdditionalConfiguration(OrganizationFeatureStatisticsAdditionalConfiguration&& value) { m_additionalConfigurationHasBeenSet = true; m_additionalConfiguration.push_back(std::move(value)); return *this; }
78 private:
79
80 OrgFeature m_name;
81 bool m_nameHasBeenSet = false;
82
83 int m_enabledAccountsCount;
84 bool m_enabledAccountsCountHasBeenSet = false;
85
87 bool m_additionalConfigurationHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace GuardDuty
92} // namespace Aws
void SetAdditionalConfiguration(const Aws::Vector< OrganizationFeatureStatisticsAdditionalConfiguration > &value)
OrganizationFeatureStatistics & WithEnabledAccountsCount(int value)
OrganizationFeatureStatistics & AddAdditionalConfiguration(OrganizationFeatureStatisticsAdditionalConfiguration &&value)
OrganizationFeatureStatistics & WithAdditionalConfiguration(const Aws::Vector< OrganizationFeatureStatisticsAdditionalConfiguration > &value)
AWS_GUARDDUTY_API OrganizationFeatureStatistics & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAdditionalConfiguration(Aws::Vector< OrganizationFeatureStatisticsAdditionalConfiguration > &&value)
const Aws::Vector< OrganizationFeatureStatisticsAdditionalConfiguration > & GetAdditionalConfiguration() const
OrganizationFeatureStatistics & WithAdditionalConfiguration(Aws::Vector< OrganizationFeatureStatisticsAdditionalConfiguration > &&value)
OrganizationFeatureStatistics & AddAdditionalConfiguration(const OrganizationFeatureStatisticsAdditionalConfiguration &value)
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
OrganizationFeatureStatistics & WithName(OrgFeature &&value)
AWS_GUARDDUTY_API OrganizationFeatureStatistics(Aws::Utils::Json::JsonView jsonValue)
OrganizationFeatureStatistics & WithName(const OrgFeature &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue