AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
AssetDestinationEntry.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/dataexchange/DataExchange_EXPORTS.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
28 public:
29 AWS_DATAEXCHANGE_API AssetDestinationEntry() = default;
30 AWS_DATAEXCHANGE_API AssetDestinationEntry(Aws::Utils::Json::JsonView jsonValue);
32 AWS_DATAEXCHANGE_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const Aws::String& GetAssetId() const { return m_assetId; }
39 inline bool AssetIdHasBeenSet() const { return m_assetIdHasBeenSet; }
40 template <typename AssetIdT = Aws::String>
41 void SetAssetId(AssetIdT&& value) {
42 m_assetIdHasBeenSet = true;
43 m_assetId = std::forward<AssetIdT>(value);
44 }
45 template <typename AssetIdT = Aws::String>
47 SetAssetId(std::forward<AssetIdT>(value));
48 return *this;
49 }
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) {
60 m_bucketHasBeenSet = true;
61 m_bucket = std::forward<BucketT>(value);
62 }
63 template <typename BucketT = Aws::String>
65 SetBucket(std::forward<BucketT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetKey() const { return m_key; }
75 inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; }
76 template <typename KeyT = Aws::String>
77 void SetKey(KeyT&& value) {
78 m_keyHasBeenSet = true;
79 m_key = std::forward<KeyT>(value);
80 }
81 template <typename KeyT = Aws::String>
83 SetKey(std::forward<KeyT>(value));
84 return *this;
85 }
87 private:
88 Aws::String m_assetId;
89
90 Aws::String m_bucket;
91
92 Aws::String m_key;
93 bool m_assetIdHasBeenSet = false;
94 bool m_bucketHasBeenSet = false;
95 bool m_keyHasBeenSet = false;
96};
97
98} // namespace Model
99} // namespace DataExchange
100} // 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