AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MonitoredResourceIdentifier.h
1
6#pragma once
7#include <aws/devops-guru/DevOpsGuru_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/devops-guru/model/ResourcePermission.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/devops-guru/model/ResourceCollection.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace DevOpsGuru
25{
26namespace Model
27{
28
37 {
38 public:
39 AWS_DEVOPSGURU_API MonitoredResourceIdentifier();
42 AWS_DEVOPSGURU_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetMonitoredResourceName() const{ return m_monitoredResourceName; }
50 inline bool MonitoredResourceNameHasBeenSet() const { return m_monitoredResourceNameHasBeenSet; }
51 inline void SetMonitoredResourceName(const Aws::String& value) { m_monitoredResourceNameHasBeenSet = true; m_monitoredResourceName = value; }
52 inline void SetMonitoredResourceName(Aws::String&& value) { m_monitoredResourceNameHasBeenSet = true; m_monitoredResourceName = std::move(value); }
53 inline void SetMonitoredResourceName(const char* value) { m_monitoredResourceNameHasBeenSet = true; m_monitoredResourceName.assign(value); }
56 inline MonitoredResourceIdentifier& WithMonitoredResourceName(const char* value) { SetMonitoredResourceName(value); return *this;}
58
60
63 inline const Aws::String& GetType() const{ return m_type; }
64 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
65 inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; }
66 inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
67 inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); }
68 inline MonitoredResourceIdentifier& WithType(const Aws::String& value) { SetType(value); return *this;}
69 inline MonitoredResourceIdentifier& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;}
70 inline MonitoredResourceIdentifier& WithType(const char* value) { SetType(value); return *this;}
72
74
77 inline const ResourcePermission& GetResourcePermission() const{ return m_resourcePermission; }
78 inline bool ResourcePermissionHasBeenSet() const { return m_resourcePermissionHasBeenSet; }
79 inline void SetResourcePermission(const ResourcePermission& value) { m_resourcePermissionHasBeenSet = true; m_resourcePermission = value; }
80 inline void SetResourcePermission(ResourcePermission&& value) { m_resourcePermissionHasBeenSet = true; m_resourcePermission = std::move(value); }
84
86
89 inline const Aws::Utils::DateTime& GetLastUpdated() const{ return m_lastUpdated; }
90 inline bool LastUpdatedHasBeenSet() const { return m_lastUpdatedHasBeenSet; }
91 inline void SetLastUpdated(const Aws::Utils::DateTime& value) { m_lastUpdatedHasBeenSet = true; m_lastUpdated = value; }
92 inline void SetLastUpdated(Aws::Utils::DateTime&& value) { m_lastUpdatedHasBeenSet = true; m_lastUpdated = std::move(value); }
94 inline MonitoredResourceIdentifier& WithLastUpdated(Aws::Utils::DateTime&& value) { SetLastUpdated(std::move(value)); return *this;}
96
98
99 inline const ResourceCollection& GetResourceCollection() const{ return m_resourceCollection; }
100 inline bool ResourceCollectionHasBeenSet() const { return m_resourceCollectionHasBeenSet; }
101 inline void SetResourceCollection(const ResourceCollection& value) { m_resourceCollectionHasBeenSet = true; m_resourceCollection = value; }
102 inline void SetResourceCollection(ResourceCollection&& value) { m_resourceCollectionHasBeenSet = true; m_resourceCollection = std::move(value); }
106 private:
107
108 Aws::String m_monitoredResourceName;
109 bool m_monitoredResourceNameHasBeenSet = false;
110
111 Aws::String m_type;
112 bool m_typeHasBeenSet = false;
113
114 ResourcePermission m_resourcePermission;
115 bool m_resourcePermissionHasBeenSet = false;
116
117 Aws::Utils::DateTime m_lastUpdated;
118 bool m_lastUpdatedHasBeenSet = false;
119
120 ResourceCollection m_resourceCollection;
121 bool m_resourceCollectionHasBeenSet = false;
122 };
123
124} // namespace Model
125} // namespace DevOpsGuru
126} // namespace Aws
MonitoredResourceIdentifier & WithResourceCollection(ResourceCollection &&value)
MonitoredResourceIdentifier & WithMonitoredResourceName(const Aws::String &value)
MonitoredResourceIdentifier & WithType(const Aws::String &value)
MonitoredResourceIdentifier & WithMonitoredResourceName(const char *value)
MonitoredResourceIdentifier & WithType(const char *value)
MonitoredResourceIdentifier & WithLastUpdated(const Aws::Utils::DateTime &value)
MonitoredResourceIdentifier & WithResourceCollection(const ResourceCollection &value)
MonitoredResourceIdentifier & WithLastUpdated(Aws::Utils::DateTime &&value)
MonitoredResourceIdentifier & WithResourcePermission(ResourcePermission &&value)
AWS_DEVOPSGURU_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DEVOPSGURU_API MonitoredResourceIdentifier(Aws::Utils::Json::JsonView jsonValue)
MonitoredResourceIdentifier & WithMonitoredResourceName(Aws::String &&value)
AWS_DEVOPSGURU_API MonitoredResourceIdentifier & operator=(Aws::Utils::Json::JsonView jsonValue)
MonitoredResourceIdentifier & WithResourcePermission(const ResourcePermission &value)
MonitoredResourceIdentifier & WithType(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue