AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
StartAnalysisReportRequest.h
1
6#pragma once
7#include <aws/network-firewall/NetworkFirewall_EXPORTS.h>
8#include <aws/network-firewall/NetworkFirewallRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/network-firewall/model/EnabledAnalysisType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace NetworkFirewall
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_NETWORKFIREWALL_API StartAnalysisReportRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "StartAnalysisReport"; }
32
33 AWS_NETWORKFIREWALL_API Aws::String SerializePayload() const override;
34
35 AWS_NETWORKFIREWALL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36
37
39
44 inline const Aws::String& GetFirewallName() const { return m_firewallName; }
45 inline bool FirewallNameHasBeenSet() const { return m_firewallNameHasBeenSet; }
46 template<typename FirewallNameT = Aws::String>
47 void SetFirewallName(FirewallNameT&& value) { m_firewallNameHasBeenSet = true; m_firewallName = std::forward<FirewallNameT>(value); }
48 template<typename FirewallNameT = Aws::String>
49 StartAnalysisReportRequest& WithFirewallName(FirewallNameT&& value) { SetFirewallName(std::forward<FirewallNameT>(value)); return *this;}
51
53
57 inline const Aws::String& GetFirewallArn() const { return m_firewallArn; }
58 inline bool FirewallArnHasBeenSet() const { return m_firewallArnHasBeenSet; }
59 template<typename FirewallArnT = Aws::String>
60 void SetFirewallArn(FirewallArnT&& value) { m_firewallArnHasBeenSet = true; m_firewallArn = std::forward<FirewallArnT>(value); }
61 template<typename FirewallArnT = Aws::String>
62 StartAnalysisReportRequest& WithFirewallArn(FirewallArnT&& value) { SetFirewallArn(std::forward<FirewallArnT>(value)); return *this;}
64
66
69 inline EnabledAnalysisType GetAnalysisType() const { return m_analysisType; }
70 inline bool AnalysisTypeHasBeenSet() const { return m_analysisTypeHasBeenSet; }
71 inline void SetAnalysisType(EnabledAnalysisType value) { m_analysisTypeHasBeenSet = true; m_analysisType = value; }
74 private:
75
76 Aws::String m_firewallName;
77 bool m_firewallNameHasBeenSet = false;
78
79 Aws::String m_firewallArn;
80 bool m_firewallArnHasBeenSet = false;
81
83 bool m_analysisTypeHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace NetworkFirewall
88} // namespace Aws
AWS_NETWORKFIREWALL_API Aws::String SerializePayload() const override
StartAnalysisReportRequest & WithAnalysisType(EnabledAnalysisType value)
StartAnalysisReportRequest & WithFirewallArn(FirewallArnT &&value)
AWS_NETWORKFIREWALL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_NETWORKFIREWALL_API StartAnalysisReportRequest()=default
StartAnalysisReportRequest & WithFirewallName(FirewallNameT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String