AWS SDK for C++

AWS SDK for C++ Version 1.11.785

Loading...
Searching...
No Matches
GetInfrastructureConfigurationResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
10#include <aws/imagebuilder/model/InfrastructureConfiguration.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 imagebuilder {
24namespace Model {
31 public:
32 AWS_IMAGEBUILDER_API GetInfrastructureConfigurationResult() = default;
36
38
41 inline const Aws::String& GetRequestId() const { return m_requestId; }
42 template <typename RequestIdT = Aws::String>
43 void SetRequestId(RequestIdT&& value) {
44 m_requestIdHasBeenSet = true;
45 m_requestId = std::forward<RequestIdT>(value);
46 }
47 template <typename RequestIdT = Aws::String>
49 SetRequestId(std::forward<RequestIdT>(value));
50 return *this;
51 }
53
55
58 inline const InfrastructureConfiguration& GetInfrastructureConfiguration() const { return m_infrastructureConfiguration; }
59 template <typename InfrastructureConfigurationT = InfrastructureConfiguration>
60 void SetInfrastructureConfiguration(InfrastructureConfigurationT&& value) {
61 m_infrastructureConfigurationHasBeenSet = true;
62 m_infrastructureConfiguration = std::forward<InfrastructureConfigurationT>(value);
63 }
64 template <typename InfrastructureConfigurationT = InfrastructureConfiguration>
66 SetInfrastructureConfiguration(std::forward<InfrastructureConfigurationT>(value));
67 return *this;
68 }
70 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
71
72 private:
73 Aws::String m_requestId;
74
75 InfrastructureConfiguration m_infrastructureConfiguration;
76 Aws::Http::HttpResponseCode m_HttpResponseCode;
77 bool m_requestIdHasBeenSet = false;
78 bool m_infrastructureConfigurationHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace imagebuilder
83} // 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