AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
Action.h
1
6#pragma once
7#include <aws/dataexchange/DataExchange_EXPORTS.h>
8#include <aws/dataexchange/model/AutoExportRevisionToS3RequestDetails.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace DataExchange {
20namespace Model {
21
27class Action {
28 public:
29 AWS_DATAEXCHANGE_API Action() = default;
30 AWS_DATAEXCHANGE_API Action(Aws::Utils::Json::JsonView jsonValue);
31 AWS_DATAEXCHANGE_API Action& operator=(Aws::Utils::Json::JsonView jsonValue);
32 AWS_DATAEXCHANGE_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const AutoExportRevisionToS3RequestDetails& GetExportRevisionToS3() const { return m_exportRevisionToS3; }
39 inline bool ExportRevisionToS3HasBeenSet() const { return m_exportRevisionToS3HasBeenSet; }
40 template <typename ExportRevisionToS3T = AutoExportRevisionToS3RequestDetails>
41 void SetExportRevisionToS3(ExportRevisionToS3T&& value) {
42 m_exportRevisionToS3HasBeenSet = true;
43 m_exportRevisionToS3 = std::forward<ExportRevisionToS3T>(value);
44 }
45 template <typename ExportRevisionToS3T = AutoExportRevisionToS3RequestDetails>
46 Action& WithExportRevisionToS3(ExportRevisionToS3T&& value) {
47 SetExportRevisionToS3(std::forward<ExportRevisionToS3T>(value));
48 return *this;
49 }
51 private:
52 AutoExportRevisionToS3RequestDetails m_exportRevisionToS3;
53 bool m_exportRevisionToS3HasBeenSet = false;
54};
55
56} // namespace Model
57} // namespace DataExchange
58} // namespace Aws
AWS_DATAEXCHANGE_API Action()=default
AWS_DATAEXCHANGE_API Action & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DATAEXCHANGE_API Action(Aws::Utils::Json::JsonView jsonValue)
bool ExportRevisionToS3HasBeenSet() const
Definition Action.h:39
Action & WithExportRevisionToS3(ExportRevisionToS3T &&value)
Definition Action.h:46
AWS_DATAEXCHANGE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetExportRevisionToS3(ExportRevisionToS3T &&value)
Definition Action.h:41
const AutoExportRevisionToS3RequestDetails & GetExportRevisionToS3() const
Definition Action.h:38
Aws::Utils::Json::JsonValue JsonValue