AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetStorageLensGroupResult.h
1
6#pragma once
7#include <aws/s3control/S3Control_EXPORTS.h>
8#include <aws/s3control/model/StorageLensGroup.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Xml
20{
21 class XmlDocument;
22} // namespace Xml
23} // namespace Utils
24namespace S3Control
25{
26namespace Model
27{
29 {
30 public:
31 AWS_S3CONTROL_API GetStorageLensGroupResult() = default;
34
35
37
41 inline const StorageLensGroup& GetStorageLensGroup() const { return m_storageLensGroup; }
42 template<typename StorageLensGroupT = StorageLensGroup>
43 void SetStorageLensGroup(StorageLensGroupT&& value) { m_storageLensGroupHasBeenSet = true; m_storageLensGroup = std::forward<StorageLensGroupT>(value); }
44 template<typename StorageLensGroupT = StorageLensGroup>
45 GetStorageLensGroupResult& WithStorageLensGroup(StorageLensGroupT&& value) { SetStorageLensGroup(std::forward<StorageLensGroupT>(value)); return *this;}
47
49
52 inline const Aws::String& GetRequestId() const { return m_requestId; }
53 template<typename RequestIdT = Aws::String>
54 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
55 template<typename RequestIdT = Aws::String>
56 GetStorageLensGroupResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
58
60
63 inline const Aws::String& GetHostId() const { return m_hostId; }
64 template<typename HostIdT = Aws::String>
65 void SetHostId(HostIdT&& value) { m_hostIdHasBeenSet = true; m_hostId = std::forward<HostIdT>(value); }
66 template<typename HostIdT = Aws::String>
67 GetStorageLensGroupResult& WithHostId(HostIdT&& value) { SetHostId(std::forward<HostIdT>(value)); return *this;}
69 private:
70
71 StorageLensGroup m_storageLensGroup;
72 bool m_storageLensGroupHasBeenSet = false;
73
74 Aws::String m_requestId;
75 bool m_requestIdHasBeenSet = false;
76
77 Aws::String m_hostId;
78 bool m_hostIdHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace S3Control
83} // namespace Aws
AWS_S3CONTROL_API GetStorageLensGroupResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_S3CONTROL_API GetStorageLensGroupResult()=default
AWS_S3CONTROL_API GetStorageLensGroupResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
GetStorageLensGroupResult & WithStorageLensGroup(StorageLensGroupT &&value)
GetStorageLensGroupResult & WithRequestId(RequestIdT &&value)
GetStorageLensGroupResult & WithHostId(HostIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument