AWS SDK for C++  1.9.129
AWS SDK for C++
CreateFleetMetricResult.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iot/IoT_EXPORTS.h>
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace IoT
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
38  inline const Aws::String& GetMetricName() const{ return m_metricName; }
39 
43  inline void SetMetricName(const Aws::String& value) { m_metricName = value; }
44 
48  inline void SetMetricName(Aws::String&& value) { m_metricName = std::move(value); }
49 
53  inline void SetMetricName(const char* value) { m_metricName.assign(value); }
54 
58  inline CreateFleetMetricResult& WithMetricName(const Aws::String& value) { SetMetricName(value); return *this;}
59 
63  inline CreateFleetMetricResult& WithMetricName(Aws::String&& value) { SetMetricName(std::move(value)); return *this;}
64 
68  inline CreateFleetMetricResult& WithMetricName(const char* value) { SetMetricName(value); return *this;}
69 
70 
74  inline const Aws::String& GetMetricArn() const{ return m_metricArn; }
75 
79  inline void SetMetricArn(const Aws::String& value) { m_metricArn = value; }
80 
84  inline void SetMetricArn(Aws::String&& value) { m_metricArn = std::move(value); }
85 
89  inline void SetMetricArn(const char* value) { m_metricArn.assign(value); }
90 
94  inline CreateFleetMetricResult& WithMetricArn(const Aws::String& value) { SetMetricArn(value); return *this;}
95 
99  inline CreateFleetMetricResult& WithMetricArn(Aws::String&& value) { SetMetricArn(std::move(value)); return *this;}
100 
104  inline CreateFleetMetricResult& WithMetricArn(const char* value) { SetMetricArn(value); return *this;}
105 
106  private:
107 
108  Aws::String m_metricName;
109 
110  Aws::String m_metricArn;
111  };
112 
113 } // namespace Model
114 } // namespace IoT
115 } // namespace Aws
Aws::IoT::Model::CreateFleetMetricResult::WithMetricArn
CreateFleetMetricResult & WithMetricArn(const Aws::String &value)
Definition: CreateFleetMetricResult.h:94
Aws::IoT::Model::CreateFleetMetricResult::operator=
CreateFleetMetricResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::IoT::Model::CreateFleetMetricResult::WithMetricArn
CreateFleetMetricResult & WithMetricArn(Aws::String &&value)
Definition: CreateFleetMetricResult.h:99
Aws::IoT::Model::CreateFleetMetricResult::WithMetricName
CreateFleetMetricResult & WithMetricName(Aws::String &&value)
Definition: CreateFleetMetricResult.h:63
Aws::IoT::Model::CreateFleetMetricResult
Definition: CreateFleetMetricResult.h:28
Aws::IoT::Model::CreateFleetMetricResult::SetMetricArn
void SetMetricArn(Aws::String &&value)
Definition: CreateFleetMetricResult.h:84
Aws::IoT::Model::CreateFleetMetricResult::GetMetricArn
const Aws::String & GetMetricArn() const
Definition: CreateFleetMetricResult.h:74
Aws::IoT::Model::CreateFleetMetricResult::CreateFleetMetricResult
CreateFleetMetricResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoT::Model::CreateFleetMetricResult::WithMetricName
CreateFleetMetricResult & WithMetricName(const char *value)
Definition: CreateFleetMetricResult.h:68
Aws::IoT::Model::CreateFleetMetricResult::SetMetricName
void SetMetricName(const Aws::String &value)
Definition: CreateFleetMetricResult.h:43
AWSString.h
Aws::IoT::Model::CreateFleetMetricResult::WithMetricArn
CreateFleetMetricResult & WithMetricArn(const char *value)
Definition: CreateFleetMetricResult.h:104
Aws::IoT::Model::CreateFleetMetricResult::SetMetricArn
void SetMetricArn(const char *value)
Definition: CreateFleetMetricResult.h:89
Aws::IoT::Model::CreateFleetMetricResult::CreateFleetMetricResult
CreateFleetMetricResult()
Aws::IoT::Model::CreateFleetMetricResult::WithMetricName
CreateFleetMetricResult & WithMetricName(const Aws::String &value)
Definition: CreateFleetMetricResult.h:58
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::CreateFleetMetricResult::SetMetricName
void SetMetricName(Aws::String &&value)
Definition: CreateFleetMetricResult.h:48
Aws::IoT::Model::CreateFleetMetricResult::SetMetricArn
void SetMetricArn(const Aws::String &value)
Definition: CreateFleetMetricResult.h:79
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoT::Model::CreateFleetMetricResult::SetMetricName
void SetMetricName(const char *value)
Definition: CreateFleetMetricResult.h:53
Aws::IoT::Model::CreateFleetMetricResult::GetMetricName
const Aws::String & GetMetricName() const
Definition: CreateFleetMetricResult.h:38
IoT_EXPORTS.h