AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
AdvancedConfiguration.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
37 {
38 public:
39 AWS_ECS_API AdvancedConfiguration() = default;
43
44
46
50 inline const Aws::String& GetAlternateTargetGroupArn() const { return m_alternateTargetGroupArn; }
51 inline bool AlternateTargetGroupArnHasBeenSet() const { return m_alternateTargetGroupArnHasBeenSet; }
52 template<typename AlternateTargetGroupArnT = Aws::String>
53 void SetAlternateTargetGroupArn(AlternateTargetGroupArnT&& value) { m_alternateTargetGroupArnHasBeenSet = true; m_alternateTargetGroupArn = std::forward<AlternateTargetGroupArnT>(value); }
54 template<typename AlternateTargetGroupArnT = Aws::String>
55 AdvancedConfiguration& WithAlternateTargetGroupArn(AlternateTargetGroupArnT&& value) { SetAlternateTargetGroupArn(std::forward<AlternateTargetGroupArnT>(value)); return *this;}
57
59
64 inline const Aws::String& GetProductionListenerRule() const { return m_productionListenerRule; }
65 inline bool ProductionListenerRuleHasBeenSet() const { return m_productionListenerRuleHasBeenSet; }
66 template<typename ProductionListenerRuleT = Aws::String>
67 void SetProductionListenerRule(ProductionListenerRuleT&& value) { m_productionListenerRuleHasBeenSet = true; m_productionListenerRule = std::forward<ProductionListenerRuleT>(value); }
68 template<typename ProductionListenerRuleT = Aws::String>
69 AdvancedConfiguration& WithProductionListenerRule(ProductionListenerRuleT&& value) { SetProductionListenerRule(std::forward<ProductionListenerRuleT>(value)); return *this;}
71
73
78 inline const Aws::String& GetTestListenerRule() const { return m_testListenerRule; }
79 inline bool TestListenerRuleHasBeenSet() const { return m_testListenerRuleHasBeenSet; }
80 template<typename TestListenerRuleT = Aws::String>
81 void SetTestListenerRule(TestListenerRuleT&& value) { m_testListenerRuleHasBeenSet = true; m_testListenerRule = std::forward<TestListenerRuleT>(value); }
82 template<typename TestListenerRuleT = Aws::String>
83 AdvancedConfiguration& WithTestListenerRule(TestListenerRuleT&& value) { SetTestListenerRule(std::forward<TestListenerRuleT>(value)); return *this;}
85
87
91 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
92 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
93 template<typename RoleArnT = Aws::String>
94 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
95 template<typename RoleArnT = Aws::String>
96 AdvancedConfiguration& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
98 private:
99
100 Aws::String m_alternateTargetGroupArn;
101 bool m_alternateTargetGroupArnHasBeenSet = false;
102
103 Aws::String m_productionListenerRule;
104 bool m_productionListenerRuleHasBeenSet = false;
105
106 Aws::String m_testListenerRule;
107 bool m_testListenerRuleHasBeenSet = false;
108
109 Aws::String m_roleArn;
110 bool m_roleArnHasBeenSet = false;
111 };
112
113} // namespace Model
114} // namespace ECS
115} // namespace Aws
AWS_ECS_API AdvancedConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetProductionListenerRule(ProductionListenerRuleT &&value)
AdvancedConfiguration & WithAlternateTargetGroupArn(AlternateTargetGroupArnT &&value)
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
AdvancedConfiguration & WithProductionListenerRule(ProductionListenerRuleT &&value)
AdvancedConfiguration & WithTestListenerRule(TestListenerRuleT &&value)
const Aws::String & GetProductionListenerRule() const
void SetTestListenerRule(TestListenerRuleT &&value)
AWS_ECS_API AdvancedConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetAlternateTargetGroupArn() const
void SetAlternateTargetGroupArn(AlternateTargetGroupArnT &&value)
AdvancedConfiguration & WithRoleArn(RoleArnT &&value)
AWS_ECS_API AdvancedConfiguration()=default
const Aws::String & GetTestListenerRule() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue