AWS SDK for C++

AWS SDK for C++ Version 1.11.786

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