AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
OrganizationFeatureConfigurationResult.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/OrganizationAdditionalConfigurationResult.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
49 inline const OrgFeature& GetName() const{ return m_name; }
50 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
51 inline void SetName(const OrgFeature& value) { m_nameHasBeenSet = true; m_name = value; }
52 inline void SetName(OrgFeature&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
53 inline OrganizationFeatureConfigurationResult& WithName(const OrgFeature& value) { SetName(value); return *this;}
54 inline OrganizationFeatureConfigurationResult& WithName(OrgFeature&& value) { SetName(std::move(value)); return *this;}
56
58
70 inline const OrgFeatureStatus& GetAutoEnable() const{ return m_autoEnable; }
71 inline bool AutoEnableHasBeenSet() const { return m_autoEnableHasBeenSet; }
72 inline void SetAutoEnable(const OrgFeatureStatus& value) { m_autoEnableHasBeenSet = true; m_autoEnable = value; }
73 inline void SetAutoEnable(OrgFeatureStatus&& value) { m_autoEnableHasBeenSet = true; m_autoEnable = std::move(value); }
75 inline OrganizationFeatureConfigurationResult& WithAutoEnable(OrgFeatureStatus&& value) { SetAutoEnable(std::move(value)); return *this;}
77
79
83 inline const Aws::Vector<OrganizationAdditionalConfigurationResult>& GetAdditionalConfiguration() const{ return m_additionalConfiguration; }
84 inline bool AdditionalConfigurationHasBeenSet() const { return m_additionalConfigurationHasBeenSet; }
85 inline void SetAdditionalConfiguration(const Aws::Vector<OrganizationAdditionalConfigurationResult>& value) { m_additionalConfigurationHasBeenSet = true; m_additionalConfiguration = value; }
86 inline void SetAdditionalConfiguration(Aws::Vector<OrganizationAdditionalConfigurationResult>&& value) { m_additionalConfigurationHasBeenSet = true; m_additionalConfiguration = std::move(value); }
89 inline OrganizationFeatureConfigurationResult& AddAdditionalConfiguration(const OrganizationAdditionalConfigurationResult& value) { m_additionalConfigurationHasBeenSet = true; m_additionalConfiguration.push_back(value); return *this; }
90 inline OrganizationFeatureConfigurationResult& AddAdditionalConfiguration(OrganizationAdditionalConfigurationResult&& 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
101 bool m_additionalConfigurationHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace GuardDuty
106} // namespace Aws
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAdditionalConfiguration(const Aws::Vector< OrganizationAdditionalConfigurationResult > &value)
const Aws::Vector< OrganizationAdditionalConfigurationResult > & GetAdditionalConfiguration() const
OrganizationFeatureConfigurationResult & WithAdditionalConfiguration(Aws::Vector< OrganizationAdditionalConfigurationResult > &&value)
OrganizationFeatureConfigurationResult & WithName(const OrgFeature &value)
OrganizationFeatureConfigurationResult & AddAdditionalConfiguration(const OrganizationAdditionalConfigurationResult &value)
OrganizationFeatureConfigurationResult & WithAdditionalConfiguration(const Aws::Vector< OrganizationAdditionalConfigurationResult > &value)
OrganizationFeatureConfigurationResult & WithAutoEnable(const OrgFeatureStatus &value)
AWS_GUARDDUTY_API OrganizationFeatureConfigurationResult & operator=(Aws::Utils::Json::JsonView jsonValue)
OrganizationFeatureConfigurationResult & WithAutoEnable(OrgFeatureStatus &&value)
void SetAdditionalConfiguration(Aws::Vector< OrganizationAdditionalConfigurationResult > &&value)
OrganizationFeatureConfigurationResult & AddAdditionalConfiguration(OrganizationAdditionalConfigurationResult &&value)
OrganizationFeatureConfigurationResult & WithName(OrgFeature &&value)
AWS_GUARDDUTY_API OrganizationFeatureConfigurationResult(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue