AWS SDK for C++

AWS SDK for C++ Version 1.11.757

Loading...
Searching...
No Matches
DescribeComponentConfigurationResult.h
1
6#pragma once
7#include <aws/application-insights/ApplicationInsights_EXPORTS.h>
8#include <aws/application-insights/model/Tier.h>
9#include <aws/core/http/HttpResponse.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace ApplicationInsights {
24namespace Model {
26 public:
27 AWS_APPLICATIONINSIGHTS_API DescribeComponentConfigurationResult() = default;
29 AWS_APPLICATIONINSIGHTS_API DescribeComponentConfigurationResult& operator=(
31
33
36 inline bool GetMonitor() const { return m_monitor; }
37 inline void SetMonitor(bool value) {
38 m_monitorHasBeenSet = true;
39 m_monitor = value;
40 }
42 SetMonitor(value);
43 return *this;
44 }
46
48
53 inline Tier GetTier() const { return m_tier; }
54 inline void SetTier(Tier value) {
55 m_tierHasBeenSet = true;
56 m_tier = value;
57 }
59 SetTier(value);
60 return *this;
61 }
63
65
69 inline const Aws::String& GetComponentConfiguration() const { return m_componentConfiguration; }
70 template <typename ComponentConfigurationT = Aws::String>
71 void SetComponentConfiguration(ComponentConfigurationT&& value) {
72 m_componentConfigurationHasBeenSet = true;
73 m_componentConfiguration = std::forward<ComponentConfigurationT>(value);
74 }
75 template <typename ComponentConfigurationT = Aws::String>
77 SetComponentConfiguration(std::forward<ComponentConfigurationT>(value));
78 return *this;
79 }
81
83
84 inline const Aws::String& GetRequestId() const { return m_requestId; }
85 template <typename RequestIdT = Aws::String>
86 void SetRequestId(RequestIdT&& value) {
87 m_requestIdHasBeenSet = true;
88 m_requestId = std::forward<RequestIdT>(value);
89 }
90 template <typename RequestIdT = Aws::String>
92 SetRequestId(std::forward<RequestIdT>(value));
93 return *this;
94 }
96 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
97
98 private:
99 bool m_monitor{false};
100
101 Tier m_tier{Tier::NOT_SET};
102
103 Aws::String m_componentConfiguration;
104
105 Aws::String m_requestId;
106 Aws::Http::HttpResponseCode m_HttpResponseCode;
107 bool m_monitorHasBeenSet = false;
108 bool m_tierHasBeenSet = false;
109 bool m_componentConfigurationHasBeenSet = false;
110 bool m_requestIdHasBeenSet = false;
111};
112
113} // namespace Model
114} // namespace ApplicationInsights
115} // namespace Aws
AWS_APPLICATIONINSIGHTS_API DescribeComponentConfigurationResult()=default
AWS_APPLICATIONINSIGHTS_API DescribeComponentConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeComponentConfigurationResult & WithComponentConfiguration(ComponentConfigurationT &&value)
AWS_APPLICATIONINSIGHTS_API DescribeComponentConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue