AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
CustomRoutingAcceleratorAttributes.h
1
6#pragma once
7#include <aws/globalaccelerator/GlobalAccelerator_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace GlobalAccelerator
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_GLOBALACCELERATOR_API CustomRoutingAcceleratorAttributes() = default;
37 AWS_GLOBALACCELERATOR_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
48 inline bool GetFlowLogsEnabled() const { return m_flowLogsEnabled; }
49 inline bool FlowLogsEnabledHasBeenSet() const { return m_flowLogsEnabledHasBeenSet; }
50 inline void SetFlowLogsEnabled(bool value) { m_flowLogsEnabledHasBeenSet = true; m_flowLogsEnabled = value; }
53
55
61 inline const Aws::String& GetFlowLogsS3Bucket() const { return m_flowLogsS3Bucket; }
62 inline bool FlowLogsS3BucketHasBeenSet() const { return m_flowLogsS3BucketHasBeenSet; }
63 template<typename FlowLogsS3BucketT = Aws::String>
64 void SetFlowLogsS3Bucket(FlowLogsS3BucketT&& value) { m_flowLogsS3BucketHasBeenSet = true; m_flowLogsS3Bucket = std::forward<FlowLogsS3BucketT>(value); }
65 template<typename FlowLogsS3BucketT = Aws::String>
66 CustomRoutingAcceleratorAttributes& WithFlowLogsS3Bucket(FlowLogsS3BucketT&& value) { SetFlowLogsS3Bucket(std::forward<FlowLogsS3BucketT>(value)); return *this;}
68
70
78 inline const Aws::String& GetFlowLogsS3Prefix() const { return m_flowLogsS3Prefix; }
79 inline bool FlowLogsS3PrefixHasBeenSet() const { return m_flowLogsS3PrefixHasBeenSet; }
80 template<typename FlowLogsS3PrefixT = Aws::String>
81 void SetFlowLogsS3Prefix(FlowLogsS3PrefixT&& value) { m_flowLogsS3PrefixHasBeenSet = true; m_flowLogsS3Prefix = std::forward<FlowLogsS3PrefixT>(value); }
82 template<typename FlowLogsS3PrefixT = Aws::String>
83 CustomRoutingAcceleratorAttributes& WithFlowLogsS3Prefix(FlowLogsS3PrefixT&& value) { SetFlowLogsS3Prefix(std::forward<FlowLogsS3PrefixT>(value)); return *this;}
85 private:
86
87 bool m_flowLogsEnabled{false};
88 bool m_flowLogsEnabledHasBeenSet = false;
89
90 Aws::String m_flowLogsS3Bucket;
91 bool m_flowLogsS3BucketHasBeenSet = false;
92
93 Aws::String m_flowLogsS3Prefix;
94 bool m_flowLogsS3PrefixHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace GlobalAccelerator
99} // namespace Aws
AWS_GLOBALACCELERATOR_API CustomRoutingAcceleratorAttributes()=default
AWS_GLOBALACCELERATOR_API CustomRoutingAcceleratorAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GLOBALACCELERATOR_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GLOBALACCELERATOR_API CustomRoutingAcceleratorAttributes(Aws::Utils::Json::JsonView jsonValue)
CustomRoutingAcceleratorAttributes & WithFlowLogsS3Prefix(FlowLogsS3PrefixT &&value)
CustomRoutingAcceleratorAttributes & WithFlowLogsS3Bucket(FlowLogsS3BucketT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue