AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ActivateGatewayResult.h
1
6#pragma once
7#include <aws/storagegateway/StorageGateway_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13template<typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace StorageGateway
24{
25namespace Model
26{
39 {
40 public:
41 AWS_STORAGEGATEWAY_API ActivateGatewayResult() = default;
44
45
47
48 inline const Aws::String& GetGatewayARN() const { return m_gatewayARN; }
49 template<typename GatewayARNT = Aws::String>
50 void SetGatewayARN(GatewayARNT&& value) { m_gatewayARNHasBeenSet = true; m_gatewayARN = std::forward<GatewayARNT>(value); }
51 template<typename GatewayARNT = Aws::String>
52 ActivateGatewayResult& WithGatewayARN(GatewayARNT&& value) { SetGatewayARN(std::forward<GatewayARNT>(value)); return *this;}
54
56
57 inline const Aws::String& GetRequestId() const { return m_requestId; }
58 template<typename RequestIdT = Aws::String>
59 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
60 template<typename RequestIdT = Aws::String>
61 ActivateGatewayResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
63 private:
64
65 Aws::String m_gatewayARN;
66 bool m_gatewayARNHasBeenSet = false;
67
68 Aws::String m_requestId;
69 bool m_requestIdHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace StorageGateway
74} // namespace Aws
AWS_STORAGEGATEWAY_API ActivateGatewayResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ActivateGatewayResult & WithGatewayARN(GatewayARNT &&value)
AWS_STORAGEGATEWAY_API ActivateGatewayResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ActivateGatewayResult & WithRequestId(RequestIdT &&value)
AWS_STORAGEGATEWAY_API ActivateGatewayResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue