AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DashboardEntry.h
1
6#pragma once
7#include <aws/monitoring/CloudWatch_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Xml
18{
19 class XmlNode;
20} // namespace Xml
21} // namespace Utils
22namespace CloudWatch
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_CLOUDWATCH_API DashboardEntry() = default;
36 AWS_CLOUDWATCH_API DashboardEntry(const Aws::Utils::Xml::XmlNode& xmlNode);
37 AWS_CLOUDWATCH_API DashboardEntry& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
38
39 AWS_CLOUDWATCH_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
40 AWS_CLOUDWATCH_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
41
42
44
47 inline const Aws::String& GetDashboardName() const { return m_dashboardName; }
48 inline bool DashboardNameHasBeenSet() const { return m_dashboardNameHasBeenSet; }
49 template<typename DashboardNameT = Aws::String>
50 void SetDashboardName(DashboardNameT&& value) { m_dashboardNameHasBeenSet = true; m_dashboardName = std::forward<DashboardNameT>(value); }
51 template<typename DashboardNameT = Aws::String>
52 DashboardEntry& WithDashboardName(DashboardNameT&& value) { SetDashboardName(std::forward<DashboardNameT>(value)); return *this;}
54
56
59 inline const Aws::String& GetDashboardArn() const { return m_dashboardArn; }
60 inline bool DashboardArnHasBeenSet() const { return m_dashboardArnHasBeenSet; }
61 template<typename DashboardArnT = Aws::String>
62 void SetDashboardArn(DashboardArnT&& value) { m_dashboardArnHasBeenSet = true; m_dashboardArn = std::forward<DashboardArnT>(value); }
63 template<typename DashboardArnT = Aws::String>
64 DashboardEntry& WithDashboardArn(DashboardArnT&& value) { SetDashboardArn(std::forward<DashboardArnT>(value)); return *this;}
66
68
73 inline const Aws::Utils::DateTime& GetLastModified() const { return m_lastModified; }
74 inline bool LastModifiedHasBeenSet() const { return m_lastModifiedHasBeenSet; }
75 template<typename LastModifiedT = Aws::Utils::DateTime>
76 void SetLastModified(LastModifiedT&& value) { m_lastModifiedHasBeenSet = true; m_lastModified = std::forward<LastModifiedT>(value); }
77 template<typename LastModifiedT = Aws::Utils::DateTime>
78 DashboardEntry& WithLastModified(LastModifiedT&& value) { SetLastModified(std::forward<LastModifiedT>(value)); return *this;}
80
82
85 inline long long GetSize() const { return m_size; }
86 inline bool SizeHasBeenSet() const { return m_sizeHasBeenSet; }
87 inline void SetSize(long long value) { m_sizeHasBeenSet = true; m_size = value; }
88 inline DashboardEntry& WithSize(long long value) { SetSize(value); return *this;}
90 private:
91
92 Aws::String m_dashboardName;
93 bool m_dashboardNameHasBeenSet = false;
94
95 Aws::String m_dashboardArn;
96 bool m_dashboardArnHasBeenSet = false;
97
98 Aws::Utils::DateTime m_lastModified{};
99 bool m_lastModifiedHasBeenSet = false;
100
101 long long m_size{0};
102 bool m_sizeHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace CloudWatch
107} // namespace Aws
void SetDashboardName(DashboardNameT &&value)
const Aws::String & GetDashboardArn() const
bool SizeHasBeenSet() const
AWS_CLOUDWATCH_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_CLOUDWATCH_API DashboardEntry()=default
bool DashboardNameHasBeenSet() const
DashboardEntry & WithSize(long long value)
AWS_CLOUDWATCH_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
bool LastModifiedHasBeenSet() const
void SetLastModified(LastModifiedT &&value)
AWS_CLOUDWATCH_API DashboardEntry(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetSize(long long value)
bool DashboardArnHasBeenSet() const
const Aws::String & GetDashboardName() const
const Aws::Utils::DateTime & GetLastModified() const
long long GetSize() const
DashboardEntry & WithDashboardName(DashboardNameT &&value)
DashboardEntry & WithLastModified(LastModifiedT &&value)
void SetDashboardArn(DashboardArnT &&value)
DashboardEntry & WithDashboardArn(DashboardArnT &&value)
AWS_CLOUDWATCH_API DashboardEntry & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream