AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
UpdateConfigurationRequest.h
1
6#pragma once
7#include <aws/inspector2/Inspector2Request.h>
8#include <aws/inspector2/Inspector2_EXPORTS.h>
9#include <aws/inspector2/model/Ec2Configuration.h>
10#include <aws/inspector2/model/EcrConfiguration.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Inspector2 {
16namespace Model {
17
21 public:
22 AWS_INSPECTOR2_API UpdateConfigurationRequest() = 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 "UpdateConfiguration"; }
29
30 AWS_INSPECTOR2_API Aws::String SerializePayload() const override;
31
33
37 inline const EcrConfiguration& GetEcrConfiguration() const { return m_ecrConfiguration; }
38 inline bool EcrConfigurationHasBeenSet() const { return m_ecrConfigurationHasBeenSet; }
39 template <typename EcrConfigurationT = EcrConfiguration>
40 void SetEcrConfiguration(EcrConfigurationT&& value) {
41 m_ecrConfigurationHasBeenSet = true;
42 m_ecrConfiguration = std::forward<EcrConfigurationT>(value);
43 }
44 template <typename EcrConfigurationT = EcrConfiguration>
46 SetEcrConfiguration(std::forward<EcrConfigurationT>(value));
47 return *this;
48 }
50
52
56 inline const Ec2Configuration& GetEc2Configuration() const { return m_ec2Configuration; }
57 inline bool Ec2ConfigurationHasBeenSet() const { return m_ec2ConfigurationHasBeenSet; }
58 template <typename Ec2ConfigurationT = Ec2Configuration>
59 void SetEc2Configuration(Ec2ConfigurationT&& value) {
60 m_ec2ConfigurationHasBeenSet = true;
61 m_ec2Configuration = std::forward<Ec2ConfigurationT>(value);
62 }
63 template <typename Ec2ConfigurationT = Ec2Configuration>
65 SetEc2Configuration(std::forward<Ec2ConfigurationT>(value));
66 return *this;
67 }
69 private:
70 EcrConfiguration m_ecrConfiguration;
71
72 Ec2Configuration m_ec2Configuration;
73 bool m_ecrConfigurationHasBeenSet = false;
74 bool m_ec2ConfigurationHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace Inspector2
79} // namespace Aws
AWS_INSPECTOR2_API UpdateConfigurationRequest()=default
UpdateConfigurationRequest & WithEcrConfiguration(EcrConfigurationT &&value)
virtual const char * GetServiceRequestName() const override
UpdateConfigurationRequest & WithEc2Configuration(Ec2ConfigurationT &&value)
AWS_INSPECTOR2_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String