AWS SDK for C++

AWS SDK for C++ Version 1.11.942

Loading...
Searching...
No Matches
EnvironmentWebConfig.h
1
6#pragma once
7#include <aws/amplifygen3/AmplifyGen3_EXPORTS.h>
8#include <aws/amplifygen3/model/AccessLogConfig.h>
9#include <aws/amplifygen3/model/EnvironmentAliasConfig.h>
10#include <aws/amplifygen3/model/SkewProtectionConfig.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace AmplifyGen3 {
22namespace Model {
23
30 public:
31 AWS_AMPLIFYGEN3_API EnvironmentWebConfig() = default;
32 AWS_AMPLIFYGEN3_API EnvironmentWebConfig(Aws::Utils::Json::JsonView jsonValue);
34 AWS_AMPLIFYGEN3_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const AccessLogConfig& GetAccessLogConfig() const { return m_accessLogConfig; }
41 inline bool AccessLogConfigHasBeenSet() const { return m_accessLogConfigHasBeenSet; }
42 template <typename AccessLogConfigT = AccessLogConfig>
43 void SetAccessLogConfig(AccessLogConfigT&& value) {
44 m_accessLogConfigHasBeenSet = true;
45 m_accessLogConfig = std::forward<AccessLogConfigT>(value);
46 }
47 template <typename AccessLogConfigT = AccessLogConfig>
48 EnvironmentWebConfig& WithAccessLogConfig(AccessLogConfigT&& value) {
49 SetAccessLogConfig(std::forward<AccessLogConfigT>(value));
50 return *this;
51 }
53
55
58 inline const EnvironmentAliasConfig& GetEnvironmentAliasConfig() const { return m_environmentAliasConfig; }
59 inline bool EnvironmentAliasConfigHasBeenSet() const { return m_environmentAliasConfigHasBeenSet; }
60 template <typename EnvironmentAliasConfigT = EnvironmentAliasConfig>
61 void SetEnvironmentAliasConfig(EnvironmentAliasConfigT&& value) {
62 m_environmentAliasConfigHasBeenSet = true;
63 m_environmentAliasConfig = std::forward<EnvironmentAliasConfigT>(value);
64 }
65 template <typename EnvironmentAliasConfigT = EnvironmentAliasConfig>
66 EnvironmentWebConfig& WithEnvironmentAliasConfig(EnvironmentAliasConfigT&& value) {
67 SetEnvironmentAliasConfig(std::forward<EnvironmentAliasConfigT>(value));
68 return *this;
69 }
71
73
76 inline const SkewProtectionConfig& GetSkewProtectionConfig() const { return m_skewProtectionConfig; }
77 inline bool SkewProtectionConfigHasBeenSet() const { return m_skewProtectionConfigHasBeenSet; }
78 template <typename SkewProtectionConfigT = SkewProtectionConfig>
79 void SetSkewProtectionConfig(SkewProtectionConfigT&& value) {
80 m_skewProtectionConfigHasBeenSet = true;
81 m_skewProtectionConfig = std::forward<SkewProtectionConfigT>(value);
82 }
83 template <typename SkewProtectionConfigT = SkewProtectionConfig>
84 EnvironmentWebConfig& WithSkewProtectionConfig(SkewProtectionConfigT&& value) {
85 SetSkewProtectionConfig(std::forward<SkewProtectionConfigT>(value));
86 return *this;
87 }
89 private:
90 AccessLogConfig m_accessLogConfig;
91
92 EnvironmentAliasConfig m_environmentAliasConfig;
93
94 SkewProtectionConfig m_skewProtectionConfig;
95 bool m_accessLogConfigHasBeenSet = false;
96 bool m_environmentAliasConfigHasBeenSet = false;
97 bool m_skewProtectionConfigHasBeenSet = false;
98};
99
100} // namespace Model
101} // namespace AmplifyGen3
102} // namespace Aws
AWS_AMPLIFYGEN3_API Aws::Utils::Json::JsonValue Jsonize() const
void SetEnvironmentAliasConfig(EnvironmentAliasConfigT &&value)
void SetSkewProtectionConfig(SkewProtectionConfigT &&value)
EnvironmentWebConfig & WithSkewProtectionConfig(SkewProtectionConfigT &&value)
const SkewProtectionConfig & GetSkewProtectionConfig() const
AWS_AMPLIFYGEN3_API EnvironmentWebConfig()=default
AWS_AMPLIFYGEN3_API EnvironmentWebConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_AMPLIFYGEN3_API EnvironmentWebConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAccessLogConfig(AccessLogConfigT &&value)
EnvironmentWebConfig & WithAccessLogConfig(AccessLogConfigT &&value)
const EnvironmentAliasConfig & GetEnvironmentAliasConfig() const
const AccessLogConfig & GetAccessLogConfig() const
EnvironmentWebConfig & WithEnvironmentAliasConfig(EnvironmentAliasConfigT &&value)
Aws::Utils::Json::JsonValue JsonValue