AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetConfigurationResult.h
1
6#pragma once
7#include <aws/inspector2/Inspector2_EXPORTS.h>
8#include <aws/inspector2/model/Ec2ConfigurationState.h>
9#include <aws/inspector2/model/EcrConfigurationState.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace Inspector2
26{
27namespace Model
28{
30 {
31 public:
32 AWS_INSPECTOR2_API GetConfigurationResult() = default;
35
36
38
42 inline const Ec2ConfigurationState& GetEc2Configuration() const { return m_ec2Configuration; }
43 template<typename Ec2ConfigurationT = Ec2ConfigurationState>
44 void SetEc2Configuration(Ec2ConfigurationT&& value) { m_ec2ConfigurationHasBeenSet = true; m_ec2Configuration = std::forward<Ec2ConfigurationT>(value); }
45 template<typename Ec2ConfigurationT = Ec2ConfigurationState>
46 GetConfigurationResult& WithEc2Configuration(Ec2ConfigurationT&& value) { SetEc2Configuration(std::forward<Ec2ConfigurationT>(value)); return *this;}
48
50
54 inline const EcrConfigurationState& GetEcrConfiguration() const { return m_ecrConfiguration; }
55 template<typename EcrConfigurationT = EcrConfigurationState>
56 void SetEcrConfiguration(EcrConfigurationT&& value) { m_ecrConfigurationHasBeenSet = true; m_ecrConfiguration = std::forward<EcrConfigurationT>(value); }
57 template<typename EcrConfigurationT = EcrConfigurationState>
58 GetConfigurationResult& WithEcrConfiguration(EcrConfigurationT&& value) { SetEcrConfiguration(std::forward<EcrConfigurationT>(value)); return *this;}
60
62
63 inline const Aws::String& GetRequestId() const { return m_requestId; }
64 template<typename RequestIdT = Aws::String>
65 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
66 template<typename RequestIdT = Aws::String>
67 GetConfigurationResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
69 private:
70
71 Ec2ConfigurationState m_ec2Configuration;
72 bool m_ec2ConfigurationHasBeenSet = false;
73
74 EcrConfigurationState m_ecrConfiguration;
75 bool m_ecrConfigurationHasBeenSet = false;
76
77 Aws::String m_requestId;
78 bool m_requestIdHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace Inspector2
83} // namespace Aws
AWS_INSPECTOR2_API GetConfigurationResult()=default
AWS_INSPECTOR2_API GetConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_INSPECTOR2_API GetConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const EcrConfigurationState & GetEcrConfiguration() const
GetConfigurationResult & WithEc2Configuration(Ec2ConfigurationT &&value)
const Ec2ConfigurationState & GetEc2Configuration() const
GetConfigurationResult & WithRequestId(RequestIdT &&value)
GetConfigurationResult & WithEcrConfiguration(EcrConfigurationT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue