AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ModifyRuleResult.h
1
6#pragma once
7#include <aws/elasticloadbalancingv2/ElasticLoadBalancingv2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/elasticloadbalancingv2/model/ResponseMetadata.h>
10#include <aws/elasticloadbalancingv2/model/Rule.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Xml
21{
22 class XmlDocument;
23} // namespace Xml
24} // namespace Utils
25namespace ElasticLoadBalancingv2
26{
27namespace Model
28{
30 {
31 public:
32 AWS_ELASTICLOADBALANCINGV2_API ModifyRuleResult();
35
36
38
41 inline const Aws::Vector<Rule>& GetRules() const{ return m_rules; }
42 inline void SetRules(const Aws::Vector<Rule>& value) { m_rules = value; }
43 inline void SetRules(Aws::Vector<Rule>&& value) { m_rules = std::move(value); }
44 inline ModifyRuleResult& WithRules(const Aws::Vector<Rule>& value) { SetRules(value); return *this;}
45 inline ModifyRuleResult& WithRules(Aws::Vector<Rule>&& value) { SetRules(std::move(value)); return *this;}
46 inline ModifyRuleResult& AddRules(const Rule& value) { m_rules.push_back(value); return *this; }
47 inline ModifyRuleResult& AddRules(Rule&& value) { m_rules.push_back(std::move(value)); return *this; }
49
51
52 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
53 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
54 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
55 inline ModifyRuleResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
56 inline ModifyRuleResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
58 private:
59
60 Aws::Vector<Rule> m_rules;
61
62 ResponseMetadata m_responseMetadata;
63 };
64
65} // namespace Model
66} // namespace ElasticLoadBalancingv2
67} // namespace Aws
const ResponseMetadata & GetResponseMetadata() const
ModifyRuleResult & WithRules(Aws::Vector< Rule > &&value)
ModifyRuleResult & WithRules(const Aws::Vector< Rule > &value)
ModifyRuleResult & WithResponseMetadata(const ResponseMetadata &value)
AWS_ELASTICLOADBALANCINGV2_API ModifyRuleResult()
AWS_ELASTICLOADBALANCINGV2_API ModifyRuleResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetResponseMetadata(const ResponseMetadata &value)
AWS_ELASTICLOADBALANCINGV2_API ModifyRuleResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
ModifyRuleResult & AddRules(const Rule &value)
void SetRules(const Aws::Vector< Rule > &value)
ModifyRuleResult & WithResponseMetadata(ResponseMetadata &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument