AWS SDK for C++

AWS SDK for C++ Version 1.11.919

Loading...
Searching...
No Matches
GatewayInfrastructureResources.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/ecs/ECS_EXPORTS.h>
9#include <aws/ecs/model/ElbGatewayResources.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace ECS {
21namespace Model {
22
30 public:
31 AWS_ECS_API GatewayInfrastructureResources() = default;
35
37
41 inline const Aws::Vector<ElbGatewayResources>& GetHostSharedAlb() const { return m_hostSharedAlb; }
42 inline bool HostSharedAlbHasBeenSet() const { return m_hostSharedAlbHasBeenSet; }
43 template <typename HostSharedAlbT = Aws::Vector<ElbGatewayResources>>
44 void SetHostSharedAlb(HostSharedAlbT&& value) {
45 m_hostSharedAlbHasBeenSet = true;
46 m_hostSharedAlb = std::forward<HostSharedAlbT>(value);
47 }
48 template <typename HostSharedAlbT = Aws::Vector<ElbGatewayResources>>
50 SetHostSharedAlb(std::forward<HostSharedAlbT>(value));
51 return *this;
52 }
53 template <typename HostSharedAlbT = ElbGatewayResources>
55 m_hostSharedAlbHasBeenSet = true;
56 m_hostSharedAlb.emplace_back(std::forward<HostSharedAlbT>(value));
57 return *this;
58 }
60 private:
62 bool m_hostSharedAlbHasBeenSet = false;
63};
64
65} // namespace Model
66} // namespace ECS
67} // namespace Aws
AWS_ECS_API GatewayInfrastructureResources(Aws::Utils::Json::JsonView jsonValue)
GatewayInfrastructureResources & AddHostSharedAlb(HostSharedAlbT &&value)
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
GatewayInfrastructureResources & WithHostSharedAlb(HostSharedAlbT &&value)
const Aws::Vector< ElbGatewayResources > & GetHostSharedAlb() const
AWS_ECS_API GatewayInfrastructureResources & operator=(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue