AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PoAttributes.h
1
6#pragma once
7#include <aws/m2/MainframeModernization_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.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 MainframeModernization
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_MAINFRAMEMODERNIZATION_API PoAttributes();
36 AWS_MAINFRAMEMODERNIZATION_API PoAttributes(Aws::Utils::Json::JsonView jsonValue);
37 AWS_MAINFRAMEMODERNIZATION_API PoAttributes& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_MAINFRAMEMODERNIZATION_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetEncoding() const{ return m_encoding; }
46 inline bool EncodingHasBeenSet() const { return m_encodingHasBeenSet; }
47 inline void SetEncoding(const Aws::String& value) { m_encodingHasBeenSet = true; m_encoding = value; }
48 inline void SetEncoding(Aws::String&& value) { m_encodingHasBeenSet = true; m_encoding = std::move(value); }
49 inline void SetEncoding(const char* value) { m_encodingHasBeenSet = true; m_encoding.assign(value); }
50 inline PoAttributes& WithEncoding(const Aws::String& value) { SetEncoding(value); return *this;}
51 inline PoAttributes& WithEncoding(Aws::String&& value) { SetEncoding(std::move(value)); return *this;}
52 inline PoAttributes& WithEncoding(const char* value) { SetEncoding(value); return *this;}
54
56
59 inline const Aws::String& GetFormat() const{ return m_format; }
60 inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
61 inline void SetFormat(const Aws::String& value) { m_formatHasBeenSet = true; m_format = value; }
62 inline void SetFormat(Aws::String&& value) { m_formatHasBeenSet = true; m_format = std::move(value); }
63 inline void SetFormat(const char* value) { m_formatHasBeenSet = true; m_format.assign(value); }
64 inline PoAttributes& WithFormat(const Aws::String& value) { SetFormat(value); return *this;}
65 inline PoAttributes& WithFormat(Aws::String&& value) { SetFormat(std::move(value)); return *this;}
66 inline PoAttributes& WithFormat(const char* value) { SetFormat(value); return *this;}
68
70
74 inline const Aws::Vector<Aws::String>& GetMemberFileExtensions() const{ return m_memberFileExtensions; }
75 inline bool MemberFileExtensionsHasBeenSet() const { return m_memberFileExtensionsHasBeenSet; }
76 inline void SetMemberFileExtensions(const Aws::Vector<Aws::String>& value) { m_memberFileExtensionsHasBeenSet = true; m_memberFileExtensions = value; }
77 inline void SetMemberFileExtensions(Aws::Vector<Aws::String>&& value) { m_memberFileExtensionsHasBeenSet = true; m_memberFileExtensions = std::move(value); }
80 inline PoAttributes& AddMemberFileExtensions(const Aws::String& value) { m_memberFileExtensionsHasBeenSet = true; m_memberFileExtensions.push_back(value); return *this; }
81 inline PoAttributes& AddMemberFileExtensions(Aws::String&& value) { m_memberFileExtensionsHasBeenSet = true; m_memberFileExtensions.push_back(std::move(value)); return *this; }
82 inline PoAttributes& AddMemberFileExtensions(const char* value) { m_memberFileExtensionsHasBeenSet = true; m_memberFileExtensions.push_back(value); return *this; }
84 private:
85
86 Aws::String m_encoding;
87 bool m_encodingHasBeenSet = false;
88
89 Aws::String m_format;
90 bool m_formatHasBeenSet = false;
91
92 Aws::Vector<Aws::String> m_memberFileExtensions;
93 bool m_memberFileExtensionsHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace MainframeModernization
98} // namespace Aws
PoAttributes & AddMemberFileExtensions(const Aws::String &value)
PoAttributes & WithEncoding(const Aws::String &value)
AWS_MAINFRAMEMODERNIZATION_API PoAttributes()
void SetFormat(const Aws::String &value)
PoAttributes & WithFormat(const Aws::String &value)
const Aws::Vector< Aws::String > & GetMemberFileExtensions() const
PoAttributes & WithEncoding(const char *value)
PoAttributes & WithMemberFileExtensions(Aws::Vector< Aws::String > &&value)
PoAttributes & WithFormat(const char *value)
PoAttributes & WithEncoding(Aws::String &&value)
void SetMemberFileExtensions(Aws::Vector< Aws::String > &&value)
PoAttributes & AddMemberFileExtensions(const char *value)
AWS_MAINFRAMEMODERNIZATION_API PoAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MAINFRAMEMODERNIZATION_API PoAttributes(Aws::Utils::Json::JsonView jsonValue)
PoAttributes & WithFormat(Aws::String &&value)
void SetMemberFileExtensions(const Aws::Vector< Aws::String > &value)
PoAttributes & WithMemberFileExtensions(const Aws::Vector< Aws::String > &value)
void SetEncoding(const Aws::String &value)
PoAttributes & AddMemberFileExtensions(Aws::String &&value)
AWS_MAINFRAMEMODERNIZATION_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue