AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetReportPlanName(const Aws::String& value) { m_reportPlanNameHasBeenSet = true; m_reportPlanName = value; }
47 inline void SetReportPlanName(Aws::String&& value) { m_reportPlanNameHasBeenSet = true; m_reportPlanName = std::move(value); }
48 inline void SetReportPlanName(const char* value) { m_reportPlanNameHasBeenSet = true; m_reportPlanName.assign(value); }
49 inline UpdateReportPlanRequest& WithReportPlanName(const Aws::String& value) { SetReportPlanName(value); return *this;}
50 inline UpdateReportPlanRequest& WithReportPlanName(Aws::String&& value) { SetReportPlanName(std::move(value)); return *this;}
51 inline UpdateReportPlanRequest& WithReportPlanName(const char* value) { SetReportPlanName(value); return *this;}
53
55
59 inline const Aws::String& GetReportPlanDescription() const{ return m_reportPlanDescription; }
60 inline bool ReportPlanDescriptionHasBeenSet() const { return m_reportPlanDescriptionHasBeenSet; }
61 inline void SetReportPlanDescription(const Aws::String& value) { m_reportPlanDescriptionHasBeenSet = true; m_reportPlanDescription = value; }
62 inline void SetReportPlanDescription(Aws::String&& value) { m_reportPlanDescriptionHasBeenSet = true; m_reportPlanDescription = std::move(value); }
63 inline void SetReportPlanDescription(const char* value) { m_reportPlanDescriptionHasBeenSet = true; m_reportPlanDescription.assign(value); }
66 inline UpdateReportPlanRequest& WithReportPlanDescription(const char* value) { SetReportPlanDescription(value); return *this;}
68
70
74 inline const ReportDeliveryChannel& GetReportDeliveryChannel() const{ return m_reportDeliveryChannel; }
75 inline bool ReportDeliveryChannelHasBeenSet() const { return m_reportDeliveryChannelHasBeenSet; }
76 inline void SetReportDeliveryChannel(const ReportDeliveryChannel& value) { m_reportDeliveryChannelHasBeenSet = true; m_reportDeliveryChannel = value; }
77 inline void SetReportDeliveryChannel(ReportDeliveryChannel&& value) { m_reportDeliveryChannelHasBeenSet = true; m_reportDeliveryChannel = std::move(value); }
81
83
92 inline const ReportSetting& GetReportSetting() const{ return m_reportSetting; }
93 inline bool ReportSettingHasBeenSet() const { return m_reportSettingHasBeenSet; }
94 inline void SetReportSetting(const ReportSetting& value) { m_reportSettingHasBeenSet = true; m_reportSetting = value; }
95 inline void SetReportSetting(ReportSetting&& value) { m_reportSettingHasBeenSet = true; m_reportSetting = std::move(value); }
96 inline UpdateReportPlanRequest& WithReportSetting(const ReportSetting& value) { SetReportSetting(value); return *this;}
97 inline UpdateReportPlanRequest& WithReportSetting(ReportSetting&& value) { SetReportSetting(std::move(value)); return *this;}
99
101
107 inline const Aws::String& GetIdempotencyToken() const{ return m_idempotencyToken; }
108 inline bool IdempotencyTokenHasBeenSet() const { return m_idempotencyTokenHasBeenSet; }
109 inline void SetIdempotencyToken(const Aws::String& value) { m_idempotencyTokenHasBeenSet = true; m_idempotencyToken = value; }
110 inline void SetIdempotencyToken(Aws::String&& value) { m_idempotencyTokenHasBeenSet = true; m_idempotencyToken = std::move(value); }
111 inline void SetIdempotencyToken(const char* value) { m_idempotencyTokenHasBeenSet = true; m_idempotencyToken.assign(value); }
113 inline UpdateReportPlanRequest& WithIdempotencyToken(Aws::String&& value) { SetIdempotencyToken(std::move(value)); return *this;}
114 inline UpdateReportPlanRequest& WithIdempotencyToken(const char* value) { SetIdempotencyToken(value); return *this;}
116 private:
117
118 Aws::String m_reportPlanName;
119 bool m_reportPlanNameHasBeenSet = false;
120
121 Aws::String m_reportPlanDescription;
122 bool m_reportPlanDescriptionHasBeenSet = false;
123
124 ReportDeliveryChannel m_reportDeliveryChannel;
125 bool m_reportDeliveryChannelHasBeenSet = false;
126
127 ReportSetting m_reportSetting;
128 bool m_reportSettingHasBeenSet = false;
129
130 Aws::String m_idempotencyToken;
131 bool m_idempotencyTokenHasBeenSet = false;
132 };
133
134} // namespace Model
135} // namespace Backup
136} // namespace Aws
UpdateReportPlanRequest & WithReportPlanDescription(const Aws::String &value)
UpdateReportPlanRequest & WithReportSetting(const ReportSetting &value)
void SetReportDeliveryChannel(ReportDeliveryChannel &&value)
UpdateReportPlanRequest & WithReportSetting(ReportSetting &&value)
UpdateReportPlanRequest & WithReportDeliveryChannel(ReportDeliveryChannel &&value)
UpdateReportPlanRequest & WithReportPlanName(const char *value)
UpdateReportPlanRequest & WithIdempotencyToken(Aws::String &&value)
UpdateReportPlanRequest & WithReportPlanDescription(Aws::String &&value)
void SetReportDeliveryChannel(const ReportDeliveryChannel &value)
AWS_BACKUP_API Aws::String SerializePayload() const override
void SetReportPlanDescription(const Aws::String &value)
UpdateReportPlanRequest & WithReportDeliveryChannel(const ReportDeliveryChannel &value)
UpdateReportPlanRequest & WithReportPlanDescription(const char *value)
UpdateReportPlanRequest & WithIdempotencyToken(const char *value)
virtual const char * GetServiceRequestName() const override
const ReportDeliveryChannel & GetReportDeliveryChannel() const
UpdateReportPlanRequest & WithReportPlanName(const Aws::String &value)
void SetReportSetting(const ReportSetting &value)
UpdateReportPlanRequest & WithReportPlanName(Aws::String &&value)
UpdateReportPlanRequest & WithIdempotencyToken(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String