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/apigateway/APIGateway_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 APIGateway
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_APIGATEWAY_API AccessLogSettings();
36 AWS_APIGATEWAY_API AccessLogSettings(Aws::Utils::Json::JsonView jsonValue);
38 AWS_APIGATEWAY_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 AccessLogSettings& WithFormat(const Aws::String& value) { SetFormat(value); return *this;}
53 inline AccessLogSettings& WithFormat(Aws::String&& value) { SetFormat(std::move(value)); return *this;}
54 inline AccessLogSettings& WithFormat(const char* value) { SetFormat(value); return *this;}
56
58
64 inline const Aws::String& GetDestinationArn() const{ return m_destinationArn; }
65 inline bool DestinationArnHasBeenSet() const { return m_destinationArnHasBeenSet; }
66 inline void SetDestinationArn(const Aws::String& value) { m_destinationArnHasBeenSet = true; m_destinationArn = value; }
67 inline void SetDestinationArn(Aws::String&& value) { m_destinationArnHasBeenSet = true; m_destinationArn = std::move(value); }
68 inline void SetDestinationArn(const char* value) { m_destinationArnHasBeenSet = true; m_destinationArn.assign(value); }
69 inline AccessLogSettings& WithDestinationArn(const Aws::String& value) { SetDestinationArn(value); return *this;}
70 inline AccessLogSettings& WithDestinationArn(Aws::String&& value) { SetDestinationArn(std::move(value)); return *this;}
71 inline AccessLogSettings& WithDestinationArn(const char* value) { SetDestinationArn(value); return *this;}
73 private:
74
75 Aws::String m_format;
76 bool m_formatHasBeenSet = false;
77
78 Aws::String m_destinationArn;
79 bool m_destinationArnHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace APIGateway
84} // namespace Aws
AccessLogSettings & WithDestinationArn(const Aws::String &value)
AccessLogSettings & WithFormat(Aws::String &&value)
AWS_APIGATEWAY_API AccessLogSettings(Aws::Utils::Json::JsonView jsonValue)
AccessLogSettings & WithFormat(const Aws::String &value)
AWS_APIGATEWAY_API AccessLogSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
AccessLogSettings & WithDestinationArn(const char *value)
void SetDestinationArn(const Aws::String &value)
void SetFormat(const Aws::String &value)
AccessLogSettings & WithDestinationArn(Aws::String &&value)
AWS_APIGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetDestinationArn() const
AccessLogSettings & WithFormat(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue