AWS SDK for C++

AWS SDK for C++ Version 1.11.766

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
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace APIGateway {
20namespace Model {
21
29 public:
30 AWS_APIGATEWAY_API AccessLogSettings() = default;
31 AWS_APIGATEWAY_API AccessLogSettings(Aws::Utils::Json::JsonView jsonValue);
33 AWS_APIGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
41 inline const Aws::String& GetFormat() const { return m_format; }
42 inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
43 template <typename FormatT = Aws::String>
44 void SetFormat(FormatT&& value) {
45 m_formatHasBeenSet = true;
46 m_format = std::forward<FormatT>(value);
47 }
48 template <typename FormatT = Aws::String>
49 AccessLogSettings& WithFormat(FormatT&& value) {
50 SetFormat(std::forward<FormatT>(value));
51 return *this;
52 }
54
56
62 inline const Aws::String& GetDestinationArn() const { return m_destinationArn; }
63 inline bool DestinationArnHasBeenSet() const { return m_destinationArnHasBeenSet; }
64 template <typename DestinationArnT = Aws::String>
65 void SetDestinationArn(DestinationArnT&& value) {
66 m_destinationArnHasBeenSet = true;
67 m_destinationArn = std::forward<DestinationArnT>(value);
68 }
69 template <typename DestinationArnT = Aws::String>
70 AccessLogSettings& WithDestinationArn(DestinationArnT&& value) {
71 SetDestinationArn(std::forward<DestinationArnT>(value));
72 return *this;
73 }
75 private:
76 Aws::String m_format;
77
78 Aws::String m_destinationArn;
79 bool m_formatHasBeenSet = false;
80 bool m_destinationArnHasBeenSet = false;
81};
82
83} // namespace Model
84} // namespace APIGateway
85} // namespace Aws
AWS_APIGATEWAY_API AccessLogSettings(Aws::Utils::Json::JsonView jsonValue)
void SetDestinationArn(DestinationArnT &&value)
AWS_APIGATEWAY_API AccessLogSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_APIGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetDestinationArn() const
AccessLogSettings & WithDestinationArn(DestinationArnT &&value)
AWS_APIGATEWAY_API AccessLogSettings()=default
AccessLogSettings & WithFormat(FormatT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue