AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
DescribeComponentResult.h
1
6#pragma once
7#include <aws/application-insights/ApplicationInsights_EXPORTS.h>
8#include <aws/application-insights/model/ApplicationComponent.h>
9#include <aws/core/http/HttpResponse.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace ApplicationInsights {
25namespace Model {
27 public:
28 AWS_APPLICATIONINSIGHTS_API DescribeComponentResult() = default;
31
33
34 inline const ApplicationComponent& GetApplicationComponent() const { return m_applicationComponent; }
35 template <typename ApplicationComponentT = ApplicationComponent>
36 void SetApplicationComponent(ApplicationComponentT&& value) {
37 m_applicationComponentHasBeenSet = true;
38 m_applicationComponent = std::forward<ApplicationComponentT>(value);
39 }
40 template <typename ApplicationComponentT = ApplicationComponent>
41 DescribeComponentResult& WithApplicationComponent(ApplicationComponentT&& value) {
42 SetApplicationComponent(std::forward<ApplicationComponentT>(value));
43 return *this;
44 }
46
48
51 inline const Aws::Vector<Aws::String>& GetResourceList() const { return m_resourceList; }
52 template <typename ResourceListT = Aws::Vector<Aws::String>>
53 void SetResourceList(ResourceListT&& value) {
54 m_resourceListHasBeenSet = true;
55 m_resourceList = std::forward<ResourceListT>(value);
56 }
57 template <typename ResourceListT = Aws::Vector<Aws::String>>
58 DescribeComponentResult& WithResourceList(ResourceListT&& value) {
59 SetResourceList(std::forward<ResourceListT>(value));
60 return *this;
61 }
62 template <typename ResourceListT = Aws::String>
63 DescribeComponentResult& AddResourceList(ResourceListT&& value) {
64 m_resourceListHasBeenSet = true;
65 m_resourceList.emplace_back(std::forward<ResourceListT>(value));
66 return *this;
67 }
69
71
72 inline const Aws::String& GetRequestId() const { return m_requestId; }
73 template <typename RequestIdT = Aws::String>
74 void SetRequestId(RequestIdT&& value) {
75 m_requestIdHasBeenSet = true;
76 m_requestId = std::forward<RequestIdT>(value);
77 }
78 template <typename RequestIdT = Aws::String>
80 SetRequestId(std::forward<RequestIdT>(value));
81 return *this;
82 }
84 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
85
86 private:
87 ApplicationComponent m_applicationComponent;
88
89 Aws::Vector<Aws::String> m_resourceList;
90
91 Aws::String m_requestId;
92 Aws::Http::HttpResponseCode m_HttpResponseCode;
93 bool m_applicationComponentHasBeenSet = false;
94 bool m_resourceListHasBeenSet = false;
95 bool m_requestIdHasBeenSet = false;
96};
97
98} // namespace Model
99} // namespace ApplicationInsights
100} // namespace Aws
const Aws::Vector< Aws::String > & GetResourceList() const
DescribeComponentResult & AddResourceList(ResourceListT &&value)
AWS_APPLICATIONINSIGHTS_API DescribeComponentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeComponentResult & WithRequestId(RequestIdT &&value)
AWS_APPLICATIONINSIGHTS_API DescribeComponentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeComponentResult & WithApplicationComponent(ApplicationComponentT &&value)
DescribeComponentResult & WithResourceList(ResourceListT &&value)
AWS_APPLICATIONINSIGHTS_API DescribeComponentResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue