AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MemberFeaturesConfigurationResult.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/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/guardduty/model/MemberAdditionalConfigurationResult.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace GuardDuty
26{
27namespace Model
28{
29
37 {
38 public:
42 AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
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 MemberFeaturesConfigurationResult& WithName(const OrgFeature& value) { SetName(value); return *this;}
54 inline MemberFeaturesConfigurationResult& WithName(OrgFeature&& value) { SetName(std::move(value)); return *this;}
56
58
61 inline const FeatureStatus& GetStatus() const{ return m_status; }
62 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
63 inline void SetStatus(const FeatureStatus& value) { m_statusHasBeenSet = true; m_status = value; }
64 inline void SetStatus(FeatureStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
65 inline MemberFeaturesConfigurationResult& WithStatus(const FeatureStatus& value) { SetStatus(value); return *this;}
66 inline MemberFeaturesConfigurationResult& WithStatus(FeatureStatus&& value) { SetStatus(std::move(value)); return *this;}
68
70
73 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
74 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
75 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; }
76 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); }
78 inline MemberFeaturesConfigurationResult& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
80
82
86 inline const Aws::Vector<MemberAdditionalConfigurationResult>& GetAdditionalConfiguration() const{ return m_additionalConfiguration; }
87 inline bool AdditionalConfigurationHasBeenSet() const { return m_additionalConfigurationHasBeenSet; }
88 inline void SetAdditionalConfiguration(const Aws::Vector<MemberAdditionalConfigurationResult>& value) { m_additionalConfigurationHasBeenSet = true; m_additionalConfiguration = value; }
89 inline void SetAdditionalConfiguration(Aws::Vector<MemberAdditionalConfigurationResult>&& value) { m_additionalConfigurationHasBeenSet = true; m_additionalConfiguration = std::move(value); }
92 inline MemberFeaturesConfigurationResult& AddAdditionalConfiguration(const MemberAdditionalConfigurationResult& value) { m_additionalConfigurationHasBeenSet = true; m_additionalConfiguration.push_back(value); return *this; }
93 inline MemberFeaturesConfigurationResult& AddAdditionalConfiguration(MemberAdditionalConfigurationResult&& value) { m_additionalConfigurationHasBeenSet = true; m_additionalConfiguration.push_back(std::move(value)); return *this; }
95 private:
96
97 OrgFeature m_name;
98 bool m_nameHasBeenSet = false;
99
100 FeatureStatus m_status;
101 bool m_statusHasBeenSet = false;
102
103 Aws::Utils::DateTime m_updatedAt;
104 bool m_updatedAtHasBeenSet = false;
105
106 Aws::Vector<MemberAdditionalConfigurationResult> m_additionalConfiguration;
107 bool m_additionalConfigurationHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace GuardDuty
112} // namespace Aws
MemberFeaturesConfigurationResult & WithAdditionalConfiguration(const Aws::Vector< MemberAdditionalConfigurationResult > &value)
MemberFeaturesConfigurationResult & WithStatus(FeatureStatus &&value)
AWS_GUARDDUTY_API MemberFeaturesConfigurationResult & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< MemberAdditionalConfigurationResult > & GetAdditionalConfiguration() const
void SetAdditionalConfiguration(const Aws::Vector< MemberAdditionalConfigurationResult > &value)
MemberFeaturesConfigurationResult & WithStatus(const FeatureStatus &value)
void SetAdditionalConfiguration(Aws::Vector< MemberAdditionalConfigurationResult > &&value)
AWS_GUARDDUTY_API MemberFeaturesConfigurationResult(Aws::Utils::Json::JsonView jsonValue)
MemberFeaturesConfigurationResult & WithName(const OrgFeature &value)
MemberFeaturesConfigurationResult & AddAdditionalConfiguration(MemberAdditionalConfigurationResult &&value)
MemberFeaturesConfigurationResult & WithUpdatedAt(Aws::Utils::DateTime &&value)
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
MemberFeaturesConfigurationResult & AddAdditionalConfiguration(const MemberAdditionalConfigurationResult &value)
MemberFeaturesConfigurationResult & WithUpdatedAt(const Aws::Utils::DateTime &value)
MemberFeaturesConfigurationResult & WithName(OrgFeature &&value)
MemberFeaturesConfigurationResult & WithAdditionalConfiguration(Aws::Vector< MemberAdditionalConfigurationResult > &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue