AWS SDK for C++

AWS SDK for C++ Version 1.11.908

Loading...
Searching...
No Matches
VpcLatticeAdvancedConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/ecs/ECS_EXPORTS.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
33 public:
34 AWS_ECS_API VpcLatticeAdvancedConfiguration() = default;
38
40
44 inline const Aws::String& GetAlternateTargetGroupArn() const { return m_alternateTargetGroupArn; }
45 inline bool AlternateTargetGroupArnHasBeenSet() const { return m_alternateTargetGroupArnHasBeenSet; }
46 template <typename AlternateTargetGroupArnT = Aws::String>
47 void SetAlternateTargetGroupArn(AlternateTargetGroupArnT&& value) {
48 m_alternateTargetGroupArnHasBeenSet = true;
49 m_alternateTargetGroupArn = std::forward<AlternateTargetGroupArnT>(value);
50 }
51 template <typename AlternateTargetGroupArnT = Aws::String>
53 SetAlternateTargetGroupArn(std::forward<AlternateTargetGroupArnT>(value));
54 return *this;
55 }
57
59
63 inline const Aws::String& GetProductionListenerRule() const { return m_productionListenerRule; }
64 inline bool ProductionListenerRuleHasBeenSet() const { return m_productionListenerRuleHasBeenSet; }
65 template <typename ProductionListenerRuleT = Aws::String>
66 void SetProductionListenerRule(ProductionListenerRuleT&& value) {
67 m_productionListenerRuleHasBeenSet = true;
68 m_productionListenerRule = std::forward<ProductionListenerRuleT>(value);
69 }
70 template <typename ProductionListenerRuleT = Aws::String>
72 SetProductionListenerRule(std::forward<ProductionListenerRuleT>(value));
73 return *this;
74 }
76
78
82 inline const Aws::String& GetTestListenerRule() const { return m_testListenerRule; }
83 inline bool TestListenerRuleHasBeenSet() const { return m_testListenerRuleHasBeenSet; }
84 template <typename TestListenerRuleT = Aws::String>
85 void SetTestListenerRule(TestListenerRuleT&& value) {
86 m_testListenerRuleHasBeenSet = true;
87 m_testListenerRule = std::forward<TestListenerRuleT>(value);
88 }
89 template <typename TestListenerRuleT = Aws::String>
91 SetTestListenerRule(std::forward<TestListenerRuleT>(value));
92 return *this;
93 }
95 private:
96 Aws::String m_alternateTargetGroupArn;
97
98 Aws::String m_productionListenerRule;
99
100 Aws::String m_testListenerRule;
101 bool m_alternateTargetGroupArnHasBeenSet = false;
102 bool m_productionListenerRuleHasBeenSet = false;
103 bool m_testListenerRuleHasBeenSet = false;
104};
105
106} // namespace Model
107} // namespace ECS
108} // namespace Aws
void SetProductionListenerRule(ProductionListenerRuleT &&value)
AWS_ECS_API VpcLatticeAdvancedConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAlternateTargetGroupArn(AlternateTargetGroupArnT &&value)
VpcLatticeAdvancedConfiguration & WithAlternateTargetGroupArn(AlternateTargetGroupArnT &&value)
VpcLatticeAdvancedConfiguration & WithProductionListenerRule(ProductionListenerRuleT &&value)
VpcLatticeAdvancedConfiguration & WithTestListenerRule(TestListenerRuleT &&value)
AWS_ECS_API VpcLatticeAdvancedConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue