AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
40 AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
74 inline const SourceAccessType& GetType() const{ return m_type; }
75 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
76 inline void SetType(const SourceAccessType& value) { m_typeHasBeenSet = true; m_type = value; }
77 inline void SetType(SourceAccessType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
78 inline SourceAccessConfiguration& WithType(const SourceAccessType& value) { SetType(value); return *this;}
79 inline SourceAccessConfiguration& WithType(SourceAccessType&& value) { SetType(std::move(value)); return *this;}
81
83
88 inline const Aws::String& GetURI() const{ return m_uRI; }
89 inline bool URIHasBeenSet() const { return m_uRIHasBeenSet; }
90 inline void SetURI(const Aws::String& value) { m_uRIHasBeenSet = true; m_uRI = value; }
91 inline void SetURI(Aws::String&& value) { m_uRIHasBeenSet = true; m_uRI = std::move(value); }
92 inline void SetURI(const char* value) { m_uRIHasBeenSet = true; m_uRI.assign(value); }
93 inline SourceAccessConfiguration& WithURI(const Aws::String& value) { SetURI(value); return *this;}
94 inline SourceAccessConfiguration& WithURI(Aws::String&& value) { SetURI(std::move(value)); return *this;}
95 inline SourceAccessConfiguration& WithURI(const char* value) { SetURI(value); return *this;}
97 private:
98
99 SourceAccessType m_type;
100 bool m_typeHasBeenSet = false;
101
102 Aws::String m_uRI;
103 bool m_uRIHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace Lambda
108} // namespace Aws
AWS_LAMBDA_API SourceAccessConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_LAMBDA_API SourceAccessConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
SourceAccessConfiguration & WithURI(const Aws::String &value)
SourceAccessConfiguration & WithType(const SourceAccessType &value)
AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const
SourceAccessConfiguration & WithType(SourceAccessType &&value)
SourceAccessConfiguration & WithURI(Aws::String &&value)
SourceAccessConfiguration & WithURI(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue