AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ClientProperties.h
1
6#pragma once
7#include <aws/workspaces/WorkSpaces_EXPORTS.h>
8#include <aws/workspaces/model/ReconnectEnum.h>
9#include <aws/workspaces/model/LogUploadEnum.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace WorkSpaces
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_WORKSPACES_API ClientProperties();
36 AWS_WORKSPACES_API ClientProperties(Aws::Utils::Json::JsonView jsonValue);
38 AWS_WORKSPACES_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
47 inline const ReconnectEnum& GetReconnectEnabled() const{ return m_reconnectEnabled; }
48 inline bool ReconnectEnabledHasBeenSet() const { return m_reconnectEnabledHasBeenSet; }
49 inline void SetReconnectEnabled(const ReconnectEnum& value) { m_reconnectEnabledHasBeenSet = true; m_reconnectEnabled = value; }
50 inline void SetReconnectEnabled(ReconnectEnum&& value) { m_reconnectEnabledHasBeenSet = true; m_reconnectEnabled = std::move(value); }
51 inline ClientProperties& WithReconnectEnabled(const ReconnectEnum& value) { SetReconnectEnabled(value); return *this;}
52 inline ClientProperties& WithReconnectEnabled(ReconnectEnum&& value) { SetReconnectEnabled(std::move(value)); return *this;}
54
56
62 inline const LogUploadEnum& GetLogUploadEnabled() const{ return m_logUploadEnabled; }
63 inline bool LogUploadEnabledHasBeenSet() const { return m_logUploadEnabledHasBeenSet; }
64 inline void SetLogUploadEnabled(const LogUploadEnum& value) { m_logUploadEnabledHasBeenSet = true; m_logUploadEnabled = value; }
65 inline void SetLogUploadEnabled(LogUploadEnum&& value) { m_logUploadEnabledHasBeenSet = true; m_logUploadEnabled = std::move(value); }
66 inline ClientProperties& WithLogUploadEnabled(const LogUploadEnum& value) { SetLogUploadEnabled(value); return *this;}
67 inline ClientProperties& WithLogUploadEnabled(LogUploadEnum&& value) { SetLogUploadEnabled(std::move(value)); return *this;}
69 private:
70
71 ReconnectEnum m_reconnectEnabled;
72 bool m_reconnectEnabledHasBeenSet = false;
73
74 LogUploadEnum m_logUploadEnabled;
75 bool m_logUploadEnabledHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace WorkSpaces
80} // namespace Aws
void SetLogUploadEnabled(const LogUploadEnum &value)
ClientProperties & WithLogUploadEnabled(const LogUploadEnum &value)
void SetReconnectEnabled(ReconnectEnum &&value)
AWS_WORKSPACES_API ClientProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_WORKSPACES_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLogUploadEnabled(LogUploadEnum &&value)
const LogUploadEnum & GetLogUploadEnabled() const
ClientProperties & WithReconnectEnabled(ReconnectEnum &&value)
ClientProperties & WithReconnectEnabled(const ReconnectEnum &value)
void SetReconnectEnabled(const ReconnectEnum &value)
ClientProperties & WithLogUploadEnabled(LogUploadEnum &&value)
AWS_WORKSPACES_API ClientProperties(Aws::Utils::Json::JsonView jsonValue)
const ReconnectEnum & GetReconnectEnabled() const
Aws::Utils::Json::JsonValue JsonValue