AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
33
34
36
37 inline const Aws::String& GetGatewayARN() const{ return m_gatewayARN; }
38 inline void SetGatewayARN(const Aws::String& value) { m_gatewayARN = value; }
39 inline void SetGatewayARN(Aws::String&& value) { m_gatewayARN = std::move(value); }
40 inline void SetGatewayARN(const char* value) { m_gatewayARN.assign(value); }
41 inline AddCacheResult& WithGatewayARN(const Aws::String& value) { SetGatewayARN(value); return *this;}
42 inline AddCacheResult& WithGatewayARN(Aws::String&& value) { SetGatewayARN(std::move(value)); return *this;}
43 inline AddCacheResult& WithGatewayARN(const char* value) { SetGatewayARN(value); return *this;}
45
47
48 inline const Aws::String& GetRequestId() const{ return m_requestId; }
49 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
50 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
51 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
52 inline AddCacheResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
53 inline AddCacheResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
54 inline AddCacheResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
56 private:
57
58 Aws::String m_gatewayARN;
59
60 Aws::String m_requestId;
61 };
62
63} // namespace Model
64} // namespace StorageGateway
65} // namespace Aws
AddCacheResult & WithRequestId(Aws::String &&value)
AWS_STORAGEGATEWAY_API AddCacheResult()
AddCacheResult & WithRequestId(const Aws::String &value)
void SetGatewayARN(const Aws::String &value)
void SetRequestId(const Aws::String &value)
AddCacheResult & WithRequestId(const char *value)
AddCacheResult & WithGatewayARN(Aws::String &&value)
const Aws::String & GetGatewayARN() const
const Aws::String & GetRequestId() const
AddCacheResult & WithGatewayARN(const Aws::String &value)
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)
AddCacheResult & WithGatewayARN(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue