AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
UpdateRevealConfigurationRequest.h
1
6#pragma once
7#include <aws/macie2/Macie2Request.h>
8#include <aws/macie2/Macie2_EXPORTS.h>
9#include <aws/macie2/model/RevealConfiguration.h>
10#include <aws/macie2/model/UpdateRetrievalConfiguration.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Macie2 {
16namespace Model {
17
21 public:
22 AWS_MACIE2_API UpdateRevealConfigurationRequest() = 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 "UpdateRevealConfiguration"; }
29
30 AWS_MACIE2_API Aws::String SerializePayload() const override;
31
33
37 inline const RevealConfiguration& GetConfiguration() const { return m_configuration; }
38 inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; }
39 template <typename ConfigurationT = RevealConfiguration>
40 void SetConfiguration(ConfigurationT&& value) {
41 m_configurationHasBeenSet = true;
42 m_configuration = std::forward<ConfigurationT>(value);
43 }
44 template <typename ConfigurationT = RevealConfiguration>
46 SetConfiguration(std::forward<ConfigurationT>(value));
47 return *this;
48 }
50
52
55 inline const UpdateRetrievalConfiguration& GetRetrievalConfiguration() const { return m_retrievalConfiguration; }
56 inline bool RetrievalConfigurationHasBeenSet() const { return m_retrievalConfigurationHasBeenSet; }
57 template <typename RetrievalConfigurationT = UpdateRetrievalConfiguration>
58 void SetRetrievalConfiguration(RetrievalConfigurationT&& value) {
59 m_retrievalConfigurationHasBeenSet = true;
60 m_retrievalConfiguration = std::forward<RetrievalConfigurationT>(value);
61 }
62 template <typename RetrievalConfigurationT = UpdateRetrievalConfiguration>
64 SetRetrievalConfiguration(std::forward<RetrievalConfigurationT>(value));
65 return *this;
66 }
68 private:
69 RevealConfiguration m_configuration;
70
71 UpdateRetrievalConfiguration m_retrievalConfiguration;
72 bool m_configurationHasBeenSet = false;
73 bool m_retrievalConfigurationHasBeenSet = false;
74};
75
76} // namespace Model
77} // namespace Macie2
78} // namespace Aws
AWS_MACIE2_API Aws::String SerializePayload() const override
UpdateRevealConfigurationRequest & WithRetrievalConfiguration(RetrievalConfigurationT &&value)
const UpdateRetrievalConfiguration & GetRetrievalConfiguration() const
UpdateRevealConfigurationRequest & WithConfiguration(ConfigurationT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String