AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
GetInfrastructureConfigurationResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
9#include <aws/imagebuilder/model/InfrastructureConfiguration.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace imagebuilder {
23namespace Model {
30 public:
31 AWS_IMAGEBUILDER_API GetInfrastructureConfigurationResult() = default;
35
37
40 inline const Aws::String& GetRequestId() const { return m_requestId; }
41 template <typename RequestIdT = Aws::String>
42 void SetRequestId(RequestIdT&& value) {
43 m_requestIdHasBeenSet = true;
44 m_requestId = std::forward<RequestIdT>(value);
45 }
46 template <typename RequestIdT = Aws::String>
48 SetRequestId(std::forward<RequestIdT>(value));
49 return *this;
50 }
52
54
57 inline const InfrastructureConfiguration& GetInfrastructureConfiguration() const { return m_infrastructureConfiguration; }
58 template <typename InfrastructureConfigurationT = InfrastructureConfiguration>
59 void SetInfrastructureConfiguration(InfrastructureConfigurationT&& value) {
60 m_infrastructureConfigurationHasBeenSet = true;
61 m_infrastructureConfiguration = std::forward<InfrastructureConfigurationT>(value);
62 }
63 template <typename InfrastructureConfigurationT = InfrastructureConfiguration>
65 SetInfrastructureConfiguration(std::forward<InfrastructureConfigurationT>(value));
66 return *this;
67 }
69 private:
70 Aws::String m_requestId;
71
72 InfrastructureConfiguration m_infrastructureConfiguration;
73 bool m_requestIdHasBeenSet = false;
74 bool m_infrastructureConfigurationHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace imagebuilder
79} // 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