AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
AppMonitorDetails.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/rum/CloudWatchRUM_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace CloudWatchRUM {
20namespace Model {
21
29 public:
30 AWS_CLOUDWATCHRUM_API AppMonitorDetails() = default;
31 AWS_CLOUDWATCHRUM_API AppMonitorDetails(Aws::Utils::Json::JsonView jsonValue);
32 AWS_CLOUDWATCHRUM_API AppMonitorDetails& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_CLOUDWATCHRUM_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetName() const { return m_name; }
40 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
41 template <typename NameT = Aws::String>
42 void SetName(NameT&& value) {
43 m_nameHasBeenSet = true;
44 m_name = std::forward<NameT>(value);
45 }
46 template <typename NameT = Aws::String>
47 AppMonitorDetails& WithName(NameT&& value) {
48 SetName(std::forward<NameT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetId() const { return m_id; }
58 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
59 template <typename IdT = Aws::String>
60 void SetId(IdT&& value) {
61 m_idHasBeenSet = true;
62 m_id = std::forward<IdT>(value);
63 }
64 template <typename IdT = Aws::String>
65 AppMonitorDetails& WithId(IdT&& value) {
66 SetId(std::forward<IdT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetVersion() const { return m_version; }
76 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
77 template <typename VersionT = Aws::String>
78 void SetVersion(VersionT&& value) {
79 m_versionHasBeenSet = true;
80 m_version = std::forward<VersionT>(value);
81 }
82 template <typename VersionT = Aws::String>
83 AppMonitorDetails& WithVersion(VersionT&& value) {
84 SetVersion(std::forward<VersionT>(value));
85 return *this;
86 }
88 private:
89 Aws::String m_name;
90
91 Aws::String m_id;
92
93 Aws::String m_version;
94 bool m_nameHasBeenSet = false;
95 bool m_idHasBeenSet = false;
96 bool m_versionHasBeenSet = false;
97};
98
99} // namespace Model
100} // namespace CloudWatchRUM
101} // namespace Aws
AWS_CLOUDWATCHRUM_API AppMonitorDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CLOUDWATCHRUM_API AppMonitorDetails()=default
AppMonitorDetails & WithId(IdT &&value)
AppMonitorDetails & WithName(NameT &&value)
AWS_CLOUDWATCHRUM_API AppMonitorDetails(Aws::Utils::Json::JsonView jsonValue)
AWS_CLOUDWATCHRUM_API Aws::Utils::Json::JsonValue Jsonize() const
AppMonitorDetails & WithVersion(VersionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue