AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ServiceInfo.h
1
6#pragma once
7#include <aws/service-quotas/ServiceQuotas_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace ServiceQuotas
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_SERVICEQUOTAS_API ServiceInfo();
35 AWS_SERVICEQUOTAS_API ServiceInfo(Aws::Utils::Json::JsonView jsonValue);
36 AWS_SERVICEQUOTAS_API ServiceInfo& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_SERVICEQUOTAS_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
45 inline const Aws::String& GetServiceCode() const{ return m_serviceCode; }
46 inline bool ServiceCodeHasBeenSet() const { return m_serviceCodeHasBeenSet; }
47 inline void SetServiceCode(const Aws::String& value) { m_serviceCodeHasBeenSet = true; m_serviceCode = value; }
48 inline void SetServiceCode(Aws::String&& value) { m_serviceCodeHasBeenSet = true; m_serviceCode = std::move(value); }
49 inline void SetServiceCode(const char* value) { m_serviceCodeHasBeenSet = true; m_serviceCode.assign(value); }
50 inline ServiceInfo& WithServiceCode(const Aws::String& value) { SetServiceCode(value); return *this;}
51 inline ServiceInfo& WithServiceCode(Aws::String&& value) { SetServiceCode(std::move(value)); return *this;}
52 inline ServiceInfo& WithServiceCode(const char* value) { SetServiceCode(value); return *this;}
54
56
59 inline const Aws::String& GetServiceName() const{ return m_serviceName; }
60 inline bool ServiceNameHasBeenSet() const { return m_serviceNameHasBeenSet; }
61 inline void SetServiceName(const Aws::String& value) { m_serviceNameHasBeenSet = true; m_serviceName = value; }
62 inline void SetServiceName(Aws::String&& value) { m_serviceNameHasBeenSet = true; m_serviceName = std::move(value); }
63 inline void SetServiceName(const char* value) { m_serviceNameHasBeenSet = true; m_serviceName.assign(value); }
64 inline ServiceInfo& WithServiceName(const Aws::String& value) { SetServiceName(value); return *this;}
65 inline ServiceInfo& WithServiceName(Aws::String&& value) { SetServiceName(std::move(value)); return *this;}
66 inline ServiceInfo& WithServiceName(const char* value) { SetServiceName(value); return *this;}
68 private:
69
70 Aws::String m_serviceCode;
71 bool m_serviceCodeHasBeenSet = false;
72
73 Aws::String m_serviceName;
74 bool m_serviceNameHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace ServiceQuotas
79} // namespace Aws
void SetServiceName(Aws::String &&value)
Definition ServiceInfo.h:62
ServiceInfo & WithServiceName(Aws::String &&value)
Definition ServiceInfo.h:65
void SetServiceCode(const Aws::String &value)
Definition ServiceInfo.h:47
AWS_SERVICEQUOTAS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetServiceCode(Aws::String &&value)
Definition ServiceInfo.h:48
const Aws::String & GetServiceName() const
Definition ServiceInfo.h:59
ServiceInfo & WithServiceCode(Aws::String &&value)
Definition ServiceInfo.h:51
void SetServiceName(const Aws::String &value)
Definition ServiceInfo.h:61
void SetServiceName(const char *value)
Definition ServiceInfo.h:63
void SetServiceCode(const char *value)
Definition ServiceInfo.h:49
AWS_SERVICEQUOTAS_API ServiceInfo(Aws::Utils::Json::JsonView jsonValue)
ServiceInfo & WithServiceCode(const Aws::String &value)
Definition ServiceInfo.h:50
AWS_SERVICEQUOTAS_API ServiceInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetServiceCode() const
Definition ServiceInfo.h:45
ServiceInfo & WithServiceCode(const char *value)
Definition ServiceInfo.h:52
AWS_SERVICEQUOTAS_API ServiceInfo()
ServiceInfo & WithServiceName(const Aws::String &value)
Definition ServiceInfo.h:64
ServiceInfo & WithServiceName(const char *value)
Definition ServiceInfo.h:66
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue