AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DescribeReportPlanResult.h
1
6#pragma once
7#include <aws/backup/Backup_EXPORTS.h>
8#include <aws/backup/model/ReportPlan.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 Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace Backup
25{
26namespace Model
27{
29 {
30 public:
31 AWS_BACKUP_API DescribeReportPlanResult() = default;
34
35
37
43 inline const ReportPlan& GetReportPlan() const { return m_reportPlan; }
44 template<typename ReportPlanT = ReportPlan>
45 void SetReportPlan(ReportPlanT&& value) { m_reportPlanHasBeenSet = true; m_reportPlan = std::forward<ReportPlanT>(value); }
46 template<typename ReportPlanT = ReportPlan>
47 DescribeReportPlanResult& WithReportPlan(ReportPlanT&& value) { SetReportPlan(std::forward<ReportPlanT>(value)); return *this;}
49
51
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 DescribeReportPlanResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
58 private:
59
60 ReportPlan m_reportPlan;
61 bool m_reportPlanHasBeenSet = false;
62
63 Aws::String m_requestId;
64 bool m_requestIdHasBeenSet = false;
65 };
66
67} // namespace Model
68} // namespace Backup
69} // namespace Aws
AWS_BACKUP_API DescribeReportPlanResult()=default
DescribeReportPlanResult & WithReportPlan(ReportPlanT &&value)
DescribeReportPlanResult & WithRequestId(RequestIdT &&value)
AWS_BACKUP_API DescribeReportPlanResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_BACKUP_API DescribeReportPlanResult(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