AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AssetTargetNameMap.h
1
6#pragma once
7#include <aws/datazone/DataZone_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 DataZone
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_DATAZONE_API AssetTargetNameMap();
37 AWS_DATAZONE_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 AssetTargetNameMap& WithAssetId(const Aws::String& value) { SetAssetId(value); return *this;}
50 inline AssetTargetNameMap& WithAssetId(Aws::String&& value) { SetAssetId(std::move(value)); return *this;}
51 inline AssetTargetNameMap& WithAssetId(const char* value) { SetAssetId(value); return *this;}
53
55
58 inline const Aws::String& GetTargetName() const{ return m_targetName; }
59 inline bool TargetNameHasBeenSet() const { return m_targetNameHasBeenSet; }
60 inline void SetTargetName(const Aws::String& value) { m_targetNameHasBeenSet = true; m_targetName = value; }
61 inline void SetTargetName(Aws::String&& value) { m_targetNameHasBeenSet = true; m_targetName = std::move(value); }
62 inline void SetTargetName(const char* value) { m_targetNameHasBeenSet = true; m_targetName.assign(value); }
63 inline AssetTargetNameMap& WithTargetName(const Aws::String& value) { SetTargetName(value); return *this;}
64 inline AssetTargetNameMap& WithTargetName(Aws::String&& value) { SetTargetName(std::move(value)); return *this;}
65 inline AssetTargetNameMap& WithTargetName(const char* value) { SetTargetName(value); return *this;}
67 private:
68
69 Aws::String m_assetId;
70 bool m_assetIdHasBeenSet = false;
71
72 Aws::String m_targetName;
73 bool m_targetNameHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace DataZone
78} // namespace Aws
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
AssetTargetNameMap & WithAssetId(const char *value)
AssetTargetNameMap & WithTargetName(Aws::String &&value)
AssetTargetNameMap & WithTargetName(const char *value)
AWS_DATAZONE_API AssetTargetNameMap(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetTargetName() const
AssetTargetNameMap & WithTargetName(const Aws::String &value)
void SetAssetId(const Aws::String &value)
AssetTargetNameMap & WithAssetId(const Aws::String &value)
AWS_DATAZONE_API AssetTargetNameMap & operator=(Aws::Utils::Json::JsonView jsonValue)
AssetTargetNameMap & WithAssetId(Aws::String &&value)
void SetTargetName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue