AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AdditionalDetail.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ec2/model/AnalysisComponent.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/ec2/model/RuleOption.h>
13#include <aws/ec2/model/RuleGroupTypePair.h>
14#include <aws/ec2/model/RuleGroupRuleOptionsPair.h>
15#include <utility>
16
17namespace Aws
18{
19namespace Utils
20{
21namespace Xml
22{
23 class XmlNode;
24} // namespace Xml
25} // namespace Utils
26namespace EC2
27{
28namespace Model
29{
30
40 {
41 public:
42 AWS_EC2_API AdditionalDetail();
43 AWS_EC2_API AdditionalDetail(const Aws::Utils::Xml::XmlNode& xmlNode);
45
46 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
47 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
48
49
51
54 inline const Aws::String& GetAdditionalDetailType() const{ return m_additionalDetailType; }
55 inline bool AdditionalDetailTypeHasBeenSet() const { return m_additionalDetailTypeHasBeenSet; }
56 inline void SetAdditionalDetailType(const Aws::String& value) { m_additionalDetailTypeHasBeenSet = true; m_additionalDetailType = value; }
57 inline void SetAdditionalDetailType(Aws::String&& value) { m_additionalDetailTypeHasBeenSet = true; m_additionalDetailType = std::move(value); }
58 inline void SetAdditionalDetailType(const char* value) { m_additionalDetailTypeHasBeenSet = true; m_additionalDetailType.assign(value); }
60 inline AdditionalDetail& WithAdditionalDetailType(Aws::String&& value) { SetAdditionalDetailType(std::move(value)); return *this;}
61 inline AdditionalDetail& WithAdditionalDetailType(const char* value) { SetAdditionalDetailType(value); return *this;}
63
65
68 inline const AnalysisComponent& GetComponent() const{ return m_component; }
69 inline bool ComponentHasBeenSet() const { return m_componentHasBeenSet; }
70 inline void SetComponent(const AnalysisComponent& value) { m_componentHasBeenSet = true; m_component = value; }
71 inline void SetComponent(AnalysisComponent&& value) { m_componentHasBeenSet = true; m_component = std::move(value); }
72 inline AdditionalDetail& WithComponent(const AnalysisComponent& value) { SetComponent(value); return *this;}
73 inline AdditionalDetail& WithComponent(AnalysisComponent&& value) { SetComponent(std::move(value)); return *this;}
75
77
80 inline const AnalysisComponent& GetVpcEndpointService() const{ return m_vpcEndpointService; }
81 inline bool VpcEndpointServiceHasBeenSet() const { return m_vpcEndpointServiceHasBeenSet; }
82 inline void SetVpcEndpointService(const AnalysisComponent& value) { m_vpcEndpointServiceHasBeenSet = true; m_vpcEndpointService = value; }
83 inline void SetVpcEndpointService(AnalysisComponent&& value) { m_vpcEndpointServiceHasBeenSet = true; m_vpcEndpointService = std::move(value); }
85 inline AdditionalDetail& WithVpcEndpointService(AnalysisComponent&& value) { SetVpcEndpointService(std::move(value)); return *this;}
87
89
92 inline const Aws::Vector<RuleOption>& GetRuleOptions() const{ return m_ruleOptions; }
93 inline bool RuleOptionsHasBeenSet() const { return m_ruleOptionsHasBeenSet; }
94 inline void SetRuleOptions(const Aws::Vector<RuleOption>& value) { m_ruleOptionsHasBeenSet = true; m_ruleOptions = value; }
95 inline void SetRuleOptions(Aws::Vector<RuleOption>&& value) { m_ruleOptionsHasBeenSet = true; m_ruleOptions = std::move(value); }
96 inline AdditionalDetail& WithRuleOptions(const Aws::Vector<RuleOption>& value) { SetRuleOptions(value); return *this;}
97 inline AdditionalDetail& WithRuleOptions(Aws::Vector<RuleOption>&& value) { SetRuleOptions(std::move(value)); return *this;}
98 inline AdditionalDetail& AddRuleOptions(const RuleOption& value) { m_ruleOptionsHasBeenSet = true; m_ruleOptions.push_back(value); return *this; }
99 inline AdditionalDetail& AddRuleOptions(RuleOption&& value) { m_ruleOptionsHasBeenSet = true; m_ruleOptions.push_back(std::move(value)); return *this; }
101
103
106 inline const Aws::Vector<RuleGroupTypePair>& GetRuleGroupTypePairs() const{ return m_ruleGroupTypePairs; }
107 inline bool RuleGroupTypePairsHasBeenSet() const { return m_ruleGroupTypePairsHasBeenSet; }
108 inline void SetRuleGroupTypePairs(const Aws::Vector<RuleGroupTypePair>& value) { m_ruleGroupTypePairsHasBeenSet = true; m_ruleGroupTypePairs = value; }
109 inline void SetRuleGroupTypePairs(Aws::Vector<RuleGroupTypePair>&& value) { m_ruleGroupTypePairsHasBeenSet = true; m_ruleGroupTypePairs = std::move(value); }
112 inline AdditionalDetail& AddRuleGroupTypePairs(const RuleGroupTypePair& value) { m_ruleGroupTypePairsHasBeenSet = true; m_ruleGroupTypePairs.push_back(value); return *this; }
113 inline AdditionalDetail& AddRuleGroupTypePairs(RuleGroupTypePair&& value) { m_ruleGroupTypePairsHasBeenSet = true; m_ruleGroupTypePairs.push_back(std::move(value)); return *this; }
115
117
120 inline const Aws::Vector<RuleGroupRuleOptionsPair>& GetRuleGroupRuleOptionsPairs() const{ return m_ruleGroupRuleOptionsPairs; }
121 inline bool RuleGroupRuleOptionsPairsHasBeenSet() const { return m_ruleGroupRuleOptionsPairsHasBeenSet; }
122 inline void SetRuleGroupRuleOptionsPairs(const Aws::Vector<RuleGroupRuleOptionsPair>& value) { m_ruleGroupRuleOptionsPairsHasBeenSet = true; m_ruleGroupRuleOptionsPairs = value; }
123 inline void SetRuleGroupRuleOptionsPairs(Aws::Vector<RuleGroupRuleOptionsPair>&& value) { m_ruleGroupRuleOptionsPairsHasBeenSet = true; m_ruleGroupRuleOptionsPairs = std::move(value); }
126 inline AdditionalDetail& AddRuleGroupRuleOptionsPairs(const RuleGroupRuleOptionsPair& value) { m_ruleGroupRuleOptionsPairsHasBeenSet = true; m_ruleGroupRuleOptionsPairs.push_back(value); return *this; }
127 inline AdditionalDetail& AddRuleGroupRuleOptionsPairs(RuleGroupRuleOptionsPair&& value) { m_ruleGroupRuleOptionsPairsHasBeenSet = true; m_ruleGroupRuleOptionsPairs.push_back(std::move(value)); return *this; }
129
131
134 inline const Aws::String& GetServiceName() const{ return m_serviceName; }
135 inline bool ServiceNameHasBeenSet() const { return m_serviceNameHasBeenSet; }
136 inline void SetServiceName(const Aws::String& value) { m_serviceNameHasBeenSet = true; m_serviceName = value; }
137 inline void SetServiceName(Aws::String&& value) { m_serviceNameHasBeenSet = true; m_serviceName = std::move(value); }
138 inline void SetServiceName(const char* value) { m_serviceNameHasBeenSet = true; m_serviceName.assign(value); }
139 inline AdditionalDetail& WithServiceName(const Aws::String& value) { SetServiceName(value); return *this;}
140 inline AdditionalDetail& WithServiceName(Aws::String&& value) { SetServiceName(std::move(value)); return *this;}
141 inline AdditionalDetail& WithServiceName(const char* value) { SetServiceName(value); return *this;}
143
145
148 inline const Aws::Vector<AnalysisComponent>& GetLoadBalancers() const{ return m_loadBalancers; }
149 inline bool LoadBalancersHasBeenSet() const { return m_loadBalancersHasBeenSet; }
150 inline void SetLoadBalancers(const Aws::Vector<AnalysisComponent>& value) { m_loadBalancersHasBeenSet = true; m_loadBalancers = value; }
151 inline void SetLoadBalancers(Aws::Vector<AnalysisComponent>&& value) { m_loadBalancersHasBeenSet = true; m_loadBalancers = std::move(value); }
153 inline AdditionalDetail& WithLoadBalancers(Aws::Vector<AnalysisComponent>&& value) { SetLoadBalancers(std::move(value)); return *this;}
154 inline AdditionalDetail& AddLoadBalancers(const AnalysisComponent& value) { m_loadBalancersHasBeenSet = true; m_loadBalancers.push_back(value); return *this; }
155 inline AdditionalDetail& AddLoadBalancers(AnalysisComponent&& value) { m_loadBalancersHasBeenSet = true; m_loadBalancers.push_back(std::move(value)); return *this; }
157 private:
158
159 Aws::String m_additionalDetailType;
160 bool m_additionalDetailTypeHasBeenSet = false;
161
162 AnalysisComponent m_component;
163 bool m_componentHasBeenSet = false;
164
165 AnalysisComponent m_vpcEndpointService;
166 bool m_vpcEndpointServiceHasBeenSet = false;
167
168 Aws::Vector<RuleOption> m_ruleOptions;
169 bool m_ruleOptionsHasBeenSet = false;
170
171 Aws::Vector<RuleGroupTypePair> m_ruleGroupTypePairs;
172 bool m_ruleGroupTypePairsHasBeenSet = false;
173
174 Aws::Vector<RuleGroupRuleOptionsPair> m_ruleGroupRuleOptionsPairs;
175 bool m_ruleGroupRuleOptionsPairsHasBeenSet = false;
176
177 Aws::String m_serviceName;
178 bool m_serviceNameHasBeenSet = false;
179
180 Aws::Vector<AnalysisComponent> m_loadBalancers;
181 bool m_loadBalancersHasBeenSet = false;
182 };
183
184} // namespace Model
185} // namespace EC2
186} // namespace Aws
AdditionalDetail & AddRuleGroupRuleOptionsPairs(RuleGroupRuleOptionsPair &&value)
void SetRuleGroupRuleOptionsPairs(const Aws::Vector< RuleGroupRuleOptionsPair > &value)
AWS_EC2_API AdditionalDetail & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetServiceName(const Aws::String &value)
AdditionalDetail & WithServiceName(const Aws::String &value)
const AnalysisComponent & GetVpcEndpointService() const
void SetRuleOptions(const Aws::Vector< RuleOption > &value)
AdditionalDetail & AddRuleGroupTypePairs(const RuleGroupTypePair &value)
void SetLoadBalancers(const Aws::Vector< AnalysisComponent > &value)
void SetRuleOptions(Aws::Vector< RuleOption > &&value)
AdditionalDetail & AddRuleGroupTypePairs(RuleGroupTypePair &&value)
AdditionalDetail & AddRuleOptions(RuleOption &&value)
void SetRuleGroupRuleOptionsPairs(Aws::Vector< RuleGroupRuleOptionsPair > &&value)
void SetRuleGroupTypePairs(const Aws::Vector< RuleGroupTypePair > &value)
void SetVpcEndpointService(const AnalysisComponent &value)
AdditionalDetail & WithRuleOptions(Aws::Vector< RuleOption > &&value)
AdditionalDetail & WithAdditionalDetailType(const char *value)
AdditionalDetail & WithLoadBalancers(const Aws::Vector< AnalysisComponent > &value)
void SetRuleGroupTypePairs(Aws::Vector< RuleGroupTypePair > &&value)
AdditionalDetail & WithRuleGroupRuleOptionsPairs(Aws::Vector< RuleGroupRuleOptionsPair > &&value)
AdditionalDetail & AddRuleOptions(const RuleOption &value)
const Aws::String & GetServiceName() const
void SetAdditionalDetailType(const char *value)
const AnalysisComponent & GetComponent() const
AdditionalDetail & WithVpcEndpointService(const AnalysisComponent &value)
const Aws::Vector< RuleGroupRuleOptionsPair > & GetRuleGroupRuleOptionsPairs() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AdditionalDetail & WithLoadBalancers(Aws::Vector< AnalysisComponent > &&value)
AdditionalDetail & WithAdditionalDetailType(const Aws::String &value)
AdditionalDetail & WithComponent(AnalysisComponent &&value)
void SetVpcEndpointService(AnalysisComponent &&value)
void SetComponent(AnalysisComponent &&value)
AdditionalDetail & AddLoadBalancers(const AnalysisComponent &value)
AWS_EC2_API AdditionalDetail(const Aws::Utils::Xml::XmlNode &xmlNode)
AdditionalDetail & WithServiceName(Aws::String &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AdditionalDetail & WithRuleGroupTypePairs(Aws::Vector< RuleGroupTypePair > &&value)
AdditionalDetail & WithServiceName(const char *value)
void SetAdditionalDetailType(const Aws::String &value)
AdditionalDetail & WithVpcEndpointService(AnalysisComponent &&value)
const Aws::String & GetAdditionalDetailType() const
AdditionalDetail & AddLoadBalancers(AnalysisComponent &&value)
void SetAdditionalDetailType(Aws::String &&value)
const Aws::Vector< RuleOption > & GetRuleOptions() const
AdditionalDetail & WithComponent(const AnalysisComponent &value)
void SetServiceName(Aws::String &&value)
AdditionalDetail & WithRuleOptions(const Aws::Vector< RuleOption > &value)
AdditionalDetail & WithRuleGroupRuleOptionsPairs(const Aws::Vector< RuleGroupRuleOptionsPair > &value)
AdditionalDetail & WithAdditionalDetailType(Aws::String &&value)
const Aws::Vector< AnalysisComponent > & GetLoadBalancers() const
void SetLoadBalancers(Aws::Vector< AnalysisComponent > &&value)
AdditionalDetail & WithRuleGroupTypePairs(const Aws::Vector< RuleGroupTypePair > &value)
void SetServiceName(const char *value)
const Aws::Vector< RuleGroupTypePair > & GetRuleGroupTypePairs() const
AdditionalDetail & AddRuleGroupRuleOptionsPairs(const RuleGroupRuleOptionsPair &value)
void SetComponent(const AnalysisComponent &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream