AWS SDK for C++

AWS SDK for C++ Version 1.11.942

Loading...
Searching...
No Matches
UpdateSessionLoggerRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/workspaces-web/WorkSpacesWebRequest.h>
9#include <aws/workspaces-web/WorkSpacesWeb_EXPORTS.h>
10#include <aws/workspaces-web/model/EventFilter.h>
11#include <aws/workspaces-web/model/LogConfiguration.h>
12
13#include <utility>
14
15namespace Aws {
16namespace WorkSpacesWeb {
17namespace Model {
18
22 public:
23 AWS_WORKSPACESWEB_API UpdateSessionLoggerRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "UpdateSessionLogger"; }
30
31 AWS_WORKSPACESWEB_API Aws::String SerializePayload() const override;
32
34
37 inline const Aws::String& GetSessionLoggerArn() const { return m_sessionLoggerArn; }
38 inline bool SessionLoggerArnHasBeenSet() const { return m_sessionLoggerArnHasBeenSet; }
39 template <typename SessionLoggerArnT = Aws::String>
40 void SetSessionLoggerArn(SessionLoggerArnT&& value) {
41 m_sessionLoggerArnHasBeenSet = true;
42 m_sessionLoggerArn = std::forward<SessionLoggerArnT>(value);
43 }
44 template <typename SessionLoggerArnT = Aws::String>
46 SetSessionLoggerArn(std::forward<SessionLoggerArnT>(value));
47 return *this;
48 }
50
52
55 inline const EventFilter& GetEventFilter() const { return m_eventFilter; }
56 inline bool EventFilterHasBeenSet() const { return m_eventFilterHasBeenSet; }
57 template <typename EventFilterT = EventFilter>
58 void SetEventFilter(EventFilterT&& value) {
59 m_eventFilterHasBeenSet = true;
60 m_eventFilter = std::forward<EventFilterT>(value);
61 }
62 template <typename EventFilterT = EventFilter>
64 SetEventFilter(std::forward<EventFilterT>(value));
65 return *this;
66 }
68
70
73 inline const LogConfiguration& GetLogConfiguration() const { return m_logConfiguration; }
74 inline bool LogConfigurationHasBeenSet() const { return m_logConfigurationHasBeenSet; }
75 template <typename LogConfigurationT = LogConfiguration>
76 void SetLogConfiguration(LogConfigurationT&& value) {
77 m_logConfigurationHasBeenSet = true;
78 m_logConfiguration = std::forward<LogConfigurationT>(value);
79 }
80 template <typename LogConfigurationT = LogConfiguration>
82 SetLogConfiguration(std::forward<LogConfigurationT>(value));
83 return *this;
84 }
86
88
91 inline const Aws::String& GetDisplayName() const { return m_displayName; }
92 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
93 template <typename DisplayNameT = Aws::String>
94 void SetDisplayName(DisplayNameT&& value) {
95 m_displayNameHasBeenSet = true;
96 m_displayName = std::forward<DisplayNameT>(value);
97 }
98 template <typename DisplayNameT = Aws::String>
100 SetDisplayName(std::forward<DisplayNameT>(value));
101 return *this;
102 }
104 private:
105 Aws::String m_sessionLoggerArn;
106
107 EventFilter m_eventFilter;
108
109 LogConfiguration m_logConfiguration;
110
111 Aws::String m_displayName;
112 bool m_sessionLoggerArnHasBeenSet = false;
113 bool m_eventFilterHasBeenSet = false;
114 bool m_logConfigurationHasBeenSet = false;
115 bool m_displayNameHasBeenSet = false;
116};
117
118} // namespace Model
119} // namespace WorkSpacesWeb
120} // namespace Aws
UpdateSessionLoggerRequest & WithLogConfiguration(LogConfigurationT &&value)
AWS_WORKSPACESWEB_API Aws::String SerializePayload() const override
UpdateSessionLoggerRequest & WithSessionLoggerArn(SessionLoggerArnT &&value)
UpdateSessionLoggerRequest & WithEventFilter(EventFilterT &&value)
AWS_WORKSPACESWEB_API UpdateSessionLoggerRequest()=default
UpdateSessionLoggerRequest & WithDisplayName(DisplayNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String