AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace ApplicationInsights
26{
27namespace Model
28{
30 {
31 public:
32 AWS_APPLICATIONINSIGHTS_API DescribeComponentResult() = default;
35
36
38
39 inline const ApplicationComponent& GetApplicationComponent() const { return m_applicationComponent; }
40 template<typename ApplicationComponentT = ApplicationComponent>
41 void SetApplicationComponent(ApplicationComponentT&& value) { m_applicationComponentHasBeenSet = true; m_applicationComponent = std::forward<ApplicationComponentT>(value); }
42 template<typename ApplicationComponentT = ApplicationComponent>
43 DescribeComponentResult& WithApplicationComponent(ApplicationComponentT&& value) { SetApplicationComponent(std::forward<ApplicationComponentT>(value)); return *this;}
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) { m_resourceListHasBeenSet = true; m_resourceList = std::forward<ResourceListT>(value); }
53 template<typename ResourceListT = Aws::Vector<Aws::String>>
54 DescribeComponentResult& WithResourceList(ResourceListT&& value) { SetResourceList(std::forward<ResourceListT>(value)); return *this;}
55 template<typename ResourceListT = Aws::String>
56 DescribeComponentResult& AddResourceList(ResourceListT&& value) { m_resourceListHasBeenSet = true; m_resourceList.emplace_back(std::forward<ResourceListT>(value)); return *this; }
58
60
61 inline const Aws::String& GetRequestId() const { return m_requestId; }
62 template<typename RequestIdT = Aws::String>
63 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
64 template<typename RequestIdT = Aws::String>
65 DescribeComponentResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
67 private:
68
69 ApplicationComponent m_applicationComponent;
70 bool m_applicationComponentHasBeenSet = false;
71
72 Aws::Vector<Aws::String> m_resourceList;
73 bool m_resourceListHasBeenSet = false;
74
75 Aws::String m_requestId;
76 bool m_requestIdHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace ApplicationInsights
81} // 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