AWS SDK for C++

AWS SDK for C++ Version 1.11.749

Loading...
Searching...
No Matches
UpdateAutomatedDiscoveryConfigurationRequest.h
1
6#pragma once
7#include <aws/macie2/Macie2Request.h>
8#include <aws/macie2/Macie2_EXPORTS.h>
9#include <aws/macie2/model/AutoEnableMode.h>
10#include <aws/macie2/model/AutomatedDiscoveryStatus.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Macie2 {
16namespace Model {
17
21 public:
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 "UpdateAutomatedDiscoveryConfiguration"; }
29
30 AWS_MACIE2_API Aws::String SerializePayload() const override;
31
33
44 inline AutoEnableMode GetAutoEnableOrganizationMembers() const { return m_autoEnableOrganizationMembers; }
45 inline bool AutoEnableOrganizationMembersHasBeenSet() const { return m_autoEnableOrganizationMembersHasBeenSet; }
47 m_autoEnableOrganizationMembersHasBeenSet = true;
48 m_autoEnableOrganizationMembers = value;
49 }
52 return *this;
53 }
55
57
65 inline AutomatedDiscoveryStatus GetStatus() const { return m_status; }
66 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
68 m_statusHasBeenSet = true;
69 m_status = value;
70 }
72 SetStatus(value);
73 return *this;
74 }
76 private:
77 AutoEnableMode m_autoEnableOrganizationMembers{AutoEnableMode::NOT_SET};
78
80 bool m_autoEnableOrganizationMembersHasBeenSet = false;
81 bool m_statusHasBeenSet = false;
82};
83
84} // namespace Model
85} // namespace Macie2
86} // namespace Aws
UpdateAutomatedDiscoveryConfigurationRequest & WithAutoEnableOrganizationMembers(AutoEnableMode value)
AWS_MACIE2_API Aws::String SerializePayload() const override
UpdateAutomatedDiscoveryConfigurationRequest & WithStatus(AutomatedDiscoveryStatus value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String