AWS SDK for C++

AWS SDK for C++ Version 1.11.763

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
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace IoT {
20namespace Model {
21
28 public:
29 AWS_IOT_API HttpAuthorization() = default;
33
35
40 inline const SigV4Authorization& GetSigv4() const { return m_sigv4; }
41 inline bool Sigv4HasBeenSet() const { return m_sigv4HasBeenSet; }
42 template <typename Sigv4T = SigV4Authorization>
43 void SetSigv4(Sigv4T&& value) {
44 m_sigv4HasBeenSet = true;
45 m_sigv4 = std::forward<Sigv4T>(value);
46 }
47 template <typename Sigv4T = SigV4Authorization>
48 HttpAuthorization& WithSigv4(Sigv4T&& value) {
49 SetSigv4(std::forward<Sigv4T>(value));
50 return *this;
51 }
53 private:
54 SigV4Authorization m_sigv4;
55 bool m_sigv4HasBeenSet = false;
56};
57
58} // namespace Model
59} // namespace IoT
60} // 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