AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AttachVolumeResult.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{
33 {
34 public:
35 AWS_STORAGEGATEWAY_API AttachVolumeResult();
38
39
41
45 inline const Aws::String& GetVolumeARN() const{ return m_volumeARN; }
46 inline void SetVolumeARN(const Aws::String& value) { m_volumeARN = value; }
47 inline void SetVolumeARN(Aws::String&& value) { m_volumeARN = std::move(value); }
48 inline void SetVolumeARN(const char* value) { m_volumeARN.assign(value); }
49 inline AttachVolumeResult& WithVolumeARN(const Aws::String& value) { SetVolumeARN(value); return *this;}
50 inline AttachVolumeResult& WithVolumeARN(Aws::String&& value) { SetVolumeARN(std::move(value)); return *this;}
51 inline AttachVolumeResult& WithVolumeARN(const char* value) { SetVolumeARN(value); return *this;}
53
55
59 inline const Aws::String& GetTargetARN() const{ return m_targetARN; }
60 inline void SetTargetARN(const Aws::String& value) { m_targetARN = value; }
61 inline void SetTargetARN(Aws::String&& value) { m_targetARN = std::move(value); }
62 inline void SetTargetARN(const char* value) { m_targetARN.assign(value); }
63 inline AttachVolumeResult& WithTargetARN(const Aws::String& value) { SetTargetARN(value); return *this;}
64 inline AttachVolumeResult& WithTargetARN(Aws::String&& value) { SetTargetARN(std::move(value)); return *this;}
65 inline AttachVolumeResult& WithTargetARN(const char* value) { SetTargetARN(value); return *this;}
67
69
70 inline const Aws::String& GetRequestId() const{ return m_requestId; }
71 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
72 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
73 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
74 inline AttachVolumeResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
75 inline AttachVolumeResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
76 inline AttachVolumeResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
78 private:
79
80 Aws::String m_volumeARN;
81
82 Aws::String m_targetARN;
83
84 Aws::String m_requestId;
85 };
86
87} // namespace Model
88} // namespace StorageGateway
89} // namespace Aws
AttachVolumeResult & WithRequestId(const char *value)
AttachVolumeResult & WithTargetARN(Aws::String &&value)
AWS_STORAGEGATEWAY_API AttachVolumeResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AttachVolumeResult & WithTargetARN(const Aws::String &value)
AttachVolumeResult & WithVolumeARN(const Aws::String &value)
AttachVolumeResult & WithVolumeARN(const char *value)
AttachVolumeResult & WithRequestId(Aws::String &&value)
AttachVolumeResult & WithTargetARN(const char *value)
AttachVolumeResult & WithRequestId(const Aws::String &value)
AWS_STORAGEGATEWAY_API AttachVolumeResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AttachVolumeResult & WithVolumeARN(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue