AWS SDK for C++

AWS SDK for C++ Version 1.11.751

Loading...
Searching...
No Matches
Source.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/observabilityadmin/ObservabilityAdmin_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace ObservabilityAdmin {
20namespace Model {
21
30class Source {
31 public:
32 AWS_OBSERVABILITYADMIN_API Source() = default;
33 AWS_OBSERVABILITYADMIN_API Source(Aws::Utils::Json::JsonView jsonValue);
34 AWS_OBSERVABILITYADMIN_API Source& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_OBSERVABILITYADMIN_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
42 inline const Aws::String& GetType() const { return m_type; }
43 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
44 template <typename TypeT = Aws::String>
45 void SetType(TypeT&& value) {
46 m_typeHasBeenSet = true;
47 m_type = std::forward<TypeT>(value);
48 }
49 template <typename TypeT = Aws::String>
50 Source& WithType(TypeT&& value) {
51 SetType(std::forward<TypeT>(value));
52 return *this;
53 }
55 private:
56 Aws::String m_type;
57 bool m_typeHasBeenSet = false;
58};
59
60} // namespace Model
61} // namespace ObservabilityAdmin
62} // namespace Aws
AWS_OBSERVABILITYADMIN_API Source()=default
AWS_OBSERVABILITYADMIN_API Source & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_OBSERVABILITYADMIN_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_OBSERVABILITYADMIN_API Source(Aws::Utils::Json::JsonView jsonValue)
Source & WithType(TypeT &&value)
Definition Source.h:50
const Aws::String & GetType() const
Definition Source.h:42
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue