AWS SDK for C++

AWS SDK for C++ Version 1.11.944

Loading...
Searching...
No Matches
AcceleratorAttributes.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/globalaccelerator/GlobalAccelerator_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace GlobalAccelerator {
20namespace Model {
21
28 public:
29 AWS_GLOBALACCELERATOR_API AcceleratorAttributes() = default;
30 AWS_GLOBALACCELERATOR_API AcceleratorAttributes(Aws::Utils::Json::JsonView jsonValue);
31 AWS_GLOBALACCELERATOR_API AcceleratorAttributes& operator=(Aws::Utils::Json::JsonView jsonValue);
32 AWS_GLOBALACCELERATOR_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
42 inline bool GetFlowLogsEnabled() const { return m_flowLogsEnabled; }
43 inline bool FlowLogsEnabledHasBeenSet() const { return m_flowLogsEnabledHasBeenSet; }
44 inline void SetFlowLogsEnabled(bool value) {
45 m_flowLogsEnabledHasBeenSet = true;
46 m_flowLogsEnabled = value;
47 }
49 SetFlowLogsEnabled(value);
50 return *this;
51 }
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) {
65 m_flowLogsS3BucketHasBeenSet = true;
66 m_flowLogsS3Bucket = std::forward<FlowLogsS3BucketT>(value);
67 }
68 template <typename FlowLogsS3BucketT = Aws::String>
69 AcceleratorAttributes& WithFlowLogsS3Bucket(FlowLogsS3BucketT&& value) {
70 SetFlowLogsS3Bucket(std::forward<FlowLogsS3BucketT>(value));
71 return *this;
72 }
74
76
83 inline const Aws::String& GetFlowLogsS3Prefix() const { return m_flowLogsS3Prefix; }
84 inline bool FlowLogsS3PrefixHasBeenSet() const { return m_flowLogsS3PrefixHasBeenSet; }
85 template <typename FlowLogsS3PrefixT = Aws::String>
86 void SetFlowLogsS3Prefix(FlowLogsS3PrefixT&& value) {
87 m_flowLogsS3PrefixHasBeenSet = true;
88 m_flowLogsS3Prefix = std::forward<FlowLogsS3PrefixT>(value);
89 }
90 template <typename FlowLogsS3PrefixT = Aws::String>
91 AcceleratorAttributes& WithFlowLogsS3Prefix(FlowLogsS3PrefixT&& value) {
92 SetFlowLogsS3Prefix(std::forward<FlowLogsS3PrefixT>(value));
93 return *this;
94 }
96 private:
97 bool m_flowLogsEnabled{false};
98
99 Aws::String m_flowLogsS3Bucket;
100
101 Aws::String m_flowLogsS3Prefix;
102 bool m_flowLogsEnabledHasBeenSet = false;
103 bool m_flowLogsS3BucketHasBeenSet = false;
104 bool m_flowLogsS3PrefixHasBeenSet = false;
105};
106
107} // namespace Model
108} // namespace GlobalAccelerator
109} // 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