AWS SDK for C++

AWS SDK for C++ Version 1.11.763

Loading...
Searching...
No Matches
Loa.h
1
6#pragma once
7#include <aws/core/utils/Array.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/directconnect/DirectConnect_EXPORTS.h>
10#include <aws/directconnect/model/LoaContentType.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace DirectConnect {
22namespace Model {
23
30class Loa {
31 public:
32 AWS_DIRECTCONNECT_API Loa() = default;
33 AWS_DIRECTCONNECT_API Loa(Aws::Utils::Json::JsonView jsonValue);
34 AWS_DIRECTCONNECT_API Loa& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_DIRECTCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::Utils::ByteBuffer& GetLoaContent() const { return m_loaContent; }
42 inline bool LoaContentHasBeenSet() const { return m_loaContentHasBeenSet; }
43 template <typename LoaContentT = Aws::Utils::ByteBuffer>
44 void SetLoaContent(LoaContentT&& value) {
45 m_loaContentHasBeenSet = true;
46 m_loaContent = std::forward<LoaContentT>(value);
47 }
48 template <typename LoaContentT = Aws::Utils::ByteBuffer>
49 Loa& WithLoaContent(LoaContentT&& value) {
50 SetLoaContent(std::forward<LoaContentT>(value));
51 return *this;
52 }
54
56
60 inline LoaContentType GetLoaContentType() const { return m_loaContentType; }
61 inline bool LoaContentTypeHasBeenSet() const { return m_loaContentTypeHasBeenSet; }
62 inline void SetLoaContentType(LoaContentType value) {
63 m_loaContentTypeHasBeenSet = true;
64 m_loaContentType = value;
65 }
67 SetLoaContentType(value);
68 return *this;
69 }
71
73
74 inline const Aws::String& GetRequestId() const { return m_requestId; }
75 inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; }
76 template <typename RequestIdT = Aws::String>
77 void SetRequestId(RequestIdT&& value) {
78 m_requestIdHasBeenSet = true;
79 m_requestId = std::forward<RequestIdT>(value);
80 }
81 template <typename RequestIdT = Aws::String>
82 Loa& WithRequestId(RequestIdT&& value) {
83 SetRequestId(std::forward<RequestIdT>(value));
84 return *this;
85 }
87 private:
88 Aws::Utils::ByteBuffer m_loaContent{};
89
91
92 Aws::String m_requestId;
93 bool m_loaContentHasBeenSet = false;
94 bool m_loaContentTypeHasBeenSet = false;
95 bool m_requestIdHasBeenSet = false;
96};
97
98} // namespace Model
99} // namespace DirectConnect
100} // namespace Aws
const Aws::String & GetRequestId() const
Definition Loa.h:74
bool LoaContentTypeHasBeenSet() const
Definition Loa.h:61
const Aws::Utils::ByteBuffer & GetLoaContent() const
Definition Loa.h:41
bool RequestIdHasBeenSet() const
Definition Loa.h:75
void SetRequestId(RequestIdT &&value)
Definition Loa.h:77
AWS_DIRECTCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
Loa & WithLoaContent(LoaContentT &&value)
Definition Loa.h:49
LoaContentType GetLoaContentType() const
Definition Loa.h:60
void SetLoaContentType(LoaContentType value)
Definition Loa.h:62
Loa & WithRequestId(RequestIdT &&value)
Definition Loa.h:82
AWS_DIRECTCONNECT_API Loa & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DIRECTCONNECT_API Loa()=default
void SetLoaContent(LoaContentT &&value)
Definition Loa.h:44
bool LoaContentHasBeenSet() const
Definition Loa.h:42
AWS_DIRECTCONNECT_API Loa(Aws::Utils::Json::JsonView jsonValue)
Loa & WithLoaContentType(LoaContentType value)
Definition Loa.h:66
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue