AWS SDK for C++
1.8.129
AWS SDK for C++
aws-cpp-sdk-guardduty
include
aws
guardduty
model
GetDetectorRequest.h
Go to the documentation of this file.
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 <utility>
11
12
namespace
Aws
13
{
14
namespace
GuardDuty
15
{
16
namespace
Model
17
{
18
21
class
AWS_GUARDDUTY_API
GetDetectorRequest
:
public
GuardDutyRequest
22
{
23
public
:
24
GetDetectorRequest
();
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
"GetDetector"
; }
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
GetDetectorRequest
&
WithDetectorId
(
const
Aws::String
& value) { SetDetectorId(value);
return
*
this
;}
64
68
inline
GetDetectorRequest
&
WithDetectorId
(
Aws::String
&& value) { SetDetectorId(std::move(value));
return
*
this
;}
69
73
inline
GetDetectorRequest
&
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::GetDetectorRequest::GetDetectorRequest
GetDetectorRequest()
Aws::GuardDuty::Model::GetDetectorRequest::WithDetectorId
GetDetectorRequest & WithDetectorId(const char *value)
Definition:
GetDetectorRequest.h:73
Aws::GuardDuty::Model::GetDetectorRequest
Definition:
GetDetectorRequest.h:22
Aws::GuardDuty::Model::GetDetectorRequest::SetDetectorId
void SetDetectorId(const Aws::String &value)
Definition:
GetDetectorRequest.h:48
GuardDuty_EXPORTS.h
AWS_GUARDDUTY_API
#define AWS_GUARDDUTY_API
Definition:
GuardDuty_EXPORTS.h:28
Aws::GuardDuty::Model::GetDetectorRequest::SetDetectorId
void SetDetectorId(Aws::String &&value)
Definition:
GetDetectorRequest.h:53
Aws::GuardDuty::Model::GetDetectorRequest::GetDetectorId
const Aws::String & GetDetectorId() const
Definition:
GetDetectorRequest.h:38
Aws::GuardDuty::Model::GetDetectorRequest::WithDetectorId
GetDetectorRequest & WithDetectorId(Aws::String &&value)
Definition:
GetDetectorRequest.h:68
AWSString.h
Aws::GuardDuty::Model::GetDetectorRequest::DetectorIdHasBeenSet
bool DetectorIdHasBeenSet() const
Definition:
GetDetectorRequest.h:43
Aws::GuardDuty::Model::GetDetectorRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition:
GetDetectorRequest.h:30
Aws::GuardDuty::Model::GetDetectorRequest::WithDetectorId
GetDetectorRequest & WithDetectorId(const Aws::String &value)
Definition:
GetDetectorRequest.h:63
Aws
Definition:
AccessManagementClient.h:15
GuardDutyRequest.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition:
AWSString.h:97
Aws::GuardDuty::Model::GetDetectorRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::GuardDuty::GuardDutyRequest
Definition:
GuardDutyRequest.h:17
Aws::GuardDuty::Model::GetDetectorRequest::SetDetectorId
void SetDetectorId(const char *value)
Definition:
GetDetectorRequest.h:58
Generated by
1.8.19
Privacy |
Site terms |
Cookie preferences