AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
EnvironmentPropertyUpdates.h
1
6#pragma once
7#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/kinesisanalyticsv2/model/PropertyGroup.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 EnvironmentPropertyUpdates() = default;
37 AWS_KINESISANALYTICSV2_API EnvironmentPropertyUpdates(Aws::Utils::Json::JsonView jsonValue);
38 AWS_KINESISANALYTICSV2_API EnvironmentPropertyUpdates& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::Vector<PropertyGroup>& GetPropertyGroups() const { return m_propertyGroups; }
47 inline bool PropertyGroupsHasBeenSet() const { return m_propertyGroupsHasBeenSet; }
48 template<typename PropertyGroupsT = Aws::Vector<PropertyGroup>>
49 void SetPropertyGroups(PropertyGroupsT&& value) { m_propertyGroupsHasBeenSet = true; m_propertyGroups = std::forward<PropertyGroupsT>(value); }
50 template<typename PropertyGroupsT = Aws::Vector<PropertyGroup>>
51 EnvironmentPropertyUpdates& WithPropertyGroups(PropertyGroupsT&& value) { SetPropertyGroups(std::forward<PropertyGroupsT>(value)); return *this;}
52 template<typename PropertyGroupsT = PropertyGroup>
53 EnvironmentPropertyUpdates& AddPropertyGroups(PropertyGroupsT&& value) { m_propertyGroupsHasBeenSet = true; m_propertyGroups.emplace_back(std::forward<PropertyGroupsT>(value)); return *this; }
55 private:
56
57 Aws::Vector<PropertyGroup> m_propertyGroups;
58 bool m_propertyGroupsHasBeenSet = false;
59 };
60
61} // namespace Model
62} // namespace KinesisAnalyticsV2
63} // namespace Aws
AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_KINESISANALYTICSV2_API EnvironmentPropertyUpdates & operator=(Aws::Utils::Json::JsonView jsonValue)
EnvironmentPropertyUpdates & WithPropertyGroups(PropertyGroupsT &&value)
AWS_KINESISANALYTICSV2_API EnvironmentPropertyUpdates(Aws::Utils::Json::JsonView jsonValue)
EnvironmentPropertyUpdates & AddPropertyGroups(PropertyGroupsT &&value)
const Aws::Vector< PropertyGroup > & GetPropertyGroups() const
AWS_KINESISANALYTICSV2_API EnvironmentPropertyUpdates()=default
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue