AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
39
40
42
43 inline const Aws::String& GetGatewayARN() const{ return m_gatewayARN; }
44 inline void SetGatewayARN(const Aws::String& value) { m_gatewayARN = value; }
45 inline void SetGatewayARN(Aws::String&& value) { m_gatewayARN = std::move(value); }
46 inline void SetGatewayARN(const char* value) { m_gatewayARN.assign(value); }
47 inline UpdateGatewayInformationResult& WithGatewayARN(const Aws::String& value) { SetGatewayARN(value); return *this;}
48 inline UpdateGatewayInformationResult& WithGatewayARN(Aws::String&& value) { SetGatewayARN(std::move(value)); return *this;}
49 inline UpdateGatewayInformationResult& WithGatewayARN(const char* value) { SetGatewayARN(value); return *this;}
51
53
56 inline const Aws::String& GetGatewayName() const{ return m_gatewayName; }
57 inline void SetGatewayName(const Aws::String& value) { m_gatewayName = value; }
58 inline void SetGatewayName(Aws::String&& value) { m_gatewayName = std::move(value); }
59 inline void SetGatewayName(const char* value) { m_gatewayName.assign(value); }
60 inline UpdateGatewayInformationResult& WithGatewayName(const Aws::String& value) { SetGatewayName(value); return *this;}
61 inline UpdateGatewayInformationResult& WithGatewayName(Aws::String&& value) { SetGatewayName(std::move(value)); return *this;}
62 inline UpdateGatewayInformationResult& WithGatewayName(const char* value) { SetGatewayName(value); return *this;}
64
66
67 inline const Aws::String& GetRequestId() const{ return m_requestId; }
68 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
69 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
70 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
71 inline UpdateGatewayInformationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
72 inline UpdateGatewayInformationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
73 inline UpdateGatewayInformationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
75 private:
76
77 Aws::String m_gatewayARN;
78
79 Aws::String m_gatewayName;
80
81 Aws::String m_requestId;
82 };
83
84} // namespace Model
85} // namespace StorageGateway
86} // namespace Aws
UpdateGatewayInformationResult & WithRequestId(const char *value)
UpdateGatewayInformationResult & WithGatewayName(const Aws::String &value)
AWS_STORAGEGATEWAY_API UpdateGatewayInformationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateGatewayInformationResult & WithRequestId(Aws::String &&value)
AWS_STORAGEGATEWAY_API UpdateGatewayInformationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateGatewayInformationResult & WithGatewayARN(const char *value)
UpdateGatewayInformationResult & WithRequestId(const Aws::String &value)
UpdateGatewayInformationResult & WithGatewayName(Aws::String &&value)
UpdateGatewayInformationResult & WithGatewayARN(const Aws::String &value)
UpdateGatewayInformationResult & WithGatewayARN(Aws::String &&value)
UpdateGatewayInformationResult & WithGatewayName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue