AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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
42 inline const Aws::String& GetDetectorId() const{ return m_detectorId; }
43 inline bool DetectorIdHasBeenSet() const { return m_detectorIdHasBeenSet; }
44 inline void SetDetectorId(const Aws::String& value) { m_detectorIdHasBeenSet = true; m_detectorId = value; }
45 inline void SetDetectorId(Aws::String&& value) { m_detectorIdHasBeenSet = true; m_detectorId = std::move(value); }
46 inline void SetDetectorId(const char* value) { m_detectorIdHasBeenSet = true; m_detectorId.assign(value); }
48 inline UpdateOrganizationConfigurationRequest& WithDetectorId(Aws::String&& value) { SetDetectorId(std::move(value)); return *this;}
49 inline UpdateOrganizationConfigurationRequest& WithDetectorId(const char* value) { SetDetectorId(value); return *this;}
51
53
56 inline const Aws::Vector<OrganizationFeatureConfiguration>& GetFeatures() const{ return m_features; }
57 inline bool FeaturesHasBeenSet() const { return m_featuresHasBeenSet; }
58 inline void SetFeatures(const Aws::Vector<OrganizationFeatureConfiguration>& value) { m_featuresHasBeenSet = true; m_features = value; }
59 inline void SetFeatures(Aws::Vector<OrganizationFeatureConfiguration>&& value) { m_featuresHasBeenSet = true; m_features = std::move(value); }
62 inline UpdateOrganizationConfigurationRequest& AddFeatures(const OrganizationFeatureConfiguration& value) { m_featuresHasBeenSet = true; m_features.push_back(value); return *this; }
63 inline UpdateOrganizationConfigurationRequest& AddFeatures(OrganizationFeatureConfiguration&& value) { m_featuresHasBeenSet = true; m_features.push_back(std::move(value)); return *this; }
65
67
89 inline const AutoEnableMembers& GetAutoEnableOrganizationMembers() const{ return m_autoEnableOrganizationMembers; }
90 inline bool AutoEnableOrganizationMembersHasBeenSet() const { return m_autoEnableOrganizationMembersHasBeenSet; }
91 inline void SetAutoEnableOrganizationMembers(const AutoEnableMembers& value) { m_autoEnableOrganizationMembersHasBeenSet = true; m_autoEnableOrganizationMembers = value; }
92 inline void SetAutoEnableOrganizationMembers(AutoEnableMembers&& value) { m_autoEnableOrganizationMembersHasBeenSet = true; m_autoEnableOrganizationMembers = std::move(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;
105 bool m_autoEnableOrganizationMembersHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace GuardDuty
110} // namespace Aws
UpdateOrganizationConfigurationRequest & WithDetectorId(Aws::String &&value)
UpdateOrganizationConfigurationRequest & AddFeatures(OrganizationFeatureConfiguration &&value)
UpdateOrganizationConfigurationRequest & WithAutoEnableOrganizationMembers(AutoEnableMembers &&value)
UpdateOrganizationConfigurationRequest & WithFeatures(const Aws::Vector< OrganizationFeatureConfiguration > &value)
UpdateOrganizationConfigurationRequest & WithAutoEnableOrganizationMembers(const AutoEnableMembers &value)
void SetFeatures(const Aws::Vector< OrganizationFeatureConfiguration > &value)
UpdateOrganizationConfigurationRequest & WithDetectorId(const Aws::String &value)
void SetFeatures(Aws::Vector< OrganizationFeatureConfiguration > &&value)
UpdateOrganizationConfigurationRequest & WithFeatures(Aws::Vector< OrganizationFeatureConfiguration > &&value)
UpdateOrganizationConfigurationRequest & WithDetectorId(const char *value)
UpdateOrganizationConfigurationRequest & AddFeatures(const OrganizationFeatureConfiguration &value)
const Aws::Vector< OrganizationFeatureConfiguration > & GetFeatures() const
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