AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetAutoSnapshotsResult.h
1
6#pragma once
7#include <aws/lightsail/Lightsail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lightsail/model/ResourceType.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/lightsail/model/AutoSnapshotDetails.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 Lightsail
27{
28namespace Model
29{
31 {
32 public:
33 AWS_LIGHTSAIL_API GetAutoSnapshotsResult();
36
37
39
42 inline const Aws::String& GetResourceName() const{ return m_resourceName; }
43 inline void SetResourceName(const Aws::String& value) { m_resourceName = value; }
44 inline void SetResourceName(Aws::String&& value) { m_resourceName = std::move(value); }
45 inline void SetResourceName(const char* value) { m_resourceName.assign(value); }
46 inline GetAutoSnapshotsResult& WithResourceName(const Aws::String& value) { SetResourceName(value); return *this;}
47 inline GetAutoSnapshotsResult& WithResourceName(Aws::String&& value) { SetResourceName(std::move(value)); return *this;}
48 inline GetAutoSnapshotsResult& WithResourceName(const char* value) { SetResourceName(value); return *this;}
50
52
56 inline const ResourceType& GetResourceType() const{ return m_resourceType; }
57 inline void SetResourceType(const ResourceType& value) { m_resourceType = value; }
58 inline void SetResourceType(ResourceType&& value) { m_resourceType = std::move(value); }
59 inline GetAutoSnapshotsResult& WithResourceType(const ResourceType& value) { SetResourceType(value); return *this;}
60 inline GetAutoSnapshotsResult& WithResourceType(ResourceType&& value) { SetResourceType(std::move(value)); return *this;}
62
64
68 inline const Aws::Vector<AutoSnapshotDetails>& GetAutoSnapshots() const{ return m_autoSnapshots; }
69 inline void SetAutoSnapshots(const Aws::Vector<AutoSnapshotDetails>& value) { m_autoSnapshots = value; }
70 inline void SetAutoSnapshots(Aws::Vector<AutoSnapshotDetails>&& value) { m_autoSnapshots = std::move(value); }
73 inline GetAutoSnapshotsResult& AddAutoSnapshots(const AutoSnapshotDetails& value) { m_autoSnapshots.push_back(value); return *this; }
74 inline GetAutoSnapshotsResult& AddAutoSnapshots(AutoSnapshotDetails&& value) { m_autoSnapshots.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 GetAutoSnapshotsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
84 inline GetAutoSnapshotsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
85 inline GetAutoSnapshotsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
87 private:
88
89 Aws::String m_resourceName;
90
91 ResourceType m_resourceType;
92
94
95 Aws::String m_requestId;
96 };
97
98} // namespace Model
99} // namespace Lightsail
100} // namespace Aws
AWS_LIGHTSAIL_API GetAutoSnapshotsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetAutoSnapshots(const Aws::Vector< AutoSnapshotDetails > &value)
void SetAutoSnapshots(Aws::Vector< AutoSnapshotDetails > &&value)
GetAutoSnapshotsResult & AddAutoSnapshots(AutoSnapshotDetails &&value)
GetAutoSnapshotsResult & WithResourceName(const char *value)
GetAutoSnapshotsResult & WithResourceName(Aws::String &&value)
GetAutoSnapshotsResult & WithRequestId(const char *value)
GetAutoSnapshotsResult & WithResourceType(const ResourceType &value)
GetAutoSnapshotsResult & WithResourceName(const Aws::String &value)
GetAutoSnapshotsResult & WithRequestId(Aws::String &&value)
GetAutoSnapshotsResult & AddAutoSnapshots(const AutoSnapshotDetails &value)
const Aws::Vector< AutoSnapshotDetails > & GetAutoSnapshots() const
GetAutoSnapshotsResult & WithRequestId(const Aws::String &value)
GetAutoSnapshotsResult & WithResourceType(ResourceType &&value)
AWS_LIGHTSAIL_API GetAutoSnapshotsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetAutoSnapshotsResult & WithAutoSnapshots(Aws::Vector< AutoSnapshotDetails > &&value)
GetAutoSnapshotsResult & WithAutoSnapshots(const Aws::Vector< AutoSnapshotDetails > &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