AWS SDK for C++

AWS SDK for C++ Version 1.11.909

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
99 inline SourceAccessType GetType() const { return m_type; }
100 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
101 inline void SetType(SourceAccessType value) {
102 m_typeHasBeenSet = true;
103 m_type = value;
104 }
106 SetType(value);
107 return *this;
108 }
110
112
117 inline const Aws::String& GetURI() const { return m_uRI; }
118 inline bool URIHasBeenSet() const { return m_uRIHasBeenSet; }
119 template <typename URIT = Aws::String>
120 void SetURI(URIT&& value) {
121 m_uRIHasBeenSet = true;
122 m_uRI = std::forward<URIT>(value);
123 }
124 template <typename URIT = Aws::String>
126 SetURI(std::forward<URIT>(value));
127 return *this;
128 }
130 private:
132
133 Aws::String m_uRI;
134 bool m_typeHasBeenSet = false;
135 bool m_uRIHasBeenSet = false;
136};
137
138} // namespace Model
139} // namespace Lambda
140} // 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