AWS SDK for C++

AWS SDK for C++ Version 1.11.875

Loading...
Searching...
No Matches
ProfileMappingSource.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/healthlake/HealthLake_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace HealthLake {
21namespace Model {
22
30 public:
31 AWS_HEALTHLAKE_API ProfileMappingSource() = default;
32 AWS_HEALTHLAKE_API ProfileMappingSource(Aws::Utils::Json::JsonView jsonValue);
34 AWS_HEALTHLAKE_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::Map<Aws::String, Aws::String>& GetProfileMapping() const { return m_profileMapping; }
41 inline bool ProfileMappingHasBeenSet() const { return m_profileMappingHasBeenSet; }
42 template <typename ProfileMappingT = Aws::Map<Aws::String, Aws::String>>
43 void SetProfileMapping(ProfileMappingT&& value) {
44 m_profileMappingHasBeenSet = true;
45 m_profileMapping = std::forward<ProfileMappingT>(value);
46 }
47 template <typename ProfileMappingT = Aws::Map<Aws::String, Aws::String>>
48 ProfileMappingSource& WithProfileMapping(ProfileMappingT&& value) {
49 SetProfileMapping(std::forward<ProfileMappingT>(value));
50 return *this;
51 }
52 template <typename ProfileMappingKeyT = Aws::String, typename ProfileMappingValueT = Aws::String>
53 ProfileMappingSource& AddProfileMapping(ProfileMappingKeyT&& key, ProfileMappingValueT&& value) {
54 m_profileMappingHasBeenSet = true;
55 m_profileMapping.emplace(std::forward<ProfileMappingKeyT>(key), std::forward<ProfileMappingValueT>(value));
56 return *this;
57 }
59 private:
61 bool m_profileMappingHasBeenSet = false;
62};
63
64} // namespace Model
65} // namespace HealthLake
66} // namespace Aws
const Aws::Map< Aws::String, Aws::String > & GetProfileMapping() const
AWS_HEALTHLAKE_API ProfileMappingSource()=default
AWS_HEALTHLAKE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_HEALTHLAKE_API ProfileMappingSource & operator=(Aws::Utils::Json::JsonView jsonValue)
ProfileMappingSource & AddProfileMapping(ProfileMappingKeyT &&key, ProfileMappingValueT &&value)
ProfileMappingSource & WithProfileMapping(ProfileMappingT &&value)
AWS_HEALTHLAKE_API ProfileMappingSource(Aws::Utils::Json::JsonView jsonValue)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Aws::Utils::Json::JsonValue JsonValue