AWS SDK for C++

AWS SDK for C++ Version 1.11.751

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/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.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 DescribeComponentResult() = default;
30
32
33 inline const ApplicationComponent& GetApplicationComponent() const { return m_applicationComponent; }
34 template <typename ApplicationComponentT = ApplicationComponent>
35 void SetApplicationComponent(ApplicationComponentT&& value) {
36 m_applicationComponentHasBeenSet = true;
37 m_applicationComponent = std::forward<ApplicationComponentT>(value);
38 }
39 template <typename ApplicationComponentT = ApplicationComponent>
40 DescribeComponentResult& WithApplicationComponent(ApplicationComponentT&& value) {
41 SetApplicationComponent(std::forward<ApplicationComponentT>(value));
42 return *this;
43 }
45
47
50 inline const Aws::Vector<Aws::String>& GetResourceList() const { return m_resourceList; }
51 template <typename ResourceListT = Aws::Vector<Aws::String>>
52 void SetResourceList(ResourceListT&& value) {
53 m_resourceListHasBeenSet = true;
54 m_resourceList = std::forward<ResourceListT>(value);
55 }
56 template <typename ResourceListT = Aws::Vector<Aws::String>>
57 DescribeComponentResult& WithResourceList(ResourceListT&& value) {
58 SetResourceList(std::forward<ResourceListT>(value));
59 return *this;
60 }
61 template <typename ResourceListT = Aws::String>
62 DescribeComponentResult& AddResourceList(ResourceListT&& value) {
63 m_resourceListHasBeenSet = true;
64 m_resourceList.emplace_back(std::forward<ResourceListT>(value));
65 return *this;
66 }
68
70
71 inline const Aws::String& GetRequestId() const { return m_requestId; }
72 template <typename RequestIdT = Aws::String>
73 void SetRequestId(RequestIdT&& value) {
74 m_requestIdHasBeenSet = true;
75 m_requestId = std::forward<RequestIdT>(value);
76 }
77 template <typename RequestIdT = Aws::String>
79 SetRequestId(std::forward<RequestIdT>(value));
80 return *this;
81 }
83 private:
84 ApplicationComponent m_applicationComponent;
85
86 Aws::Vector<Aws::String> m_resourceList;
87
88 Aws::String m_requestId;
89 bool m_applicationComponentHasBeenSet = false;
90 bool m_resourceListHasBeenSet = false;
91 bool m_requestIdHasBeenSet = false;
92};
93
94} // namespace Model
95} // namespace ApplicationInsights
96} // 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