AWS SDK for C++

AWS SDK for C++ Version 1.11.756

Loading...
Searching...
No Matches
CreateReportPlanResult.h
1
6#pragma once
7#include <aws/backup/Backup_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace Backup {
23namespace Model {
25 public:
26 AWS_BACKUP_API CreateReportPlanResult() = default;
29
31
34 inline const Aws::String& GetReportPlanName() const { return m_reportPlanName; }
35 template <typename ReportPlanNameT = Aws::String>
36 void SetReportPlanName(ReportPlanNameT&& value) {
37 m_reportPlanNameHasBeenSet = true;
38 m_reportPlanName = std::forward<ReportPlanNameT>(value);
39 }
40 template <typename ReportPlanNameT = Aws::String>
41 CreateReportPlanResult& WithReportPlanName(ReportPlanNameT&& value) {
42 SetReportPlanName(std::forward<ReportPlanNameT>(value));
43 return *this;
44 }
46
48
52 inline const Aws::String& GetReportPlanArn() const { return m_reportPlanArn; }
53 template <typename ReportPlanArnT = Aws::String>
54 void SetReportPlanArn(ReportPlanArnT&& value) {
55 m_reportPlanArnHasBeenSet = true;
56 m_reportPlanArn = std::forward<ReportPlanArnT>(value);
57 }
58 template <typename ReportPlanArnT = Aws::String>
59 CreateReportPlanResult& WithReportPlanArn(ReportPlanArnT&& value) {
60 SetReportPlanArn(std::forward<ReportPlanArnT>(value));
61 return *this;
62 }
64
66
72 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
73 template <typename CreationTimeT = Aws::Utils::DateTime>
74 void SetCreationTime(CreationTimeT&& value) {
75 m_creationTimeHasBeenSet = true;
76 m_creationTime = std::forward<CreationTimeT>(value);
77 }
78 template <typename CreationTimeT = Aws::Utils::DateTime>
79 CreateReportPlanResult& WithCreationTime(CreationTimeT&& value) {
80 SetCreationTime(std::forward<CreationTimeT>(value));
81 return *this;
82 }
84
86
87 inline const Aws::String& GetRequestId() const { return m_requestId; }
88 template <typename RequestIdT = Aws::String>
89 void SetRequestId(RequestIdT&& value) {
90 m_requestIdHasBeenSet = true;
91 m_requestId = std::forward<RequestIdT>(value);
92 }
93 template <typename RequestIdT = Aws::String>
95 SetRequestId(std::forward<RequestIdT>(value));
96 return *this;
97 }
99 private:
100 Aws::String m_reportPlanName;
101
102 Aws::String m_reportPlanArn;
103
104 Aws::Utils::DateTime m_creationTime{};
105
106 Aws::String m_requestId;
107 bool m_reportPlanNameHasBeenSet = false;
108 bool m_reportPlanArnHasBeenSet = false;
109 bool m_creationTimeHasBeenSet = false;
110 bool m_requestIdHasBeenSet = false;
111};
112
113} // namespace Model
114} // namespace Backup
115} // namespace Aws
CreateReportPlanResult & WithReportPlanName(ReportPlanNameT &&value)
AWS_BACKUP_API CreateReportPlanResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Utils::DateTime & GetCreationTime() const
CreateReportPlanResult & WithRequestId(RequestIdT &&value)
AWS_BACKUP_API CreateReportPlanResult()=default
CreateReportPlanResult & WithCreationTime(CreationTimeT &&value)
CreateReportPlanResult & WithReportPlanArn(ReportPlanArnT &&value)
AWS_BACKUP_API CreateReportPlanResult & operator=(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