AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
AWSService.h
1
6#pragma once
7#include <aws/auditmanager/AuditManager_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace AuditManager {
20namespace Model {
21
36 public:
37 AWS_AUDITMANAGER_API AWSService() = default;
38 AWS_AUDITMANAGER_API AWSService(Aws::Utils::Json::JsonView jsonValue);
39 AWS_AUDITMANAGER_API AWSService& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_AUDITMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const;
41
43
46 inline const Aws::String& GetServiceName() const { return m_serviceName; }
47 inline bool ServiceNameHasBeenSet() const { return m_serviceNameHasBeenSet; }
48 template <typename ServiceNameT = Aws::String>
49 void SetServiceName(ServiceNameT&& value) {
50 m_serviceNameHasBeenSet = true;
51 m_serviceName = std::forward<ServiceNameT>(value);
52 }
53 template <typename ServiceNameT = Aws::String>
54 AWSService& WithServiceName(ServiceNameT&& value) {
55 SetServiceName(std::forward<ServiceNameT>(value));
56 return *this;
57 }
59 private:
60 Aws::String m_serviceName;
61 bool m_serviceNameHasBeenSet = false;
62};
63
64} // namespace Model
65} // namespace AuditManager
66} // namespace Aws
AWS_AUDITMANAGER_API AWSService & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetServiceName(ServiceNameT &&value)
Definition AWSService.h:49
AWS_AUDITMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_AUDITMANAGER_API AWSService(Aws::Utils::Json::JsonView jsonValue)
AWS_AUDITMANAGER_API AWSService()=default
const Aws::String & GetServiceName() const
Definition AWSService.h:46
AWSService & WithServiceName(ServiceNameT &&value)
Definition AWSService.h:54
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue