AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EnableInsightRulesResult.h
1
6#pragma once
7#include <aws/monitoring/CloudWatch_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/monitoring/model/ResponseMetadata.h>
10#include <aws/monitoring/model/PartialFailure.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 CloudWatch
26{
27namespace Model
28{
30 {
31 public:
32 AWS_CLOUDWATCH_API EnableInsightRulesResult();
35
36
38
42 inline const Aws::Vector<PartialFailure>& GetFailures() const{ return m_failures; }
43 inline void SetFailures(const Aws::Vector<PartialFailure>& value) { m_failures = value; }
44 inline void SetFailures(Aws::Vector<PartialFailure>&& value) { m_failures = std::move(value); }
46 inline EnableInsightRulesResult& WithFailures(Aws::Vector<PartialFailure>&& value) { SetFailures(std::move(value)); return *this;}
47 inline EnableInsightRulesResult& AddFailures(const PartialFailure& value) { m_failures.push_back(value); return *this; }
48 inline EnableInsightRulesResult& AddFailures(PartialFailure&& value) { m_failures.push_back(std::move(value)); return *this; }
50
52
53 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
54 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
55 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
57 inline EnableInsightRulesResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
59 private:
60
62
63 ResponseMetadata m_responseMetadata;
64 };
65
66} // namespace Model
67} // namespace CloudWatch
68} // namespace Aws
void SetFailures(const Aws::Vector< PartialFailure > &value)
EnableInsightRulesResult & WithFailures(const Aws::Vector< PartialFailure > &value)
AWS_CLOUDWATCH_API EnableInsightRulesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
EnableInsightRulesResult & WithFailures(Aws::Vector< PartialFailure > &&value)
EnableInsightRulesResult & WithResponseMetadata(ResponseMetadata &&value)
void SetFailures(Aws::Vector< PartialFailure > &&value)
EnableInsightRulesResult & AddFailures(const PartialFailure &value)
EnableInsightRulesResult & AddFailures(PartialFailure &&value)
EnableInsightRulesResult & WithResponseMetadata(const ResponseMetadata &value)
void SetResponseMetadata(const ResponseMetadata &value)
AWS_CLOUDWATCH_API EnableInsightRulesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
const Aws::Vector< PartialFailure > & GetFailures() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument