AWS SDK for C++
1.8.128
AWS SDK for C++
aws-cpp-sdk-guardduty
include
aws
guardduty
model
GetMemberDetectorsRequest.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 <
aws/core/utils/memory/stl/AWSVector.h
>
11
#include <utility>
12
13
namespace
Aws
14
{
15
namespace
GuardDuty
16
{
17
namespace
Model
18
{
19
22
class
AWS_GUARDDUTY_API
GetMemberDetectorsRequest
:
public
GuardDutyRequest
23
{
24
public
:
25
GetMemberDetectorsRequest
();
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
"GetMemberDetectors"
; }
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
GetMemberDetectorsRequest
&
WithDetectorId
(
const
Aws::String
& value) { SetDetectorId(value);
return
*
this
;}
65
69
inline
GetMemberDetectorsRequest
&
WithDetectorId
(
Aws::String
&& value) { SetDetectorId(std::move(value));
return
*
this
;}
70
74
inline
GetMemberDetectorsRequest
&
WithDetectorId
(
const
char
* value) { SetDetectorId(value);
return
*
this
;}
75
76
80
inline
const
Aws::Vector<Aws::String>
&
GetAccountIds
()
const
{
return
m_accountIds; }
81
85
inline
bool
AccountIdsHasBeenSet
()
const
{
return
m_accountIdsHasBeenSet; }
86
90
inline
void
SetAccountIds
(
const
Aws::Vector<Aws::String>
& value) { m_accountIdsHasBeenSet =
true
; m_accountIds = value; }
91
95
inline
void
SetAccountIds
(
Aws::Vector<Aws::String>
&& value) { m_accountIdsHasBeenSet =
true
; m_accountIds = std::move(value); }
96
100
inline
GetMemberDetectorsRequest
&
WithAccountIds
(
const
Aws::Vector<Aws::String>
& value) { SetAccountIds(value);
return
*
this
;}
101
105
inline
GetMemberDetectorsRequest
&
WithAccountIds
(
Aws::Vector<Aws::String>
&& value) { SetAccountIds(std::move(value));
return
*
this
;}
106
110
inline
GetMemberDetectorsRequest
&
AddAccountIds
(
const
Aws::String
& value) { m_accountIdsHasBeenSet =
true
; m_accountIds.push_back(value);
return
*
this
; }
111
115
inline
GetMemberDetectorsRequest
&
AddAccountIds
(
Aws::String
&& value) { m_accountIdsHasBeenSet =
true
; m_accountIds.push_back(std::move(value));
return
*
this
; }
116
120
inline
GetMemberDetectorsRequest
&
AddAccountIds
(
const
char
* value) { m_accountIdsHasBeenSet =
true
; m_accountIds.push_back(value);
return
*
this
; }
121
122
private
:
123
124
Aws::String
m_detectorId;
125
bool
m_detectorIdHasBeenSet;
126
127
Aws::Vector<Aws::String>
m_accountIds;
128
bool
m_accountIdsHasBeenSet;
129
};
130
131
}
// namespace Model
132
}
// namespace GuardDuty
133
}
// namespace Aws
Aws::GuardDuty::Model::GetMemberDetectorsRequest::SetDetectorId
void SetDetectorId(const Aws::String &value)
Definition:
GetMemberDetectorsRequest.h:49
Aws::GuardDuty::Model::GetMemberDetectorsRequest::GetMemberDetectorsRequest
GetMemberDetectorsRequest()
Aws::GuardDuty::Model::GetMemberDetectorsRequest::GetAccountIds
const Aws::Vector< Aws::String > & GetAccountIds() const
Definition:
GetMemberDetectorsRequest.h:80
Aws::GuardDuty::Model::GetMemberDetectorsRequest::SetDetectorId
void SetDetectorId(Aws::String &&value)
Definition:
GetMemberDetectorsRequest.h:54
Aws::GuardDuty::Model::GetMemberDetectorsRequest
Definition:
GetMemberDetectorsRequest.h:23
Aws::GuardDuty::Model::GetMemberDetectorsRequest::WithDetectorId
GetMemberDetectorsRequest & WithDetectorId(Aws::String &&value)
Definition:
GetMemberDetectorsRequest.h:69
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition:
AWSVector.h:17
AWSVector.h
GuardDuty_EXPORTS.h
Aws::GuardDuty::Model::GetMemberDetectorsRequest::AddAccountIds
GetMemberDetectorsRequest & AddAccountIds(Aws::String &&value)
Definition:
GetMemberDetectorsRequest.h:115
Aws::GuardDuty::Model::GetMemberDetectorsRequest::SerializePayload
Aws::String SerializePayload() const override
AWS_GUARDDUTY_API
#define AWS_GUARDDUTY_API
Definition:
GuardDuty_EXPORTS.h:28
Aws::GuardDuty::Model::GetMemberDetectorsRequest::WithAccountIds
GetMemberDetectorsRequest & WithAccountIds(Aws::Vector< Aws::String > &&value)
Definition:
GetMemberDetectorsRequest.h:105
Aws::GuardDuty::Model::GetMemberDetectorsRequest::DetectorIdHasBeenSet
bool DetectorIdHasBeenSet() const
Definition:
GetMemberDetectorsRequest.h:44
Aws::GuardDuty::Model::GetMemberDetectorsRequest::WithDetectorId
GetMemberDetectorsRequest & WithDetectorId(const Aws::String &value)
Definition:
GetMemberDetectorsRequest.h:64
Aws::GuardDuty::Model::GetMemberDetectorsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition:
GetMemberDetectorsRequest.h:31
Aws::GuardDuty::Model::GetMemberDetectorsRequest::AccountIdsHasBeenSet
bool AccountIdsHasBeenSet() const
Definition:
GetMemberDetectorsRequest.h:85
Aws::GuardDuty::Model::GetMemberDetectorsRequest::AddAccountIds
GetMemberDetectorsRequest & AddAccountIds(const Aws::String &value)
Definition:
GetMemberDetectorsRequest.h:110
AWSString.h
Aws::GuardDuty::Model::GetMemberDetectorsRequest::SetDetectorId
void SetDetectorId(const char *value)
Definition:
GetMemberDetectorsRequest.h:59
Aws::GuardDuty::Model::GetMemberDetectorsRequest::SetAccountIds
void SetAccountIds(const Aws::Vector< Aws::String > &value)
Definition:
GetMemberDetectorsRequest.h:90
Aws::GuardDuty::Model::GetMemberDetectorsRequest::GetDetectorId
const Aws::String & GetDetectorId() const
Definition:
GetMemberDetectorsRequest.h:39
Aws
Definition:
AccessManagementClient.h:15
Aws::GuardDuty::Model::GetMemberDetectorsRequest::WithDetectorId
GetMemberDetectorsRequest & WithDetectorId(const char *value)
Definition:
GetMemberDetectorsRequest.h:74
GuardDutyRequest.h
Aws::GuardDuty::Model::GetMemberDetectorsRequest::SetAccountIds
void SetAccountIds(Aws::Vector< Aws::String > &&value)
Definition:
GetMemberDetectorsRequest.h:95
Aws::GuardDuty::Model::GetMemberDetectorsRequest::WithAccountIds
GetMemberDetectorsRequest & WithAccountIds(const Aws::Vector< Aws::String > &value)
Definition:
GetMemberDetectorsRequest.h:100
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition:
AWSString.h:97
Aws::GuardDuty::Model::GetMemberDetectorsRequest::AddAccountIds
GetMemberDetectorsRequest & AddAccountIds(const char *value)
Definition:
GetMemberDetectorsRequest.h:120
Aws::GuardDuty::GuardDutyRequest
Definition:
GuardDutyRequest.h:17
Generated by
1.8.19
Privacy |
Site terms |
Cookie preferences