AWS SDK for C++  1.8.184
AWS SDK for C++
DescribeOrganizationConfigurationRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace GuardDuty
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "DescribeOrganizationConfiguration"; }
31 
32  Aws::String SerializePayload() const override;
33 
34 
39  inline const Aws::String& GetDetectorId() const{ return m_detectorId; }
40 
45  inline bool DetectorIdHasBeenSet() const { return m_detectorIdHasBeenSet; }
46 
51  inline void SetDetectorId(const Aws::String& value) { m_detectorIdHasBeenSet = true; m_detectorId = value; }
52 
57  inline void SetDetectorId(Aws::String&& value) { m_detectorIdHasBeenSet = true; m_detectorId = std::move(value); }
58 
63  inline void SetDetectorId(const char* value) { m_detectorIdHasBeenSet = true; m_detectorId.assign(value); }
64 
69  inline DescribeOrganizationConfigurationRequest& WithDetectorId(const Aws::String& value) { SetDetectorId(value); return *this;}
70 
75  inline DescribeOrganizationConfigurationRequest& WithDetectorId(Aws::String&& value) { SetDetectorId(std::move(value)); return *this;}
76 
81  inline DescribeOrganizationConfigurationRequest& WithDetectorId(const char* value) { SetDetectorId(value); return *this;}
82 
83  private:
84 
85  Aws::String m_detectorId;
86  bool m_detectorIdHasBeenSet;
87  };
88 
89 } // namespace Model
90 } // namespace GuardDuty
91 } // namespace Aws
Aws::GuardDuty::Model::DescribeOrganizationConfigurationRequest::DescribeOrganizationConfigurationRequest
DescribeOrganizationConfigurationRequest()
Aws::GuardDuty::Model::DescribeOrganizationConfigurationRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::GuardDuty::Model::DescribeOrganizationConfigurationRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeOrganizationConfigurationRequest.h:30
Aws::GuardDuty::Model::DescribeOrganizationConfigurationRequest::WithDetectorId
DescribeOrganizationConfigurationRequest & WithDetectorId(const Aws::String &value)
Definition: DescribeOrganizationConfigurationRequest.h:69
GuardDuty_EXPORTS.h
Aws::GuardDuty::Model::DescribeOrganizationConfigurationRequest
Definition: DescribeOrganizationConfigurationRequest.h:22
Aws::GuardDuty::Model::DescribeOrganizationConfigurationRequest::SetDetectorId
void SetDetectorId(const char *value)
Definition: DescribeOrganizationConfigurationRequest.h:63
AWS_GUARDDUTY_API
#define AWS_GUARDDUTY_API
Definition: GuardDuty_EXPORTS.h:28
Aws::GuardDuty::Model::DescribeOrganizationConfigurationRequest::SetDetectorId
void SetDetectorId(Aws::String &&value)
Definition: DescribeOrganizationConfigurationRequest.h:57
Aws::GuardDuty::Model::DescribeOrganizationConfigurationRequest::WithDetectorId
DescribeOrganizationConfigurationRequest & WithDetectorId(const char *value)
Definition: DescribeOrganizationConfigurationRequest.h:81
AWSString.h
Aws::GuardDuty::Model::DescribeOrganizationConfigurationRequest::WithDetectorId
DescribeOrganizationConfigurationRequest & WithDetectorId(Aws::String &&value)
Definition: DescribeOrganizationConfigurationRequest.h:75
Aws
Definition: AccessManagementClient.h:15
Aws::GuardDuty::Model::DescribeOrganizationConfigurationRequest::DetectorIdHasBeenSet
bool DetectorIdHasBeenSet() const
Definition: DescribeOrganizationConfigurationRequest.h:45
Aws::GuardDuty::Model::DescribeOrganizationConfigurationRequest::GetDetectorId
const Aws::String & GetDetectorId() const
Definition: DescribeOrganizationConfigurationRequest.h:39
GuardDutyRequest.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GuardDuty::GuardDutyRequest
Definition: GuardDutyRequest.h:17
Aws::GuardDuty::Model::DescribeOrganizationConfigurationRequest::SetDetectorId
void SetDetectorId(const Aws::String &value)
Definition: DescribeOrganizationConfigurationRequest.h:51