AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
OrganizationFeatureConfiguration.h
1
6#pragma once
7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/guardduty/model/OrgFeature.h>
9#include <aws/guardduty/model/OrgFeatureStatus.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/guardduty/model/OrganizationAdditionalConfiguration.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace GuardDuty
25{
26namespace Model
27{
28
36 {
37 public:
41 AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const OrgFeature& GetName() const{ return m_name; }
49 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
50 inline void SetName(const OrgFeature& value) { m_nameHasBeenSet = true; m_name = value; }
51 inline void SetName(OrgFeature&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
52 inline OrganizationFeatureConfiguration& WithName(const OrgFeature& value) { SetName(value); return *this;}
53 inline OrganizationFeatureConfiguration& WithName(OrgFeature&& value) { SetName(std::move(value)); return *this;}
55
57
71 inline const OrgFeatureStatus& GetAutoEnable() const{ return m_autoEnable; }
72 inline bool AutoEnableHasBeenSet() const { return m_autoEnableHasBeenSet; }
73 inline void SetAutoEnable(const OrgFeatureStatus& value) { m_autoEnableHasBeenSet = true; m_autoEnable = value; }
74 inline void SetAutoEnable(OrgFeatureStatus&& value) { m_autoEnableHasBeenSet = true; m_autoEnable = std::move(value); }
76 inline OrganizationFeatureConfiguration& WithAutoEnable(OrgFeatureStatus&& value) { SetAutoEnable(std::move(value)); return *this;}
78
80
83 inline const Aws::Vector<OrganizationAdditionalConfiguration>& GetAdditionalConfiguration() const{ return m_additionalConfiguration; }
84 inline bool AdditionalConfigurationHasBeenSet() const { return m_additionalConfigurationHasBeenSet; }
85 inline void SetAdditionalConfiguration(const Aws::Vector<OrganizationAdditionalConfiguration>& value) { m_additionalConfigurationHasBeenSet = true; m_additionalConfiguration = value; }
86 inline void SetAdditionalConfiguration(Aws::Vector<OrganizationAdditionalConfiguration>&& value) { m_additionalConfigurationHasBeenSet = true; m_additionalConfiguration = std::move(value); }
89 inline OrganizationFeatureConfiguration& AddAdditionalConfiguration(const OrganizationAdditionalConfiguration& value) { m_additionalConfigurationHasBeenSet = true; m_additionalConfiguration.push_back(value); return *this; }
90 inline OrganizationFeatureConfiguration& AddAdditionalConfiguration(OrganizationAdditionalConfiguration&& value) { m_additionalConfigurationHasBeenSet = true; m_additionalConfiguration.push_back(std::move(value)); return *this; }
92 private:
93
94 OrgFeature m_name;
95 bool m_nameHasBeenSet = false;
96
97 OrgFeatureStatus m_autoEnable;
98 bool m_autoEnableHasBeenSet = false;
99
100 Aws::Vector<OrganizationAdditionalConfiguration> m_additionalConfiguration;
101 bool m_additionalConfigurationHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace GuardDuty
106} // namespace Aws
OrganizationFeatureConfiguration & WithAdditionalConfiguration(Aws::Vector< OrganizationAdditionalConfiguration > &&value)
OrganizationFeatureConfiguration & WithAutoEnable(const OrgFeatureStatus &value)
OrganizationFeatureConfiguration & WithAutoEnable(OrgFeatureStatus &&value)
OrganizationFeatureConfiguration & AddAdditionalConfiguration(OrganizationAdditionalConfiguration &&value)
AWS_GUARDDUTY_API OrganizationFeatureConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetAdditionalConfiguration(Aws::Vector< OrganizationAdditionalConfiguration > &&value)
OrganizationFeatureConfiguration & WithName(const OrgFeature &value)
AWS_GUARDDUTY_API OrganizationFeatureConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
OrganizationFeatureConfiguration & WithName(OrgFeature &&value)
OrganizationFeatureConfiguration & AddAdditionalConfiguration(const OrganizationAdditionalConfiguration &value)
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAdditionalConfiguration(const Aws::Vector< OrganizationAdditionalConfiguration > &value)
const Aws::Vector< OrganizationAdditionalConfiguration > & GetAdditionalConfiguration() const
OrganizationFeatureConfiguration & WithAdditionalConfiguration(const Aws::Vector< OrganizationAdditionalConfiguration > &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue