AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AssetDetails.h
1
6#pragma once
7#include <aws/dataexchange/DataExchange_EXPORTS.h>
8#include <aws/dataexchange/model/S3SnapshotAsset.h>
9#include <aws/dataexchange/model/RedshiftDataShareAsset.h>
10#include <aws/dataexchange/model/ApiGatewayApiAsset.h>
11#include <aws/dataexchange/model/S3DataAccessAsset.h>
12#include <aws/dataexchange/model/LakeFormationDataPermissionAsset.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace DataExchange
26{
27namespace Model
28{
29
36 {
37 public:
38 AWS_DATAEXCHANGE_API AssetDetails();
39 AWS_DATAEXCHANGE_API AssetDetails(Aws::Utils::Json::JsonView jsonValue);
40 AWS_DATAEXCHANGE_API AssetDetails& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_DATAEXCHANGE_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const S3SnapshotAsset& GetS3SnapshotAsset() const{ return m_s3SnapshotAsset; }
49 inline bool S3SnapshotAssetHasBeenSet() const { return m_s3SnapshotAssetHasBeenSet; }
50 inline void SetS3SnapshotAsset(const S3SnapshotAsset& value) { m_s3SnapshotAssetHasBeenSet = true; m_s3SnapshotAsset = value; }
51 inline void SetS3SnapshotAsset(S3SnapshotAsset&& value) { m_s3SnapshotAssetHasBeenSet = true; m_s3SnapshotAsset = std::move(value); }
52 inline AssetDetails& WithS3SnapshotAsset(const S3SnapshotAsset& value) { SetS3SnapshotAsset(value); return *this;}
53 inline AssetDetails& WithS3SnapshotAsset(S3SnapshotAsset&& value) { SetS3SnapshotAsset(std::move(value)); return *this;}
55
57
60 inline const RedshiftDataShareAsset& GetRedshiftDataShareAsset() const{ return m_redshiftDataShareAsset; }
61 inline bool RedshiftDataShareAssetHasBeenSet() const { return m_redshiftDataShareAssetHasBeenSet; }
62 inline void SetRedshiftDataShareAsset(const RedshiftDataShareAsset& value) { m_redshiftDataShareAssetHasBeenSet = true; m_redshiftDataShareAsset = value; }
63 inline void SetRedshiftDataShareAsset(RedshiftDataShareAsset&& value) { m_redshiftDataShareAssetHasBeenSet = true; m_redshiftDataShareAsset = std::move(value); }
67
69
72 inline const ApiGatewayApiAsset& GetApiGatewayApiAsset() const{ return m_apiGatewayApiAsset; }
73 inline bool ApiGatewayApiAssetHasBeenSet() const { return m_apiGatewayApiAssetHasBeenSet; }
74 inline void SetApiGatewayApiAsset(const ApiGatewayApiAsset& value) { m_apiGatewayApiAssetHasBeenSet = true; m_apiGatewayApiAsset = value; }
75 inline void SetApiGatewayApiAsset(ApiGatewayApiAsset&& value) { m_apiGatewayApiAssetHasBeenSet = true; m_apiGatewayApiAsset = std::move(value); }
76 inline AssetDetails& WithApiGatewayApiAsset(const ApiGatewayApiAsset& value) { SetApiGatewayApiAsset(value); return *this;}
77 inline AssetDetails& WithApiGatewayApiAsset(ApiGatewayApiAsset&& value) { SetApiGatewayApiAsset(std::move(value)); return *this;}
79
81
84 inline const S3DataAccessAsset& GetS3DataAccessAsset() const{ return m_s3DataAccessAsset; }
85 inline bool S3DataAccessAssetHasBeenSet() const { return m_s3DataAccessAssetHasBeenSet; }
86 inline void SetS3DataAccessAsset(const S3DataAccessAsset& value) { m_s3DataAccessAssetHasBeenSet = true; m_s3DataAccessAsset = value; }
87 inline void SetS3DataAccessAsset(S3DataAccessAsset&& value) { m_s3DataAccessAssetHasBeenSet = true; m_s3DataAccessAsset = std::move(value); }
88 inline AssetDetails& WithS3DataAccessAsset(const S3DataAccessAsset& value) { SetS3DataAccessAsset(value); return *this;}
89 inline AssetDetails& WithS3DataAccessAsset(S3DataAccessAsset&& value) { SetS3DataAccessAsset(std::move(value)); return *this;}
91
93
96 inline const LakeFormationDataPermissionAsset& GetLakeFormationDataPermissionAsset() const{ return m_lakeFormationDataPermissionAsset; }
97 inline bool LakeFormationDataPermissionAssetHasBeenSet() const { return m_lakeFormationDataPermissionAssetHasBeenSet; }
98 inline void SetLakeFormationDataPermissionAsset(const LakeFormationDataPermissionAsset& value) { m_lakeFormationDataPermissionAssetHasBeenSet = true; m_lakeFormationDataPermissionAsset = value; }
99 inline void SetLakeFormationDataPermissionAsset(LakeFormationDataPermissionAsset&& value) { m_lakeFormationDataPermissionAssetHasBeenSet = true; m_lakeFormationDataPermissionAsset = std::move(value); }
103 private:
104
105 S3SnapshotAsset m_s3SnapshotAsset;
106 bool m_s3SnapshotAssetHasBeenSet = false;
107
108 RedshiftDataShareAsset m_redshiftDataShareAsset;
109 bool m_redshiftDataShareAssetHasBeenSet = false;
110
111 ApiGatewayApiAsset m_apiGatewayApiAsset;
112 bool m_apiGatewayApiAssetHasBeenSet = false;
113
114 S3DataAccessAsset m_s3DataAccessAsset;
115 bool m_s3DataAccessAssetHasBeenSet = false;
116
117 LakeFormationDataPermissionAsset m_lakeFormationDataPermissionAsset;
118 bool m_lakeFormationDataPermissionAssetHasBeenSet = false;
119 };
120
121} // namespace Model
122} // namespace DataExchange
123} // namespace Aws
const S3SnapshotAsset & GetS3SnapshotAsset() const
void SetS3DataAccessAsset(S3DataAccessAsset &&value)
void SetApiGatewayApiAsset(const ApiGatewayApiAsset &value)
AssetDetails & WithS3SnapshotAsset(const S3SnapshotAsset &value)
AssetDetails & WithRedshiftDataShareAsset(RedshiftDataShareAsset &&value)
void SetRedshiftDataShareAsset(RedshiftDataShareAsset &&value)
void SetLakeFormationDataPermissionAsset(const LakeFormationDataPermissionAsset &value)
void SetApiGatewayApiAsset(ApiGatewayApiAsset &&value)
void SetRedshiftDataShareAsset(const RedshiftDataShareAsset &value)
AssetDetails & WithS3SnapshotAsset(S3SnapshotAsset &&value)
AssetDetails & WithS3DataAccessAsset(const S3DataAccessAsset &value)
AssetDetails & WithS3DataAccessAsset(S3DataAccessAsset &&value)
void SetS3SnapshotAsset(const S3SnapshotAsset &value)
const LakeFormationDataPermissionAsset & GetLakeFormationDataPermissionAsset() const
AWS_DATAEXCHANGE_API AssetDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetS3DataAccessAsset(const S3DataAccessAsset &value)
const RedshiftDataShareAsset & GetRedshiftDataShareAsset() const
AssetDetails & WithApiGatewayApiAsset(ApiGatewayApiAsset &&value)
void SetS3SnapshotAsset(S3SnapshotAsset &&value)
AssetDetails & WithLakeFormationDataPermissionAsset(LakeFormationDataPermissionAsset &&value)
AWS_DATAEXCHANGE_API AssetDetails(Aws::Utils::Json::JsonView jsonValue)
const ApiGatewayApiAsset & GetApiGatewayApiAsset() const
AssetDetails & WithRedshiftDataShareAsset(const RedshiftDataShareAsset &value)
AssetDetails & WithApiGatewayApiAsset(const ApiGatewayApiAsset &value)
void SetLakeFormationDataPermissionAsset(LakeFormationDataPermissionAsset &&value)
const S3DataAccessAsset & GetS3DataAccessAsset() const
bool LakeFormationDataPermissionAssetHasBeenSet() const
AssetDetails & WithLakeFormationDataPermissionAsset(const LakeFormationDataPermissionAsset &value)
AWS_DATAEXCHANGE_API AssetDetails()
AWS_DATAEXCHANGE_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue