AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StartReportJobRequest.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 <utility>
11#include <aws/core/utils/UUID.h>
12
13namespace Aws
14{
15namespace Backup
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_BACKUP_API StartReportJobRequest();
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "StartReportJob"; }
32
33 AWS_BACKUP_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetReportPlanName() const{ return m_reportPlanName; }
41 inline bool ReportPlanNameHasBeenSet() const { return m_reportPlanNameHasBeenSet; }
42 inline void SetReportPlanName(const Aws::String& value) { m_reportPlanNameHasBeenSet = true; m_reportPlanName = value; }
43 inline void SetReportPlanName(Aws::String&& value) { m_reportPlanNameHasBeenSet = true; m_reportPlanName = std::move(value); }
44 inline void SetReportPlanName(const char* value) { m_reportPlanNameHasBeenSet = true; m_reportPlanName.assign(value); }
45 inline StartReportJobRequest& WithReportPlanName(const Aws::String& value) { SetReportPlanName(value); return *this;}
46 inline StartReportJobRequest& WithReportPlanName(Aws::String&& value) { SetReportPlanName(std::move(value)); return *this;}
47 inline StartReportJobRequest& WithReportPlanName(const char* value) { SetReportPlanName(value); return *this;}
49
51
57 inline const Aws::String& GetIdempotencyToken() const{ return m_idempotencyToken; }
58 inline bool IdempotencyTokenHasBeenSet() const { return m_idempotencyTokenHasBeenSet; }
59 inline void SetIdempotencyToken(const Aws::String& value) { m_idempotencyTokenHasBeenSet = true; m_idempotencyToken = value; }
60 inline void SetIdempotencyToken(Aws::String&& value) { m_idempotencyTokenHasBeenSet = true; m_idempotencyToken = std::move(value); }
61 inline void SetIdempotencyToken(const char* value) { m_idempotencyTokenHasBeenSet = true; m_idempotencyToken.assign(value); }
62 inline StartReportJobRequest& WithIdempotencyToken(const Aws::String& value) { SetIdempotencyToken(value); return *this;}
63 inline StartReportJobRequest& WithIdempotencyToken(Aws::String&& value) { SetIdempotencyToken(std::move(value)); return *this;}
64 inline StartReportJobRequest& WithIdempotencyToken(const char* value) { SetIdempotencyToken(value); return *this;}
66 private:
67
68 Aws::String m_reportPlanName;
69 bool m_reportPlanNameHasBeenSet = false;
70
71 Aws::String m_idempotencyToken;
72 bool m_idempotencyTokenHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace Backup
77} // namespace Aws
StartReportJobRequest & WithReportPlanName(const char *value)
StartReportJobRequest & WithIdempotencyToken(const char *value)
StartReportJobRequest & WithIdempotencyToken(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
StartReportJobRequest & WithReportPlanName(const Aws::String &value)
void SetIdempotencyToken(const Aws::String &value)
AWS_BACKUP_API Aws::String SerializePayload() const override
StartReportJobRequest & WithIdempotencyToken(const Aws::String &value)
StartReportJobRequest & WithReportPlanName(Aws::String &&value)
void SetReportPlanName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String