AWS SDK for C++

AWS SDK for C++ Version 1.11.918

Loading...
Searching...
No Matches
GatewayConfiguration.h
1
6#pragma once
7#include <aws/ecs/ECS_EXPORTS.h>
8#include <aws/ecs/model/HostSharedAlbConfiguration.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace ECS {
20namespace Model {
21
30 public:
31 AWS_ECS_API GatewayConfiguration() = default;
35
37
41 inline const HostSharedAlbConfiguration& GetHostSharedAlb() const { return m_hostSharedAlb; }
42 inline bool HostSharedAlbHasBeenSet() const { return m_hostSharedAlbHasBeenSet; }
43 template <typename HostSharedAlbT = HostSharedAlbConfiguration>
44 void SetHostSharedAlb(HostSharedAlbT&& value) {
45 m_hostSharedAlbHasBeenSet = true;
46 m_hostSharedAlb = std::forward<HostSharedAlbT>(value);
47 }
48 template <typename HostSharedAlbT = HostSharedAlbConfiguration>
49 GatewayConfiguration& WithHostSharedAlb(HostSharedAlbT&& value) {
50 SetHostSharedAlb(std::forward<HostSharedAlbT>(value));
51 return *this;
52 }
54 private:
55 HostSharedAlbConfiguration m_hostSharedAlb;
56 bool m_hostSharedAlbHasBeenSet = false;
57};
58
59} // namespace Model
60} // namespace ECS
61} // namespace Aws
AWS_ECS_API GatewayConfiguration()=default
void SetHostSharedAlb(HostSharedAlbT &&value)
AWS_ECS_API GatewayConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
const HostSharedAlbConfiguration & GetHostSharedAlb() const
GatewayConfiguration & WithHostSharedAlb(HostSharedAlbT &&value)
AWS_ECS_API GatewayConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue