AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
UpdateAcceleratorAttributesRequest.h
1
6#pragma once
7#include <aws/globalaccelerator/GlobalAccelerator_EXPORTS.h>
8#include <aws/globalaccelerator/GlobalAcceleratorRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace GlobalAccelerator
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_GLOBALACCELERATOR_API UpdateAcceleratorAttributesRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "UpdateAcceleratorAttributes"; }
31
32 AWS_GLOBALACCELERATOR_API Aws::String SerializePayload() const override;
33
34 AWS_GLOBALACCELERATOR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
35
36
38
42 inline const Aws::String& GetAcceleratorArn() const { return m_acceleratorArn; }
43 inline bool AcceleratorArnHasBeenSet() const { return m_acceleratorArnHasBeenSet; }
44 template<typename AcceleratorArnT = Aws::String>
45 void SetAcceleratorArn(AcceleratorArnT&& value) { m_acceleratorArnHasBeenSet = true; m_acceleratorArn = std::forward<AcceleratorArnT>(value); }
46 template<typename AcceleratorArnT = Aws::String>
47 UpdateAcceleratorAttributesRequest& WithAcceleratorArn(AcceleratorArnT&& value) { SetAcceleratorArn(std::forward<AcceleratorArnT>(value)); return *this;}
49
51
58 inline bool GetFlowLogsEnabled() const { return m_flowLogsEnabled; }
59 inline bool FlowLogsEnabledHasBeenSet() const { return m_flowLogsEnabledHasBeenSet; }
60 inline void SetFlowLogsEnabled(bool value) { m_flowLogsEnabledHasBeenSet = true; m_flowLogsEnabled = value; }
63
65
71 inline const Aws::String& GetFlowLogsS3Bucket() const { return m_flowLogsS3Bucket; }
72 inline bool FlowLogsS3BucketHasBeenSet() const { return m_flowLogsS3BucketHasBeenSet; }
73 template<typename FlowLogsS3BucketT = Aws::String>
74 void SetFlowLogsS3Bucket(FlowLogsS3BucketT&& value) { m_flowLogsS3BucketHasBeenSet = true; m_flowLogsS3Bucket = std::forward<FlowLogsS3BucketT>(value); }
75 template<typename FlowLogsS3BucketT = Aws::String>
76 UpdateAcceleratorAttributesRequest& WithFlowLogsS3Bucket(FlowLogsS3BucketT&& value) { SetFlowLogsS3Bucket(std::forward<FlowLogsS3BucketT>(value)); return *this;}
78
80
87 inline const Aws::String& GetFlowLogsS3Prefix() const { return m_flowLogsS3Prefix; }
88 inline bool FlowLogsS3PrefixHasBeenSet() const { return m_flowLogsS3PrefixHasBeenSet; }
89 template<typename FlowLogsS3PrefixT = Aws::String>
90 void SetFlowLogsS3Prefix(FlowLogsS3PrefixT&& value) { m_flowLogsS3PrefixHasBeenSet = true; m_flowLogsS3Prefix = std::forward<FlowLogsS3PrefixT>(value); }
91 template<typename FlowLogsS3PrefixT = Aws::String>
92 UpdateAcceleratorAttributesRequest& WithFlowLogsS3Prefix(FlowLogsS3PrefixT&& value) { SetFlowLogsS3Prefix(std::forward<FlowLogsS3PrefixT>(value)); return *this;}
94 private:
95
96 Aws::String m_acceleratorArn;
97 bool m_acceleratorArnHasBeenSet = false;
98
99 bool m_flowLogsEnabled{false};
100 bool m_flowLogsEnabledHasBeenSet = false;
101
102 Aws::String m_flowLogsS3Bucket;
103 bool m_flowLogsS3BucketHasBeenSet = false;
104
105 Aws::String m_flowLogsS3Prefix;
106 bool m_flowLogsS3PrefixHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace GlobalAccelerator
111} // namespace Aws
AWS_GLOBALACCELERATOR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateAcceleratorAttributesRequest & WithAcceleratorArn(AcceleratorArnT &&value)
AWS_GLOBALACCELERATOR_API Aws::String SerializePayload() const override
UpdateAcceleratorAttributesRequest & WithFlowLogsS3Bucket(FlowLogsS3BucketT &&value)
UpdateAcceleratorAttributesRequest & WithFlowLogsS3Prefix(FlowLogsS3PrefixT &&value)
AWS_GLOBALACCELERATOR_API UpdateAcceleratorAttributesRequest()=default
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String