AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
NetworkConfiguration.h
1
6#pragma once
7#include <aws/eventbridge/EventBridge_EXPORTS.h>
8#include <aws/eventbridge/model/AwsVpcConfiguration.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace EventBridge {
20namespace Model {
21
29 public:
30 AWS_EVENTBRIDGE_API NetworkConfiguration() = default;
31 AWS_EVENTBRIDGE_API NetworkConfiguration(Aws::Utils::Json::JsonView jsonValue);
33 AWS_EVENTBRIDGE_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
41 inline const AwsVpcConfiguration& GetAwsvpcConfiguration() const { return m_awsvpcConfiguration; }
42 inline bool AwsvpcConfigurationHasBeenSet() const { return m_awsvpcConfigurationHasBeenSet; }
43 template <typename AwsvpcConfigurationT = AwsVpcConfiguration>
44 void SetAwsvpcConfiguration(AwsvpcConfigurationT&& value) {
45 m_awsvpcConfigurationHasBeenSet = true;
46 m_awsvpcConfiguration = std::forward<AwsvpcConfigurationT>(value);
47 }
48 template <typename AwsvpcConfigurationT = AwsVpcConfiguration>
49 NetworkConfiguration& WithAwsvpcConfiguration(AwsvpcConfigurationT&& value) {
50 SetAwsvpcConfiguration(std::forward<AwsvpcConfigurationT>(value));
51 return *this;
52 }
54 private:
55 AwsVpcConfiguration m_awsvpcConfiguration;
56 bool m_awsvpcConfigurationHasBeenSet = false;
57};
58
59} // namespace Model
60} // namespace EventBridge
61} // namespace Aws
NetworkConfiguration & WithAwsvpcConfiguration(AwsvpcConfigurationT &&value)
AWS_EVENTBRIDGE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_EVENTBRIDGE_API NetworkConfiguration()=default
void SetAwsvpcConfiguration(AwsvpcConfigurationT &&value)
const AwsVpcConfiguration & GetAwsvpcConfiguration() const
AWS_EVENTBRIDGE_API NetworkConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_EVENTBRIDGE_API NetworkConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue