AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
UpdateGatewayInformationResult.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{
34 {
35 public:
36 AWS_STORAGEGATEWAY_API UpdateGatewayInformationResult() = default;
39
40
42
43 inline const Aws::String& GetGatewayARN() const { return m_gatewayARN; }
44 template<typename GatewayARNT = Aws::String>
45 void SetGatewayARN(GatewayARNT&& value) { m_gatewayARNHasBeenSet = true; m_gatewayARN = std::forward<GatewayARNT>(value); }
46 template<typename GatewayARNT = Aws::String>
47 UpdateGatewayInformationResult& WithGatewayARN(GatewayARNT&& value) { SetGatewayARN(std::forward<GatewayARNT>(value)); return *this;}
49
51
54 inline const Aws::String& GetGatewayName() const { return m_gatewayName; }
55 template<typename GatewayNameT = Aws::String>
56 void SetGatewayName(GatewayNameT&& value) { m_gatewayNameHasBeenSet = true; m_gatewayName = std::forward<GatewayNameT>(value); }
57 template<typename GatewayNameT = Aws::String>
58 UpdateGatewayInformationResult& WithGatewayName(GatewayNameT&& value) { SetGatewayName(std::forward<GatewayNameT>(value)); return *this;}
60
62
63 inline const Aws::String& GetRequestId() const { return m_requestId; }
64 template<typename RequestIdT = Aws::String>
65 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
66 template<typename RequestIdT = Aws::String>
67 UpdateGatewayInformationResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
69 private:
70
71 Aws::String m_gatewayARN;
72 bool m_gatewayARNHasBeenSet = false;
73
74 Aws::String m_gatewayName;
75 bool m_gatewayNameHasBeenSet = false;
76
77 Aws::String m_requestId;
78 bool m_requestIdHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace StorageGateway
83} // namespace Aws
AWS_STORAGEGATEWAY_API UpdateGatewayInformationResult()=default
UpdateGatewayInformationResult & WithRequestId(RequestIdT &&value)
UpdateGatewayInformationResult & WithGatewayName(GatewayNameT &&value)
UpdateGatewayInformationResult & WithGatewayARN(GatewayARNT &&value)
AWS_STORAGEGATEWAY_API UpdateGatewayInformationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_STORAGEGATEWAY_API UpdateGatewayInformationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue