AWS SDK for C++

AWS SDK for C++ Version 1.11.942

Loading...
Searching...
No Matches
RedactionPlaceHolder.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/workspaces-web/WorkSpacesWeb_EXPORTS.h>
9#include <aws/workspaces-web/model/RedactionPlaceHolderType.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
30 public:
31 AWS_WORKSPACESWEB_API RedactionPlaceHolder() = default;
32 AWS_WORKSPACESWEB_API RedactionPlaceHolder(Aws::Utils::Json::JsonView jsonValue);
34 AWS_WORKSPACESWEB_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline RedactionPlaceHolderType GetRedactionPlaceHolderType() const { return m_redactionPlaceHolderType; }
42 inline bool RedactionPlaceHolderTypeHasBeenSet() const { return m_redactionPlaceHolderTypeHasBeenSet; }
44 m_redactionPlaceHolderTypeHasBeenSet = true;
45 m_redactionPlaceHolderType = value;
46 }
52
54
58 inline const Aws::String& GetRedactionPlaceHolderText() const { return m_redactionPlaceHolderText; }
59 inline bool RedactionPlaceHolderTextHasBeenSet() const { return m_redactionPlaceHolderTextHasBeenSet; }
60 template <typename RedactionPlaceHolderTextT = Aws::String>
61 void SetRedactionPlaceHolderText(RedactionPlaceHolderTextT&& value) {
62 m_redactionPlaceHolderTextHasBeenSet = true;
63 m_redactionPlaceHolderText = std::forward<RedactionPlaceHolderTextT>(value);
64 }
65 template <typename RedactionPlaceHolderTextT = Aws::String>
66 RedactionPlaceHolder& WithRedactionPlaceHolderText(RedactionPlaceHolderTextT&& value) {
67 SetRedactionPlaceHolderText(std::forward<RedactionPlaceHolderTextT>(value));
68 return *this;
69 }
71 private:
73
74 Aws::String m_redactionPlaceHolderText;
75 bool m_redactionPlaceHolderTypeHasBeenSet = false;
76 bool m_redactionPlaceHolderTextHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace WorkSpacesWeb
81} // namespace Aws
void SetRedactionPlaceHolderType(RedactionPlaceHolderType value)
RedactionPlaceHolder & WithRedactionPlaceHolderText(RedactionPlaceHolderTextT &&value)
AWS_WORKSPACESWEB_API RedactionPlaceHolder()=default
AWS_WORKSPACESWEB_API Aws::Utils::Json::JsonValue Jsonize() const
RedactionPlaceHolder & WithRedactionPlaceHolderType(RedactionPlaceHolderType value)
AWS_WORKSPACESWEB_API RedactionPlaceHolder(Aws::Utils::Json::JsonView jsonValue)
AWS_WORKSPACESWEB_API RedactionPlaceHolder & operator=(Aws::Utils::Json::JsonView jsonValue)
RedactionPlaceHolderType GetRedactionPlaceHolderType() const
void SetRedactionPlaceHolderText(RedactionPlaceHolderTextT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue