AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DependentService.h
1
6#pragma once
7#include <aws/snowball/Snowball_EXPORTS.h>
8#include <aws/snowball/model/ServiceName.h>
9#include <aws/snowball/model/ServiceVersion.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 Snowball
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_SNOWBALL_API DependentService();
37 AWS_SNOWBALL_API DependentService(Aws::Utils::Json::JsonView jsonValue);
39 AWS_SNOWBALL_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const ServiceName& GetServiceName() const{ return m_serviceName; }
47 inline bool ServiceNameHasBeenSet() const { return m_serviceNameHasBeenSet; }
48 inline void SetServiceName(const ServiceName& value) { m_serviceNameHasBeenSet = true; m_serviceName = value; }
49 inline void SetServiceName(ServiceName&& value) { m_serviceNameHasBeenSet = true; m_serviceName = std::move(value); }
50 inline DependentService& WithServiceName(const ServiceName& value) { SetServiceName(value); return *this;}
51 inline DependentService& WithServiceName(ServiceName&& value) { SetServiceName(std::move(value)); return *this;}
53
55
58 inline const ServiceVersion& GetServiceVersion() const{ return m_serviceVersion; }
59 inline bool ServiceVersionHasBeenSet() const { return m_serviceVersionHasBeenSet; }
60 inline void SetServiceVersion(const ServiceVersion& value) { m_serviceVersionHasBeenSet = true; m_serviceVersion = value; }
61 inline void SetServiceVersion(ServiceVersion&& value) { m_serviceVersionHasBeenSet = true; m_serviceVersion = std::move(value); }
62 inline DependentService& WithServiceVersion(const ServiceVersion& value) { SetServiceVersion(value); return *this;}
63 inline DependentService& WithServiceVersion(ServiceVersion&& value) { SetServiceVersion(std::move(value)); return *this;}
65 private:
66
67 ServiceName m_serviceName;
68 bool m_serviceNameHasBeenSet = false;
69
70 ServiceVersion m_serviceVersion;
71 bool m_serviceVersionHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace Snowball
76} // namespace Aws
void SetServiceVersion(ServiceVersion &&value)
DependentService & WithServiceName(ServiceName &&value)
DependentService & WithServiceVersion(const ServiceVersion &value)
void SetServiceName(const ServiceName &value)
const ServiceVersion & GetServiceVersion() const
AWS_SNOWBALL_API DependentService(Aws::Utils::Json::JsonView jsonValue)
void SetServiceVersion(const ServiceVersion &value)
void SetServiceName(ServiceName &&value)
AWS_SNOWBALL_API Aws::Utils::Json::JsonValue Jsonize() const
const ServiceName & GetServiceName() const
DependentService & WithServiceVersion(ServiceVersion &&value)
DependentService & WithServiceName(const ServiceName &value)
AWS_SNOWBALL_API DependentService & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue