AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetLoaContent(const Aws::Utils::ByteBuffer& value) { m_loaContentHasBeenSet = true; m_loaContent = value; }
50 inline void SetLoaContent(Aws::Utils::ByteBuffer&& value) { m_loaContentHasBeenSet = true; m_loaContent = std::move(value); }
51 inline Loa& WithLoaContent(const Aws::Utils::ByteBuffer& value) { SetLoaContent(value); return *this;}
52 inline Loa& WithLoaContent(Aws::Utils::ByteBuffer&& value) { SetLoaContent(std::move(value)); return *this;}
54
56
60 inline const LoaContentType& GetLoaContentType() const{ return m_loaContentType; }
61 inline bool LoaContentTypeHasBeenSet() const { return m_loaContentTypeHasBeenSet; }
62 inline void SetLoaContentType(const LoaContentType& value) { m_loaContentTypeHasBeenSet = true; m_loaContentType = value; }
63 inline void SetLoaContentType(LoaContentType&& value) { m_loaContentTypeHasBeenSet = true; m_loaContentType = std::move(value); }
64 inline Loa& WithLoaContentType(const LoaContentType& value) { SetLoaContentType(value); return *this;}
65 inline Loa& WithLoaContentType(LoaContentType&& value) { SetLoaContentType(std::move(value)); return *this;}
67
69
70 inline const Aws::String& GetRequestId() const{ return m_requestId; }
71 inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; }
72 inline void SetRequestId(const Aws::String& value) { m_requestIdHasBeenSet = true; m_requestId = value; }
73 inline void SetRequestId(Aws::String&& value) { m_requestIdHasBeenSet = true; m_requestId = std::move(value); }
74 inline void SetRequestId(const char* value) { m_requestIdHasBeenSet = true; m_requestId.assign(value); }
75 inline Loa& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
76 inline Loa& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
77 inline Loa& WithRequestId(const char* value) { SetRequestId(value); return *this;}
79 private:
80
81 Aws::Utils::ByteBuffer m_loaContent;
82 bool m_loaContentHasBeenSet = false;
83
84 LoaContentType m_loaContentType;
85 bool m_loaContentTypeHasBeenSet = false;
86
87 Aws::String m_requestId;
88 bool m_requestIdHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace DirectConnect
93} // namespace Aws
const Aws::String & GetRequestId() const
Definition Loa.h:70
bool LoaContentTypeHasBeenSet() const
Definition Loa.h:61
const Aws::Utils::ByteBuffer & GetLoaContent() const
Definition Loa.h:47
bool RequestIdHasBeenSet() const
Definition Loa.h:71
void SetLoaContent(const Aws::Utils::ByteBuffer &value)
Definition Loa.h:49
AWS_DIRECTCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
Loa & WithLoaContentType(LoaContentType &&value)
Definition Loa.h:65
void SetLoaContentType(const LoaContentType &value)
Definition Loa.h:62
const LoaContentType & GetLoaContentType() const
Definition Loa.h:60
void SetLoaContent(Aws::Utils::ByteBuffer &&value)
Definition Loa.h:50
void SetRequestId(Aws::String &&value)
Definition Loa.h:73
void SetRequestId(const char *value)
Definition Loa.h:74
void SetLoaContentType(LoaContentType &&value)
Definition Loa.h:63
void SetRequestId(const Aws::String &value)
Definition Loa.h:72
Loa & WithLoaContent(const Aws::Utils::ByteBuffer &value)
Definition Loa.h:51
AWS_DIRECTCONNECT_API Loa()
Loa & WithLoaContent(Aws::Utils::ByteBuffer &&value)
Definition Loa.h:52
AWS_DIRECTCONNECT_API Loa & operator=(Aws::Utils::Json::JsonView jsonValue)
Loa & WithRequestId(Aws::String &&value)
Definition Loa.h:76
Loa & WithRequestId(const Aws::String &value)
Definition Loa.h:75
Loa & WithLoaContentType(const LoaContentType &value)
Definition Loa.h:64
bool LoaContentHasBeenSet() const
Definition Loa.h:48
AWS_DIRECTCONNECT_API Loa(Aws::Utils::Json::JsonView jsonValue)
Loa & WithRequestId(const char *value)
Definition Loa.h:77
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue