AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetDestinationArn(const Aws::String& value) { m_destinationArnHasBeenSet = true; m_destinationArn = value; }
47 inline void SetDestinationArn(Aws::String&& value) { m_destinationArnHasBeenSet = true; m_destinationArn = std::move(value); }
48 inline void SetDestinationArn(const char* value) { m_destinationArnHasBeenSet = true; m_destinationArn.assign(value); }
49 inline AccessLogSettings& WithDestinationArn(const Aws::String& value) { SetDestinationArn(value); return *this;}
50 inline AccessLogSettings& WithDestinationArn(Aws::String&& value) { SetDestinationArn(std::move(value)); return *this;}
51 inline AccessLogSettings& WithDestinationArn(const char* value) { SetDestinationArn(value); return *this;}
53
55
59 inline const Aws::String& GetFormat() const{ return m_format; }
60 inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
61 inline void SetFormat(const Aws::String& value) { m_formatHasBeenSet = true; m_format = value; }
62 inline void SetFormat(Aws::String&& value) { m_formatHasBeenSet = true; m_format = std::move(value); }
63 inline void SetFormat(const char* value) { m_formatHasBeenSet = true; m_format.assign(value); }
64 inline AccessLogSettings& WithFormat(const Aws::String& value) { SetFormat(value); return *this;}
65 inline AccessLogSettings& WithFormat(Aws::String&& value) { SetFormat(std::move(value)); return *this;}
66 inline AccessLogSettings& WithFormat(const char* value) { SetFormat(value); return *this;}
68 private:
69
70 Aws::String m_destinationArn;
71 bool m_destinationArnHasBeenSet = false;
72
73 Aws::String m_format;
74 bool m_formatHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace ApiGatewayV2
79} // namespace Aws
AccessLogSettings & WithDestinationArn(const Aws::String &value)
AccessLogSettings & WithFormat(const Aws::String &value)
void SetFormat(const Aws::String &value)
AccessLogSettings & WithDestinationArn(const char *value)
AWS_APIGATEWAYV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_APIGATEWAYV2_API AccessLogSettings(Aws::Utils::Json::JsonView jsonValue)
AccessLogSettings & WithFormat(Aws::String &&value)
AccessLogSettings & WithDestinationArn(Aws::String &&value)
AccessLogSettings & WithFormat(const char *value)
AWS_APIGATEWAYV2_API AccessLogSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDestinationArn(const Aws::String &value)
const Aws::String & GetDestinationArn() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue