AWS SDK for C++

AWS SDK for C++ Version 1.11.942

Loading...
Searching...
No Matches
SessionLoggerSummary.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/workspaces-web/WorkSpacesWeb_EXPORTS.h>
10#include <aws/workspaces-web/model/LogConfiguration.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace WorkSpacesWeb {
22namespace Model {
23
30 public:
31 AWS_WORKSPACESWEB_API SessionLoggerSummary() = default;
32 AWS_WORKSPACESWEB_API SessionLoggerSummary(Aws::Utils::Json::JsonView jsonValue);
34 AWS_WORKSPACESWEB_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetSessionLoggerArn() const { return m_sessionLoggerArn; }
41 inline bool SessionLoggerArnHasBeenSet() const { return m_sessionLoggerArnHasBeenSet; }
42 template <typename SessionLoggerArnT = Aws::String>
43 void SetSessionLoggerArn(SessionLoggerArnT&& value) {
44 m_sessionLoggerArnHasBeenSet = true;
45 m_sessionLoggerArn = std::forward<SessionLoggerArnT>(value);
46 }
47 template <typename SessionLoggerArnT = Aws::String>
48 SessionLoggerSummary& WithSessionLoggerArn(SessionLoggerArnT&& value) {
49 SetSessionLoggerArn(std::forward<SessionLoggerArnT>(value));
50 return *this;
51 }
53
55
58 inline const LogConfiguration& GetLogConfiguration() const { return m_logConfiguration; }
59 inline bool LogConfigurationHasBeenSet() const { return m_logConfigurationHasBeenSet; }
60 template <typename LogConfigurationT = LogConfiguration>
61 void SetLogConfiguration(LogConfigurationT&& value) {
62 m_logConfigurationHasBeenSet = true;
63 m_logConfiguration = std::forward<LogConfigurationT>(value);
64 }
65 template <typename LogConfigurationT = LogConfiguration>
66 SessionLoggerSummary& WithLogConfiguration(LogConfigurationT&& value) {
67 SetLogConfiguration(std::forward<LogConfigurationT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetDisplayName() const { return m_displayName; }
77 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
78 template <typename DisplayNameT = Aws::String>
79 void SetDisplayName(DisplayNameT&& value) {
80 m_displayNameHasBeenSet = true;
81 m_displayName = std::forward<DisplayNameT>(value);
82 }
83 template <typename DisplayNameT = Aws::String>
84 SessionLoggerSummary& WithDisplayName(DisplayNameT&& value) {
85 SetDisplayName(std::forward<DisplayNameT>(value));
86 return *this;
87 }
89
91
94 inline const Aws::Utils::DateTime& GetCreationDate() const { return m_creationDate; }
95 inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
96 template <typename CreationDateT = Aws::Utils::DateTime>
97 void SetCreationDate(CreationDateT&& value) {
98 m_creationDateHasBeenSet = true;
99 m_creationDate = std::forward<CreationDateT>(value);
100 }
101 template <typename CreationDateT = Aws::Utils::DateTime>
102 SessionLoggerSummary& WithCreationDate(CreationDateT&& value) {
103 SetCreationDate(std::forward<CreationDateT>(value));
104 return *this;
105 }
107 private:
108 Aws::String m_sessionLoggerArn;
109
110 LogConfiguration m_logConfiguration;
111
112 Aws::String m_displayName;
113
114 Aws::Utils::DateTime m_creationDate{};
115 bool m_sessionLoggerArnHasBeenSet = false;
116 bool m_logConfigurationHasBeenSet = false;
117 bool m_displayNameHasBeenSet = false;
118 bool m_creationDateHasBeenSet = false;
119};
120
121} // namespace Model
122} // namespace WorkSpacesWeb
123} // namespace Aws
void SetSessionLoggerArn(SessionLoggerArnT &&value)
AWS_WORKSPACESWEB_API SessionLoggerSummary()=default
SessionLoggerSummary & WithLogConfiguration(LogConfigurationT &&value)
AWS_WORKSPACESWEB_API Aws::Utils::Json::JsonValue Jsonize() const
SessionLoggerSummary & WithCreationDate(CreationDateT &&value)
const LogConfiguration & GetLogConfiguration() const
void SetLogConfiguration(LogConfigurationT &&value)
const Aws::Utils::DateTime & GetCreationDate() const
SessionLoggerSummary & WithDisplayName(DisplayNameT &&value)
SessionLoggerSummary & WithSessionLoggerArn(SessionLoggerArnT &&value)
AWS_WORKSPACESWEB_API SessionLoggerSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_WORKSPACESWEB_API SessionLoggerSummary(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue