AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
38
39
41
45 inline const Aws::String& GetVolumeARN() const { return m_volumeARN; }
46 template<typename VolumeARNT = Aws::String>
47 void SetVolumeARN(VolumeARNT&& value) { m_volumeARNHasBeenSet = true; m_volumeARN = std::forward<VolumeARNT>(value); }
48 template<typename VolumeARNT = Aws::String>
49 AttachVolumeResult& WithVolumeARN(VolumeARNT&& value) { SetVolumeARN(std::forward<VolumeARNT>(value)); return *this;}
51
53
57 inline const Aws::String& GetTargetARN() const { return m_targetARN; }
58 template<typename TargetARNT = Aws::String>
59 void SetTargetARN(TargetARNT&& value) { m_targetARNHasBeenSet = true; m_targetARN = std::forward<TargetARNT>(value); }
60 template<typename TargetARNT = Aws::String>
61 AttachVolumeResult& WithTargetARN(TargetARNT&& value) { SetTargetARN(std::forward<TargetARNT>(value)); return *this;}
63
65
66 inline const Aws::String& GetRequestId() const { return m_requestId; }
67 template<typename RequestIdT = Aws::String>
68 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
69 template<typename RequestIdT = Aws::String>
70 AttachVolumeResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
72 private:
73
74 Aws::String m_volumeARN;
75 bool m_volumeARNHasBeenSet = false;
76
77 Aws::String m_targetARN;
78 bool m_targetARNHasBeenSet = false;
79
80 Aws::String m_requestId;
81 bool m_requestIdHasBeenSet = false;
82 };
83
84} // namespace Model
85} // namespace StorageGateway
86} // namespace Aws
AWS_STORAGEGATEWAY_API AttachVolumeResult()=default
AWS_STORAGEGATEWAY_API AttachVolumeResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AttachVolumeResult & WithRequestId(RequestIdT &&value)
AttachVolumeResult & WithVolumeARN(VolumeARNT &&value)
AttachVolumeResult & WithTargetARN(TargetARNT &&value)
AWS_STORAGEGATEWAY_API AttachVolumeResult & 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