AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
SourceAccessConfiguration.h
1
6#pragma once
7#include <aws/lambda/Lambda_EXPORTS.h>
8#include <aws/lambda/model/SourceAccessType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Lambda
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_LAMBDA_API SourceAccessConfiguration() = default;
40 AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
74 inline SourceAccessType GetType() const { return m_type; }
75 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
76 inline void SetType(SourceAccessType value) { m_typeHasBeenSet = true; m_type = value; }
77 inline SourceAccessConfiguration& WithType(SourceAccessType value) { SetType(value); return *this;}
79
81
86 inline const Aws::String& GetURI() const { return m_uRI; }
87 inline bool URIHasBeenSet() const { return m_uRIHasBeenSet; }
88 template<typename URIT = Aws::String>
89 void SetURI(URIT&& value) { m_uRIHasBeenSet = true; m_uRI = std::forward<URIT>(value); }
90 template<typename URIT = Aws::String>
91 SourceAccessConfiguration& WithURI(URIT&& value) { SetURI(std::forward<URIT>(value)); return *this;}
93 private:
94
96 bool m_typeHasBeenSet = false;
97
98 Aws::String m_uRI;
99 bool m_uRIHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace Lambda
104} // namespace Aws
AWS_LAMBDA_API SourceAccessConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_LAMBDA_API SourceAccessConfiguration()=default
AWS_LAMBDA_API SourceAccessConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
SourceAccessConfiguration & WithType(SourceAccessType value)
AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const
SourceAccessConfiguration & WithURI(URIT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue