AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
DescribeEventDetailsRequest.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 DescribeEventDetailsRequest() = 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 "DescribeEventDetails"; }
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 DescribeEventDetailsRequest& WithEventArns(EventArnsT&& value) { SetEventArns(std::forward<EventArnsT>(value)); return *this;}
51 template<typename EventArnsT = Aws::String>
52 DescribeEventDetailsRequest& AddEventArns(EventArnsT&& value) { m_eventArnsHasBeenSet = true; m_eventArns.emplace_back(std::forward<EventArnsT>(value)); return *this; }
54
56
60 inline const Aws::String& GetLocale() const { return m_locale; }
61 inline bool LocaleHasBeenSet() const { return m_localeHasBeenSet; }
62 template<typename LocaleT = Aws::String>
63 void SetLocale(LocaleT&& value) { m_localeHasBeenSet = true; m_locale = std::forward<LocaleT>(value); }
64 template<typename LocaleT = Aws::String>
65 DescribeEventDetailsRequest& WithLocale(LocaleT&& value) { SetLocale(std::forward<LocaleT>(value)); return *this;}
67 private:
68
69 Aws::Vector<Aws::String> m_eventArns;
70 bool m_eventArnsHasBeenSet = false;
71
72 Aws::String m_locale;
73 bool m_localeHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace Health
78} // namespace Aws
DescribeEventDetailsRequest & AddEventArns(EventArnsT &&value)
const Aws::Vector< Aws::String > & GetEventArns() const
virtual const char * GetServiceRequestName() const override
AWS_HEALTH_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeEventDetailsRequest & WithEventArns(EventArnsT &&value)
DescribeEventDetailsRequest & WithLocale(LocaleT &&value)
AWS_HEALTH_API DescribeEventDetailsRequest()=default
AWS_HEALTH_API Aws::String SerializePayload() 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