AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FleetMetricNameAndArn.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace IoT
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_IOT_API FleetMetricNameAndArn();
38
39
41
44 inline const Aws::String& GetMetricName() const{ return m_metricName; }
45 inline bool MetricNameHasBeenSet() const { return m_metricNameHasBeenSet; }
46 inline void SetMetricName(const Aws::String& value) { m_metricNameHasBeenSet = true; m_metricName = value; }
47 inline void SetMetricName(Aws::String&& value) { m_metricNameHasBeenSet = true; m_metricName = std::move(value); }
48 inline void SetMetricName(const char* value) { m_metricNameHasBeenSet = true; m_metricName.assign(value); }
49 inline FleetMetricNameAndArn& WithMetricName(const Aws::String& value) { SetMetricName(value); return *this;}
50 inline FleetMetricNameAndArn& WithMetricName(Aws::String&& value) { SetMetricName(std::move(value)); return *this;}
51 inline FleetMetricNameAndArn& WithMetricName(const char* value) { SetMetricName(value); return *this;}
53
55
58 inline const Aws::String& GetMetricArn() const{ return m_metricArn; }
59 inline bool MetricArnHasBeenSet() const { return m_metricArnHasBeenSet; }
60 inline void SetMetricArn(const Aws::String& value) { m_metricArnHasBeenSet = true; m_metricArn = value; }
61 inline void SetMetricArn(Aws::String&& value) { m_metricArnHasBeenSet = true; m_metricArn = std::move(value); }
62 inline void SetMetricArn(const char* value) { m_metricArnHasBeenSet = true; m_metricArn.assign(value); }
63 inline FleetMetricNameAndArn& WithMetricArn(const Aws::String& value) { SetMetricArn(value); return *this;}
64 inline FleetMetricNameAndArn& WithMetricArn(Aws::String&& value) { SetMetricArn(std::move(value)); return *this;}
65 inline FleetMetricNameAndArn& WithMetricArn(const char* value) { SetMetricArn(value); return *this;}
67 private:
68
69 Aws::String m_metricName;
70 bool m_metricNameHasBeenSet = false;
71
72 Aws::String m_metricArn;
73 bool m_metricArnHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace IoT
78} // namespace Aws
FleetMetricNameAndArn & WithMetricName(const char *value)
FleetMetricNameAndArn & WithMetricArn(const Aws::String &value)
FleetMetricNameAndArn & WithMetricArn(Aws::String &&value)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOT_API FleetMetricNameAndArn(Aws::Utils::Json::JsonView jsonValue)
FleetMetricNameAndArn & WithMetricArn(const char *value)
void SetMetricName(const Aws::String &value)
AWS_IOT_API FleetMetricNameAndArn & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetMetricArn(const Aws::String &value)
FleetMetricNameAndArn & WithMetricName(Aws::String &&value)
FleetMetricNameAndArn & WithMetricName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue