AWS SDK for C++

AWS SDK for C++ Version 1.11.927

Loading...
Searching...
No Matches
DisableGatewayResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/storagegateway/StorageGateway_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 StorageGateway {
23namespace Model {
30 public:
31 AWS_STORAGEGATEWAY_API DisableGatewayResult() = default;
34
36
39 inline const Aws::String& GetGatewayARN() const { return m_gatewayARN; }
40 template <typename GatewayARNT = Aws::String>
41 void SetGatewayARN(GatewayARNT&& value) {
42 m_gatewayARNHasBeenSet = true;
43 m_gatewayARN = std::forward<GatewayARNT>(value);
44 }
45 template <typename GatewayARNT = Aws::String>
46 DisableGatewayResult& WithGatewayARN(GatewayARNT&& value) {
47 SetGatewayARN(std::forward<GatewayARNT>(value));
48 return *this;
49 }
51
53
54 inline const Aws::String& GetRequestId() const { return m_requestId; }
55 template <typename RequestIdT = Aws::String>
56 void SetRequestId(RequestIdT&& value) {
57 m_requestIdHasBeenSet = true;
58 m_requestId = std::forward<RequestIdT>(value);
59 }
60 template <typename RequestIdT = Aws::String>
61 DisableGatewayResult& WithRequestId(RequestIdT&& value) {
62 SetRequestId(std::forward<RequestIdT>(value));
63 return *this;
64 }
66 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
67
68 private:
69 Aws::String m_gatewayARN;
70
71 Aws::String m_requestId;
72 Aws::Http::HttpResponseCode m_HttpResponseCode;
73 bool m_gatewayARNHasBeenSet = false;
74 bool m_requestIdHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace StorageGateway
79} // namespace Aws
AWS_STORAGEGATEWAY_API DisableGatewayResult()=default
Aws::Http::HttpResponseCode GetHttpResponseCode() const
AWS_STORAGEGATEWAY_API DisableGatewayResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_STORAGEGATEWAY_API DisableGatewayResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DisableGatewayResult & WithRequestId(RequestIdT &&value)
DisableGatewayResult & WithGatewayARN(GatewayARNT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue