AWS SDK for C++

AWS SDK for C++ Version 1.11.942

Loading...
Searching...
No Matches
EnvironmentWebConfigRequest.h
1
6#pragma once
7#include <aws/amplifygen3/AmplifyGen3_EXPORTS.h>
8#include <aws/amplifygen3/model/EnvironmentAliasConfig.h>
9#include <aws/amplifygen3/model/SkewProtectionConfig.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace AmplifyGen3 {
21namespace Model {
22
30 public:
31 AWS_AMPLIFYGEN3_API EnvironmentWebConfigRequest() = default;
34 AWS_AMPLIFYGEN3_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const EnvironmentAliasConfig& GetEnvironmentAliasConfig() const { return m_environmentAliasConfig; }
41 inline bool EnvironmentAliasConfigHasBeenSet() const { return m_environmentAliasConfigHasBeenSet; }
42 template <typename EnvironmentAliasConfigT = EnvironmentAliasConfig>
43 void SetEnvironmentAliasConfig(EnvironmentAliasConfigT&& value) {
44 m_environmentAliasConfigHasBeenSet = true;
45 m_environmentAliasConfig = std::forward<EnvironmentAliasConfigT>(value);
46 }
47 template <typename EnvironmentAliasConfigT = EnvironmentAliasConfig>
48 EnvironmentWebConfigRequest& WithEnvironmentAliasConfig(EnvironmentAliasConfigT&& value) {
49 SetEnvironmentAliasConfig(std::forward<EnvironmentAliasConfigT>(value));
50 return *this;
51 }
53
55
58 inline const SkewProtectionConfig& GetSkewProtectionConfig() const { return m_skewProtectionConfig; }
59 inline bool SkewProtectionConfigHasBeenSet() const { return m_skewProtectionConfigHasBeenSet; }
60 template <typename SkewProtectionConfigT = SkewProtectionConfig>
61 void SetSkewProtectionConfig(SkewProtectionConfigT&& value) {
62 m_skewProtectionConfigHasBeenSet = true;
63 m_skewProtectionConfig = std::forward<SkewProtectionConfigT>(value);
64 }
65 template <typename SkewProtectionConfigT = SkewProtectionConfig>
66 EnvironmentWebConfigRequest& WithSkewProtectionConfig(SkewProtectionConfigT&& value) {
67 SetSkewProtectionConfig(std::forward<SkewProtectionConfigT>(value));
68 return *this;
69 }
71 private:
72 EnvironmentAliasConfig m_environmentAliasConfig;
73
74 SkewProtectionConfig m_skewProtectionConfig;
75 bool m_environmentAliasConfigHasBeenSet = false;
76 bool m_skewProtectionConfigHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace AmplifyGen3
81} // namespace Aws
const EnvironmentAliasConfig & GetEnvironmentAliasConfig() const
EnvironmentWebConfigRequest & WithSkewProtectionConfig(SkewProtectionConfigT &&value)
AWS_AMPLIFYGEN3_API EnvironmentWebConfigRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_AMPLIFYGEN3_API EnvironmentWebConfigRequest(Aws::Utils::Json::JsonView jsonValue)
EnvironmentWebConfigRequest & WithEnvironmentAliasConfig(EnvironmentAliasConfigT &&value)
AWS_AMPLIFYGEN3_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_AMPLIFYGEN3_API EnvironmentWebConfigRequest()=default
void SetEnvironmentAliasConfig(EnvironmentAliasConfigT &&value)
Aws::Utils::Json::JsonValue JsonValue