AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
PsAttributes.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/m2/MainframeModernization_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace MainframeModernization {
20namespace Model {
21
28 public:
29 AWS_MAINFRAMEMODERNIZATION_API PsAttributes() = default;
30 AWS_MAINFRAMEMODERNIZATION_API PsAttributes(Aws::Utils::Json::JsonView jsonValue);
31 AWS_MAINFRAMEMODERNIZATION_API PsAttributes& operator=(Aws::Utils::Json::JsonView jsonValue);
32 AWS_MAINFRAMEMODERNIZATION_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const Aws::String& GetEncoding() const { return m_encoding; }
39 inline bool EncodingHasBeenSet() const { return m_encodingHasBeenSet; }
40 template <typename EncodingT = Aws::String>
41 void SetEncoding(EncodingT&& value) {
42 m_encodingHasBeenSet = true;
43 m_encoding = std::forward<EncodingT>(value);
44 }
45 template <typename EncodingT = Aws::String>
46 PsAttributes& WithEncoding(EncodingT&& value) {
47 SetEncoding(std::forward<EncodingT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetFormat() const { return m_format; }
57 inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
58 template <typename FormatT = Aws::String>
59 void SetFormat(FormatT&& value) {
60 m_formatHasBeenSet = true;
61 m_format = std::forward<FormatT>(value);
62 }
63 template <typename FormatT = Aws::String>
64 PsAttributes& WithFormat(FormatT&& value) {
65 SetFormat(std::forward<FormatT>(value));
66 return *this;
67 }
69 private:
70 Aws::String m_encoding;
71
72 Aws::String m_format;
73 bool m_encodingHasBeenSet = false;
74 bool m_formatHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace MainframeModernization
79} // namespace Aws
AWS_MAINFRAMEMODERNIZATION_API PsAttributes(Aws::Utils::Json::JsonView jsonValue)
AWS_MAINFRAMEMODERNIZATION_API Aws::Utils::Json::JsonValue Jsonize() const
PsAttributes & WithEncoding(EncodingT &&value)
PsAttributes & WithFormat(FormatT &&value)
AWS_MAINFRAMEMODERNIZATION_API PsAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MAINFRAMEMODERNIZATION_API PsAttributes()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue