AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
AwsApiGatewayAccessLogSettings.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_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 SecurityHub
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_SECURITYHUB_API AwsApiGatewayAccessLogSettings() = default;
38 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
47 inline const Aws::String& GetFormat() const { return m_format; }
48 inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
49 template<typename FormatT = Aws::String>
50 void SetFormat(FormatT&& value) { m_formatHasBeenSet = true; m_format = std::forward<FormatT>(value); }
51 template<typename FormatT = Aws::String>
52 AwsApiGatewayAccessLogSettings& WithFormat(FormatT&& value) { SetFormat(std::forward<FormatT>(value)); return *this;}
54
56
59 inline const Aws::String& GetDestinationArn() const { return m_destinationArn; }
60 inline bool DestinationArnHasBeenSet() const { return m_destinationArnHasBeenSet; }
61 template<typename DestinationArnT = Aws::String>
62 void SetDestinationArn(DestinationArnT&& value) { m_destinationArnHasBeenSet = true; m_destinationArn = std::forward<DestinationArnT>(value); }
63 template<typename DestinationArnT = Aws::String>
64 AwsApiGatewayAccessLogSettings& WithDestinationArn(DestinationArnT&& value) { SetDestinationArn(std::forward<DestinationArnT>(value)); return *this;}
66 private:
67
68 Aws::String m_format;
69 bool m_formatHasBeenSet = false;
70
71 Aws::String m_destinationArn;
72 bool m_destinationArnHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace SecurityHub
77} // namespace Aws
AWS_SECURITYHUB_API AwsApiGatewayAccessLogSettings()=default
AWS_SECURITYHUB_API AwsApiGatewayAccessLogSettings(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API AwsApiGatewayAccessLogSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AwsApiGatewayAccessLogSettings & WithFormat(FormatT &&value)
AwsApiGatewayAccessLogSettings & WithDestinationArn(DestinationArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue