AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetDashboardName(const Aws::String& value) { m_dashboardNameHasBeenSet = true; m_dashboardName = value; }
50 inline void SetDashboardName(Aws::String&& value) { m_dashboardNameHasBeenSet = true; m_dashboardName = std::move(value); }
51 inline void SetDashboardName(const char* value) { m_dashboardNameHasBeenSet = true; m_dashboardName.assign(value); }
52 inline DashboardEntry& WithDashboardName(const Aws::String& value) { SetDashboardName(value); return *this;}
53 inline DashboardEntry& WithDashboardName(Aws::String&& value) { SetDashboardName(std::move(value)); return *this;}
54 inline DashboardEntry& WithDashboardName(const char* value) { SetDashboardName(value); return *this;}
56
58
61 inline const Aws::String& GetDashboardArn() const{ return m_dashboardArn; }
62 inline bool DashboardArnHasBeenSet() const { return m_dashboardArnHasBeenSet; }
63 inline void SetDashboardArn(const Aws::String& value) { m_dashboardArnHasBeenSet = true; m_dashboardArn = value; }
64 inline void SetDashboardArn(Aws::String&& value) { m_dashboardArnHasBeenSet = true; m_dashboardArn = std::move(value); }
65 inline void SetDashboardArn(const char* value) { m_dashboardArnHasBeenSet = true; m_dashboardArn.assign(value); }
66 inline DashboardEntry& WithDashboardArn(const Aws::String& value) { SetDashboardArn(value); return *this;}
67 inline DashboardEntry& WithDashboardArn(Aws::String&& value) { SetDashboardArn(std::move(value)); return *this;}
68 inline DashboardEntry& WithDashboardArn(const char* value) { SetDashboardArn(value); return *this;}
70
72
77 inline const Aws::Utils::DateTime& GetLastModified() const{ return m_lastModified; }
78 inline bool LastModifiedHasBeenSet() const { return m_lastModifiedHasBeenSet; }
79 inline void SetLastModified(const Aws::Utils::DateTime& value) { m_lastModifiedHasBeenSet = true; m_lastModified = value; }
80 inline void SetLastModified(Aws::Utils::DateTime&& value) { m_lastModifiedHasBeenSet = true; m_lastModified = std::move(value); }
81 inline DashboardEntry& WithLastModified(const Aws::Utils::DateTime& value) { SetLastModified(value); return *this;}
82 inline DashboardEntry& WithLastModified(Aws::Utils::DateTime&& value) { SetLastModified(std::move(value)); return *this;}
84
86
89 inline long long GetSize() const{ return m_size; }
90 inline bool SizeHasBeenSet() const { return m_sizeHasBeenSet; }
91 inline void SetSize(long long value) { m_sizeHasBeenSet = true; m_size = value; }
92 inline DashboardEntry& WithSize(long long value) { SetSize(value); return *this;}
94 private:
95
96 Aws::String m_dashboardName;
97 bool m_dashboardNameHasBeenSet = false;
98
99 Aws::String m_dashboardArn;
100 bool m_dashboardArnHasBeenSet = false;
101
102 Aws::Utils::DateTime m_lastModified;
103 bool m_lastModifiedHasBeenSet = false;
104
105 long long m_size;
106 bool m_sizeHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace CloudWatch
111} // namespace Aws
const Aws::String & GetDashboardArn() const
DashboardEntry & WithDashboardName(const Aws::String &value)
bool SizeHasBeenSet() const
AWS_CLOUDWATCH_API void OutputToStream(Aws::OStream &oStream, const char *location) const
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
AWS_CLOUDWATCH_API DashboardEntry(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetSize(long long value)
bool DashboardArnHasBeenSet() const
DashboardEntry & WithDashboardName(const char *value)
DashboardEntry & WithDashboardArn(const char *value)
const Aws::String & GetDashboardName() const
AWS_CLOUDWATCH_API DashboardEntry()
const Aws::Utils::DateTime & GetLastModified() const
DashboardEntry & WithDashboardName(Aws::String &&value)
long long GetSize() const
DashboardEntry & WithDashboardArn(Aws::String &&value)
void SetDashboardArn(const Aws::String &value)
void SetDashboardName(const Aws::String &value)
DashboardEntry & WithDashboardArn(const Aws::String &value)
void SetLastModified(Aws::Utils::DateTime &&value)
void SetDashboardArn(const char *value)
void SetDashboardName(Aws::String &&value)
void SetDashboardName(const char *value)
void SetDashboardArn(Aws::String &&value)
DashboardEntry & WithLastModified(const Aws::Utils::DateTime &value)
DashboardEntry & WithLastModified(Aws::Utils::DateTime &&value)
AWS_CLOUDWATCH_API DashboardEntry & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetLastModified(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream