AWS SDK for C++

AWS SDK for C++ Version 1.11.754

Loading...
Searching...
No Matches
UpdateReportPlanRequest.h
1
6#pragma once
7#include <aws/backup/BackupRequest.h>
8#include <aws/backup/Backup_EXPORTS.h>
9#include <aws/backup/model/ReportDeliveryChannel.h>
10#include <aws/backup/model/ReportSetting.h>
11#include <aws/core/utils/UUID.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Backup {
18namespace Model {
19
23 public:
24 AWS_BACKUP_API UpdateReportPlanRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "UpdateReportPlan"; }
31
32 AWS_BACKUP_API Aws::String SerializePayload() const override;
33
35
40 inline const Aws::String& GetReportPlanName() const { return m_reportPlanName; }
41 inline bool ReportPlanNameHasBeenSet() const { return m_reportPlanNameHasBeenSet; }
42 template <typename ReportPlanNameT = Aws::String>
43 void SetReportPlanName(ReportPlanNameT&& value) {
44 m_reportPlanNameHasBeenSet = true;
45 m_reportPlanName = std::forward<ReportPlanNameT>(value);
46 }
47 template <typename ReportPlanNameT = Aws::String>
48 UpdateReportPlanRequest& WithReportPlanName(ReportPlanNameT&& value) {
49 SetReportPlanName(std::forward<ReportPlanNameT>(value));
50 return *this;
51 }
53
55
59 inline const Aws::String& GetReportPlanDescription() const { return m_reportPlanDescription; }
60 inline bool ReportPlanDescriptionHasBeenSet() const { return m_reportPlanDescriptionHasBeenSet; }
61 template <typename ReportPlanDescriptionT = Aws::String>
62 void SetReportPlanDescription(ReportPlanDescriptionT&& value) {
63 m_reportPlanDescriptionHasBeenSet = true;
64 m_reportPlanDescription = std::forward<ReportPlanDescriptionT>(value);
65 }
66 template <typename ReportPlanDescriptionT = Aws::String>
67 UpdateReportPlanRequest& WithReportPlanDescription(ReportPlanDescriptionT&& value) {
68 SetReportPlanDescription(std::forward<ReportPlanDescriptionT>(value));
69 return *this;
70 }
72
74
78 inline const ReportDeliveryChannel& GetReportDeliveryChannel() const { return m_reportDeliveryChannel; }
79 inline bool ReportDeliveryChannelHasBeenSet() const { return m_reportDeliveryChannelHasBeenSet; }
80 template <typename ReportDeliveryChannelT = ReportDeliveryChannel>
81 void SetReportDeliveryChannel(ReportDeliveryChannelT&& value) {
82 m_reportDeliveryChannelHasBeenSet = true;
83 m_reportDeliveryChannel = std::forward<ReportDeliveryChannelT>(value);
84 }
85 template <typename ReportDeliveryChannelT = ReportDeliveryChannel>
86 UpdateReportPlanRequest& WithReportDeliveryChannel(ReportDeliveryChannelT&& value) {
87 SetReportDeliveryChannel(std::forward<ReportDeliveryChannelT>(value));
88 return *this;
89 }
91
93
102 inline const ReportSetting& GetReportSetting() const { return m_reportSetting; }
103 inline bool ReportSettingHasBeenSet() const { return m_reportSettingHasBeenSet; }
104 template <typename ReportSettingT = ReportSetting>
105 void SetReportSetting(ReportSettingT&& value) {
106 m_reportSettingHasBeenSet = true;
107 m_reportSetting = std::forward<ReportSettingT>(value);
108 }
109 template <typename ReportSettingT = ReportSetting>
111 SetReportSetting(std::forward<ReportSettingT>(value));
112 return *this;
113 }
115
117
123 inline const Aws::String& GetIdempotencyToken() const { return m_idempotencyToken; }
124 inline bool IdempotencyTokenHasBeenSet() const { return m_idempotencyTokenHasBeenSet; }
125 template <typename IdempotencyTokenT = Aws::String>
126 void SetIdempotencyToken(IdempotencyTokenT&& value) {
127 m_idempotencyTokenHasBeenSet = true;
128 m_idempotencyToken = std::forward<IdempotencyTokenT>(value);
129 }
130 template <typename IdempotencyTokenT = Aws::String>
131 UpdateReportPlanRequest& WithIdempotencyToken(IdempotencyTokenT&& value) {
132 SetIdempotencyToken(std::forward<IdempotencyTokenT>(value));
133 return *this;
134 }
136 private:
137 Aws::String m_reportPlanName;
138
139 Aws::String m_reportPlanDescription;
140
141 ReportDeliveryChannel m_reportDeliveryChannel;
142
143 ReportSetting m_reportSetting;
144
146 bool m_reportPlanNameHasBeenSet = false;
147 bool m_reportPlanDescriptionHasBeenSet = false;
148 bool m_reportDeliveryChannelHasBeenSet = false;
149 bool m_reportSettingHasBeenSet = false;
150 bool m_idempotencyTokenHasBeenSet = true;
151};
152
153} // namespace Model
154} // namespace Backup
155} // namespace Aws
void SetIdempotencyToken(IdempotencyTokenT &&value)
UpdateReportPlanRequest & WithReportSetting(ReportSettingT &&value)
void SetReportDeliveryChannel(ReportDeliveryChannelT &&value)
void SetReportPlanDescription(ReportPlanDescriptionT &&value)
AWS_BACKUP_API Aws::String SerializePayload() const override
UpdateReportPlanRequest & WithReportPlanName(ReportPlanNameT &&value)
UpdateReportPlanRequest & WithReportDeliveryChannel(ReportDeliveryChannelT &&value)
AWS_BACKUP_API UpdateReportPlanRequest()=default
virtual const char * GetServiceRequestName() const override
const ReportDeliveryChannel & GetReportDeliveryChannel() const
UpdateReportPlanRequest & WithIdempotencyToken(IdempotencyTokenT &&value)
UpdateReportPlanRequest & WithReportPlanDescription(ReportPlanDescriptionT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String