AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DescribeEntityAggregatesRequest.h
1
6#pragma once
7#include <aws/health/Health_EXPORTS.h>
8#include <aws/health/HealthRequest.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{
15namespace Health
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_HEALTH_API DescribeEntityAggregatesRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "DescribeEntityAggregates"; }
32
33 AWS_HEALTH_API Aws::String SerializePayload() const override;
34
36
37
39
45 inline const Aws::Vector<Aws::String>& GetEventArns() const { return m_eventArns; }
46 inline bool EventArnsHasBeenSet() const { return m_eventArnsHasBeenSet; }
47 template<typename EventArnsT = Aws::Vector<Aws::String>>
48 void SetEventArns(EventArnsT&& value) { m_eventArnsHasBeenSet = true; m_eventArns = std::forward<EventArnsT>(value); }
49 template<typename EventArnsT = Aws::Vector<Aws::String>>
50 DescribeEntityAggregatesRequest& WithEventArns(EventArnsT&& value) { SetEventArns(std::forward<EventArnsT>(value)); return *this;}
51 template<typename EventArnsT = Aws::String>
52 DescribeEntityAggregatesRequest& AddEventArns(EventArnsT&& value) { m_eventArnsHasBeenSet = true; m_eventArns.emplace_back(std::forward<EventArnsT>(value)); return *this; }
54 private:
55
56 Aws::Vector<Aws::String> m_eventArns;
57 bool m_eventArnsHasBeenSet = false;
58 };
59
60} // namespace Model
61} // namespace Health
62} // namespace Aws
AWS_HEALTH_API DescribeEntityAggregatesRequest()=default
AWS_HEALTH_API Aws::String SerializePayload() const override
DescribeEntityAggregatesRequest & AddEventArns(EventArnsT &&value)
DescribeEntityAggregatesRequest & WithEventArns(EventArnsT &&value)
AWS_HEALTH_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector