AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
AcceleratorAttributes.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 AcceleratorAttributes() = default;
35 AWS_GLOBALACCELERATOR_API AcceleratorAttributes(Aws::Utils::Json::JsonView jsonValue);
36 AWS_GLOBALACCELERATOR_API AcceleratorAttributes& operator=(Aws::Utils::Json::JsonView jsonValue);
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; }
51 inline AcceleratorAttributes& WithFlowLogsEnabled(bool value) { SetFlowLogsEnabled(value); return *this;}
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 AcceleratorAttributes& WithFlowLogsS3Bucket(FlowLogsS3BucketT&& value) { SetFlowLogsS3Bucket(std::forward<FlowLogsS3BucketT>(value)); return *this;}
68
70
77 inline const Aws::String& GetFlowLogsS3Prefix() const { return m_flowLogsS3Prefix; }
78 inline bool FlowLogsS3PrefixHasBeenSet() const { return m_flowLogsS3PrefixHasBeenSet; }
79 template<typename FlowLogsS3PrefixT = Aws::String>
80 void SetFlowLogsS3Prefix(FlowLogsS3PrefixT&& value) { m_flowLogsS3PrefixHasBeenSet = true; m_flowLogsS3Prefix = std::forward<FlowLogsS3PrefixT>(value); }
81 template<typename FlowLogsS3PrefixT = Aws::String>
82 AcceleratorAttributes& WithFlowLogsS3Prefix(FlowLogsS3PrefixT&& value) { SetFlowLogsS3Prefix(std::forward<FlowLogsS3PrefixT>(value)); return *this;}
84 private:
85
86 bool m_flowLogsEnabled{false};
87 bool m_flowLogsEnabledHasBeenSet = false;
88
89 Aws::String m_flowLogsS3Bucket;
90 bool m_flowLogsS3BucketHasBeenSet = false;
91
92 Aws::String m_flowLogsS3Prefix;
93 bool m_flowLogsS3PrefixHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace GlobalAccelerator
98} // namespace Aws
AWS_GLOBALACCELERATOR_API Aws::Utils::Json::JsonValue Jsonize() const
AcceleratorAttributes & WithFlowLogsS3Bucket(FlowLogsS3BucketT &&value)
AWS_GLOBALACCELERATOR_API AcceleratorAttributes()=default
AWS_GLOBALACCELERATOR_API AcceleratorAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
AcceleratorAttributes & WithFlowLogsEnabled(bool value)
AcceleratorAttributes & WithFlowLogsS3Prefix(FlowLogsS3PrefixT &&value)
AWS_GLOBALACCELERATOR_API AcceleratorAttributes(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue