AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateRevealConfigurationRequest.h
1
6#pragma once
7#include <aws/macie2/Macie2_EXPORTS.h>
8#include <aws/macie2/Macie2Request.h>
9#include <aws/macie2/model/RevealConfiguration.h>
10#include <aws/macie2/model/UpdateRetrievalConfiguration.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Macie2
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_MACIE2_API UpdateRevealConfigurationRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdateRevealConfiguration"; }
32
33 AWS_MACIE2_API Aws::String SerializePayload() const override;
34
35
37
41 inline const RevealConfiguration& GetConfiguration() const { return m_configuration; }
42 inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; }
43 template<typename ConfigurationT = RevealConfiguration>
44 void SetConfiguration(ConfigurationT&& value) { m_configurationHasBeenSet = true; m_configuration = std::forward<ConfigurationT>(value); }
45 template<typename ConfigurationT = RevealConfiguration>
46 UpdateRevealConfigurationRequest& WithConfiguration(ConfigurationT&& value) { SetConfiguration(std::forward<ConfigurationT>(value)); return *this;}
48
50
53 inline const UpdateRetrievalConfiguration& GetRetrievalConfiguration() const { return m_retrievalConfiguration; }
54 inline bool RetrievalConfigurationHasBeenSet() const { return m_retrievalConfigurationHasBeenSet; }
55 template<typename RetrievalConfigurationT = UpdateRetrievalConfiguration>
56 void SetRetrievalConfiguration(RetrievalConfigurationT&& value) { m_retrievalConfigurationHasBeenSet = true; m_retrievalConfiguration = std::forward<RetrievalConfigurationT>(value); }
57 template<typename RetrievalConfigurationT = UpdateRetrievalConfiguration>
58 UpdateRevealConfigurationRequest& WithRetrievalConfiguration(RetrievalConfigurationT&& value) { SetRetrievalConfiguration(std::forward<RetrievalConfigurationT>(value)); return *this;}
60 private:
61
62 RevealConfiguration m_configuration;
63 bool m_configurationHasBeenSet = false;
64
65 UpdateRetrievalConfiguration m_retrievalConfiguration;
66 bool m_retrievalConfigurationHasBeenSet = false;
67 };
68
69} // namespace Model
70} // namespace Macie2
71} // 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