AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetAssetId(const Aws::String& value) { m_assetIdHasBeenSet = true; m_assetId = value; }
47 inline void SetAssetId(Aws::String&& value) { m_assetIdHasBeenSet = true; m_assetId = std::move(value); }
48 inline void SetAssetId(const char* value) { m_assetIdHasBeenSet = true; m_assetId.assign(value); }
49 inline AssetDestinationEntry& WithAssetId(const Aws::String& value) { SetAssetId(value); return *this;}
50 inline AssetDestinationEntry& WithAssetId(Aws::String&& value) { SetAssetId(std::move(value)); return *this;}
51 inline AssetDestinationEntry& WithAssetId(const char* value) { SetAssetId(value); return *this;}
53
55
58 inline const Aws::String& GetBucket() const{ return m_bucket; }
59 inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; }
60 inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; }
61 inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); }
62 inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); }
63 inline AssetDestinationEntry& WithBucket(const Aws::String& value) { SetBucket(value); return *this;}
64 inline AssetDestinationEntry& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;}
65 inline AssetDestinationEntry& WithBucket(const char* value) { SetBucket(value); return *this;}
67
69
72 inline const Aws::String& GetKey() const{ return m_key; }
73 inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; }
74 inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; }
75 inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); }
76 inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); }
77 inline AssetDestinationEntry& WithKey(const Aws::String& value) { SetKey(value); return *this;}
78 inline AssetDestinationEntry& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;}
79 inline AssetDestinationEntry& WithKey(const char* value) { SetKey(value); return *this;}
81 private:
82
83 Aws::String m_assetId;
84 bool m_assetIdHasBeenSet = false;
85
86 Aws::String m_bucket;
87 bool m_bucketHasBeenSet = false;
88
89 Aws::String m_key;
90 bool m_keyHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace DataExchange
95} // namespace Aws
AssetDestinationEntry & WithAssetId(Aws::String &&value)
AssetDestinationEntry & WithAssetId(const Aws::String &value)
AWS_DATAEXCHANGE_API AssetDestinationEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetAssetId() const
void SetBucket(const Aws::String &value)
AssetDestinationEntry & WithAssetId(const char *value)
AssetDestinationEntry & WithBucket(const char *value)
void SetBucket(const char *value)
void SetBucket(Aws::String &&value)
bool KeyHasBeenSet() const
void SetKey(Aws::String &&value)
AssetDestinationEntry & WithKey(const Aws::String &value)
AWS_DATAEXCHANGE_API AssetDestinationEntry()
bool BucketHasBeenSet() const
const Aws::String & GetKey() const
AWS_DATAEXCHANGE_API AssetDestinationEntry(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetBucket() const
AssetDestinationEntry & WithKey(const char *value)
void SetAssetId(const Aws::String &value)
AssetDestinationEntry & WithBucket(Aws::String &&value)
AWS_DATAEXCHANGE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetKey(const Aws::String &value)
void SetAssetId(Aws::String &&value)
AssetDestinationEntry & WithBucket(const Aws::String &value)
AssetDestinationEntry & WithKey(Aws::String &&value)
void SetKey(const char *value)
void SetAssetId(const char *value)
bool AssetIdHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue