AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ExportJournalToS3Request.h
1
6#pragma once
7#include <aws/qldb/QLDB_EXPORTS.h>
8#include <aws/qldb/QLDBRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/qldb/model/S3ExportConfiguration.h>
12#include <aws/qldb/model/OutputFormat.h>
13#include <utility>
14
15namespace Aws
16{
17namespace QLDB
18{
19namespace Model
20{
21
25 {
26 public:
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 "ExportJournalToS3"; }
34
35 AWS_QLDB_API Aws::String SerializePayload() const override;
36
37
39
42 inline const Aws::String& GetName() const{ return m_name; }
43 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
44 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
45 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
46 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
47 inline ExportJournalToS3Request& WithName(const Aws::String& value) { SetName(value); return *this;}
48 inline ExportJournalToS3Request& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
49 inline ExportJournalToS3Request& WithName(const char* value) { SetName(value); return *this;}
51
53
64 inline const Aws::Utils::DateTime& GetInclusiveStartTime() const{ return m_inclusiveStartTime; }
65 inline bool InclusiveStartTimeHasBeenSet() const { return m_inclusiveStartTimeHasBeenSet; }
66 inline void SetInclusiveStartTime(const Aws::Utils::DateTime& value) { m_inclusiveStartTimeHasBeenSet = true; m_inclusiveStartTime = value; }
67 inline void SetInclusiveStartTime(Aws::Utils::DateTime&& value) { m_inclusiveStartTimeHasBeenSet = true; m_inclusiveStartTime = std::move(value); }
71
73
81 inline const Aws::Utils::DateTime& GetExclusiveEndTime() const{ return m_exclusiveEndTime; }
82 inline bool ExclusiveEndTimeHasBeenSet() const { return m_exclusiveEndTimeHasBeenSet; }
83 inline void SetExclusiveEndTime(const Aws::Utils::DateTime& value) { m_exclusiveEndTimeHasBeenSet = true; m_exclusiveEndTime = value; }
84 inline void SetExclusiveEndTime(Aws::Utils::DateTime&& value) { m_exclusiveEndTimeHasBeenSet = true; m_exclusiveEndTime = std::move(value); }
88
90
94 inline const S3ExportConfiguration& GetS3ExportConfiguration() const{ return m_s3ExportConfiguration; }
95 inline bool S3ExportConfigurationHasBeenSet() const { return m_s3ExportConfigurationHasBeenSet; }
96 inline void SetS3ExportConfiguration(const S3ExportConfiguration& value) { m_s3ExportConfigurationHasBeenSet = true; m_s3ExportConfiguration = value; }
97 inline void SetS3ExportConfiguration(S3ExportConfiguration&& value) { m_s3ExportConfigurationHasBeenSet = true; m_s3ExportConfiguration = std::move(value); }
101
103
113 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
114 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
115 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
116 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
117 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
118 inline ExportJournalToS3Request& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
119 inline ExportJournalToS3Request& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
120 inline ExportJournalToS3Request& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
122
124
135 inline const OutputFormat& GetOutputFormat() const{ return m_outputFormat; }
136 inline bool OutputFormatHasBeenSet() const { return m_outputFormatHasBeenSet; }
137 inline void SetOutputFormat(const OutputFormat& value) { m_outputFormatHasBeenSet = true; m_outputFormat = value; }
138 inline void SetOutputFormat(OutputFormat&& value) { m_outputFormatHasBeenSet = true; m_outputFormat = std::move(value); }
139 inline ExportJournalToS3Request& WithOutputFormat(const OutputFormat& value) { SetOutputFormat(value); return *this;}
140 inline ExportJournalToS3Request& WithOutputFormat(OutputFormat&& value) { SetOutputFormat(std::move(value)); return *this;}
142 private:
143
144 Aws::String m_name;
145 bool m_nameHasBeenSet = false;
146
147 Aws::Utils::DateTime m_inclusiveStartTime;
148 bool m_inclusiveStartTimeHasBeenSet = false;
149
150 Aws::Utils::DateTime m_exclusiveEndTime;
151 bool m_exclusiveEndTimeHasBeenSet = false;
152
153 S3ExportConfiguration m_s3ExportConfiguration;
154 bool m_s3ExportConfigurationHasBeenSet = false;
155
156 Aws::String m_roleArn;
157 bool m_roleArnHasBeenSet = false;
158
159 OutputFormat m_outputFormat;
160 bool m_outputFormatHasBeenSet = false;
161 };
162
163} // namespace Model
164} // namespace QLDB
165} // namespace Aws
AWS_QLDB_API Aws::String SerializePayload() const override
ExportJournalToS3Request & WithExclusiveEndTime(const Aws::Utils::DateTime &value)
ExportJournalToS3Request & WithName(Aws::String &&value)
void SetInclusiveStartTime(Aws::Utils::DateTime &&value)
ExportJournalToS3Request & WithInclusiveStartTime(Aws::Utils::DateTime &&value)
ExportJournalToS3Request & WithOutputFormat(OutputFormat &&value)
const Aws::Utils::DateTime & GetInclusiveStartTime() const
const S3ExportConfiguration & GetS3ExportConfiguration() const
void SetExclusiveEndTime(const Aws::Utils::DateTime &value)
ExportJournalToS3Request & WithRoleArn(const Aws::String &value)
ExportJournalToS3Request & WithS3ExportConfiguration(S3ExportConfiguration &&value)
ExportJournalToS3Request & WithS3ExportConfiguration(const S3ExportConfiguration &value)
virtual const char * GetServiceRequestName() const override
void SetInclusiveStartTime(const Aws::Utils::DateTime &value)
ExportJournalToS3Request & WithInclusiveStartTime(const Aws::Utils::DateTime &value)
ExportJournalToS3Request & WithExclusiveEndTime(Aws::Utils::DateTime &&value)
ExportJournalToS3Request & WithName(const Aws::String &value)
void SetS3ExportConfiguration(const S3ExportConfiguration &value)
void SetExclusiveEndTime(Aws::Utils::DateTime &&value)
void SetS3ExportConfiguration(S3ExportConfiguration &&value)
ExportJournalToS3Request & WithName(const char *value)
ExportJournalToS3Request & WithOutputFormat(const OutputFormat &value)
ExportJournalToS3Request & WithRoleArn(const char *value)
ExportJournalToS3Request & WithRoleArn(Aws::String &&value)
const Aws::Utils::DateTime & GetExclusiveEndTime() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String