AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
44
45
47
48 inline const Aws::String& GetGatewayARN() const{ return m_gatewayARN; }
49 inline void SetGatewayARN(const Aws::String& value) { m_gatewayARN = value; }
50 inline void SetGatewayARN(Aws::String&& value) { m_gatewayARN = std::move(value); }
51 inline void SetGatewayARN(const char* value) { m_gatewayARN.assign(value); }
52 inline ActivateGatewayResult& WithGatewayARN(const Aws::String& value) { SetGatewayARN(value); return *this;}
53 inline ActivateGatewayResult& WithGatewayARN(Aws::String&& value) { SetGatewayARN(std::move(value)); return *this;}
54 inline ActivateGatewayResult& WithGatewayARN(const char* value) { SetGatewayARN(value); return *this;}
56
58
59 inline const Aws::String& GetRequestId() const{ return m_requestId; }
60 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
61 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
62 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
63 inline ActivateGatewayResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
64 inline ActivateGatewayResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
65 inline ActivateGatewayResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
67 private:
68
69 Aws::String m_gatewayARN;
70
71 Aws::String m_requestId;
72 };
73
74} // namespace Model
75} // namespace StorageGateway
76} // namespace Aws
ActivateGatewayResult & WithGatewayARN(const char *value)
ActivateGatewayResult & WithRequestId(const Aws::String &value)
ActivateGatewayResult & WithGatewayARN(Aws::String &&value)
AWS_STORAGEGATEWAY_API ActivateGatewayResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_STORAGEGATEWAY_API ActivateGatewayResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ActivateGatewayResult & WithRequestId(Aws::String &&value)
ActivateGatewayResult & WithGatewayARN(const Aws::String &value)
ActivateGatewayResult & WithRequestId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue