AWS SDK for C++

AWS SDK for C++ Version 1.11.608

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:
27 AWS_QLDB_API ExportJournalToS3Request() = default;
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 template<typename NameT = Aws::String>
45 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
46 template<typename NameT = Aws::String>
47 ExportJournalToS3Request& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
49
51
62 inline const Aws::Utils::DateTime& GetInclusiveStartTime() const { return m_inclusiveStartTime; }
63 inline bool InclusiveStartTimeHasBeenSet() const { return m_inclusiveStartTimeHasBeenSet; }
64 template<typename InclusiveStartTimeT = Aws::Utils::DateTime>
65 void SetInclusiveStartTime(InclusiveStartTimeT&& value) { m_inclusiveStartTimeHasBeenSet = true; m_inclusiveStartTime = std::forward<InclusiveStartTimeT>(value); }
66 template<typename InclusiveStartTimeT = Aws::Utils::DateTime>
67 ExportJournalToS3Request& WithInclusiveStartTime(InclusiveStartTimeT&& value) { SetInclusiveStartTime(std::forward<InclusiveStartTimeT>(value)); return *this;}
69
71
79 inline const Aws::Utils::DateTime& GetExclusiveEndTime() const { return m_exclusiveEndTime; }
80 inline bool ExclusiveEndTimeHasBeenSet() const { return m_exclusiveEndTimeHasBeenSet; }
81 template<typename ExclusiveEndTimeT = Aws::Utils::DateTime>
82 void SetExclusiveEndTime(ExclusiveEndTimeT&& value) { m_exclusiveEndTimeHasBeenSet = true; m_exclusiveEndTime = std::forward<ExclusiveEndTimeT>(value); }
83 template<typename ExclusiveEndTimeT = Aws::Utils::DateTime>
84 ExportJournalToS3Request& WithExclusiveEndTime(ExclusiveEndTimeT&& value) { SetExclusiveEndTime(std::forward<ExclusiveEndTimeT>(value)); return *this;}
86
88
92 inline const S3ExportConfiguration& GetS3ExportConfiguration() const { return m_s3ExportConfiguration; }
93 inline bool S3ExportConfigurationHasBeenSet() const { return m_s3ExportConfigurationHasBeenSet; }
94 template<typename S3ExportConfigurationT = S3ExportConfiguration>
95 void SetS3ExportConfiguration(S3ExportConfigurationT&& value) { m_s3ExportConfigurationHasBeenSet = true; m_s3ExportConfiguration = std::forward<S3ExportConfigurationT>(value); }
96 template<typename S3ExportConfigurationT = S3ExportConfiguration>
97 ExportJournalToS3Request& WithS3ExportConfiguration(S3ExportConfigurationT&& value) { SetS3ExportConfiguration(std::forward<S3ExportConfigurationT>(value)); return *this;}
99
101
111 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
112 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
113 template<typename RoleArnT = Aws::String>
114 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
115 template<typename RoleArnT = Aws::String>
116 ExportJournalToS3Request& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
118
120
131 inline OutputFormat GetOutputFormat() const { return m_outputFormat; }
132 inline bool OutputFormatHasBeenSet() const { return m_outputFormatHasBeenSet; }
133 inline void SetOutputFormat(OutputFormat value) { m_outputFormatHasBeenSet = true; m_outputFormat = value; }
136 private:
137
138 Aws::String m_name;
139 bool m_nameHasBeenSet = false;
140
141 Aws::Utils::DateTime m_inclusiveStartTime{};
142 bool m_inclusiveStartTimeHasBeenSet = false;
143
144 Aws::Utils::DateTime m_exclusiveEndTime{};
145 bool m_exclusiveEndTimeHasBeenSet = false;
146
147 S3ExportConfiguration m_s3ExportConfiguration;
148 bool m_s3ExportConfigurationHasBeenSet = false;
149
150 Aws::String m_roleArn;
151 bool m_roleArnHasBeenSet = false;
152
153 OutputFormat m_outputFormat{OutputFormat::NOT_SET};
154 bool m_outputFormatHasBeenSet = false;
155 };
156
157} // namespace Model
158} // namespace QLDB
159} // namespace Aws
AWS_QLDB_API Aws::String SerializePayload() const override
void SetInclusiveStartTime(InclusiveStartTimeT &&value)
ExportJournalToS3Request & WithInclusiveStartTime(InclusiveStartTimeT &&value)
const Aws::Utils::DateTime & GetInclusiveStartTime() const
ExportJournalToS3Request & WithS3ExportConfiguration(S3ExportConfigurationT &&value)
const S3ExportConfiguration & GetS3ExportConfiguration() const
ExportJournalToS3Request & WithRoleArn(RoleArnT &&value)
void SetExclusiveEndTime(ExclusiveEndTimeT &&value)
void SetS3ExportConfiguration(S3ExportConfigurationT &&value)
virtual const char * GetServiceRequestName() const override
ExportJournalToS3Request & WithOutputFormat(OutputFormat value)
AWS_QLDB_API ExportJournalToS3Request()=default
ExportJournalToS3Request & WithExclusiveEndTime(ExclusiveEndTimeT &&value)
const Aws::Utils::DateTime & GetExclusiveEndTime() const
ExportJournalToS3Request & WithName(NameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String