AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
SourceCloudProperties.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/drs/Drs_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace drs {
20namespace Model {
21
29 public:
30 AWS_DRS_API SourceCloudProperties() = default;
34
36
39 inline const Aws::String& GetOriginAccountID() const { return m_originAccountID; }
40 inline bool OriginAccountIDHasBeenSet() const { return m_originAccountIDHasBeenSet; }
41 template <typename OriginAccountIDT = Aws::String>
42 void SetOriginAccountID(OriginAccountIDT&& value) {
43 m_originAccountIDHasBeenSet = true;
44 m_originAccountID = std::forward<OriginAccountIDT>(value);
45 }
46 template <typename OriginAccountIDT = Aws::String>
47 SourceCloudProperties& WithOriginAccountID(OriginAccountIDT&& value) {
48 SetOriginAccountID(std::forward<OriginAccountIDT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetOriginAvailabilityZone() const { return m_originAvailabilityZone; }
58 inline bool OriginAvailabilityZoneHasBeenSet() const { return m_originAvailabilityZoneHasBeenSet; }
59 template <typename OriginAvailabilityZoneT = Aws::String>
60 void SetOriginAvailabilityZone(OriginAvailabilityZoneT&& value) {
61 m_originAvailabilityZoneHasBeenSet = true;
62 m_originAvailabilityZone = std::forward<OriginAvailabilityZoneT>(value);
63 }
64 template <typename OriginAvailabilityZoneT = Aws::String>
65 SourceCloudProperties& WithOriginAvailabilityZone(OriginAvailabilityZoneT&& value) {
66 SetOriginAvailabilityZone(std::forward<OriginAvailabilityZoneT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetOriginRegion() const { return m_originRegion; }
76 inline bool OriginRegionHasBeenSet() const { return m_originRegionHasBeenSet; }
77 template <typename OriginRegionT = Aws::String>
78 void SetOriginRegion(OriginRegionT&& value) {
79 m_originRegionHasBeenSet = true;
80 m_originRegion = std::forward<OriginRegionT>(value);
81 }
82 template <typename OriginRegionT = Aws::String>
83 SourceCloudProperties& WithOriginRegion(OriginRegionT&& value) {
84 SetOriginRegion(std::forward<OriginRegionT>(value));
85 return *this;
86 }
88
90
93 inline const Aws::String& GetSourceOutpostArn() const { return m_sourceOutpostArn; }
94 inline bool SourceOutpostArnHasBeenSet() const { return m_sourceOutpostArnHasBeenSet; }
95 template <typename SourceOutpostArnT = Aws::String>
96 void SetSourceOutpostArn(SourceOutpostArnT&& value) {
97 m_sourceOutpostArnHasBeenSet = true;
98 m_sourceOutpostArn = std::forward<SourceOutpostArnT>(value);
99 }
100 template <typename SourceOutpostArnT = Aws::String>
101 SourceCloudProperties& WithSourceOutpostArn(SourceOutpostArnT&& value) {
102 SetSourceOutpostArn(std::forward<SourceOutpostArnT>(value));
103 return *this;
104 }
106 private:
107 Aws::String m_originAccountID;
108
109 Aws::String m_originAvailabilityZone;
110
111 Aws::String m_originRegion;
112
113 Aws::String m_sourceOutpostArn;
114 bool m_originAccountIDHasBeenSet = false;
115 bool m_originAvailabilityZoneHasBeenSet = false;
116 bool m_originRegionHasBeenSet = false;
117 bool m_sourceOutpostArnHasBeenSet = false;
118};
119
120} // namespace Model
121} // namespace drs
122} // namespace Aws
void SetSourceOutpostArn(SourceOutpostArnT &&value)
const Aws::String & GetOriginAccountID() const
SourceCloudProperties & WithOriginAccountID(OriginAccountIDT &&value)
SourceCloudProperties & WithSourceOutpostArn(SourceOutpostArnT &&value)
void SetOriginAvailabilityZone(OriginAvailabilityZoneT &&value)
SourceCloudProperties & WithOriginAvailabilityZone(OriginAvailabilityZoneT &&value)
AWS_DRS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetOriginRegion() const
AWS_DRS_API SourceCloudProperties()=default
const Aws::String & GetSourceOutpostArn() const
void SetOriginAccountID(OriginAccountIDT &&value)
SourceCloudProperties & WithOriginRegion(OriginRegionT &&value)
AWS_DRS_API SourceCloudProperties(Aws::Utils::Json::JsonView jsonValue)
AWS_DRS_API SourceCloudProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetOriginAvailabilityZone() const
void SetOriginRegion(OriginRegionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue