AWS SDK for C++  1.9.132
AWS SDK for C++
HttpAuthorization.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iot/IoT_EXPORTS.h>
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace IoT
22 {
23 namespace Model
24 {
25 
32  {
33  public:
38 
39 
45  inline const SigV4Authorization& GetSigv4() const{ return m_sigv4; }
46 
52  inline bool Sigv4HasBeenSet() const { return m_sigv4HasBeenSet; }
53 
59  inline void SetSigv4(const SigV4Authorization& value) { m_sigv4HasBeenSet = true; m_sigv4 = value; }
60 
66  inline void SetSigv4(SigV4Authorization&& value) { m_sigv4HasBeenSet = true; m_sigv4 = std::move(value); }
67 
73  inline HttpAuthorization& WithSigv4(const SigV4Authorization& value) { SetSigv4(value); return *this;}
74 
80  inline HttpAuthorization& WithSigv4(SigV4Authorization&& value) { SetSigv4(std::move(value)); return *this;}
81 
82  private:
83 
84  SigV4Authorization m_sigv4;
85  bool m_sigv4HasBeenSet;
86  };
87 
88 } // namespace Model
89 } // namespace IoT
90 } // namespace Aws
Aws::IoT::Model::HttpAuthorization::HttpAuthorization
HttpAuthorization()
Aws::IoT::Model::HttpAuthorization
Definition: HttpAuthorization.h:32
Aws::IoT::Model::HttpAuthorization::SetSigv4
void SetSigv4(SigV4Authorization &&value)
Definition: HttpAuthorization.h:66
Aws::IoT::Model::HttpAuthorization::operator=
HttpAuthorization & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::IoT::Model::HttpAuthorization::Sigv4HasBeenSet
bool Sigv4HasBeenSet() const
Definition: HttpAuthorization.h:52
Aws::IoT::Model::HttpAuthorization::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
SigV4Authorization.h
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::IoT::Model::SigV4Authorization
Definition: SigV4Authorization.h:34
Aws::IoT::Model::HttpAuthorization::WithSigv4
HttpAuthorization & WithSigv4(SigV4Authorization &&value)
Definition: HttpAuthorization.h:80
Aws
Definition: AccessManagementClient.h:15
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
Aws::IoT::Model::HttpAuthorization::GetSigv4
const SigV4Authorization & GetSigv4() const
Definition: HttpAuthorization.h:45
Aws::IoT::Model::HttpAuthorization::HttpAuthorization
HttpAuthorization(Aws::Utils::Json::JsonView jsonValue)
Aws::IoT::Model::HttpAuthorization::WithSigv4
HttpAuthorization & WithSigv4(const SigV4Authorization &value)
Definition: HttpAuthorization.h:73
IoT_EXPORTS.h
Aws::IoT::Model::HttpAuthorization::SetSigv4
void SetSigv4(const SigV4Authorization &value)
Definition: HttpAuthorization.h:59