AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
AddCacheResult.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{
28 {
29 public:
30 AWS_STORAGEGATEWAY_API AddCacheResult() = default;
33
34
36
37 inline const Aws::String& GetGatewayARN() const { return m_gatewayARN; }
38 template<typename GatewayARNT = Aws::String>
39 void SetGatewayARN(GatewayARNT&& value) { m_gatewayARNHasBeenSet = true; m_gatewayARN = std::forward<GatewayARNT>(value); }
40 template<typename GatewayARNT = Aws::String>
41 AddCacheResult& WithGatewayARN(GatewayARNT&& value) { SetGatewayARN(std::forward<GatewayARNT>(value)); return *this;}
43
45
46 inline const Aws::String& GetRequestId() const { return m_requestId; }
47 template<typename RequestIdT = Aws::String>
48 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
49 template<typename RequestIdT = Aws::String>
50 AddCacheResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
52 private:
53
54 Aws::String m_gatewayARN;
55 bool m_gatewayARNHasBeenSet = false;
56
57 Aws::String m_requestId;
58 bool m_requestIdHasBeenSet = false;
59 };
60
61} // namespace Model
62} // namespace StorageGateway
63} // namespace Aws
AddCacheResult & WithGatewayARN(GatewayARNT &&value)
AddCacheResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetGatewayARN() const
const Aws::String & GetRequestId() const
AWS_STORAGEGATEWAY_API AddCacheResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_STORAGEGATEWAY_API AddCacheResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_STORAGEGATEWAY_API AddCacheResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue