AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AnomalyMonitor.h
1
6#pragma once
7#include <aws/ce/CostExplorer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ce/model/MonitorType.h>
10#include <aws/ce/model/MonitorDimension.h>
11#include <aws/ce/model/Expression.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 CostExplorer
25{
26namespace Model
27{
28
38 {
39 public:
40 AWS_COSTEXPLORER_API AnomalyMonitor();
41 AWS_COSTEXPLORER_API AnomalyMonitor(Aws::Utils::Json::JsonView jsonValue);
42 AWS_COSTEXPLORER_API AnomalyMonitor& operator=(Aws::Utils::Json::JsonView jsonValue);
43 AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const Aws::String& GetMonitorArn() const{ return m_monitorArn; }
51 inline bool MonitorArnHasBeenSet() const { return m_monitorArnHasBeenSet; }
52 inline void SetMonitorArn(const Aws::String& value) { m_monitorArnHasBeenSet = true; m_monitorArn = value; }
53 inline void SetMonitorArn(Aws::String&& value) { m_monitorArnHasBeenSet = true; m_monitorArn = std::move(value); }
54 inline void SetMonitorArn(const char* value) { m_monitorArnHasBeenSet = true; m_monitorArn.assign(value); }
55 inline AnomalyMonitor& WithMonitorArn(const Aws::String& value) { SetMonitorArn(value); return *this;}
56 inline AnomalyMonitor& WithMonitorArn(Aws::String&& value) { SetMonitorArn(std::move(value)); return *this;}
57 inline AnomalyMonitor& WithMonitorArn(const char* value) { SetMonitorArn(value); return *this;}
59
61
64 inline const Aws::String& GetMonitorName() const{ return m_monitorName; }
65 inline bool MonitorNameHasBeenSet() const { return m_monitorNameHasBeenSet; }
66 inline void SetMonitorName(const Aws::String& value) { m_monitorNameHasBeenSet = true; m_monitorName = value; }
67 inline void SetMonitorName(Aws::String&& value) { m_monitorNameHasBeenSet = true; m_monitorName = std::move(value); }
68 inline void SetMonitorName(const char* value) { m_monitorNameHasBeenSet = true; m_monitorName.assign(value); }
69 inline AnomalyMonitor& WithMonitorName(const Aws::String& value) { SetMonitorName(value); return *this;}
70 inline AnomalyMonitor& WithMonitorName(Aws::String&& value) { SetMonitorName(std::move(value)); return *this;}
71 inline AnomalyMonitor& WithMonitorName(const char* value) { SetMonitorName(value); return *this;}
73
75
78 inline const Aws::String& GetCreationDate() const{ return m_creationDate; }
79 inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
80 inline void SetCreationDate(const Aws::String& value) { m_creationDateHasBeenSet = true; m_creationDate = value; }
81 inline void SetCreationDate(Aws::String&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::move(value); }
82 inline void SetCreationDate(const char* value) { m_creationDateHasBeenSet = true; m_creationDate.assign(value); }
83 inline AnomalyMonitor& WithCreationDate(const Aws::String& value) { SetCreationDate(value); return *this;}
84 inline AnomalyMonitor& WithCreationDate(Aws::String&& value) { SetCreationDate(std::move(value)); return *this;}
85 inline AnomalyMonitor& WithCreationDate(const char* value) { SetCreationDate(value); return *this;}
87
89
92 inline const Aws::String& GetLastUpdatedDate() const{ return m_lastUpdatedDate; }
93 inline bool LastUpdatedDateHasBeenSet() const { return m_lastUpdatedDateHasBeenSet; }
94 inline void SetLastUpdatedDate(const Aws::String& value) { m_lastUpdatedDateHasBeenSet = true; m_lastUpdatedDate = value; }
95 inline void SetLastUpdatedDate(Aws::String&& value) { m_lastUpdatedDateHasBeenSet = true; m_lastUpdatedDate = std::move(value); }
96 inline void SetLastUpdatedDate(const char* value) { m_lastUpdatedDateHasBeenSet = true; m_lastUpdatedDate.assign(value); }
97 inline AnomalyMonitor& WithLastUpdatedDate(const Aws::String& value) { SetLastUpdatedDate(value); return *this;}
98 inline AnomalyMonitor& WithLastUpdatedDate(Aws::String&& value) { SetLastUpdatedDate(std::move(value)); return *this;}
99 inline AnomalyMonitor& WithLastUpdatedDate(const char* value) { SetLastUpdatedDate(value); return *this;}
101
103
106 inline const Aws::String& GetLastEvaluatedDate() const{ return m_lastEvaluatedDate; }
107 inline bool LastEvaluatedDateHasBeenSet() const { return m_lastEvaluatedDateHasBeenSet; }
108 inline void SetLastEvaluatedDate(const Aws::String& value) { m_lastEvaluatedDateHasBeenSet = true; m_lastEvaluatedDate = value; }
109 inline void SetLastEvaluatedDate(Aws::String&& value) { m_lastEvaluatedDateHasBeenSet = true; m_lastEvaluatedDate = std::move(value); }
110 inline void SetLastEvaluatedDate(const char* value) { m_lastEvaluatedDateHasBeenSet = true; m_lastEvaluatedDate.assign(value); }
111 inline AnomalyMonitor& WithLastEvaluatedDate(const Aws::String& value) { SetLastEvaluatedDate(value); return *this;}
112 inline AnomalyMonitor& WithLastEvaluatedDate(Aws::String&& value) { SetLastEvaluatedDate(std::move(value)); return *this;}
113 inline AnomalyMonitor& WithLastEvaluatedDate(const char* value) { SetLastEvaluatedDate(value); return *this;}
115
117
120 inline const MonitorType& GetMonitorType() const{ return m_monitorType; }
121 inline bool MonitorTypeHasBeenSet() const { return m_monitorTypeHasBeenSet; }
122 inline void SetMonitorType(const MonitorType& value) { m_monitorTypeHasBeenSet = true; m_monitorType = value; }
123 inline void SetMonitorType(MonitorType&& value) { m_monitorTypeHasBeenSet = true; m_monitorType = std::move(value); }
124 inline AnomalyMonitor& WithMonitorType(const MonitorType& value) { SetMonitorType(value); return *this;}
125 inline AnomalyMonitor& WithMonitorType(MonitorType&& value) { SetMonitorType(std::move(value)); return *this;}
127
129
132 inline const MonitorDimension& GetMonitorDimension() const{ return m_monitorDimension; }
133 inline bool MonitorDimensionHasBeenSet() const { return m_monitorDimensionHasBeenSet; }
134 inline void SetMonitorDimension(const MonitorDimension& value) { m_monitorDimensionHasBeenSet = true; m_monitorDimension = value; }
135 inline void SetMonitorDimension(MonitorDimension&& value) { m_monitorDimensionHasBeenSet = true; m_monitorDimension = std::move(value); }
136 inline AnomalyMonitor& WithMonitorDimension(const MonitorDimension& value) { SetMonitorDimension(value); return *this;}
137 inline AnomalyMonitor& WithMonitorDimension(MonitorDimension&& value) { SetMonitorDimension(std::move(value)); return *this;}
139
141
142 inline const Expression& GetMonitorSpecification() const{ return m_monitorSpecification; }
143 inline bool MonitorSpecificationHasBeenSet() const { return m_monitorSpecificationHasBeenSet; }
144 inline void SetMonitorSpecification(const Expression& value) { m_monitorSpecificationHasBeenSet = true; m_monitorSpecification = value; }
145 inline void SetMonitorSpecification(Expression&& value) { m_monitorSpecificationHasBeenSet = true; m_monitorSpecification = std::move(value); }
146 inline AnomalyMonitor& WithMonitorSpecification(const Expression& value) { SetMonitorSpecification(value); return *this;}
147 inline AnomalyMonitor& WithMonitorSpecification(Expression&& value) { SetMonitorSpecification(std::move(value)); return *this;}
149
151
154 inline int GetDimensionalValueCount() const{ return m_dimensionalValueCount; }
155 inline bool DimensionalValueCountHasBeenSet() const { return m_dimensionalValueCountHasBeenSet; }
156 inline void SetDimensionalValueCount(int value) { m_dimensionalValueCountHasBeenSet = true; m_dimensionalValueCount = value; }
157 inline AnomalyMonitor& WithDimensionalValueCount(int value) { SetDimensionalValueCount(value); return *this;}
159 private:
160
161 Aws::String m_monitorArn;
162 bool m_monitorArnHasBeenSet = false;
163
164 Aws::String m_monitorName;
165 bool m_monitorNameHasBeenSet = false;
166
167 Aws::String m_creationDate;
168 bool m_creationDateHasBeenSet = false;
169
170 Aws::String m_lastUpdatedDate;
171 bool m_lastUpdatedDateHasBeenSet = false;
172
173 Aws::String m_lastEvaluatedDate;
174 bool m_lastEvaluatedDateHasBeenSet = false;
175
176 MonitorType m_monitorType;
177 bool m_monitorTypeHasBeenSet = false;
178
179 MonitorDimension m_monitorDimension;
180 bool m_monitorDimensionHasBeenSet = false;
181
182 Expression m_monitorSpecification;
183 bool m_monitorSpecificationHasBeenSet = false;
184
185 int m_dimensionalValueCount;
186 bool m_dimensionalValueCountHasBeenSet = false;
187 };
188
189} // namespace Model
190} // namespace CostExplorer
191} // namespace Aws
void SetCreationDate(Aws::String &&value)
void SetMonitorArn(const Aws::String &value)
const MonitorType & GetMonitorType() const
void SetMonitorDimension(MonitorDimension &&value)
void SetMonitorName(Aws::String &&value)
void SetMonitorType(MonitorType &&value)
void SetMonitorName(const Aws::String &value)
AnomalyMonitor & WithMonitorSpecification(Expression &&value)
void SetMonitorDimension(const MonitorDimension &value)
AnomalyMonitor & WithCreationDate(Aws::String &&value)
void SetMonitorSpecification(Expression &&value)
AnomalyMonitor & WithLastEvaluatedDate(const Aws::String &value)
AnomalyMonitor & WithMonitorName(const char *value)
AnomalyMonitor & WithMonitorType(MonitorType &&value)
AWS_COSTEXPLORER_API AnomalyMonitor & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLastUpdatedDate(const Aws::String &value)
void SetLastEvaluatedDate(Aws::String &&value)
AnomalyMonitor & WithMonitorDimension(const MonitorDimension &value)
void SetLastUpdatedDate(const char *value)
AnomalyMonitor & WithMonitorArn(const char *value)
const Aws::String & GetLastUpdatedDate() const
const Aws::String & GetCreationDate() const
AnomalyMonitor & WithMonitorType(const MonitorType &value)
AnomalyMonitor & WithMonitorDimension(MonitorDimension &&value)
const Aws::String & GetMonitorName() const
void SetMonitorType(const MonitorType &value)
void SetCreationDate(const Aws::String &value)
const Aws::String & GetMonitorArn() const
AnomalyMonitor & WithLastUpdatedDate(const Aws::String &value)
AnomalyMonitor & WithMonitorName(Aws::String &&value)
AnomalyMonitor & WithLastEvaluatedDate(Aws::String &&value)
AnomalyMonitor & WithMonitorSpecification(const Expression &value)
AnomalyMonitor & WithMonitorArn(Aws::String &&value)
void SetLastUpdatedDate(Aws::String &&value)
AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLastEvaluatedDate(const char *value)
AnomalyMonitor & WithMonitorName(const Aws::String &value)
AnomalyMonitor & WithMonitorArn(const Aws::String &value)
AnomalyMonitor & WithLastUpdatedDate(Aws::String &&value)
void SetMonitorArn(Aws::String &&value)
void SetMonitorSpecification(const Expression &value)
const Aws::String & GetLastEvaluatedDate() const
AnomalyMonitor & WithLastEvaluatedDate(const char *value)
const Expression & GetMonitorSpecification() const
AnomalyMonitor & WithCreationDate(const Aws::String &value)
AnomalyMonitor & WithCreationDate(const char *value)
AnomalyMonitor & WithLastUpdatedDate(const char *value)
AnomalyMonitor & WithDimensionalValueCount(int value)
void SetLastEvaluatedDate(const Aws::String &value)
AWS_COSTEXPLORER_API AnomalyMonitor(Aws::Utils::Json::JsonView jsonValue)
const MonitorDimension & GetMonitorDimension() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue