AWS SDK for C++  1.9.44
AWS SDK for C++
UpdateBusinessReportScheduleRequest.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace AlexaForBusiness
17 {
18 namespace Model
19 {
20 
24  {
25  public:
27 
28  // Service request name is the Operation name which will send this request out,
29  // each operation should has unique request name, so that we can get operation's name from this request.
30  // Note: this is not true for response, multiple operations may have the same response name,
31  // so we can not get operation's name from response.
32  inline virtual const char* GetServiceRequestName() const override { return "UpdateBusinessReportSchedule"; }
33 
34  Aws::String SerializePayload() const override;
35 
37 
38 
42  inline const Aws::String& GetScheduleArn() const{ return m_scheduleArn; }
43 
47  inline bool ScheduleArnHasBeenSet() const { return m_scheduleArnHasBeenSet; }
48 
52  inline void SetScheduleArn(const Aws::String& value) { m_scheduleArnHasBeenSet = true; m_scheduleArn = value; }
53 
57  inline void SetScheduleArn(Aws::String&& value) { m_scheduleArnHasBeenSet = true; m_scheduleArn = std::move(value); }
58 
62  inline void SetScheduleArn(const char* value) { m_scheduleArnHasBeenSet = true; m_scheduleArn.assign(value); }
63 
67  inline UpdateBusinessReportScheduleRequest& WithScheduleArn(const Aws::String& value) { SetScheduleArn(value); return *this;}
68 
72  inline UpdateBusinessReportScheduleRequest& WithScheduleArn(Aws::String&& value) { SetScheduleArn(std::move(value)); return *this;}
73 
77  inline UpdateBusinessReportScheduleRequest& WithScheduleArn(const char* value) { SetScheduleArn(value); return *this;}
78 
79 
83  inline const Aws::String& GetS3BucketName() const{ return m_s3BucketName; }
84 
88  inline bool S3BucketNameHasBeenSet() const { return m_s3BucketNameHasBeenSet; }
89 
93  inline void SetS3BucketName(const Aws::String& value) { m_s3BucketNameHasBeenSet = true; m_s3BucketName = value; }
94 
98  inline void SetS3BucketName(Aws::String&& value) { m_s3BucketNameHasBeenSet = true; m_s3BucketName = std::move(value); }
99 
103  inline void SetS3BucketName(const char* value) { m_s3BucketNameHasBeenSet = true; m_s3BucketName.assign(value); }
104 
108  inline UpdateBusinessReportScheduleRequest& WithS3BucketName(const Aws::String& value) { SetS3BucketName(value); return *this;}
109 
113  inline UpdateBusinessReportScheduleRequest& WithS3BucketName(Aws::String&& value) { SetS3BucketName(std::move(value)); return *this;}
114 
118  inline UpdateBusinessReportScheduleRequest& WithS3BucketName(const char* value) { SetS3BucketName(value); return *this;}
119 
120 
124  inline const Aws::String& GetS3KeyPrefix() const{ return m_s3KeyPrefix; }
125 
129  inline bool S3KeyPrefixHasBeenSet() const { return m_s3KeyPrefixHasBeenSet; }
130 
134  inline void SetS3KeyPrefix(const Aws::String& value) { m_s3KeyPrefixHasBeenSet = true; m_s3KeyPrefix = value; }
135 
139  inline void SetS3KeyPrefix(Aws::String&& value) { m_s3KeyPrefixHasBeenSet = true; m_s3KeyPrefix = std::move(value); }
140 
144  inline void SetS3KeyPrefix(const char* value) { m_s3KeyPrefixHasBeenSet = true; m_s3KeyPrefix.assign(value); }
145 
149  inline UpdateBusinessReportScheduleRequest& WithS3KeyPrefix(const Aws::String& value) { SetS3KeyPrefix(value); return *this;}
150 
154  inline UpdateBusinessReportScheduleRequest& WithS3KeyPrefix(Aws::String&& value) { SetS3KeyPrefix(std::move(value)); return *this;}
155 
159  inline UpdateBusinessReportScheduleRequest& WithS3KeyPrefix(const char* value) { SetS3KeyPrefix(value); return *this;}
160 
161 
166  inline const BusinessReportFormat& GetFormat() const{ return m_format; }
167 
172  inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
173 
178  inline void SetFormat(const BusinessReportFormat& value) { m_formatHasBeenSet = true; m_format = value; }
179 
184  inline void SetFormat(BusinessReportFormat&& value) { m_formatHasBeenSet = true; m_format = std::move(value); }
185 
190  inline UpdateBusinessReportScheduleRequest& WithFormat(const BusinessReportFormat& value) { SetFormat(value); return *this;}
191 
196  inline UpdateBusinessReportScheduleRequest& WithFormat(BusinessReportFormat&& value) { SetFormat(std::move(value)); return *this;}
197 
198 
202  inline const Aws::String& GetScheduleName() const{ return m_scheduleName; }
203 
207  inline bool ScheduleNameHasBeenSet() const { return m_scheduleNameHasBeenSet; }
208 
212  inline void SetScheduleName(const Aws::String& value) { m_scheduleNameHasBeenSet = true; m_scheduleName = value; }
213 
217  inline void SetScheduleName(Aws::String&& value) { m_scheduleNameHasBeenSet = true; m_scheduleName = std::move(value); }
218 
222  inline void SetScheduleName(const char* value) { m_scheduleNameHasBeenSet = true; m_scheduleName.assign(value); }
223 
227  inline UpdateBusinessReportScheduleRequest& WithScheduleName(const Aws::String& value) { SetScheduleName(value); return *this;}
228 
232  inline UpdateBusinessReportScheduleRequest& WithScheduleName(Aws::String&& value) { SetScheduleName(std::move(value)); return *this;}
233 
237  inline UpdateBusinessReportScheduleRequest& WithScheduleName(const char* value) { SetScheduleName(value); return *this;}
238 
239 
243  inline const BusinessReportRecurrence& GetRecurrence() const{ return m_recurrence; }
244 
248  inline bool RecurrenceHasBeenSet() const { return m_recurrenceHasBeenSet; }
249 
253  inline void SetRecurrence(const BusinessReportRecurrence& value) { m_recurrenceHasBeenSet = true; m_recurrence = value; }
254 
258  inline void SetRecurrence(BusinessReportRecurrence&& value) { m_recurrenceHasBeenSet = true; m_recurrence = std::move(value); }
259 
263  inline UpdateBusinessReportScheduleRequest& WithRecurrence(const BusinessReportRecurrence& value) { SetRecurrence(value); return *this;}
264 
268  inline UpdateBusinessReportScheduleRequest& WithRecurrence(BusinessReportRecurrence&& value) { SetRecurrence(std::move(value)); return *this;}
269 
270  private:
271 
272  Aws::String m_scheduleArn;
273  bool m_scheduleArnHasBeenSet;
274 
275  Aws::String m_s3BucketName;
276  bool m_s3BucketNameHasBeenSet;
277 
278  Aws::String m_s3KeyPrefix;
279  bool m_s3KeyPrefixHasBeenSet;
280 
281  BusinessReportFormat m_format;
282  bool m_formatHasBeenSet;
283 
284  Aws::String m_scheduleName;
285  bool m_scheduleNameHasBeenSet;
286 
287  BusinessReportRecurrence m_recurrence;
288  bool m_recurrenceHasBeenSet;
289  };
290 
291 } // namespace Model
292 } // namespace AlexaForBusiness
293 } // namespace Aws
Aws::AlexaForBusiness::Model::UpdateBusinessReportScheduleRequest::WithScheduleName
UpdateBusinessReportScheduleRequest & WithScheduleName(const char *value)
Definition: UpdateBusinessReportScheduleRequest.h:237
Aws::AlexaForBusiness::Model::UpdateBusinessReportScheduleRequest::SetScheduleArn
void SetScheduleArn(const Aws::String &value)
Definition: UpdateBusinessReportScheduleRequest.h:52
Aws::AlexaForBusiness::Model::UpdateBusinessReportScheduleRequest::S3KeyPrefixHasBeenSet
bool S3KeyPrefixHasBeenSet() const
Definition: UpdateBusinessReportScheduleRequest.h:129
Aws::AlexaForBusiness::Model::UpdateBusinessReportScheduleRequest::WithFormat
UpdateBusinessReportScheduleRequest & WithFormat(BusinessReportFormat &&value)
Definition: UpdateBusinessReportScheduleRequest.h:196
Aws::AlexaForBusiness::Model::UpdateBusinessReportScheduleRequest::WithScheduleArn
UpdateBusinessReportScheduleRequest & WithScheduleArn(const Aws::String &value)
Definition: UpdateBusinessReportScheduleRequest.h:67
Aws::AlexaForBusiness::Model::UpdateBusinessReportScheduleRequest::WithFormat
UpdateBusinessReportScheduleRequest & WithFormat(const BusinessReportFormat &value)
Definition: UpdateBusinessReportScheduleRequest.h:190
Aws::AlexaForBusiness::Model::UpdateBusinessReportScheduleRequest::WithScheduleArn
UpdateBusinessReportScheduleRequest & WithScheduleArn(const char *value)
Definition: UpdateBusinessReportScheduleRequest.h:77
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::AlexaForBusiness::Model::UpdateBusinessReportScheduleRequest::GetS3BucketName
const Aws::String & GetS3BucketName() const
Definition: UpdateBusinessReportScheduleRequest.h:83
Aws::AlexaForBusiness::Model::UpdateBusinessReportScheduleRequest::FormatHasBeenSet
bool FormatHasBeenSet() const
Definition: UpdateBusinessReportScheduleRequest.h:172
Aws::AlexaForBusiness::Model::UpdateBusinessReportScheduleRequest::WithS3BucketName
UpdateBusinessReportScheduleRequest & WithS3BucketName(Aws::String &&value)
Definition: UpdateBusinessReportScheduleRequest.h:113
Aws::AlexaForBusiness::Model::BusinessReportRecurrence
Definition: BusinessReportRecurrence.h:32
Aws::AlexaForBusiness::Model::UpdateBusinessReportScheduleRequest::SetScheduleArn
void SetScheduleArn(Aws::String &&value)
Definition: UpdateBusinessReportScheduleRequest.h:57
Aws::AlexaForBusiness::Model::UpdateBusinessReportScheduleRequest::SetScheduleArn
void SetScheduleArn(const char *value)
Definition: UpdateBusinessReportScheduleRequest.h:62
Aws::AlexaForBusiness::Model::UpdateBusinessReportScheduleRequest::S3BucketNameHasBeenSet
bool S3BucketNameHasBeenSet() const
Definition: UpdateBusinessReportScheduleRequest.h:88
Aws::AlexaForBusiness::Model::UpdateBusinessReportScheduleRequest::WithScheduleArn
UpdateBusinessReportScheduleRequest & WithScheduleArn(Aws::String &&value)
Definition: UpdateBusinessReportScheduleRequest.h:72
Aws::AlexaForBusiness::Model::UpdateBusinessReportScheduleRequest::WithRecurrence
UpdateBusinessReportScheduleRequest & WithRecurrence(const BusinessReportRecurrence &value)
Definition: UpdateBusinessReportScheduleRequest.h:263
Aws::AlexaForBusiness::Model::UpdateBusinessReportScheduleRequest::RecurrenceHasBeenSet
bool RecurrenceHasBeenSet() const
Definition: UpdateBusinessReportScheduleRequest.h:248
Aws::AlexaForBusiness::Model::UpdateBusinessReportScheduleRequest::SetFormat
void SetFormat(const BusinessReportFormat &value)
Definition: UpdateBusinessReportScheduleRequest.h:178
Aws::AlexaForBusiness::Model::UpdateBusinessReportScheduleRequest::SetScheduleName
void SetScheduleName(const Aws::String &value)
Definition: UpdateBusinessReportScheduleRequest.h:212
Aws::AlexaForBusiness::Model::UpdateBusinessReportScheduleRequest::SetS3BucketName
void SetS3BucketName(Aws::String &&value)
Definition: UpdateBusinessReportScheduleRequest.h:98
Aws::AlexaForBusiness::Model::UpdateBusinessReportScheduleRequest::GetFormat
const BusinessReportFormat & GetFormat() const
Definition: UpdateBusinessReportScheduleRequest.h:166
Aws::AlexaForBusiness::Model::UpdateBusinessReportScheduleRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateBusinessReportScheduleRequest.h:32
Aws::AlexaForBusiness::Model::UpdateBusinessReportScheduleRequest::SetFormat
void SetFormat(BusinessReportFormat &&value)
Definition: UpdateBusinessReportScheduleRequest.h:184
Aws::AlexaForBusiness::Model::UpdateBusinessReportScheduleRequest::SetS3BucketName
void SetS3BucketName(const Aws::String &value)
Definition: UpdateBusinessReportScheduleRequest.h:93
Aws::AlexaForBusiness::Model::BusinessReportFormat
BusinessReportFormat
Definition: BusinessReportFormat.h:17
Aws::AlexaForBusiness::Model::UpdateBusinessReportScheduleRequest::SetScheduleName
void SetScheduleName(Aws::String &&value)
Definition: UpdateBusinessReportScheduleRequest.h:217
AWS_ALEXAFORBUSINESS_API
#define AWS_ALEXAFORBUSINESS_API
Definition: AlexaForBusiness_EXPORTS.h:28
Aws::AlexaForBusiness::Model::UpdateBusinessReportScheduleRequest::SetS3KeyPrefix
void SetS3KeyPrefix(Aws::String &&value)
Definition: UpdateBusinessReportScheduleRequest.h:139
Aws::AlexaForBusiness::Model::UpdateBusinessReportScheduleRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWSString.h
Aws::AlexaForBusiness::Model::UpdateBusinessReportScheduleRequest::WithScheduleName
UpdateBusinessReportScheduleRequest & WithScheduleName(const Aws::String &value)
Definition: UpdateBusinessReportScheduleRequest.h:227
Aws::AlexaForBusiness::Model::UpdateBusinessReportScheduleRequest::WithS3BucketName
UpdateBusinessReportScheduleRequest & WithS3BucketName(const Aws::String &value)
Definition: UpdateBusinessReportScheduleRequest.h:108
Aws::AlexaForBusiness::Model::UpdateBusinessReportScheduleRequest::WithS3KeyPrefix
UpdateBusinessReportScheduleRequest & WithS3KeyPrefix(const Aws::String &value)
Definition: UpdateBusinessReportScheduleRequest.h:149
AlexaForBusiness_EXPORTS.h
Aws::AlexaForBusiness::Model::UpdateBusinessReportScheduleRequest::SetS3KeyPrefix
void SetS3KeyPrefix(const Aws::String &value)
Definition: UpdateBusinessReportScheduleRequest.h:134
Aws::AlexaForBusiness::Model::UpdateBusinessReportScheduleRequest::ScheduleNameHasBeenSet
bool ScheduleNameHasBeenSet() const
Definition: UpdateBusinessReportScheduleRequest.h:207
BusinessReportRecurrence.h
Aws::AlexaForBusiness::Model::UpdateBusinessReportScheduleRequest::SetS3KeyPrefix
void SetS3KeyPrefix(const char *value)
Definition: UpdateBusinessReportScheduleRequest.h:144
Aws
Definition: AccessManagementClient.h:15
Aws::AlexaForBusiness::Model::UpdateBusinessReportScheduleRequest::GetS3KeyPrefix
const Aws::String & GetS3KeyPrefix() const
Definition: UpdateBusinessReportScheduleRequest.h:124
Aws::AlexaForBusiness::Model::UpdateBusinessReportScheduleRequest::GetScheduleArn
const Aws::String & GetScheduleArn() const
Definition: UpdateBusinessReportScheduleRequest.h:42
Aws::AlexaForBusiness::Model::UpdateBusinessReportScheduleRequest::WithS3KeyPrefix
UpdateBusinessReportScheduleRequest & WithS3KeyPrefix(const char *value)
Definition: UpdateBusinessReportScheduleRequest.h:159
Aws::AlexaForBusiness::AlexaForBusinessRequest
Definition: AlexaForBusinessRequest.h:17
Aws::AlexaForBusiness::Model::UpdateBusinessReportScheduleRequest::WithRecurrence
UpdateBusinessReportScheduleRequest & WithRecurrence(BusinessReportRecurrence &&value)
Definition: UpdateBusinessReportScheduleRequest.h:268
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::AlexaForBusiness::Model::UpdateBusinessReportScheduleRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::AlexaForBusiness::Model::UpdateBusinessReportScheduleRequest::SetRecurrence
void SetRecurrence(const BusinessReportRecurrence &value)
Definition: UpdateBusinessReportScheduleRequest.h:253
Aws::AlexaForBusiness::Model::UpdateBusinessReportScheduleRequest::UpdateBusinessReportScheduleRequest
UpdateBusinessReportScheduleRequest()
Aws::AlexaForBusiness::Model::UpdateBusinessReportScheduleRequest::WithS3KeyPrefix
UpdateBusinessReportScheduleRequest & WithS3KeyPrefix(Aws::String &&value)
Definition: UpdateBusinessReportScheduleRequest.h:154
Aws::AlexaForBusiness::Model::UpdateBusinessReportScheduleRequest::SetRecurrence
void SetRecurrence(BusinessReportRecurrence &&value)
Definition: UpdateBusinessReportScheduleRequest.h:258
Aws::AlexaForBusiness::Model::UpdateBusinessReportScheduleRequest::ScheduleArnHasBeenSet
bool ScheduleArnHasBeenSet() const
Definition: UpdateBusinessReportScheduleRequest.h:47
Aws::AlexaForBusiness::Model::UpdateBusinessReportScheduleRequest::SetS3BucketName
void SetS3BucketName(const char *value)
Definition: UpdateBusinessReportScheduleRequest.h:103
Aws::AlexaForBusiness::Model::UpdateBusinessReportScheduleRequest::GetRecurrence
const BusinessReportRecurrence & GetRecurrence() const
Definition: UpdateBusinessReportScheduleRequest.h:243
Aws::AlexaForBusiness::Model::UpdateBusinessReportScheduleRequest::GetScheduleName
const Aws::String & GetScheduleName() const
Definition: UpdateBusinessReportScheduleRequest.h:202
BusinessReportFormat.h
Aws::AlexaForBusiness::Model::UpdateBusinessReportScheduleRequest::WithScheduleName
UpdateBusinessReportScheduleRequest & WithScheduleName(Aws::String &&value)
Definition: UpdateBusinessReportScheduleRequest.h:232
Aws::AlexaForBusiness::Model::UpdateBusinessReportScheduleRequest::SetScheduleName
void SetScheduleName(const char *value)
Definition: UpdateBusinessReportScheduleRequest.h:222
AlexaForBusinessRequest.h
Aws::AlexaForBusiness::Model::UpdateBusinessReportScheduleRequest::WithS3BucketName
UpdateBusinessReportScheduleRequest & WithS3BucketName(const char *value)
Definition: UpdateBusinessReportScheduleRequest.h:118
Aws::AlexaForBusiness::Model::UpdateBusinessReportScheduleRequest
Definition: UpdateBusinessReportScheduleRequest.h:24