AWS SDK for C++

AWS SDK for C++ Version 1.11.773

Loading...
Searching...
No Matches
PropertyGroup.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/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace KinesisAnalyticsV2 {
21namespace Model {
22
30 public:
31 AWS_KINESISANALYTICSV2_API PropertyGroup() = default;
32 AWS_KINESISANALYTICSV2_API PropertyGroup(Aws::Utils::Json::JsonView jsonValue);
33 AWS_KINESISANALYTICSV2_API PropertyGroup& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetPropertyGroupId() const { return m_propertyGroupId; }
41 inline bool PropertyGroupIdHasBeenSet() const { return m_propertyGroupIdHasBeenSet; }
42 template <typename PropertyGroupIdT = Aws::String>
43 void SetPropertyGroupId(PropertyGroupIdT&& value) {
44 m_propertyGroupIdHasBeenSet = true;
45 m_propertyGroupId = std::forward<PropertyGroupIdT>(value);
46 }
47 template <typename PropertyGroupIdT = Aws::String>
48 PropertyGroup& WithPropertyGroupId(PropertyGroupIdT&& value) {
49 SetPropertyGroupId(std::forward<PropertyGroupIdT>(value));
50 return *this;
51 }
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) {
62 m_propertyMapHasBeenSet = true;
63 m_propertyMap = std::forward<PropertyMapT>(value);
64 }
65 template <typename PropertyMapT = Aws::Map<Aws::String, Aws::String>>
66 PropertyGroup& WithPropertyMap(PropertyMapT&& value) {
67 SetPropertyMap(std::forward<PropertyMapT>(value));
68 return *this;
69 }
70 template <typename PropertyMapKeyT = Aws::String, typename PropertyMapValueT = Aws::String>
71 PropertyGroup& AddPropertyMap(PropertyMapKeyT&& key, PropertyMapValueT&& value) {
72 m_propertyMapHasBeenSet = true;
73 m_propertyMap.emplace(std::forward<PropertyMapKeyT>(key), std::forward<PropertyMapValueT>(value));
74 return *this;
75 }
77 private:
78 Aws::String m_propertyGroupId;
79
81 bool m_propertyGroupIdHasBeenSet = false;
82 bool m_propertyMapHasBeenSet = false;
83};
84
85} // namespace Model
86} // namespace KinesisAnalyticsV2
87} // 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