AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateReportPlanRequest.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 <aws/core/utils/memory/stl/AWSMap.h>
13#include <utility>
14#include <aws/core/utils/UUID.h>
15
16namespace Aws
17{
18namespace Backup
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_BACKUP_API CreateReportPlanRequest();
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "CreateReportPlan"; }
35
36 AWS_BACKUP_API Aws::String SerializePayload() const override;
37
38
40
45 inline const Aws::String& GetReportPlanName() const{ return m_reportPlanName; }
46 inline bool ReportPlanNameHasBeenSet() const { return m_reportPlanNameHasBeenSet; }
47 inline void SetReportPlanName(const Aws::String& value) { m_reportPlanNameHasBeenSet = true; m_reportPlanName = value; }
48 inline void SetReportPlanName(Aws::String&& value) { m_reportPlanNameHasBeenSet = true; m_reportPlanName = std::move(value); }
49 inline void SetReportPlanName(const char* value) { m_reportPlanNameHasBeenSet = true; m_reportPlanName.assign(value); }
50 inline CreateReportPlanRequest& WithReportPlanName(const Aws::String& value) { SetReportPlanName(value); return *this;}
51 inline CreateReportPlanRequest& WithReportPlanName(Aws::String&& value) { SetReportPlanName(std::move(value)); return *this;}
52 inline CreateReportPlanRequest& WithReportPlanName(const char* value) { SetReportPlanName(value); return *this;}
54
56
60 inline const Aws::String& GetReportPlanDescription() const{ return m_reportPlanDescription; }
61 inline bool ReportPlanDescriptionHasBeenSet() const { return m_reportPlanDescriptionHasBeenSet; }
62 inline void SetReportPlanDescription(const Aws::String& value) { m_reportPlanDescriptionHasBeenSet = true; m_reportPlanDescription = value; }
63 inline void SetReportPlanDescription(Aws::String&& value) { m_reportPlanDescriptionHasBeenSet = true; m_reportPlanDescription = std::move(value); }
64 inline void SetReportPlanDescription(const char* value) { m_reportPlanDescriptionHasBeenSet = true; m_reportPlanDescription.assign(value); }
67 inline CreateReportPlanRequest& WithReportPlanDescription(const char* value) { SetReportPlanDescription(value); return *this;}
69
71
76 inline const ReportDeliveryChannel& GetReportDeliveryChannel() const{ return m_reportDeliveryChannel; }
77 inline bool ReportDeliveryChannelHasBeenSet() const { return m_reportDeliveryChannelHasBeenSet; }
78 inline void SetReportDeliveryChannel(const ReportDeliveryChannel& value) { m_reportDeliveryChannelHasBeenSet = true; m_reportDeliveryChannel = value; }
79 inline void SetReportDeliveryChannel(ReportDeliveryChannel&& value) { m_reportDeliveryChannelHasBeenSet = true; m_reportDeliveryChannel = std::move(value); }
83
85
94 inline const ReportSetting& GetReportSetting() const{ return m_reportSetting; }
95 inline bool ReportSettingHasBeenSet() const { return m_reportSettingHasBeenSet; }
96 inline void SetReportSetting(const ReportSetting& value) { m_reportSettingHasBeenSet = true; m_reportSetting = value; }
97 inline void SetReportSetting(ReportSetting&& value) { m_reportSettingHasBeenSet = true; m_reportSetting = std::move(value); }
98 inline CreateReportPlanRequest& WithReportSetting(const ReportSetting& value) { SetReportSetting(value); return *this;}
99 inline CreateReportPlanRequest& WithReportSetting(ReportSetting&& value) { SetReportSetting(std::move(value)); return *this;}
101
103
106 inline const Aws::Map<Aws::String, Aws::String>& GetReportPlanTags() const{ return m_reportPlanTags; }
107 inline bool ReportPlanTagsHasBeenSet() const { return m_reportPlanTagsHasBeenSet; }
108 inline void SetReportPlanTags(const Aws::Map<Aws::String, Aws::String>& value) { m_reportPlanTagsHasBeenSet = true; m_reportPlanTags = value; }
109 inline void SetReportPlanTags(Aws::Map<Aws::String, Aws::String>&& value) { m_reportPlanTagsHasBeenSet = true; m_reportPlanTags = std::move(value); }
112 inline CreateReportPlanRequest& AddReportPlanTags(const Aws::String& key, const Aws::String& value) { m_reportPlanTagsHasBeenSet = true; m_reportPlanTags.emplace(key, value); return *this; }
113 inline CreateReportPlanRequest& AddReportPlanTags(Aws::String&& key, const Aws::String& value) { m_reportPlanTagsHasBeenSet = true; m_reportPlanTags.emplace(std::move(key), value); return *this; }
114 inline CreateReportPlanRequest& AddReportPlanTags(const Aws::String& key, Aws::String&& value) { m_reportPlanTagsHasBeenSet = true; m_reportPlanTags.emplace(key, std::move(value)); return *this; }
115 inline CreateReportPlanRequest& AddReportPlanTags(Aws::String&& key, Aws::String&& value) { m_reportPlanTagsHasBeenSet = true; m_reportPlanTags.emplace(std::move(key), std::move(value)); return *this; }
116 inline CreateReportPlanRequest& AddReportPlanTags(const char* key, Aws::String&& value) { m_reportPlanTagsHasBeenSet = true; m_reportPlanTags.emplace(key, std::move(value)); return *this; }
117 inline CreateReportPlanRequest& AddReportPlanTags(Aws::String&& key, const char* value) { m_reportPlanTagsHasBeenSet = true; m_reportPlanTags.emplace(std::move(key), value); return *this; }
118 inline CreateReportPlanRequest& AddReportPlanTags(const char* key, const char* value) { m_reportPlanTagsHasBeenSet = true; m_reportPlanTags.emplace(key, value); return *this; }
120
122
128 inline const Aws::String& GetIdempotencyToken() const{ return m_idempotencyToken; }
129 inline bool IdempotencyTokenHasBeenSet() const { return m_idempotencyTokenHasBeenSet; }
130 inline void SetIdempotencyToken(const Aws::String& value) { m_idempotencyTokenHasBeenSet = true; m_idempotencyToken = value; }
131 inline void SetIdempotencyToken(Aws::String&& value) { m_idempotencyTokenHasBeenSet = true; m_idempotencyToken = std::move(value); }
132 inline void SetIdempotencyToken(const char* value) { m_idempotencyTokenHasBeenSet = true; m_idempotencyToken.assign(value); }
134 inline CreateReportPlanRequest& WithIdempotencyToken(Aws::String&& value) { SetIdempotencyToken(std::move(value)); return *this;}
135 inline CreateReportPlanRequest& WithIdempotencyToken(const char* value) { SetIdempotencyToken(value); return *this;}
137 private:
138
139 Aws::String m_reportPlanName;
140 bool m_reportPlanNameHasBeenSet = false;
141
142 Aws::String m_reportPlanDescription;
143 bool m_reportPlanDescriptionHasBeenSet = false;
144
145 ReportDeliveryChannel m_reportDeliveryChannel;
146 bool m_reportDeliveryChannelHasBeenSet = false;
147
148 ReportSetting m_reportSetting;
149 bool m_reportSettingHasBeenSet = false;
150
151 Aws::Map<Aws::String, Aws::String> m_reportPlanTags;
152 bool m_reportPlanTagsHasBeenSet = false;
153
154 Aws::String m_idempotencyToken;
155 bool m_idempotencyTokenHasBeenSet = false;
156 };
157
158} // namespace Model
159} // namespace Backup
160} // namespace Aws
CreateReportPlanRequest & WithReportPlanName(Aws::String &&value)
CreateReportPlanRequest & WithIdempotencyToken(Aws::String &&value)
CreateReportPlanRequest & WithIdempotencyToken(const char *value)
const Aws::Map< Aws::String, Aws::String > & GetReportPlanTags() const
CreateReportPlanRequest & WithReportDeliveryChannel(const ReportDeliveryChannel &value)
AWS_BACKUP_API Aws::String SerializePayload() const override
void SetReportPlanTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateReportPlanRequest & AddReportPlanTags(Aws::String &&key, const Aws::String &value)
void SetReportDeliveryChannel(ReportDeliveryChannel &&value)
CreateReportPlanRequest & WithReportPlanName(const char *value)
CreateReportPlanRequest & WithReportSetting(const ReportSetting &value)
CreateReportPlanRequest & WithReportPlanTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateReportPlanRequest & WithReportPlanDescription(const Aws::String &value)
CreateReportPlanRequest & AddReportPlanTags(const char *key, Aws::String &&value)
CreateReportPlanRequest & AddReportPlanTags(Aws::String &&key, Aws::String &&value)
CreateReportPlanRequest & WithReportPlanDescription(Aws::String &&value)
void SetReportDeliveryChannel(const ReportDeliveryChannel &value)
virtual const char * GetServiceRequestName() const override
CreateReportPlanRequest & WithReportPlanTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateReportPlanRequest & WithReportSetting(ReportSetting &&value)
CreateReportPlanRequest & WithReportPlanDescription(const char *value)
CreateReportPlanRequest & WithIdempotencyToken(const Aws::String &value)
CreateReportPlanRequest & AddReportPlanTags(const Aws::String &key, Aws::String &&value)
void SetReportPlanDescription(const Aws::String &value)
void SetReportPlanTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateReportPlanRequest & AddReportPlanTags(const Aws::String &key, const Aws::String &value)
const ReportDeliveryChannel & GetReportDeliveryChannel() const
CreateReportPlanRequest & AddReportPlanTags(const char *key, const char *value)
CreateReportPlanRequest & WithReportDeliveryChannel(ReportDeliveryChannel &&value)
void SetReportSetting(const ReportSetting &value)
CreateReportPlanRequest & WithReportPlanName(const Aws::String &value)
CreateReportPlanRequest & AddReportPlanTags(Aws::String &&key, const char *value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String