AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetFormat(const Aws::String& value) { m_formatHasBeenSet = true; m_format = value; }
50 inline void SetFormat(Aws::String&& value) { m_formatHasBeenSet = true; m_format = std::move(value); }
51 inline void SetFormat(const char* value) { m_formatHasBeenSet = true; m_format.assign(value); }
52 inline AwsApiGatewayAccessLogSettings& WithFormat(const Aws::String& value) { SetFormat(value); return *this;}
53 inline AwsApiGatewayAccessLogSettings& WithFormat(Aws::String&& value) { SetFormat(std::move(value)); return *this;}
54 inline AwsApiGatewayAccessLogSettings& WithFormat(const char* value) { SetFormat(value); return *this;}
56
58
61 inline const Aws::String& GetDestinationArn() const{ return m_destinationArn; }
62 inline bool DestinationArnHasBeenSet() const { return m_destinationArnHasBeenSet; }
63 inline void SetDestinationArn(const Aws::String& value) { m_destinationArnHasBeenSet = true; m_destinationArn = value; }
64 inline void SetDestinationArn(Aws::String&& value) { m_destinationArnHasBeenSet = true; m_destinationArn = std::move(value); }
65 inline void SetDestinationArn(const char* value) { m_destinationArnHasBeenSet = true; m_destinationArn.assign(value); }
67 inline AwsApiGatewayAccessLogSettings& WithDestinationArn(Aws::String&& value) { SetDestinationArn(std::move(value)); return *this;}
68 inline AwsApiGatewayAccessLogSettings& WithDestinationArn(const char* value) { SetDestinationArn(value); return *this;}
70 private:
71
72 Aws::String m_format;
73 bool m_formatHasBeenSet = false;
74
75 Aws::String m_destinationArn;
76 bool m_destinationArnHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace SecurityHub
81} // namespace Aws
AWS_SECURITYHUB_API AwsApiGatewayAccessLogSettings(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API AwsApiGatewayAccessLogSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsApiGatewayAccessLogSettings & WithDestinationArn(const char *value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AwsApiGatewayAccessLogSettings & WithFormat(const char *value)
AwsApiGatewayAccessLogSettings & WithFormat(Aws::String &&value)
AwsApiGatewayAccessLogSettings & WithFormat(const Aws::String &value)
AwsApiGatewayAccessLogSettings & WithDestinationArn(Aws::String &&value)
AwsApiGatewayAccessLogSettings & WithDestinationArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue