AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
38
39
41
46 inline const SigV4Authorization& GetSigv4() const { return m_sigv4; }
47 inline bool Sigv4HasBeenSet() const { return m_sigv4HasBeenSet; }
48 template<typename Sigv4T = SigV4Authorization>
49 void SetSigv4(Sigv4T&& value) { m_sigv4HasBeenSet = true; m_sigv4 = std::forward<Sigv4T>(value); }
50 template<typename Sigv4T = SigV4Authorization>
51 HttpAuthorization& WithSigv4(Sigv4T&& value) { SetSigv4(std::forward<Sigv4T>(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
const SigV4Authorization & GetSigv4() const
HttpAuthorization & WithSigv4(Sigv4T &&value)
AWS_IOT_API HttpAuthorization()=default
AWS_IOT_API HttpAuthorization(Aws::Utils::Json::JsonView jsonValue)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOT_API HttpAuthorization & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue