AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CopySnapshotAndUpdateVolumeResult.h
1
6#pragma once
7#include <aws/fsx/FSx_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/fsx/model/VolumeLifecycle.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/fsx/model/AdministrativeAction.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace FSx
27{
28namespace Model
29{
31 {
32 public:
36
37
39
42 inline const Aws::String& GetVolumeId() const{ return m_volumeId; }
43 inline void SetVolumeId(const Aws::String& value) { m_volumeId = value; }
44 inline void SetVolumeId(Aws::String&& value) { m_volumeId = std::move(value); }
45 inline void SetVolumeId(const char* value) { m_volumeId.assign(value); }
46 inline CopySnapshotAndUpdateVolumeResult& WithVolumeId(const Aws::String& value) { SetVolumeId(value); return *this;}
47 inline CopySnapshotAndUpdateVolumeResult& WithVolumeId(Aws::String&& value) { SetVolumeId(std::move(value)); return *this;}
48 inline CopySnapshotAndUpdateVolumeResult& WithVolumeId(const char* value) { SetVolumeId(value); return *this;}
50
52
55 inline const VolumeLifecycle& GetLifecycle() const{ return m_lifecycle; }
56 inline void SetLifecycle(const VolumeLifecycle& value) { m_lifecycle = value; }
57 inline void SetLifecycle(VolumeLifecycle&& value) { m_lifecycle = std::move(value); }
58 inline CopySnapshotAndUpdateVolumeResult& WithLifecycle(const VolumeLifecycle& value) { SetLifecycle(value); return *this;}
59 inline CopySnapshotAndUpdateVolumeResult& WithLifecycle(VolumeLifecycle&& value) { SetLifecycle(std::move(value)); return *this;}
61
63
68 inline const Aws::Vector<AdministrativeAction>& GetAdministrativeActions() const{ return m_administrativeActions; }
69 inline void SetAdministrativeActions(const Aws::Vector<AdministrativeAction>& value) { m_administrativeActions = value; }
70 inline void SetAdministrativeActions(Aws::Vector<AdministrativeAction>&& value) { m_administrativeActions = std::move(value); }
73 inline CopySnapshotAndUpdateVolumeResult& AddAdministrativeActions(const AdministrativeAction& value) { m_administrativeActions.push_back(value); return *this; }
74 inline CopySnapshotAndUpdateVolumeResult& AddAdministrativeActions(AdministrativeAction&& value) { m_administrativeActions.push_back(std::move(value)); return *this; }
76
78
79 inline const Aws::String& GetRequestId() const{ return m_requestId; }
80 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
81 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
82 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
83 inline CopySnapshotAndUpdateVolumeResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
84 inline CopySnapshotAndUpdateVolumeResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
85 inline CopySnapshotAndUpdateVolumeResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
87 private:
88
89 Aws::String m_volumeId;
90
91 VolumeLifecycle m_lifecycle;
92
93 Aws::Vector<AdministrativeAction> m_administrativeActions;
94
95 Aws::String m_requestId;
96 };
97
98} // namespace Model
99} // namespace FSx
100} // namespace Aws
AWS_FSX_API CopySnapshotAndUpdateVolumeResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CopySnapshotAndUpdateVolumeResult & WithVolumeId(const char *value)
CopySnapshotAndUpdateVolumeResult & WithAdministrativeActions(const Aws::Vector< AdministrativeAction > &value)
void SetAdministrativeActions(const Aws::Vector< AdministrativeAction > &value)
AWS_FSX_API CopySnapshotAndUpdateVolumeResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CopySnapshotAndUpdateVolumeResult & WithRequestId(const char *value)
CopySnapshotAndUpdateVolumeResult & WithRequestId(const Aws::String &value)
CopySnapshotAndUpdateVolumeResult & WithRequestId(Aws::String &&value)
const Aws::Vector< AdministrativeAction > & GetAdministrativeActions() const
CopySnapshotAndUpdateVolumeResult & WithVolumeId(const Aws::String &value)
CopySnapshotAndUpdateVolumeResult & WithLifecycle(VolumeLifecycle &&value)
CopySnapshotAndUpdateVolumeResult & AddAdministrativeActions(const AdministrativeAction &value)
CopySnapshotAndUpdateVolumeResult & WithVolumeId(Aws::String &&value)
void SetAdministrativeActions(Aws::Vector< AdministrativeAction > &&value)
CopySnapshotAndUpdateVolumeResult & WithAdministrativeActions(Aws::Vector< AdministrativeAction > &&value)
CopySnapshotAndUpdateVolumeResult & AddAdministrativeActions(AdministrativeAction &&value)
CopySnapshotAndUpdateVolumeResult & WithLifecycle(const VolumeLifecycle &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue