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/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() = default;
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 template<typename FormatT = Aws::String>
50 void SetFormat(FormatT&& value) { m_formatHasBeenSet = true; m_format = std::forward<FormatT>(value); }
51 template<typename FormatT = Aws::String>
52 AccessLogSettings& WithFormat(FormatT&& value) { SetFormat(std::forward<FormatT>(value)); return *this;}
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) { m_destinationArnHasBeenSet = true; m_destinationArn = std::forward<DestinationArnT>(value); }
66 template<typename DestinationArnT = Aws::String>
67 AccessLogSettings& WithDestinationArn(DestinationArnT&& value) { SetDestinationArn(std::forward<DestinationArnT>(value)); return *this;}
69 private:
70
71 Aws::String m_format;
72 bool m_formatHasBeenSet = false;
73
74 Aws::String m_destinationArn;
75 bool m_destinationArnHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace APIGateway
80} // 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