AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
OnDeviceServiceConfiguration.h
1
6#pragma once
7#include <aws/snowball/Snowball_EXPORTS.h>
8#include <aws/snowball/model/NFSOnDeviceServiceConfiguration.h>
9#include <aws/snowball/model/TGWOnDeviceServiceConfiguration.h>
10#include <aws/snowball/model/EKSOnDeviceServiceConfiguration.h>
11#include <aws/snowball/model/S3OnDeviceServiceConfiguration.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace Snowball
25{
26namespace Model
27{
28
37 {
38 public:
39 AWS_SNOWBALL_API OnDeviceServiceConfiguration() = default;
42 AWS_SNOWBALL_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const NFSOnDeviceServiceConfiguration& GetNFSOnDeviceService() const { return m_nFSOnDeviceService; }
50 inline bool NFSOnDeviceServiceHasBeenSet() const { return m_nFSOnDeviceServiceHasBeenSet; }
51 template<typename NFSOnDeviceServiceT = NFSOnDeviceServiceConfiguration>
52 void SetNFSOnDeviceService(NFSOnDeviceServiceT&& value) { m_nFSOnDeviceServiceHasBeenSet = true; m_nFSOnDeviceService = std::forward<NFSOnDeviceServiceT>(value); }
53 template<typename NFSOnDeviceServiceT = NFSOnDeviceServiceConfiguration>
54 OnDeviceServiceConfiguration& WithNFSOnDeviceService(NFSOnDeviceServiceT&& value) { SetNFSOnDeviceService(std::forward<NFSOnDeviceServiceT>(value)); return *this;}
56
58
62 inline const TGWOnDeviceServiceConfiguration& GetTGWOnDeviceService() const { return m_tGWOnDeviceService; }
63 inline bool TGWOnDeviceServiceHasBeenSet() const { return m_tGWOnDeviceServiceHasBeenSet; }
64 template<typename TGWOnDeviceServiceT = TGWOnDeviceServiceConfiguration>
65 void SetTGWOnDeviceService(TGWOnDeviceServiceT&& value) { m_tGWOnDeviceServiceHasBeenSet = true; m_tGWOnDeviceService = std::forward<TGWOnDeviceServiceT>(value); }
66 template<typename TGWOnDeviceServiceT = TGWOnDeviceServiceConfiguration>
67 OnDeviceServiceConfiguration& WithTGWOnDeviceService(TGWOnDeviceServiceT&& value) { SetTGWOnDeviceService(std::forward<TGWOnDeviceServiceT>(value)); return *this;}
69
71
74 inline const EKSOnDeviceServiceConfiguration& GetEKSOnDeviceService() const { return m_eKSOnDeviceService; }
75 inline bool EKSOnDeviceServiceHasBeenSet() const { return m_eKSOnDeviceServiceHasBeenSet; }
76 template<typename EKSOnDeviceServiceT = EKSOnDeviceServiceConfiguration>
77 void SetEKSOnDeviceService(EKSOnDeviceServiceT&& value) { m_eKSOnDeviceServiceHasBeenSet = true; m_eKSOnDeviceService = std::forward<EKSOnDeviceServiceT>(value); }
78 template<typename EKSOnDeviceServiceT = EKSOnDeviceServiceConfiguration>
79 OnDeviceServiceConfiguration& WithEKSOnDeviceService(EKSOnDeviceServiceT&& value) { SetEKSOnDeviceService(std::forward<EKSOnDeviceServiceT>(value)); return *this;}
81
83
86 inline const S3OnDeviceServiceConfiguration& GetS3OnDeviceService() const { return m_s3OnDeviceService; }
87 inline bool S3OnDeviceServiceHasBeenSet() const { return m_s3OnDeviceServiceHasBeenSet; }
88 template<typename S3OnDeviceServiceT = S3OnDeviceServiceConfiguration>
89 void SetS3OnDeviceService(S3OnDeviceServiceT&& value) { m_s3OnDeviceServiceHasBeenSet = true; m_s3OnDeviceService = std::forward<S3OnDeviceServiceT>(value); }
90 template<typename S3OnDeviceServiceT = S3OnDeviceServiceConfiguration>
91 OnDeviceServiceConfiguration& WithS3OnDeviceService(S3OnDeviceServiceT&& value) { SetS3OnDeviceService(std::forward<S3OnDeviceServiceT>(value)); return *this;}
93 private:
94
95 NFSOnDeviceServiceConfiguration m_nFSOnDeviceService;
96 bool m_nFSOnDeviceServiceHasBeenSet = false;
97
98 TGWOnDeviceServiceConfiguration m_tGWOnDeviceService;
99 bool m_tGWOnDeviceServiceHasBeenSet = false;
100
101 EKSOnDeviceServiceConfiguration m_eKSOnDeviceService;
102 bool m_eKSOnDeviceServiceHasBeenSet = false;
103
104 S3OnDeviceServiceConfiguration m_s3OnDeviceService;
105 bool m_s3OnDeviceServiceHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace Snowball
110} // namespace Aws
OnDeviceServiceConfiguration & WithNFSOnDeviceService(NFSOnDeviceServiceT &&value)
const S3OnDeviceServiceConfiguration & GetS3OnDeviceService() const
OnDeviceServiceConfiguration & WithEKSOnDeviceService(EKSOnDeviceServiceT &&value)
AWS_SNOWBALL_API Aws::Utils::Json::JsonValue Jsonize() const
const EKSOnDeviceServiceConfiguration & GetEKSOnDeviceService() const
AWS_SNOWBALL_API OnDeviceServiceConfiguration()=default
OnDeviceServiceConfiguration & WithTGWOnDeviceService(TGWOnDeviceServiceT &&value)
OnDeviceServiceConfiguration & WithS3OnDeviceService(S3OnDeviceServiceT &&value)
AWS_SNOWBALL_API OnDeviceServiceConfiguration(Aws::Utils::Json::JsonView jsonValue)
const TGWOnDeviceServiceConfiguration & GetTGWOnDeviceService() const
AWS_SNOWBALL_API OnDeviceServiceConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
const NFSOnDeviceServiceConfiguration & GetNFSOnDeviceService() const
Aws::Utils::Json::JsonValue JsonValue