AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateOrganizationConfigurationRequest.h
1
6#pragma once
7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/guardduty/GuardDutyRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/guardduty/model/AutoEnableMembers.h>
12#include <aws/guardduty/model/OrganizationFeatureConfiguration.h>
13#include <utility>
14
15namespace Aws
16{
17namespace GuardDuty
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_GUARDDUTY_API UpdateOrganizationConfigurationRequest() = default;
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "UpdateOrganizationConfiguration"; }
34
35 AWS_GUARDDUTY_API Aws::String SerializePayload() const override;
36
37
39
46 inline const Aws::String& GetDetectorId() const { return m_detectorId; }
47 inline bool DetectorIdHasBeenSet() const { return m_detectorIdHasBeenSet; }
48 template<typename DetectorIdT = Aws::String>
49 void SetDetectorId(DetectorIdT&& value) { m_detectorIdHasBeenSet = true; m_detectorId = std::forward<DetectorIdT>(value); }
50 template<typename DetectorIdT = Aws::String>
51 UpdateOrganizationConfigurationRequest& WithDetectorId(DetectorIdT&& value) { SetDetectorId(std::forward<DetectorIdT>(value)); return *this;}
53
55
58 inline const Aws::Vector<OrganizationFeatureConfiguration>& GetFeatures() const { return m_features; }
59 inline bool FeaturesHasBeenSet() const { return m_featuresHasBeenSet; }
60 template<typename FeaturesT = Aws::Vector<OrganizationFeatureConfiguration>>
61 void SetFeatures(FeaturesT&& value) { m_featuresHasBeenSet = true; m_features = std::forward<FeaturesT>(value); }
62 template<typename FeaturesT = Aws::Vector<OrganizationFeatureConfiguration>>
63 UpdateOrganizationConfigurationRequest& WithFeatures(FeaturesT&& value) { SetFeatures(std::forward<FeaturesT>(value)); return *this;}
64 template<typename FeaturesT = OrganizationFeatureConfiguration>
65 UpdateOrganizationConfigurationRequest& AddFeatures(FeaturesT&& value) { m_featuresHasBeenSet = true; m_features.emplace_back(std::forward<FeaturesT>(value)); return *this; }
67
69
91 inline AutoEnableMembers GetAutoEnableOrganizationMembers() const { return m_autoEnableOrganizationMembers; }
92 inline bool AutoEnableOrganizationMembersHasBeenSet() const { return m_autoEnableOrganizationMembersHasBeenSet; }
93 inline void SetAutoEnableOrganizationMembers(AutoEnableMembers value) { m_autoEnableOrganizationMembersHasBeenSet = true; m_autoEnableOrganizationMembers = value; }
96 private:
97
98 Aws::String m_detectorId;
99 bool m_detectorIdHasBeenSet = false;
100
102 bool m_featuresHasBeenSet = false;
103
104 AutoEnableMembers m_autoEnableOrganizationMembers{AutoEnableMembers::NOT_SET};
105 bool m_autoEnableOrganizationMembersHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace GuardDuty
110} // namespace Aws
UpdateOrganizationConfigurationRequest & WithFeatures(FeaturesT &&value)
UpdateOrganizationConfigurationRequest & AddFeatures(FeaturesT &&value)
UpdateOrganizationConfigurationRequest & WithDetectorId(DetectorIdT &&value)
const Aws::Vector< OrganizationFeatureConfiguration > & GetFeatures() const
UpdateOrganizationConfigurationRequest & WithAutoEnableOrganizationMembers(AutoEnableMembers value)
AWS_GUARDDUTY_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector