AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PutManagedInsightRulesResult.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 PutManagedInsightRulesResult();
35
36
38
41 inline const Aws::Vector<PartialFailure>& GetFailures() const{ return m_failures; }
42 inline void SetFailures(const Aws::Vector<PartialFailure>& value) { m_failures = value; }
43 inline void SetFailures(Aws::Vector<PartialFailure>&& value) { m_failures = std::move(value); }
45 inline PutManagedInsightRulesResult& WithFailures(Aws::Vector<PartialFailure>&& value) { SetFailures(std::move(value)); return *this;}
46 inline PutManagedInsightRulesResult& AddFailures(const PartialFailure& value) { m_failures.push_back(value); return *this; }
47 inline PutManagedInsightRulesResult& AddFailures(PartialFailure&& value) { m_failures.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); }
58 private:
59
61
62 ResponseMetadata m_responseMetadata;
63 };
64
65} // namespace Model
66} // namespace CloudWatch
67} // namespace Aws
AWS_CLOUDWATCH_API PutManagedInsightRulesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
PutManagedInsightRulesResult & WithResponseMetadata(const ResponseMetadata &value)
PutManagedInsightRulesResult & WithFailures(Aws::Vector< PartialFailure > &&value)
PutManagedInsightRulesResult & AddFailures(const PartialFailure &value)
AWS_CLOUDWATCH_API PutManagedInsightRulesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
PutManagedInsightRulesResult & WithResponseMetadata(ResponseMetadata &&value)
PutManagedInsightRulesResult & AddFailures(PartialFailure &&value)
void SetFailures(const Aws::Vector< PartialFailure > &value)
PutManagedInsightRulesResult & WithFailures(const Aws::Vector< PartialFailure > &value)
void SetFailures(Aws::Vector< PartialFailure > &&value)
const Aws::Vector< PartialFailure > & GetFailures() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument