AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PutMetricStreamResult.h
1
6#pragma once
7#include <aws/monitoring/CloudWatch_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/monitoring/model/ResponseMetadata.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Xml
20{
21 class XmlDocument;
22} // namespace Xml
23} // namespace Utils
24namespace CloudWatch
25{
26namespace Model
27{
29 {
30 public:
31 AWS_CLOUDWATCH_API PutMetricStreamResult();
34
35
37
40 inline const Aws::String& GetArn() const{ return m_arn; }
41 inline void SetArn(const Aws::String& value) { m_arn = value; }
42 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
43 inline void SetArn(const char* value) { m_arn.assign(value); }
44 inline PutMetricStreamResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
45 inline PutMetricStreamResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
46 inline PutMetricStreamResult& WithArn(const char* value) { SetArn(value); return *this;}
48
50
51 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
52 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
53 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
55 inline PutMetricStreamResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
57 private:
58
59 Aws::String m_arn;
60
61 ResponseMetadata m_responseMetadata;
62 };
63
64} // namespace Model
65} // namespace CloudWatch
66} // namespace Aws
void SetResponseMetadata(const ResponseMetadata &value)
const ResponseMetadata & GetResponseMetadata() const
PutMetricStreamResult & WithArn(const char *value)
PutMetricStreamResult & WithResponseMetadata(const ResponseMetadata &value)
AWS_CLOUDWATCH_API PutMetricStreamResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_CLOUDWATCH_API PutMetricStreamResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
PutMetricStreamResult & WithArn(Aws::String &&value)
PutMetricStreamResult & WithResponseMetadata(ResponseMetadata &&value)
PutMetricStreamResult & WithArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument