AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
SourceAccessConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/lambda/Lambda_EXPORTS.h>
9#include <aws/lambda/model/SourceAccessType.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Lambda {
21namespace Model {
22
31 public:
32 AWS_LAMBDA_API SourceAccessConfiguration() = default;
35 AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
68 inline SourceAccessType GetType() const { return m_type; }
69 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
70 inline void SetType(SourceAccessType value) {
71 m_typeHasBeenSet = true;
72 m_type = value;
73 }
75 SetType(value);
76 return *this;
77 }
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) {
90 m_uRIHasBeenSet = true;
91 m_uRI = std::forward<URIT>(value);
92 }
93 template <typename URIT = Aws::String>
95 SetURI(std::forward<URIT>(value));
96 return *this;
97 }
99 private:
101
102 Aws::String m_uRI;
103 bool m_typeHasBeenSet = false;
104 bool m_uRIHasBeenSet = false;
105};
106
107} // namespace Model
108} // namespace Lambda
109} // 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