AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateSnapshotResult.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 CreateSnapshotResult();
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 CreateSnapshotResult& WithVolumeARN(const Aws::String& value) { SetVolumeARN(value); return *this;}
50 inline CreateSnapshotResult& WithVolumeARN(Aws::String&& value) { SetVolumeARN(std::move(value)); return *this;}
51 inline CreateSnapshotResult& WithVolumeARN(const char* value) { SetVolumeARN(value); return *this;}
53
55
61 inline const Aws::String& GetSnapshotId() const{ return m_snapshotId; }
62 inline void SetSnapshotId(const Aws::String& value) { m_snapshotId = value; }
63 inline void SetSnapshotId(Aws::String&& value) { m_snapshotId = std::move(value); }
64 inline void SetSnapshotId(const char* value) { m_snapshotId.assign(value); }
65 inline CreateSnapshotResult& WithSnapshotId(const Aws::String& value) { SetSnapshotId(value); return *this;}
66 inline CreateSnapshotResult& WithSnapshotId(Aws::String&& value) { SetSnapshotId(std::move(value)); return *this;}
67 inline CreateSnapshotResult& WithSnapshotId(const char* value) { SetSnapshotId(value); return *this;}
69
71
72 inline const Aws::String& GetRequestId() const{ return m_requestId; }
73 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
74 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
75 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
76 inline CreateSnapshotResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
77 inline CreateSnapshotResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
78 inline CreateSnapshotResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
80 private:
81
82 Aws::String m_volumeARN;
83
84 Aws::String m_snapshotId;
85
86 Aws::String m_requestId;
87 };
88
89} // namespace Model
90} // namespace StorageGateway
91} // namespace Aws
CreateSnapshotResult & WithVolumeARN(Aws::String &&value)
CreateSnapshotResult & WithVolumeARN(const char *value)
AWS_STORAGEGATEWAY_API CreateSnapshotResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateSnapshotResult & WithRequestId(Aws::String &&value)
AWS_STORAGEGATEWAY_API CreateSnapshotResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateSnapshotResult & WithSnapshotId(const Aws::String &value)
CreateSnapshotResult & WithRequestId(const Aws::String &value)
CreateSnapshotResult & WithSnapshotId(const char *value)
CreateSnapshotResult & WithRequestId(const char *value)
CreateSnapshotResult & WithSnapshotId(Aws::String &&value)
CreateSnapshotResult & WithVolumeARN(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue