AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SourceCloudProperties.h
1
6#pragma once
7#include <aws/drs/Drs_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 drs
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_DRS_API SourceCloudProperties();
39
40
42
45 inline const Aws::String& GetOriginAccountID() const{ return m_originAccountID; }
46 inline bool OriginAccountIDHasBeenSet() const { return m_originAccountIDHasBeenSet; }
47 inline void SetOriginAccountID(const Aws::String& value) { m_originAccountIDHasBeenSet = true; m_originAccountID = value; }
48 inline void SetOriginAccountID(Aws::String&& value) { m_originAccountIDHasBeenSet = true; m_originAccountID = std::move(value); }
49 inline void SetOriginAccountID(const char* value) { m_originAccountIDHasBeenSet = true; m_originAccountID.assign(value); }
50 inline SourceCloudProperties& WithOriginAccountID(const Aws::String& value) { SetOriginAccountID(value); return *this;}
51 inline SourceCloudProperties& WithOriginAccountID(Aws::String&& value) { SetOriginAccountID(std::move(value)); return *this;}
52 inline SourceCloudProperties& WithOriginAccountID(const char* value) { SetOriginAccountID(value); return *this;}
54
56
59 inline const Aws::String& GetOriginAvailabilityZone() const{ return m_originAvailabilityZone; }
60 inline bool OriginAvailabilityZoneHasBeenSet() const { return m_originAvailabilityZoneHasBeenSet; }
61 inline void SetOriginAvailabilityZone(const Aws::String& value) { m_originAvailabilityZoneHasBeenSet = true; m_originAvailabilityZone = value; }
62 inline void SetOriginAvailabilityZone(Aws::String&& value) { m_originAvailabilityZoneHasBeenSet = true; m_originAvailabilityZone = std::move(value); }
63 inline void SetOriginAvailabilityZone(const char* value) { m_originAvailabilityZoneHasBeenSet = true; m_originAvailabilityZone.assign(value); }
66 inline SourceCloudProperties& WithOriginAvailabilityZone(const char* value) { SetOriginAvailabilityZone(value); return *this;}
68
70
73 inline const Aws::String& GetOriginRegion() const{ return m_originRegion; }
74 inline bool OriginRegionHasBeenSet() const { return m_originRegionHasBeenSet; }
75 inline void SetOriginRegion(const Aws::String& value) { m_originRegionHasBeenSet = true; m_originRegion = value; }
76 inline void SetOriginRegion(Aws::String&& value) { m_originRegionHasBeenSet = true; m_originRegion = std::move(value); }
77 inline void SetOriginRegion(const char* value) { m_originRegionHasBeenSet = true; m_originRegion.assign(value); }
78 inline SourceCloudProperties& WithOriginRegion(const Aws::String& value) { SetOriginRegion(value); return *this;}
79 inline SourceCloudProperties& WithOriginRegion(Aws::String&& value) { SetOriginRegion(std::move(value)); return *this;}
80 inline SourceCloudProperties& WithOriginRegion(const char* value) { SetOriginRegion(value); return *this;}
82
84
87 inline const Aws::String& GetSourceOutpostArn() const{ return m_sourceOutpostArn; }
88 inline bool SourceOutpostArnHasBeenSet() const { return m_sourceOutpostArnHasBeenSet; }
89 inline void SetSourceOutpostArn(const Aws::String& value) { m_sourceOutpostArnHasBeenSet = true; m_sourceOutpostArn = value; }
90 inline void SetSourceOutpostArn(Aws::String&& value) { m_sourceOutpostArnHasBeenSet = true; m_sourceOutpostArn = std::move(value); }
91 inline void SetSourceOutpostArn(const char* value) { m_sourceOutpostArnHasBeenSet = true; m_sourceOutpostArn.assign(value); }
92 inline SourceCloudProperties& WithSourceOutpostArn(const Aws::String& value) { SetSourceOutpostArn(value); return *this;}
93 inline SourceCloudProperties& WithSourceOutpostArn(Aws::String&& value) { SetSourceOutpostArn(std::move(value)); return *this;}
94 inline SourceCloudProperties& WithSourceOutpostArn(const char* value) { SetSourceOutpostArn(value); return *this;}
96 private:
97
98 Aws::String m_originAccountID;
99 bool m_originAccountIDHasBeenSet = false;
100
101 Aws::String m_originAvailabilityZone;
102 bool m_originAvailabilityZoneHasBeenSet = false;
103
104 Aws::String m_originRegion;
105 bool m_originRegionHasBeenSet = false;
106
107 Aws::String m_sourceOutpostArn;
108 bool m_sourceOutpostArnHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace drs
113} // namespace Aws
SourceCloudProperties & WithOriginRegion(const char *value)
void SetOriginAvailabilityZone(Aws::String &&value)
void SetOriginAccountID(const Aws::String &value)
SourceCloudProperties & WithOriginAccountID(const Aws::String &value)
const Aws::String & GetOriginAccountID() const
void SetSourceOutpostArn(const Aws::String &value)
SourceCloudProperties & WithSourceOutpostArn(Aws::String &&value)
SourceCloudProperties & WithOriginRegion(Aws::String &&value)
SourceCloudProperties & WithOriginAccountID(const char *value)
AWS_DRS_API Aws::Utils::Json::JsonValue Jsonize() const
SourceCloudProperties & WithOriginAccountID(Aws::String &&value)
SourceCloudProperties & WithOriginRegion(const Aws::String &value)
const Aws::String & GetOriginRegion() const
SourceCloudProperties & WithOriginAvailabilityZone(const char *value)
const Aws::String & GetSourceOutpostArn() const
SourceCloudProperties & WithOriginAvailabilityZone(const Aws::String &value)
SourceCloudProperties & WithSourceOutpostArn(const Aws::String &value)
void SetOriginRegion(const Aws::String &value)
AWS_DRS_API SourceCloudProperties(Aws::Utils::Json::JsonView jsonValue)
AWS_DRS_API SourceCloudProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
SourceCloudProperties & WithOriginAvailabilityZone(Aws::String &&value)
void SetOriginAvailabilityZone(const Aws::String &value)
const Aws::String & GetOriginAvailabilityZone() const
SourceCloudProperties & WithSourceOutpostArn(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue