AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
VpcLatticeConfiguration.h
1
6#pragma once
7#include <aws/ecs/ECS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace ECS
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_ECS_API VpcLatticeConfiguration() = default;
40
41
43
48 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
49 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
50 template<typename RoleArnT = Aws::String>
51 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
52 template<typename RoleArnT = Aws::String>
53 VpcLatticeConfiguration& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
55
57
62 inline const Aws::String& GetTargetGroupArn() const { return m_targetGroupArn; }
63 inline bool TargetGroupArnHasBeenSet() const { return m_targetGroupArnHasBeenSet; }
64 template<typename TargetGroupArnT = Aws::String>
65 void SetTargetGroupArn(TargetGroupArnT&& value) { m_targetGroupArnHasBeenSet = true; m_targetGroupArn = std::forward<TargetGroupArnT>(value); }
66 template<typename TargetGroupArnT = Aws::String>
67 VpcLatticeConfiguration& WithTargetGroupArn(TargetGroupArnT&& value) { SetTargetGroupArn(std::forward<TargetGroupArnT>(value)); return *this;}
69
71
76 inline const Aws::String& GetPortName() const { return m_portName; }
77 inline bool PortNameHasBeenSet() const { return m_portNameHasBeenSet; }
78 template<typename PortNameT = Aws::String>
79 void SetPortName(PortNameT&& value) { m_portNameHasBeenSet = true; m_portName = std::forward<PortNameT>(value); }
80 template<typename PortNameT = Aws::String>
81 VpcLatticeConfiguration& WithPortName(PortNameT&& value) { SetPortName(std::forward<PortNameT>(value)); return *this;}
83 private:
84
85 Aws::String m_roleArn;
86 bool m_roleArnHasBeenSet = false;
87
88 Aws::String m_targetGroupArn;
89 bool m_targetGroupArnHasBeenSet = false;
90
91 Aws::String m_portName;
92 bool m_portNameHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace ECS
97} // namespace Aws
void SetTargetGroupArn(TargetGroupArnT &&value)
AWS_ECS_API VpcLatticeConfiguration()=default
VpcLatticeConfiguration & WithPortName(PortNameT &&value)
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
VpcLatticeConfiguration & WithTargetGroupArn(TargetGroupArnT &&value)
AWS_ECS_API VpcLatticeConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_ECS_API VpcLatticeConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
VpcLatticeConfiguration & WithRoleArn(RoleArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue