AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateConfigurationRequest.h
1
6#pragma once
7#include <aws/inspector2/Inspector2_EXPORTS.h>
8#include <aws/inspector2/Inspector2Request.h>
9#include <aws/inspector2/model/Ec2Configuration.h>
10#include <aws/inspector2/model/EcrConfiguration.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Inspector2
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_INSPECTOR2_API UpdateConfigurationRequest();
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 "UpdateConfiguration"; }
32
33 AWS_INSPECTOR2_API Aws::String SerializePayload() const override;
34
35
37
41 inline const Ec2Configuration& GetEc2Configuration() const{ return m_ec2Configuration; }
42 inline bool Ec2ConfigurationHasBeenSet() const { return m_ec2ConfigurationHasBeenSet; }
43 inline void SetEc2Configuration(const Ec2Configuration& value) { m_ec2ConfigurationHasBeenSet = true; m_ec2Configuration = value; }
44 inline void SetEc2Configuration(Ec2Configuration&& value) { m_ec2ConfigurationHasBeenSet = true; m_ec2Configuration = std::move(value); }
46 inline UpdateConfigurationRequest& WithEc2Configuration(Ec2Configuration&& value) { SetEc2Configuration(std::move(value)); return *this;}
48
50
54 inline const EcrConfiguration& GetEcrConfiguration() const{ return m_ecrConfiguration; }
55 inline bool EcrConfigurationHasBeenSet() const { return m_ecrConfigurationHasBeenSet; }
56 inline void SetEcrConfiguration(const EcrConfiguration& value) { m_ecrConfigurationHasBeenSet = true; m_ecrConfiguration = value; }
57 inline void SetEcrConfiguration(EcrConfiguration&& value) { m_ecrConfigurationHasBeenSet = true; m_ecrConfiguration = std::move(value); }
59 inline UpdateConfigurationRequest& WithEcrConfiguration(EcrConfiguration&& value) { SetEcrConfiguration(std::move(value)); return *this;}
61 private:
62
63 Ec2Configuration m_ec2Configuration;
64 bool m_ec2ConfigurationHasBeenSet = false;
65
66 EcrConfiguration m_ecrConfiguration;
67 bool m_ecrConfigurationHasBeenSet = false;
68 };
69
70} // namespace Model
71} // namespace Inspector2
72} // namespace Aws
virtual const char * GetServiceRequestName() const override
UpdateConfigurationRequest & WithEcrConfiguration(const EcrConfiguration &value)
UpdateConfigurationRequest & WithEc2Configuration(Ec2Configuration &&value)
UpdateConfigurationRequest & WithEcrConfiguration(EcrConfiguration &&value)
UpdateConfigurationRequest & WithEc2Configuration(const Ec2Configuration &value)
AWS_INSPECTOR2_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String