AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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