AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
UpdateOrganizationConfigurationRequest.h
1
6#pragma once
7#include <aws/macie2/Macie2Request.h>
8#include <aws/macie2/Macie2_EXPORTS.h>
9
10namespace Aws {
11namespace Macie2 {
12namespace Model {
13
17 public:
18 AWS_MACIE2_API UpdateOrganizationConfigurationRequest() = default;
19
20 // Service request name is the Operation name which will send this request out,
21 // each operation should has unique request name, so that we can get operation's name from this request.
22 // Note: this is not true for response, multiple operations may have the same response name,
23 // so we can not get operation's name from response.
24 inline virtual const char* GetServiceRequestName() const override { return "UpdateOrganizationConfiguration"; }
25
26 AWS_MACIE2_API Aws::String SerializePayload() const override;
27
29
33 inline bool GetAutoEnable() const { return m_autoEnable; }
34 inline bool AutoEnableHasBeenSet() const { return m_autoEnableHasBeenSet; }
35 inline void SetAutoEnable(bool value) {
36 m_autoEnableHasBeenSet = true;
37 m_autoEnable = value;
38 }
40 SetAutoEnable(value);
41 return *this;
42 }
44 private:
45 bool m_autoEnable{false};
46 bool m_autoEnableHasBeenSet = false;
47};
48
49} // namespace Model
50} // namespace Macie2
51} // namespace Aws
AWS_MACIE2_API Aws::String SerializePayload() const override
UpdateOrganizationConfigurationRequest & WithAutoEnable(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String