AWS SDK for C++  1.9.159
AWS SDK for C++
UpdateOrganizationConfigurationRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace GuardDuty
16 {
17 namespace Model
18 {
19 
23  {
24  public:
26 
27  // Service request name is the Operation name which will send this request out,
28  // each operation should has unique request name, so that we can get operation's name from this request.
29  // Note: this is not true for response, multiple operations may have the same response name,
30  // so we can not get operation's name from response.
31  inline virtual const char* GetServiceRequestName() const override { return "UpdateOrganizationConfiguration"; }
32 
33  Aws::String SerializePayload() const override;
34 
35 
39  inline const Aws::String& GetDetectorId() const{ return m_detectorId; }
40 
44  inline bool DetectorIdHasBeenSet() const { return m_detectorIdHasBeenSet; }
45 
49  inline void SetDetectorId(const Aws::String& value) { m_detectorIdHasBeenSet = true; m_detectorId = value; }
50 
54  inline void SetDetectorId(Aws::String&& value) { m_detectorIdHasBeenSet = true; m_detectorId = std::move(value); }
55 
59  inline void SetDetectorId(const char* value) { m_detectorIdHasBeenSet = true; m_detectorId.assign(value); }
60 
64  inline UpdateOrganizationConfigurationRequest& WithDetectorId(const Aws::String& value) { SetDetectorId(value); return *this;}
65 
69  inline UpdateOrganizationConfigurationRequest& WithDetectorId(Aws::String&& value) { SetDetectorId(std::move(value)); return *this;}
70 
74  inline UpdateOrganizationConfigurationRequest& WithDetectorId(const char* value) { SetDetectorId(value); return *this;}
75 
76 
81  inline bool GetAutoEnable() const{ return m_autoEnable; }
82 
87  inline bool AutoEnableHasBeenSet() const { return m_autoEnableHasBeenSet; }
88 
93  inline void SetAutoEnable(bool value) { m_autoEnableHasBeenSet = true; m_autoEnable = value; }
94 
99  inline UpdateOrganizationConfigurationRequest& WithAutoEnable(bool value) { SetAutoEnable(value); return *this;}
100 
101 
105  inline const OrganizationDataSourceConfigurations& GetDataSources() const{ return m_dataSources; }
106 
110  inline bool DataSourcesHasBeenSet() const { return m_dataSourcesHasBeenSet; }
111 
115  inline void SetDataSources(const OrganizationDataSourceConfigurations& value) { m_dataSourcesHasBeenSet = true; m_dataSources = value; }
116 
120  inline void SetDataSources(OrganizationDataSourceConfigurations&& value) { m_dataSourcesHasBeenSet = true; m_dataSources = std::move(value); }
121 
125  inline UpdateOrganizationConfigurationRequest& WithDataSources(const OrganizationDataSourceConfigurations& value) { SetDataSources(value); return *this;}
126 
130  inline UpdateOrganizationConfigurationRequest& WithDataSources(OrganizationDataSourceConfigurations&& value) { SetDataSources(std::move(value)); return *this;}
131 
132  private:
133 
134  Aws::String m_detectorId;
135  bool m_detectorIdHasBeenSet;
136 
137  bool m_autoEnable;
138  bool m_autoEnableHasBeenSet;
139 
141  bool m_dataSourcesHasBeenSet;
142  };
143 
144 } // namespace Model
145 } // namespace GuardDuty
146 } // namespace Aws
Aws::GuardDuty::Model::UpdateOrganizationConfigurationRequest::SetDetectorId
void SetDetectorId(const Aws::String &value)
Definition: UpdateOrganizationConfigurationRequest.h:49
Aws::GuardDuty::Model::UpdateOrganizationConfigurationRequest::GetAutoEnable
bool GetAutoEnable() const
Definition: UpdateOrganizationConfigurationRequest.h:81
Aws::GuardDuty::Model::UpdateOrganizationConfigurationRequest
Definition: UpdateOrganizationConfigurationRequest.h:23
Aws::GuardDuty::Model::UpdateOrganizationConfigurationRequest::SetDataSources
void SetDataSources(const OrganizationDataSourceConfigurations &value)
Definition: UpdateOrganizationConfigurationRequest.h:115
Aws::GuardDuty::Model::UpdateOrganizationConfigurationRequest::WithDataSources
UpdateOrganizationConfigurationRequest & WithDataSources(OrganizationDataSourceConfigurations &&value)
Definition: UpdateOrganizationConfigurationRequest.h:130
Aws::GuardDuty::Model::UpdateOrganizationConfigurationRequest::GetDataSources
const OrganizationDataSourceConfigurations & GetDataSources() const
Definition: UpdateOrganizationConfigurationRequest.h:105
Aws::GuardDuty::Model::UpdateOrganizationConfigurationRequest::UpdateOrganizationConfigurationRequest
UpdateOrganizationConfigurationRequest()
Aws::GuardDuty::Model::UpdateOrganizationConfigurationRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateOrganizationConfigurationRequest.h:31
Aws::GuardDuty::Model::UpdateOrganizationConfigurationRequest::WithDetectorId
UpdateOrganizationConfigurationRequest & WithDetectorId(Aws::String &&value)
Definition: UpdateOrganizationConfigurationRequest.h:69
OrganizationDataSourceConfigurations.h
GuardDuty_EXPORTS.h
Aws::GuardDuty::Model::UpdateOrganizationConfigurationRequest::WithDataSources
UpdateOrganizationConfigurationRequest & WithDataSources(const OrganizationDataSourceConfigurations &value)
Definition: UpdateOrganizationConfigurationRequest.h:125
AWS_GUARDDUTY_API
#define AWS_GUARDDUTY_API
Definition: GuardDuty_EXPORTS.h:28
Aws::GuardDuty::Model::UpdateOrganizationConfigurationRequest::WithAutoEnable
UpdateOrganizationConfigurationRequest & WithAutoEnable(bool value)
Definition: UpdateOrganizationConfigurationRequest.h:99
Aws::GuardDuty::Model::OrganizationDataSourceConfigurations
Definition: OrganizationDataSourceConfigurations.h:34
AWSString.h
Aws::GuardDuty::Model::UpdateOrganizationConfigurationRequest::DataSourcesHasBeenSet
bool DataSourcesHasBeenSet() const
Definition: UpdateOrganizationConfigurationRequest.h:110
Aws::GuardDuty::Model::UpdateOrganizationConfigurationRequest::GetDetectorId
const Aws::String & GetDetectorId() const
Definition: UpdateOrganizationConfigurationRequest.h:39
Aws::GuardDuty::Model::UpdateOrganizationConfigurationRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::GuardDuty::Model::UpdateOrganizationConfigurationRequest::AutoEnableHasBeenSet
bool AutoEnableHasBeenSet() const
Definition: UpdateOrganizationConfigurationRequest.h:87
Aws::GuardDuty::Model::UpdateOrganizationConfigurationRequest::SetDataSources
void SetDataSources(OrganizationDataSourceConfigurations &&value)
Definition: UpdateOrganizationConfigurationRequest.h:120
Aws
Definition: AccessManagementClient.h:15
Aws::GuardDuty::Model::UpdateOrganizationConfigurationRequest::SetDetectorId
void SetDetectorId(const char *value)
Definition: UpdateOrganizationConfigurationRequest.h:59
GuardDutyRequest.h
Aws::GuardDuty::Model::UpdateOrganizationConfigurationRequest::WithDetectorId
UpdateOrganizationConfigurationRequest & WithDetectorId(const Aws::String &value)
Definition: UpdateOrganizationConfigurationRequest.h:64
Aws::GuardDuty::Model::UpdateOrganizationConfigurationRequest::SetDetectorId
void SetDetectorId(Aws::String &&value)
Definition: UpdateOrganizationConfigurationRequest.h:54
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GuardDuty::Model::UpdateOrganizationConfigurationRequest::DetectorIdHasBeenSet
bool DetectorIdHasBeenSet() const
Definition: UpdateOrganizationConfigurationRequest.h:44
Aws::GuardDuty::GuardDutyRequest
Definition: GuardDutyRequest.h:17
Aws::GuardDuty::Model::UpdateOrganizationConfigurationRequest::SetAutoEnable
void SetAutoEnable(bool value)
Definition: UpdateOrganizationConfigurationRequest.h:93
Aws::GuardDuty::Model::UpdateOrganizationConfigurationRequest::WithDetectorId
UpdateOrganizationConfigurationRequest & WithDetectorId(const char *value)
Definition: UpdateOrganizationConfigurationRequest.h:74