AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
AssetDestinationEntry.h
1
6#pragma once
7#include <aws/dataexchange/DataExchange_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace DataExchange
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_DATAEXCHANGE_API AssetDestinationEntry() = default;
35 AWS_DATAEXCHANGE_API AssetDestinationEntry(Aws::Utils::Json::JsonView jsonValue);
37 AWS_DATAEXCHANGE_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetAssetId() const { return m_assetId; }
45 inline bool AssetIdHasBeenSet() const { return m_assetIdHasBeenSet; }
46 template<typename AssetIdT = Aws::String>
47 void SetAssetId(AssetIdT&& value) { m_assetIdHasBeenSet = true; m_assetId = std::forward<AssetIdT>(value); }
48 template<typename AssetIdT = Aws::String>
49 AssetDestinationEntry& WithAssetId(AssetIdT&& value) { SetAssetId(std::forward<AssetIdT>(value)); return *this;}
51
53
56 inline const Aws::String& GetBucket() const { return m_bucket; }
57 inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; }
58 template<typename BucketT = Aws::String>
59 void SetBucket(BucketT&& value) { m_bucketHasBeenSet = true; m_bucket = std::forward<BucketT>(value); }
60 template<typename BucketT = Aws::String>
61 AssetDestinationEntry& WithBucket(BucketT&& value) { SetBucket(std::forward<BucketT>(value)); return *this;}
63
65
68 inline const Aws::String& GetKey() const { return m_key; }
69 inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; }
70 template<typename KeyT = Aws::String>
71 void SetKey(KeyT&& value) { m_keyHasBeenSet = true; m_key = std::forward<KeyT>(value); }
72 template<typename KeyT = Aws::String>
73 AssetDestinationEntry& WithKey(KeyT&& value) { SetKey(std::forward<KeyT>(value)); return *this;}
75 private:
76
77 Aws::String m_assetId;
78 bool m_assetIdHasBeenSet = false;
79
80 Aws::String m_bucket;
81 bool m_bucketHasBeenSet = false;
82
83 Aws::String m_key;
84 bool m_keyHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace DataExchange
89} // namespace Aws
void SetBucket(BucketT &&value)
AssetDestinationEntry & WithBucket(BucketT &&value)
void SetKey(KeyT &&value)
AWS_DATAEXCHANGE_API AssetDestinationEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
AssetDestinationEntry & WithKey(KeyT &&value)
const Aws::String & GetAssetId() const
AWS_DATAEXCHANGE_API AssetDestinationEntry()=default
void SetAssetId(AssetIdT &&value)
bool KeyHasBeenSet() const
bool BucketHasBeenSet() const
const Aws::String & GetKey() const
AWS_DATAEXCHANGE_API AssetDestinationEntry(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetBucket() const
AWS_DATAEXCHANGE_API Aws::Utils::Json::JsonValue Jsonize() const
bool AssetIdHasBeenSet() const
AssetDestinationEntry & WithAssetId(AssetIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue