AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
UpdateReportPlanResult.h
1
6#pragma once
7#include <aws/backup/Backup_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.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 UpdateReportPlanResult() = default;
34
35
37
40 inline const Aws::String& GetReportPlanName() const { return m_reportPlanName; }
41 template<typename ReportPlanNameT = Aws::String>
42 void SetReportPlanName(ReportPlanNameT&& value) { m_reportPlanNameHasBeenSet = true; m_reportPlanName = std::forward<ReportPlanNameT>(value); }
43 template<typename ReportPlanNameT = Aws::String>
44 UpdateReportPlanResult& WithReportPlanName(ReportPlanNameT&& value) { SetReportPlanName(std::forward<ReportPlanNameT>(value)); return *this;}
46
48
52 inline const Aws::String& GetReportPlanArn() const { return m_reportPlanArn; }
53 template<typename ReportPlanArnT = Aws::String>
54 void SetReportPlanArn(ReportPlanArnT&& value) { m_reportPlanArnHasBeenSet = true; m_reportPlanArn = std::forward<ReportPlanArnT>(value); }
55 template<typename ReportPlanArnT = Aws::String>
56 UpdateReportPlanResult& WithReportPlanArn(ReportPlanArnT&& value) { SetReportPlanArn(std::forward<ReportPlanArnT>(value)); return *this;}
58
60
66 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
67 template<typename CreationTimeT = Aws::Utils::DateTime>
68 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
69 template<typename CreationTimeT = Aws::Utils::DateTime>
70 UpdateReportPlanResult& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
72
74
75 inline const Aws::String& GetRequestId() const { return m_requestId; }
76 template<typename RequestIdT = Aws::String>
77 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
78 template<typename RequestIdT = Aws::String>
79 UpdateReportPlanResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
81 private:
82
83 Aws::String m_reportPlanName;
84 bool m_reportPlanNameHasBeenSet = false;
85
86 Aws::String m_reportPlanArn;
87 bool m_reportPlanArnHasBeenSet = false;
88
89 Aws::Utils::DateTime m_creationTime{};
90 bool m_creationTimeHasBeenSet = false;
91
92 Aws::String m_requestId;
93 bool m_requestIdHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace Backup
98} // namespace Aws
UpdateReportPlanResult & WithCreationTime(CreationTimeT &&value)
UpdateReportPlanResult & WithReportPlanArn(ReportPlanArnT &&value)
AWS_BACKUP_API UpdateReportPlanResult()=default
AWS_BACKUP_API UpdateReportPlanResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_BACKUP_API UpdateReportPlanResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateReportPlanResult & WithRequestId(RequestIdT &&value)
UpdateReportPlanResult & WithReportPlanName(ReportPlanNameT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue