7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/iot-managed-integrations/IoTManagedIntegrations_EXPORTS.h>
9#include <aws/iot-managed-integrations/model/AuthMaterial.h>
10#include <aws/iot-managed-integrations/model/OAuthConfig.h>
21namespace IoTManagedIntegrations {
45 template <
typename OAuthT = OAuthConfig>
47 m_oAuthHasBeenSet =
true;
48 m_oAuth = std::forward<OAuthT>(value);
50 template <
typename OAuthT = OAuthConfig>
52 SetOAuth(std::forward<OAuthT>(value));
63 template <
typename GeneralAuthorizationT = Aws::Vector<AuthMaterial>>
65 m_generalAuthorizationHasBeenSet =
true;
66 m_generalAuthorization = std::forward<GeneralAuthorizationT>(value);
68 template <
typename GeneralAuthorizationT = Aws::Vector<AuthMaterial>>
73 template <
typename GeneralAuthorizationT = AuthMaterial>
75 m_generalAuthorizationHasBeenSet =
true;
76 m_generalAuthorization.emplace_back(std::forward<GeneralAuthorizationT>(value));
84 bool m_oAuthHasBeenSet =
false;
85 bool m_generalAuthorizationHasBeenSet =
false;
AWS_IOTMANAGEDINTEGRATIONS_API AuthConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTMANAGEDINTEGRATIONS_API Aws::Utils::Json::JsonValue Jsonize() const
AuthConfig & WithGeneralAuthorization(GeneralAuthorizationT &&value)
void SetOAuth(OAuthT &&value)
AuthConfig & WithOAuth(OAuthT &&value)
AuthConfig & AddGeneralAuthorization(GeneralAuthorizationT &&value)
bool OAuthHasBeenSet() const
bool GeneralAuthorizationHasBeenSet() const
const OAuthConfig & GetOAuth() const
AWS_IOTMANAGEDINTEGRATIONS_API AuthConfig()=default
const Aws::Vector< AuthMaterial > & GetGeneralAuthorization() const
AWS_IOTMANAGEDINTEGRATIONS_API AuthConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetGeneralAuthorization(GeneralAuthorizationT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue