AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateReportPlanRequest.h
1
6#pragma once
7#include <aws/backup/Backup_EXPORTS.h>
8#include <aws/backup/BackupRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/backup/model/ReportDeliveryChannel.h>
11#include <aws/backup/model/ReportSetting.h>
12#include <utility>
13#include <aws/core/utils/UUID.h>
14
15namespace Aws
16{
17namespace Backup
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_BACKUP_API UpdateReportPlanRequest() = default;
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "UpdateReportPlan"; }
34
35 AWS_BACKUP_API Aws::String SerializePayload() const override;
36
37
39
44 inline const Aws::String& GetReportPlanName() const { return m_reportPlanName; }
45 inline bool ReportPlanNameHasBeenSet() const { return m_reportPlanNameHasBeenSet; }
46 template<typename ReportPlanNameT = Aws::String>
47 void SetReportPlanName(ReportPlanNameT&& value) { m_reportPlanNameHasBeenSet = true; m_reportPlanName = std::forward<ReportPlanNameT>(value); }
48 template<typename ReportPlanNameT = Aws::String>
49 UpdateReportPlanRequest& WithReportPlanName(ReportPlanNameT&& value) { SetReportPlanName(std::forward<ReportPlanNameT>(value)); return *this;}
51
53
57 inline const Aws::String& GetReportPlanDescription() const { return m_reportPlanDescription; }
58 inline bool ReportPlanDescriptionHasBeenSet() const { return m_reportPlanDescriptionHasBeenSet; }
59 template<typename ReportPlanDescriptionT = Aws::String>
60 void SetReportPlanDescription(ReportPlanDescriptionT&& value) { m_reportPlanDescriptionHasBeenSet = true; m_reportPlanDescription = std::forward<ReportPlanDescriptionT>(value); }
61 template<typename ReportPlanDescriptionT = Aws::String>
62 UpdateReportPlanRequest& WithReportPlanDescription(ReportPlanDescriptionT&& value) { SetReportPlanDescription(std::forward<ReportPlanDescriptionT>(value)); return *this;}
64
66
70 inline const ReportDeliveryChannel& GetReportDeliveryChannel() const { return m_reportDeliveryChannel; }
71 inline bool ReportDeliveryChannelHasBeenSet() const { return m_reportDeliveryChannelHasBeenSet; }
72 template<typename ReportDeliveryChannelT = ReportDeliveryChannel>
73 void SetReportDeliveryChannel(ReportDeliveryChannelT&& value) { m_reportDeliveryChannelHasBeenSet = true; m_reportDeliveryChannel = std::forward<ReportDeliveryChannelT>(value); }
74 template<typename ReportDeliveryChannelT = ReportDeliveryChannel>
75 UpdateReportPlanRequest& WithReportDeliveryChannel(ReportDeliveryChannelT&& value) { SetReportDeliveryChannel(std::forward<ReportDeliveryChannelT>(value)); return *this;}
77
79
88 inline const ReportSetting& GetReportSetting() const { return m_reportSetting; }
89 inline bool ReportSettingHasBeenSet() const { return m_reportSettingHasBeenSet; }
90 template<typename ReportSettingT = ReportSetting>
91 void SetReportSetting(ReportSettingT&& value) { m_reportSettingHasBeenSet = true; m_reportSetting = std::forward<ReportSettingT>(value); }
92 template<typename ReportSettingT = ReportSetting>
93 UpdateReportPlanRequest& WithReportSetting(ReportSettingT&& value) { SetReportSetting(std::forward<ReportSettingT>(value)); return *this;}
95
97
103 inline const Aws::String& GetIdempotencyToken() const { return m_idempotencyToken; }
104 inline bool IdempotencyTokenHasBeenSet() const { return m_idempotencyTokenHasBeenSet; }
105 template<typename IdempotencyTokenT = Aws::String>
106 void SetIdempotencyToken(IdempotencyTokenT&& value) { m_idempotencyTokenHasBeenSet = true; m_idempotencyToken = std::forward<IdempotencyTokenT>(value); }
107 template<typename IdempotencyTokenT = Aws::String>
108 UpdateReportPlanRequest& WithIdempotencyToken(IdempotencyTokenT&& value) { SetIdempotencyToken(std::forward<IdempotencyTokenT>(value)); return *this;}
110 private:
111
112 Aws::String m_reportPlanName;
113 bool m_reportPlanNameHasBeenSet = false;
114
115 Aws::String m_reportPlanDescription;
116 bool m_reportPlanDescriptionHasBeenSet = false;
117
118 ReportDeliveryChannel m_reportDeliveryChannel;
119 bool m_reportDeliveryChannelHasBeenSet = false;
120
121 ReportSetting m_reportSetting;
122 bool m_reportSettingHasBeenSet = false;
123
125 bool m_idempotencyTokenHasBeenSet = true;
126 };
127
128} // namespace Model
129} // namespace Backup
130} // 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