AWS SDK for C++  1.9.103
AWS SDK for C++
DisassociateFromMasterAccountRequest.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 "DisassociateFromMasterAccount"; }
31 
32  Aws::String SerializePayload() const override;
33 
34 
38  inline const Aws::String& GetDetectorId() const{ return m_detectorId; }
39 
43  inline bool DetectorIdHasBeenSet() const { return m_detectorIdHasBeenSet; }
44 
48  inline void SetDetectorId(const Aws::String& value) { m_detectorIdHasBeenSet = true; m_detectorId = value; }
49 
53  inline void SetDetectorId(Aws::String&& value) { m_detectorIdHasBeenSet = true; m_detectorId = std::move(value); }
54 
58  inline void SetDetectorId(const char* value) { m_detectorIdHasBeenSet = true; m_detectorId.assign(value); }
59 
63  inline DisassociateFromMasterAccountRequest& WithDetectorId(const Aws::String& value) { SetDetectorId(value); return *this;}
64 
68  inline DisassociateFromMasterAccountRequest& WithDetectorId(Aws::String&& value) { SetDetectorId(std::move(value)); return *this;}
69 
73  inline DisassociateFromMasterAccountRequest& WithDetectorId(const char* value) { SetDetectorId(value); return *this;}
74 
75  private:
76 
77  Aws::String m_detectorId;
78  bool m_detectorIdHasBeenSet;
79  };
80 
81 } // namespace Model
82 } // namespace GuardDuty
83 } // namespace Aws
Aws::GuardDuty::Model::DisassociateFromMasterAccountRequest::WithDetectorId
DisassociateFromMasterAccountRequest & WithDetectorId(const char *value)
Definition: DisassociateFromMasterAccountRequest.h:73
Aws::GuardDuty::Model::DisassociateFromMasterAccountRequest::SetDetectorId
void SetDetectorId(const char *value)
Definition: DisassociateFromMasterAccountRequest.h:58
Aws::GuardDuty::Model::DisassociateFromMasterAccountRequest
Definition: DisassociateFromMasterAccountRequest.h:22
Aws::GuardDuty::Model::DisassociateFromMasterAccountRequest::DetectorIdHasBeenSet
bool DetectorIdHasBeenSet() const
Definition: DisassociateFromMasterAccountRequest.h:43
GuardDuty_EXPORTS.h
AWS_GUARDDUTY_API
#define AWS_GUARDDUTY_API
Definition: GuardDuty_EXPORTS.h:28
Aws::GuardDuty::Model::DisassociateFromMasterAccountRequest::WithDetectorId
DisassociateFromMasterAccountRequest & WithDetectorId(Aws::String &&value)
Definition: DisassociateFromMasterAccountRequest.h:68
Aws::GuardDuty::Model::DisassociateFromMasterAccountRequest::WithDetectorId
DisassociateFromMasterAccountRequest & WithDetectorId(const Aws::String &value)
Definition: DisassociateFromMasterAccountRequest.h:63
AWSString.h
Aws::GuardDuty::Model::DisassociateFromMasterAccountRequest::SetDetectorId
void SetDetectorId(const Aws::String &value)
Definition: DisassociateFromMasterAccountRequest.h:48
Aws::GuardDuty::Model::DisassociateFromMasterAccountRequest::SetDetectorId
void SetDetectorId(Aws::String &&value)
Definition: DisassociateFromMasterAccountRequest.h:53
Aws::GuardDuty::Model::DisassociateFromMasterAccountRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DisassociateFromMasterAccountRequest.h:30
Aws::GuardDuty::Model::DisassociateFromMasterAccountRequest::DisassociateFromMasterAccountRequest
DisassociateFromMasterAccountRequest()
Aws
Definition: AccessManagementClient.h:15
GuardDutyRequest.h
Aws::GuardDuty::Model::DisassociateFromMasterAccountRequest::SerializePayload
Aws::String SerializePayload() const override
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::DisassociateFromMasterAccountRequest::GetDetectorId
const Aws::String & GetDetectorId() const
Definition: DisassociateFromMasterAccountRequest.h:38