AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
AuthConfig.h
1
6#pragma once
7#include <aws/iot-managed-integrations/IoTManagedIntegrations_EXPORTS.h>
8#include <aws/iot-managed-integrations/model/OAuthConfig.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 IoTManagedIntegrations
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_IOTMANAGEDINTEGRATIONS_API AuthConfig() = default;
37 AWS_IOTMANAGEDINTEGRATIONS_API AuthConfig(Aws::Utils::Json::JsonView jsonValue);
38 AWS_IOTMANAGEDINTEGRATIONS_API AuthConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_IOTMANAGEDINTEGRATIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const OAuthConfig& GetOAuth() const { return m_oAuth; }
48 inline bool OAuthHasBeenSet() const { return m_oAuthHasBeenSet; }
49 template<typename OAuthT = OAuthConfig>
50 void SetOAuth(OAuthT&& value) { m_oAuthHasBeenSet = true; m_oAuth = std::forward<OAuthT>(value); }
51 template<typename OAuthT = OAuthConfig>
52 AuthConfig& WithOAuth(OAuthT&& value) { SetOAuth(std::forward<OAuthT>(value)); return *this;}
54 private:
55
56 OAuthConfig m_oAuth;
57 bool m_oAuthHasBeenSet = false;
58 };
59
60} // namespace Model
61} // namespace IoTManagedIntegrations
62} // namespace Aws
AWS_IOTMANAGEDINTEGRATIONS_API AuthConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTMANAGEDINTEGRATIONS_API Aws::Utils::Json::JsonValue Jsonize() const
AuthConfig & WithOAuth(OAuthT &&value)
Definition AuthConfig.h:52
AWS_IOTMANAGEDINTEGRATIONS_API AuthConfig()=default
AWS_IOTMANAGEDINTEGRATIONS_API AuthConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue