AWS SDK for C++

AWS SDK for C++ Version 1.11.918

Loading...
Searching...
No Matches
GatewayConnectionResources.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/GatewayConnectionAlbResources.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 GatewayConnectionResources() = default;
35
37
41 inline const Aws::Vector<GatewayConnectionAlbResources>& GetHostSharedAlb() const { return m_hostSharedAlb; }
42 inline bool HostSharedAlbHasBeenSet() const { return m_hostSharedAlbHasBeenSet; }
43 template <typename HostSharedAlbT = Aws::Vector<GatewayConnectionAlbResources>>
44 void SetHostSharedAlb(HostSharedAlbT&& value) {
45 m_hostSharedAlbHasBeenSet = true;
46 m_hostSharedAlb = std::forward<HostSharedAlbT>(value);
47 }
48 template <typename HostSharedAlbT = Aws::Vector<GatewayConnectionAlbResources>>
50 SetHostSharedAlb(std::forward<HostSharedAlbT>(value));
51 return *this;
52 }
53 template <typename HostSharedAlbT = GatewayConnectionAlbResources>
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 Aws::Utils::Json::JsonValue Jsonize() const
GatewayConnectionResources & AddHostSharedAlb(HostSharedAlbT &&value)
const Aws::Vector< GatewayConnectionAlbResources > & GetHostSharedAlb() const
AWS_ECS_API GatewayConnectionResources()=default
AWS_ECS_API GatewayConnectionResources & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ECS_API GatewayConnectionResources(Aws::Utils::Json::JsonView jsonValue)
GatewayConnectionResources & WithHostSharedAlb(HostSharedAlbT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue