AWS SDK for C++

AWS SDK for C++ Version 1.11.942

Loading...
Searching...
No Matches
DataProtectionSettingsSummary.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
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace WorkSpacesWeb {
21namespace Model {
22
29 public:
30 AWS_WORKSPACESWEB_API DataProtectionSettingsSummary() = default;
33 AWS_WORKSPACESWEB_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetDataProtectionSettingsArn() const { return m_dataProtectionSettingsArn; }
40 inline bool DataProtectionSettingsArnHasBeenSet() const { return m_dataProtectionSettingsArnHasBeenSet; }
41 template <typename DataProtectionSettingsArnT = Aws::String>
42 void SetDataProtectionSettingsArn(DataProtectionSettingsArnT&& value) {
43 m_dataProtectionSettingsArnHasBeenSet = true;
44 m_dataProtectionSettingsArn = std::forward<DataProtectionSettingsArnT>(value);
45 }
46 template <typename DataProtectionSettingsArnT = Aws::String>
47 DataProtectionSettingsSummary& WithDataProtectionSettingsArn(DataProtectionSettingsArnT&& value) {
48 SetDataProtectionSettingsArn(std::forward<DataProtectionSettingsArnT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetDisplayName() const { return m_displayName; }
58 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
59 template <typename DisplayNameT = Aws::String>
60 void SetDisplayName(DisplayNameT&& value) {
61 m_displayNameHasBeenSet = true;
62 m_displayName = std::forward<DisplayNameT>(value);
63 }
64 template <typename DisplayNameT = Aws::String>
66 SetDisplayName(std::forward<DisplayNameT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetDescription() const { return m_description; }
76 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
77 template <typename DescriptionT = Aws::String>
78 void SetDescription(DescriptionT&& value) {
79 m_descriptionHasBeenSet = true;
80 m_description = std::forward<DescriptionT>(value);
81 }
82 template <typename DescriptionT = Aws::String>
84 SetDescription(std::forward<DescriptionT>(value));
85 return *this;
86 }
88
90
93 inline const Aws::Utils::DateTime& GetCreationDate() const { return m_creationDate; }
94 inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
95 template <typename CreationDateT = Aws::Utils::DateTime>
96 void SetCreationDate(CreationDateT&& value) {
97 m_creationDateHasBeenSet = true;
98 m_creationDate = std::forward<CreationDateT>(value);
99 }
100 template <typename CreationDateT = Aws::Utils::DateTime>
102 SetCreationDate(std::forward<CreationDateT>(value));
103 return *this;
104 }
106 private:
107 Aws::String m_dataProtectionSettingsArn;
108
109 Aws::String m_displayName;
110
111 Aws::String m_description;
112
113 Aws::Utils::DateTime m_creationDate{};
114 bool m_dataProtectionSettingsArnHasBeenSet = false;
115 bool m_displayNameHasBeenSet = false;
116 bool m_descriptionHasBeenSet = false;
117 bool m_creationDateHasBeenSet = false;
118};
119
120} // namespace Model
121} // namespace WorkSpacesWeb
122} // namespace Aws
AWS_WORKSPACESWEB_API DataProtectionSettingsSummary()=default
DataProtectionSettingsSummary & WithDataProtectionSettingsArn(DataProtectionSettingsArnT &&value)
AWS_WORKSPACESWEB_API DataProtectionSettingsSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
DataProtectionSettingsSummary & WithCreationDate(CreationDateT &&value)
void SetDataProtectionSettingsArn(DataProtectionSettingsArnT &&value)
DataProtectionSettingsSummary & WithDescription(DescriptionT &&value)
AWS_WORKSPACESWEB_API Aws::Utils::Json::JsonValue Jsonize() const
DataProtectionSettingsSummary & WithDisplayName(DisplayNameT &&value)
AWS_WORKSPACESWEB_API DataProtectionSettingsSummary(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue