AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
35
36
38
39 inline const ApplicationComponent& GetApplicationComponent() const{ return m_applicationComponent; }
40 inline void SetApplicationComponent(const ApplicationComponent& value) { m_applicationComponent = value; }
41 inline void SetApplicationComponent(ApplicationComponent&& value) { m_applicationComponent = std::move(value); }
45
47
50 inline const Aws::Vector<Aws::String>& GetResourceList() const{ return m_resourceList; }
51 inline void SetResourceList(const Aws::Vector<Aws::String>& value) { m_resourceList = value; }
52 inline void SetResourceList(Aws::Vector<Aws::String>&& value) { m_resourceList = std::move(value); }
54 inline DescribeComponentResult& WithResourceList(Aws::Vector<Aws::String>&& value) { SetResourceList(std::move(value)); return *this;}
55 inline DescribeComponentResult& AddResourceList(const Aws::String& value) { m_resourceList.push_back(value); return *this; }
56 inline DescribeComponentResult& AddResourceList(Aws::String&& value) { m_resourceList.push_back(std::move(value)); return *this; }
57 inline DescribeComponentResult& AddResourceList(const char* value) { m_resourceList.push_back(value); return *this; }
59
61
62 inline const Aws::String& GetRequestId() const{ return m_requestId; }
63 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
64 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
65 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
66 inline DescribeComponentResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
67 inline DescribeComponentResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
68 inline DescribeComponentResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
70 private:
71
72 ApplicationComponent m_applicationComponent;
73
74 Aws::Vector<Aws::String> m_resourceList;
75
76 Aws::String m_requestId;
77 };
78
79} // namespace Model
80} // namespace ApplicationInsights
81} // namespace Aws
DescribeComponentResult & WithRequestId(const char *value)
DescribeComponentResult & AddResourceList(Aws::String &&value)
DescribeComponentResult & WithRequestId(const Aws::String &value)
void SetResourceList(const Aws::Vector< Aws::String > &value)
DescribeComponentResult & WithApplicationComponent(const ApplicationComponent &value)
DescribeComponentResult & AddResourceList(const char *value)
const Aws::Vector< Aws::String > & GetResourceList() const
DescribeComponentResult & AddResourceList(const Aws::String &value)
DescribeComponentResult & WithResourceList(const Aws::Vector< Aws::String > &value)
AWS_APPLICATIONINSIGHTS_API DescribeComponentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeComponentResult & WithApplicationComponent(ApplicationComponent &&value)
DescribeComponentResult & WithRequestId(Aws::String &&value)
DescribeComponentResult & WithResourceList(Aws::Vector< Aws::String > &&value)
AWS_APPLICATIONINSIGHTS_API DescribeComponentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetApplicationComponent(const ApplicationComponent &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue