AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GetInfrastructureConfigurationResult.h
1
6#pragma once
7#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/imagebuilder/model/InfrastructureConfiguration.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace imagebuilder
25{
26namespace Model
27{
34 {
35 public:
36 AWS_IMAGEBUILDER_API GetInfrastructureConfigurationResult() = default;
39
40
42
45 inline const Aws::String& GetRequestId() const { return m_requestId; }
46 template<typename RequestIdT = Aws::String>
47 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
48 template<typename RequestIdT = Aws::String>
49 GetInfrastructureConfigurationResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
51
53
56 inline const InfrastructureConfiguration& GetInfrastructureConfiguration() const { return m_infrastructureConfiguration; }
57 template<typename InfrastructureConfigurationT = InfrastructureConfiguration>
58 void SetInfrastructureConfiguration(InfrastructureConfigurationT&& value) { m_infrastructureConfigurationHasBeenSet = true; m_infrastructureConfiguration = std::forward<InfrastructureConfigurationT>(value); }
59 template<typename InfrastructureConfigurationT = InfrastructureConfiguration>
60 GetInfrastructureConfigurationResult& WithInfrastructureConfiguration(InfrastructureConfigurationT&& value) { SetInfrastructureConfiguration(std::forward<InfrastructureConfigurationT>(value)); return *this;}
62 private:
63
64 Aws::String m_requestId;
65 bool m_requestIdHasBeenSet = false;
66
67 InfrastructureConfiguration m_infrastructureConfiguration;
68 bool m_infrastructureConfigurationHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace imagebuilder
73} // namespace Aws
AWS_IMAGEBUILDER_API GetInfrastructureConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetInfrastructureConfigurationResult & WithInfrastructureConfiguration(InfrastructureConfigurationT &&value)
AWS_IMAGEBUILDER_API GetInfrastructureConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_IMAGEBUILDER_API GetInfrastructureConfigurationResult()=default
GetInfrastructureConfigurationResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue