AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
GetSettingsRequest.h
1
6#pragma once
7#include <aws/auditmanager/AuditManagerRequest.h>
8#include <aws/auditmanager/AuditManager_EXPORTS.h>
9#include <aws/auditmanager/model/SettingAttribute.h>
10
11#include <utility>
12
13namespace Aws {
14namespace AuditManager {
15namespace Model {
16
20 public:
21 AWS_AUDITMANAGER_API GetSettingsRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "GetSettings"; }
28
29 AWS_AUDITMANAGER_API Aws::String SerializePayload() const override;
30
32
35 inline SettingAttribute GetAttribute() const { return m_attribute; }
36 inline bool AttributeHasBeenSet() const { return m_attributeHasBeenSet; }
37 inline void SetAttribute(SettingAttribute value) {
38 m_attributeHasBeenSet = true;
39 m_attribute = value;
40 }
42 SetAttribute(value);
43 return *this;
44 }
46 private:
48 bool m_attributeHasBeenSet = false;
49};
50
51} // namespace Model
52} // namespace AuditManager
53} // namespace Aws
AWS_AUDITMANAGER_API GetSettingsRequest()=default
AWS_AUDITMANAGER_API Aws::String SerializePayload() const override
GetSettingsRequest & WithAttribute(SettingAttribute value)
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String