AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
AccessLogSettings.h
1
6#pragma once
7#include <aws/apigatewayv2/ApiGatewayV2_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 ApiGatewayV2
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_APIGATEWAYV2_API AccessLogSettings() = default;
35 AWS_APIGATEWAYV2_API AccessLogSettings(Aws::Utils::Json::JsonView jsonValue);
36 AWS_APIGATEWAYV2_API AccessLogSettings& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_APIGATEWAYV2_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetDestinationArn() const { return m_destinationArn; }
45 inline bool DestinationArnHasBeenSet() const { return m_destinationArnHasBeenSet; }
46 template<typename DestinationArnT = Aws::String>
47 void SetDestinationArn(DestinationArnT&& value) { m_destinationArnHasBeenSet = true; m_destinationArn = std::forward<DestinationArnT>(value); }
48 template<typename DestinationArnT = Aws::String>
49 AccessLogSettings& WithDestinationArn(DestinationArnT&& value) { SetDestinationArn(std::forward<DestinationArnT>(value)); return *this;}
51
53
57 inline const Aws::String& GetFormat() const { return m_format; }
58 inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
59 template<typename FormatT = Aws::String>
60 void SetFormat(FormatT&& value) { m_formatHasBeenSet = true; m_format = std::forward<FormatT>(value); }
61 template<typename FormatT = Aws::String>
62 AccessLogSettings& WithFormat(FormatT&& value) { SetFormat(std::forward<FormatT>(value)); return *this;}
64 private:
65
66 Aws::String m_destinationArn;
67 bool m_destinationArnHasBeenSet = false;
68
69 Aws::String m_format;
70 bool m_formatHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace ApiGatewayV2
75} // namespace Aws
AccessLogSettings & WithDestinationArn(DestinationArnT &&value)
AWS_APIGATEWAYV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_APIGATEWAYV2_API AccessLogSettings(Aws::Utils::Json::JsonView jsonValue)
AWS_APIGATEWAYV2_API AccessLogSettings()=default
AWS_APIGATEWAYV2_API AccessLogSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
AccessLogSettings & WithFormat(FormatT &&value)
const Aws::String & GetDestinationArn() const
void SetDestinationArn(DestinationArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue