AWS SDK for C++

AWS SDK for C++ Version 1.11.785

Loading...
Searching...
No Matches
UpdateInfrastructureConfigurationResult.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
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 {
25 public:
26 AWS_IMAGEBUILDER_API UpdateInfrastructureConfigurationResult() = default;
30
32
35 inline const Aws::String& GetRequestId() const { return m_requestId; }
36 template <typename RequestIdT = Aws::String>
37 void SetRequestId(RequestIdT&& value) {
38 m_requestIdHasBeenSet = true;
39 m_requestId = std::forward<RequestIdT>(value);
40 }
41 template <typename RequestIdT = Aws::String>
43 SetRequestId(std::forward<RequestIdT>(value));
44 return *this;
45 }
47
49
52 inline const Aws::String& GetClientToken() const { return m_clientToken; }
53 template <typename ClientTokenT = Aws::String>
54 void SetClientToken(ClientTokenT&& value) {
55 m_clientTokenHasBeenSet = true;
56 m_clientToken = std::forward<ClientTokenT>(value);
57 }
58 template <typename ClientTokenT = Aws::String>
60 SetClientToken(std::forward<ClientTokenT>(value));
61 return *this;
62 }
64
66
70 inline const Aws::String& GetInfrastructureConfigurationArn() const { return m_infrastructureConfigurationArn; }
71 template <typename InfrastructureConfigurationArnT = Aws::String>
72 void SetInfrastructureConfigurationArn(InfrastructureConfigurationArnT&& value) {
73 m_infrastructureConfigurationArnHasBeenSet = true;
74 m_infrastructureConfigurationArn = std::forward<InfrastructureConfigurationArnT>(value);
75 }
76 template <typename InfrastructureConfigurationArnT = Aws::String>
78 SetInfrastructureConfigurationArn(std::forward<InfrastructureConfigurationArnT>(value));
79 return *this;
80 }
82 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
83
84 private:
85 Aws::String m_requestId;
86
87 Aws::String m_clientToken;
88
89 Aws::String m_infrastructureConfigurationArn;
90 Aws::Http::HttpResponseCode m_HttpResponseCode;
91 bool m_requestIdHasBeenSet = false;
92 bool m_clientTokenHasBeenSet = false;
93 bool m_infrastructureConfigurationArnHasBeenSet = false;
94};
95
96} // namespace Model
97} // namespace imagebuilder
98} // namespace Aws
AWS_IMAGEBUILDER_API UpdateInfrastructureConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateInfrastructureConfigurationResult & WithRequestId(RequestIdT &&value)
UpdateInfrastructureConfigurationResult & WithInfrastructureConfigurationArn(InfrastructureConfigurationArnT &&value)
UpdateInfrastructureConfigurationResult & WithClientToken(ClientTokenT &&value)
AWS_IMAGEBUILDER_API UpdateInfrastructureConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue