AWS SDK for C++

AWS SDK for C++ Version 1.11.749

Loading...
Searching...
No Matches
GetConfigurationResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/inspector2/Inspector2_EXPORTS.h>
9#include <aws/inspector2/model/Ec2ConfigurationState.h>
10#include <aws/inspector2/model/EcrConfigurationState.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace Inspector2 {
24namespace Model {
26 public:
27 AWS_INSPECTOR2_API GetConfigurationResult() = default;
30
32
36 inline const EcrConfigurationState& GetEcrConfiguration() const { return m_ecrConfiguration; }
37 template <typename EcrConfigurationT = EcrConfigurationState>
38 void SetEcrConfiguration(EcrConfigurationT&& value) {
39 m_ecrConfigurationHasBeenSet = true;
40 m_ecrConfiguration = std::forward<EcrConfigurationT>(value);
41 }
42 template <typename EcrConfigurationT = EcrConfigurationState>
43 GetConfigurationResult& WithEcrConfiguration(EcrConfigurationT&& value) {
44 SetEcrConfiguration(std::forward<EcrConfigurationT>(value));
45 return *this;
46 }
48
50
54 inline const Ec2ConfigurationState& GetEc2Configuration() const { return m_ec2Configuration; }
55 template <typename Ec2ConfigurationT = Ec2ConfigurationState>
56 void SetEc2Configuration(Ec2ConfigurationT&& value) {
57 m_ec2ConfigurationHasBeenSet = true;
58 m_ec2Configuration = std::forward<Ec2ConfigurationT>(value);
59 }
60 template <typename Ec2ConfigurationT = Ec2ConfigurationState>
61 GetConfigurationResult& WithEc2Configuration(Ec2ConfigurationT&& value) {
62 SetEc2Configuration(std::forward<Ec2ConfigurationT>(value));
63 return *this;
64 }
66
68
69 inline const Aws::String& GetRequestId() const { return m_requestId; }
70 template <typename RequestIdT = Aws::String>
71 void SetRequestId(RequestIdT&& value) {
72 m_requestIdHasBeenSet = true;
73 m_requestId = std::forward<RequestIdT>(value);
74 }
75 template <typename RequestIdT = Aws::String>
77 SetRequestId(std::forward<RequestIdT>(value));
78 return *this;
79 }
81 private:
82 EcrConfigurationState m_ecrConfiguration;
83
84 Ec2ConfigurationState m_ec2Configuration;
85
86 Aws::String m_requestId;
87 bool m_ecrConfigurationHasBeenSet = false;
88 bool m_ec2ConfigurationHasBeenSet = false;
89 bool m_requestIdHasBeenSet = false;
90};
91
92} // namespace Model
93} // namespace Inspector2
94} // 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