AWS SDK for C++
1.8.128
AWS SDK for C++
aws-cpp-sdk-guardduty
include
aws
guardduty
model
GetMembersRequest.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
GetMembersRequest
:
public
GuardDutyRequest
23
{
24
public
:
25
GetMembersRequest
();
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
"GetMembers"
; }
32
33
Aws::String
SerializePayload
()
const override
;
34
35
40
inline
const
Aws::String
&
GetDetectorId
()
const
{
return
m_detectorId; }
41
46
inline
bool
DetectorIdHasBeenSet
()
const
{
return
m_detectorIdHasBeenSet; }
47
52
inline
void
SetDetectorId
(
const
Aws::String
& value) { m_detectorIdHasBeenSet =
true
; m_detectorId = value; }
53
58
inline
void
SetDetectorId
(
Aws::String
&& value) { m_detectorIdHasBeenSet =
true
; m_detectorId = std::move(value); }
59
64
inline
void
SetDetectorId
(
const
char
* value) { m_detectorIdHasBeenSet =
true
; m_detectorId.assign(value); }
65
70
inline
GetMembersRequest
&
WithDetectorId
(
const
Aws::String
& value) { SetDetectorId(value);
return
*
this
;}
71
76
inline
GetMembersRequest
&
WithDetectorId
(
Aws::String
&& value) { SetDetectorId(std::move(value));
return
*
this
;}
77
82
inline
GetMembersRequest
&
WithDetectorId
(
const
char
* value) { SetDetectorId(value);
return
*
this
;}
83
84
89
inline
const
Aws::Vector<Aws::String>
&
GetAccountIds
()
const
{
return
m_accountIds; }
90
95
inline
bool
AccountIdsHasBeenSet
()
const
{
return
m_accountIdsHasBeenSet; }
96
101
inline
void
SetAccountIds
(
const
Aws::Vector<Aws::String>
& value) { m_accountIdsHasBeenSet =
true
; m_accountIds = value; }
102
107
inline
void
SetAccountIds
(
Aws::Vector<Aws::String>
&& value) { m_accountIdsHasBeenSet =
true
; m_accountIds = std::move(value); }
108
113
inline
GetMembersRequest
&
WithAccountIds
(
const
Aws::Vector<Aws::String>
& value) { SetAccountIds(value);
return
*
this
;}
114
119
inline
GetMembersRequest
&
WithAccountIds
(
Aws::Vector<Aws::String>
&& value) { SetAccountIds(std::move(value));
return
*
this
;}
120
125
inline
GetMembersRequest
&
AddAccountIds
(
const
Aws::String
& value) { m_accountIdsHasBeenSet =
true
; m_accountIds.push_back(value);
return
*
this
; }
126
131
inline
GetMembersRequest
&
AddAccountIds
(
Aws::String
&& value) { m_accountIdsHasBeenSet =
true
; m_accountIds.push_back(std::move(value));
return
*
this
; }
132
137
inline
GetMembersRequest
&
AddAccountIds
(
const
char
* value) { m_accountIdsHasBeenSet =
true
; m_accountIds.push_back(value);
return
*
this
; }
138
139
private
:
140
141
Aws::String
m_detectorId;
142
bool
m_detectorIdHasBeenSet;
143
144
Aws::Vector<Aws::String>
m_accountIds;
145
bool
m_accountIdsHasBeenSet;
146
};
147
148
}
// namespace Model
149
}
// namespace GuardDuty
150
}
// namespace Aws
Aws::GuardDuty::Model::GetMembersRequest::GetAccountIds
const Aws::Vector< Aws::String > & GetAccountIds() const
Definition:
GetMembersRequest.h:89
Aws::GuardDuty::Model::GetMembersRequest::AddAccountIds
GetMembersRequest & AddAccountIds(Aws::String &&value)
Definition:
GetMembersRequest.h:131
Aws::GuardDuty::Model::GetMembersRequest::AccountIdsHasBeenSet
bool AccountIdsHasBeenSet() const
Definition:
GetMembersRequest.h:95
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition:
AWSVector.h:17
Aws::GuardDuty::Model::GetMembersRequest::SerializePayload
Aws::String SerializePayload() const override
AWSVector.h
Aws::GuardDuty::Model::GetMembersRequest::GetMembersRequest
GetMembersRequest()
Aws::GuardDuty::Model::GetMembersRequest::WithAccountIds
GetMembersRequest & WithAccountIds(Aws::Vector< Aws::String > &&value)
Definition:
GetMembersRequest.h:119
GuardDuty_EXPORTS.h
Aws::GuardDuty::Model::GetMembersRequest::AddAccountIds
GetMembersRequest & AddAccountIds(const char *value)
Definition:
GetMembersRequest.h:137
AWS_GUARDDUTY_API
#define AWS_GUARDDUTY_API
Definition:
GuardDuty_EXPORTS.h:28
Aws::GuardDuty::Model::GetMembersRequest::SetAccountIds
void SetAccountIds(Aws::Vector< Aws::String > &&value)
Definition:
GetMembersRequest.h:107
Aws::GuardDuty::Model::GetMembersRequest::SetDetectorId
void SetDetectorId(const Aws::String &value)
Definition:
GetMembersRequest.h:52
Aws::GuardDuty::Model::GetMembersRequest::WithAccountIds
GetMembersRequest & WithAccountIds(const Aws::Vector< Aws::String > &value)
Definition:
GetMembersRequest.h:113
Aws::GuardDuty::Model::GetMembersRequest::SetDetectorId
void SetDetectorId(Aws::String &&value)
Definition:
GetMembersRequest.h:58
AWSString.h
Aws::GuardDuty::Model::GetMembersRequest
Definition:
GetMembersRequest.h:23
Aws::GuardDuty::Model::GetMembersRequest::WithDetectorId
GetMembersRequest & WithDetectorId(Aws::String &&value)
Definition:
GetMembersRequest.h:76
Aws::GuardDuty::Model::GetMembersRequest::DetectorIdHasBeenSet
bool DetectorIdHasBeenSet() const
Definition:
GetMembersRequest.h:46
Aws
Definition:
AccessManagementClient.h:15
GuardDutyRequest.h
Aws::GuardDuty::Model::GetMembersRequest::SetDetectorId
void SetDetectorId(const char *value)
Definition:
GetMembersRequest.h:64
Aws::GuardDuty::Model::GetMembersRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition:
GetMembersRequest.h:31
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition:
AWSString.h:97
Aws::GuardDuty::Model::GetMembersRequest::WithDetectorId
GetMembersRequest & WithDetectorId(const Aws::String &value)
Definition:
GetMembersRequest.h:70
Aws::GuardDuty::GuardDutyRequest
Definition:
GuardDutyRequest.h:17
Aws::GuardDuty::Model::GetMembersRequest::GetDetectorId
const Aws::String & GetDetectorId() const
Definition:
GetMembersRequest.h:40
Aws::GuardDuty::Model::GetMembersRequest::SetAccountIds
void SetAccountIds(const Aws::Vector< Aws::String > &value)
Definition:
GetMembersRequest.h:101
Aws::GuardDuty::Model::GetMembersRequest::AddAccountIds
GetMembersRequest & AddAccountIds(const Aws::String &value)
Definition:
GetMembersRequest.h:125
Aws::GuardDuty::Model::GetMembersRequest::WithDetectorId
GetMembersRequest & WithDetectorId(const char *value)
Definition:
GetMembersRequest.h:82
Generated by
1.8.19
Privacy |
Site terms |
Cookie preferences