AWS SDK for C++

AWS SDK for C++ Version 1.11.942

Loading...
Searching...
No Matches
EnvironmentUpdateWebConfigRequest.h
1
6#pragma once
7#include <aws/amplifygen3/AmplifyGen3_EXPORTS.h>
8#include <aws/amplifygen3/model/AccessLogConfigRequest.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
31 public:
32 AWS_AMPLIFYGEN3_API EnvironmentUpdateWebConfigRequest() = default;
35 AWS_AMPLIFYGEN3_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const AccessLogConfigRequest& GetAccessLogConfig() const { return m_accessLogConfig; }
42 inline bool AccessLogConfigHasBeenSet() const { return m_accessLogConfigHasBeenSet; }
43 template <typename AccessLogConfigT = AccessLogConfigRequest>
44 void SetAccessLogConfig(AccessLogConfigT&& value) {
45 m_accessLogConfigHasBeenSet = true;
46 m_accessLogConfig = std::forward<AccessLogConfigT>(value);
47 }
48 template <typename AccessLogConfigT = AccessLogConfigRequest>
50 SetAccessLogConfig(std::forward<AccessLogConfigT>(value));
51 return *this;
52 }
54
56
59 inline const EnvironmentAliasConfig& GetEnvironmentAliasConfig() const { return m_environmentAliasConfig; }
60 inline bool EnvironmentAliasConfigHasBeenSet() const { return m_environmentAliasConfigHasBeenSet; }
61 template <typename EnvironmentAliasConfigT = EnvironmentAliasConfig>
62 void SetEnvironmentAliasConfig(EnvironmentAliasConfigT&& value) {
63 m_environmentAliasConfigHasBeenSet = true;
64 m_environmentAliasConfig = std::forward<EnvironmentAliasConfigT>(value);
65 }
66 template <typename EnvironmentAliasConfigT = EnvironmentAliasConfig>
68 SetEnvironmentAliasConfig(std::forward<EnvironmentAliasConfigT>(value));
69 return *this;
70 }
72
74
77 inline const SkewProtectionConfig& GetSkewProtectionConfig() const { return m_skewProtectionConfig; }
78 inline bool SkewProtectionConfigHasBeenSet() const { return m_skewProtectionConfigHasBeenSet; }
79 template <typename SkewProtectionConfigT = SkewProtectionConfig>
80 void SetSkewProtectionConfig(SkewProtectionConfigT&& value) {
81 m_skewProtectionConfigHasBeenSet = true;
82 m_skewProtectionConfig = std::forward<SkewProtectionConfigT>(value);
83 }
84 template <typename SkewProtectionConfigT = SkewProtectionConfig>
86 SetSkewProtectionConfig(std::forward<SkewProtectionConfigT>(value));
87 return *this;
88 }
90 private:
91 AccessLogConfigRequest m_accessLogConfig;
92
93 EnvironmentAliasConfig m_environmentAliasConfig;
94
95 SkewProtectionConfig m_skewProtectionConfig;
96 bool m_accessLogConfigHasBeenSet = false;
97 bool m_environmentAliasConfigHasBeenSet = false;
98 bool m_skewProtectionConfigHasBeenSet = false;
99};
100
101} // namespace Model
102} // namespace AmplifyGen3
103} // namespace Aws
EnvironmentUpdateWebConfigRequest & WithAccessLogConfig(AccessLogConfigT &&value)
AWS_AMPLIFYGEN3_API EnvironmentUpdateWebConfigRequest()=default
AWS_AMPLIFYGEN3_API EnvironmentUpdateWebConfigRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_AMPLIFYGEN3_API EnvironmentUpdateWebConfigRequest(Aws::Utils::Json::JsonView jsonValue)
EnvironmentUpdateWebConfigRequest & WithSkewProtectionConfig(SkewProtectionConfigT &&value)
EnvironmentUpdateWebConfigRequest & WithEnvironmentAliasConfig(EnvironmentAliasConfigT &&value)
AWS_AMPLIFYGEN3_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue