AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
PropertyGroup.h
1
6#pragma once
7#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace KinesisAnalyticsV2
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_KINESISANALYTICSV2_API PropertyGroup() = default;
37 AWS_KINESISANALYTICSV2_API PropertyGroup(Aws::Utils::Json::JsonView jsonValue);
38 AWS_KINESISANALYTICSV2_API PropertyGroup& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetPropertyGroupId() const { return m_propertyGroupId; }
47 inline bool PropertyGroupIdHasBeenSet() const { return m_propertyGroupIdHasBeenSet; }
48 template<typename PropertyGroupIdT = Aws::String>
49 void SetPropertyGroupId(PropertyGroupIdT&& value) { m_propertyGroupIdHasBeenSet = true; m_propertyGroupId = std::forward<PropertyGroupIdT>(value); }
50 template<typename PropertyGroupIdT = Aws::String>
51 PropertyGroup& WithPropertyGroupId(PropertyGroupIdT&& value) { SetPropertyGroupId(std::forward<PropertyGroupIdT>(value)); return *this;}
53
55
58 inline const Aws::Map<Aws::String, Aws::String>& GetPropertyMap() const { return m_propertyMap; }
59 inline bool PropertyMapHasBeenSet() const { return m_propertyMapHasBeenSet; }
60 template<typename PropertyMapT = Aws::Map<Aws::String, Aws::String>>
61 void SetPropertyMap(PropertyMapT&& value) { m_propertyMapHasBeenSet = true; m_propertyMap = std::forward<PropertyMapT>(value); }
62 template<typename PropertyMapT = Aws::Map<Aws::String, Aws::String>>
63 PropertyGroup& WithPropertyMap(PropertyMapT&& value) { SetPropertyMap(std::forward<PropertyMapT>(value)); return *this;}
64 template<typename PropertyMapKeyT = Aws::String, typename PropertyMapValueT = Aws::String>
65 PropertyGroup& AddPropertyMap(PropertyMapKeyT&& key, PropertyMapValueT&& value) {
66 m_propertyMapHasBeenSet = true; m_propertyMap.emplace(std::forward<PropertyMapKeyT>(key), std::forward<PropertyMapValueT>(value)); return *this;
67 }
69 private:
70
71 Aws::String m_propertyGroupId;
72 bool m_propertyGroupIdHasBeenSet = false;
73
75 bool m_propertyMapHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace KinesisAnalyticsV2
80} // namespace Aws
AWS_KINESISANALYTICSV2_API PropertyGroup()=default
void SetPropertyGroupId(PropertyGroupIdT &&value)
AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_KINESISANALYTICSV2_API PropertyGroup & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_KINESISANALYTICSV2_API PropertyGroup(Aws::Utils::Json::JsonView jsonValue)
PropertyGroup & WithPropertyMap(PropertyMapT &&value)
const Aws::Map< Aws::String, Aws::String > & GetPropertyMap() const
PropertyGroup & AddPropertyMap(PropertyMapKeyT &&key, PropertyMapValueT &&value)
PropertyGroup & WithPropertyGroupId(PropertyGroupIdT &&value)
const Aws::String & GetPropertyGroupId() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue