AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MemberFeaturesConfiguration.h
1
6#pragma once
7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/guardduty/model/OrgFeature.h>
9#include <aws/guardduty/model/FeatureStatus.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/guardduty/model/MemberAdditionalConfiguration.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:
38 AWS_GUARDDUTY_API MemberFeaturesConfiguration();
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 MemberFeaturesConfiguration& WithName(const OrgFeature& value) { SetName(value); return *this;}
53 inline MemberFeaturesConfiguration& WithName(OrgFeature&& value) { SetName(std::move(value)); return *this;}
55
57
60 inline const FeatureStatus& GetStatus() const{ return m_status; }
61 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
62 inline void SetStatus(const FeatureStatus& value) { m_statusHasBeenSet = true; m_status = value; }
63 inline void SetStatus(FeatureStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
64 inline MemberFeaturesConfiguration& WithStatus(const FeatureStatus& value) { SetStatus(value); return *this;}
65 inline MemberFeaturesConfiguration& WithStatus(FeatureStatus&& value) { SetStatus(std::move(value)); return *this;}
67
69
72 inline const Aws::Vector<MemberAdditionalConfiguration>& GetAdditionalConfiguration() const{ return m_additionalConfiguration; }
73 inline bool AdditionalConfigurationHasBeenSet() const { return m_additionalConfigurationHasBeenSet; }
74 inline void SetAdditionalConfiguration(const Aws::Vector<MemberAdditionalConfiguration>& value) { m_additionalConfigurationHasBeenSet = true; m_additionalConfiguration = value; }
75 inline void SetAdditionalConfiguration(Aws::Vector<MemberAdditionalConfiguration>&& value) { m_additionalConfigurationHasBeenSet = true; m_additionalConfiguration = std::move(value); }
78 inline MemberFeaturesConfiguration& AddAdditionalConfiguration(const MemberAdditionalConfiguration& value) { m_additionalConfigurationHasBeenSet = true; m_additionalConfiguration.push_back(value); return *this; }
79 inline MemberFeaturesConfiguration& AddAdditionalConfiguration(MemberAdditionalConfiguration&& value) { m_additionalConfigurationHasBeenSet = true; m_additionalConfiguration.push_back(std::move(value)); return *this; }
81 private:
82
83 OrgFeature m_name;
84 bool m_nameHasBeenSet = false;
85
86 FeatureStatus m_status;
87 bool m_statusHasBeenSet = false;
88
89 Aws::Vector<MemberAdditionalConfiguration> m_additionalConfiguration;
90 bool m_additionalConfigurationHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace GuardDuty
95} // namespace Aws
void SetAdditionalConfiguration(const Aws::Vector< MemberAdditionalConfiguration > &value)
MemberFeaturesConfiguration & WithName(OrgFeature &&value)
void SetAdditionalConfiguration(Aws::Vector< MemberAdditionalConfiguration > &&value)
MemberFeaturesConfiguration & AddAdditionalConfiguration(MemberAdditionalConfiguration &&value)
MemberFeaturesConfiguration & WithName(const OrgFeature &value)
AWS_GUARDDUTY_API MemberFeaturesConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
MemberFeaturesConfiguration & WithAdditionalConfiguration(Aws::Vector< MemberAdditionalConfiguration > &&value)
AWS_GUARDDUTY_API MemberFeaturesConfiguration(Aws::Utils::Json::JsonView jsonValue)
MemberFeaturesConfiguration & WithAdditionalConfiguration(const Aws::Vector< MemberAdditionalConfiguration > &value)
const Aws::Vector< MemberAdditionalConfiguration > & GetAdditionalConfiguration() const
MemberFeaturesConfiguration & WithStatus(FeatureStatus &&value)
MemberFeaturesConfiguration & AddAdditionalConfiguration(const MemberAdditionalConfiguration &value)
MemberFeaturesConfiguration & WithStatus(const FeatureStatus &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue