AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
35
36
38
42 inline const Ec2ConfigurationState& GetEc2Configuration() const{ return m_ec2Configuration; }
43 inline void SetEc2Configuration(const Ec2ConfigurationState& value) { m_ec2Configuration = value; }
44 inline void SetEc2Configuration(Ec2ConfigurationState&& value) { m_ec2Configuration = std::move(value); }
46 inline GetConfigurationResult& WithEc2Configuration(Ec2ConfigurationState&& value) { SetEc2Configuration(std::move(value)); return *this;}
48
50
54 inline const EcrConfigurationState& GetEcrConfiguration() const{ return m_ecrConfiguration; }
55 inline void SetEcrConfiguration(const EcrConfigurationState& value) { m_ecrConfiguration = value; }
56 inline void SetEcrConfiguration(EcrConfigurationState&& value) { m_ecrConfiguration = std::move(value); }
58 inline GetConfigurationResult& WithEcrConfiguration(EcrConfigurationState&& value) { SetEcrConfiguration(std::move(value)); return *this;}
60
62
63 inline const Aws::String& GetRequestId() const{ return m_requestId; }
64 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
65 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
66 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
67 inline GetConfigurationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
68 inline GetConfigurationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
69 inline GetConfigurationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
71 private:
72
73 Ec2ConfigurationState m_ec2Configuration;
74
75 EcrConfigurationState m_ecrConfiguration;
76
77 Aws::String m_requestId;
78 };
79
80} // namespace Model
81} // namespace Inspector2
82} // namespace Aws
GetConfigurationResult & WithEc2Configuration(Ec2ConfigurationState &&value)
GetConfigurationResult & WithEc2Configuration(const Ec2ConfigurationState &value)
GetConfigurationResult & WithRequestId(const Aws::String &value)
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)
GetConfigurationResult & WithEcrConfiguration(const EcrConfigurationState &value)
const EcrConfigurationState & GetEcrConfiguration() const
void SetEc2Configuration(const Ec2ConfigurationState &value)
GetConfigurationResult & WithRequestId(Aws::String &&value)
const Ec2ConfigurationState & GetEc2Configuration() const
void SetEcrConfiguration(const EcrConfigurationState &value)
void SetEcrConfiguration(EcrConfigurationState &&value)
GetConfigurationResult & WithRequestId(const char *value)
GetConfigurationResult & WithEcrConfiguration(EcrConfigurationState &&value)
void SetEc2Configuration(Ec2ConfigurationState &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue