AWS SDK for C++

AWS SDK for C++ Version 1.11.740

Loading...
Searching...
No Matches
DescribeEventDetailsRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/health/HealthRequest.h>
10#include <aws/health/Health_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Health {
16namespace Model {
17
21 public:
22 AWS_HEALTH_API DescribeEventDetailsRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "DescribeEventDetails"; }
29
30 AWS_HEALTH_API Aws::String SerializePayload() const override;
31
33
35
41 inline const Aws::Vector<Aws::String>& GetEventArns() const { return m_eventArns; }
42 inline bool EventArnsHasBeenSet() const { return m_eventArnsHasBeenSet; }
43 template <typename EventArnsT = Aws::Vector<Aws::String>>
44 void SetEventArns(EventArnsT&& value) {
45 m_eventArnsHasBeenSet = true;
46 m_eventArns = std::forward<EventArnsT>(value);
47 }
48 template <typename EventArnsT = Aws::Vector<Aws::String>>
50 SetEventArns(std::forward<EventArnsT>(value));
51 return *this;
52 }
53 template <typename EventArnsT = Aws::String>
55 m_eventArnsHasBeenSet = true;
56 m_eventArns.emplace_back(std::forward<EventArnsT>(value));
57 return *this;
58 }
60
62
66 inline const Aws::String& GetLocale() const { return m_locale; }
67 inline bool LocaleHasBeenSet() const { return m_localeHasBeenSet; }
68 template <typename LocaleT = Aws::String>
69 void SetLocale(LocaleT&& value) {
70 m_localeHasBeenSet = true;
71 m_locale = std::forward<LocaleT>(value);
72 }
73 template <typename LocaleT = Aws::String>
75 SetLocale(std::forward<LocaleT>(value));
76 return *this;
77 }
79 private:
80 Aws::Vector<Aws::String> m_eventArns;
81
82 Aws::String m_locale;
83 bool m_eventArnsHasBeenSet = false;
84 bool m_localeHasBeenSet = false;
85};
86
87} // namespace Model
88} // namespace Health
89} // 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