AWS SDK for C++

AWS SDK for C++ Version 1.11.749

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