AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
PoDetailAttributes.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
29 public:
30 AWS_MAINFRAMEMODERNIZATION_API PoDetailAttributes() = default;
31 AWS_MAINFRAMEMODERNIZATION_API PoDetailAttributes(Aws::Utils::Json::JsonView jsonValue);
32 AWS_MAINFRAMEMODERNIZATION_API PoDetailAttributes& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_MAINFRAMEMODERNIZATION_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetEncoding() const { return m_encoding; }
40 inline bool EncodingHasBeenSet() const { return m_encodingHasBeenSet; }
41 template <typename EncodingT = Aws::String>
42 void SetEncoding(EncodingT&& value) {
43 m_encodingHasBeenSet = true;
44 m_encoding = std::forward<EncodingT>(value);
45 }
46 template <typename EncodingT = Aws::String>
47 PoDetailAttributes& WithEncoding(EncodingT&& value) {
48 SetEncoding(std::forward<EncodingT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetFormat() const { return m_format; }
58 inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
59 template <typename FormatT = Aws::String>
60 void SetFormat(FormatT&& value) {
61 m_formatHasBeenSet = true;
62 m_format = std::forward<FormatT>(value);
63 }
64 template <typename FormatT = Aws::String>
65 PoDetailAttributes& WithFormat(FormatT&& value) {
66 SetFormat(std::forward<FormatT>(value));
67 return *this;
68 }
70 private:
71 Aws::String m_encoding;
72
73 Aws::String m_format;
74 bool m_encodingHasBeenSet = false;
75 bool m_formatHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace MainframeModernization
80} // namespace Aws
PoDetailAttributes & WithEncoding(EncodingT &&value)
AWS_MAINFRAMEMODERNIZATION_API PoDetailAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MAINFRAMEMODERNIZATION_API PoDetailAttributes()=default
AWS_MAINFRAMEMODERNIZATION_API PoDetailAttributes(Aws::Utils::Json::JsonView jsonValue)
AWS_MAINFRAMEMODERNIZATION_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue