AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
HttpAuthorization.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/iot/model/SigV4Authorization.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace IoT
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_IOT_API HttpAuthorization();
38
39
41
46 inline const SigV4Authorization& GetSigv4() const{ return m_sigv4; }
47 inline bool Sigv4HasBeenSet() const { return m_sigv4HasBeenSet; }
48 inline void SetSigv4(const SigV4Authorization& value) { m_sigv4HasBeenSet = true; m_sigv4 = value; }
49 inline void SetSigv4(SigV4Authorization&& value) { m_sigv4HasBeenSet = true; m_sigv4 = std::move(value); }
50 inline HttpAuthorization& WithSigv4(const SigV4Authorization& value) { SetSigv4(value); return *this;}
51 inline HttpAuthorization& WithSigv4(SigV4Authorization&& value) { SetSigv4(std::move(value)); return *this;}
53 private:
54
55 SigV4Authorization m_sigv4;
56 bool m_sigv4HasBeenSet = false;
57 };
58
59} // namespace Model
60} // namespace IoT
61} // namespace Aws
HttpAuthorization & WithSigv4(const SigV4Authorization &value)
const SigV4Authorization & GetSigv4() const
AWS_IOT_API HttpAuthorization(Aws::Utils::Json::JsonView jsonValue)
void SetSigv4(const SigV4Authorization &value)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSigv4(SigV4Authorization &&value)
AWS_IOT_API HttpAuthorization & operator=(Aws::Utils::Json::JsonView jsonValue)
HttpAuthorization & WithSigv4(SigV4Authorization &&value)
Aws::Utils::Json::JsonValue JsonValue