AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace ApplicationInsights
25{
26namespace Model
27{
29 {
30 public:
31 AWS_APPLICATIONINSIGHTS_API DescribeComponentConfigurationResult() = default;
34
35
37
40 inline bool GetMonitor() const { return m_monitor; }
41 inline void SetMonitor(bool value) { m_monitorHasBeenSet = true; m_monitor = value; }
42 inline DescribeComponentConfigurationResult& WithMonitor(bool value) { SetMonitor(value); return *this;}
44
46
51 inline Tier GetTier() const { return m_tier; }
52 inline void SetTier(Tier value) { m_tierHasBeenSet = true; m_tier = value; }
53 inline DescribeComponentConfigurationResult& WithTier(Tier value) { SetTier(value); return *this;}
55
57
61 inline const Aws::String& GetComponentConfiguration() const { return m_componentConfiguration; }
62 template<typename ComponentConfigurationT = Aws::String>
63 void SetComponentConfiguration(ComponentConfigurationT&& value) { m_componentConfigurationHasBeenSet = true; m_componentConfiguration = std::forward<ComponentConfigurationT>(value); }
64 template<typename ComponentConfigurationT = Aws::String>
65 DescribeComponentConfigurationResult& WithComponentConfiguration(ComponentConfigurationT&& value) { SetComponentConfiguration(std::forward<ComponentConfigurationT>(value)); return *this;}
67
69
70 inline const Aws::String& GetRequestId() const { return m_requestId; }
71 template<typename RequestIdT = Aws::String>
72 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
73 template<typename RequestIdT = Aws::String>
74 DescribeComponentConfigurationResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
76 private:
77
78 bool m_monitor{false};
79 bool m_monitorHasBeenSet = false;
80
81 Tier m_tier{Tier::NOT_SET};
82 bool m_tierHasBeenSet = false;
83
84 Aws::String m_componentConfiguration;
85 bool m_componentConfigurationHasBeenSet = false;
86
87 Aws::String m_requestId;
88 bool m_requestIdHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace ApplicationInsights
93} // 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