AWS SDK for C++

AWS SDK for C++ Version 1.11.754

Loading...
Searching...
No Matches
StopMonitoringMembersRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/guardduty/GuardDutyRequest.h>
10#include <aws/guardduty/GuardDuty_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace GuardDuty {
16namespace Model {
17
21 public:
22 AWS_GUARDDUTY_API StopMonitoringMembersRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "StopMonitoringMembers"; }
29
30 AWS_GUARDDUTY_API Aws::String SerializePayload() const override;
31
33
41 inline const Aws::String& GetDetectorId() const { return m_detectorId; }
42 inline bool DetectorIdHasBeenSet() const { return m_detectorIdHasBeenSet; }
43 template <typename DetectorIdT = Aws::String>
44 void SetDetectorId(DetectorIdT&& value) {
45 m_detectorIdHasBeenSet = true;
46 m_detectorId = std::forward<DetectorIdT>(value);
47 }
48 template <typename DetectorIdT = Aws::String>
50 SetDetectorId(std::forward<DetectorIdT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::Vector<Aws::String>& GetAccountIds() const { return m_accountIds; }
60 inline bool AccountIdsHasBeenSet() const { return m_accountIdsHasBeenSet; }
61 template <typename AccountIdsT = Aws::Vector<Aws::String>>
62 void SetAccountIds(AccountIdsT&& value) {
63 m_accountIdsHasBeenSet = true;
64 m_accountIds = std::forward<AccountIdsT>(value);
65 }
66 template <typename AccountIdsT = Aws::Vector<Aws::String>>
68 SetAccountIds(std::forward<AccountIdsT>(value));
69 return *this;
70 }
71 template <typename AccountIdsT = Aws::String>
73 m_accountIdsHasBeenSet = true;
74 m_accountIds.emplace_back(std::forward<AccountIdsT>(value));
75 return *this;
76 }
78 private:
79 Aws::String m_detectorId;
80
81 Aws::Vector<Aws::String> m_accountIds;
82 bool m_detectorIdHasBeenSet = false;
83 bool m_accountIdsHasBeenSet = false;
84};
85
86} // namespace Model
87} // namespace GuardDuty
88} // namespace Aws
StopMonitoringMembersRequest & WithAccountIds(AccountIdsT &&value)
const Aws::Vector< Aws::String > & GetAccountIds() const
AWS_GUARDDUTY_API Aws::String SerializePayload() const override
StopMonitoringMembersRequest & AddAccountIds(AccountIdsT &&value)
AWS_GUARDDUTY_API StopMonitoringMembersRequest()=default
StopMonitoringMembersRequest & WithDetectorId(DetectorIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector