AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
Outpost.h
1
6#pragma once
7#include <aws/s3outposts/S3Outposts_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 S3Outposts
22{
23namespace Model
24{
25
31 class Outpost
32 {
33 public:
34 AWS_S3OUTPOSTS_API Outpost() = default;
35 AWS_S3OUTPOSTS_API Outpost(Aws::Utils::Json::JsonView jsonValue);
36 AWS_S3OUTPOSTS_API Outpost& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_S3OUTPOSTS_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetOutpostArn() const { return m_outpostArn; }
45 inline bool OutpostArnHasBeenSet() const { return m_outpostArnHasBeenSet; }
46 template<typename OutpostArnT = Aws::String>
47 void SetOutpostArn(OutpostArnT&& value) { m_outpostArnHasBeenSet = true; m_outpostArn = std::forward<OutpostArnT>(value); }
48 template<typename OutpostArnT = Aws::String>
49 Outpost& WithOutpostArn(OutpostArnT&& value) { SetOutpostArn(std::forward<OutpostArnT>(value)); return *this;}
51
53
57 inline const Aws::String& GetS3OutpostArn() const { return m_s3OutpostArn; }
58 inline bool S3OutpostArnHasBeenSet() const { return m_s3OutpostArnHasBeenSet; }
59 template<typename S3OutpostArnT = Aws::String>
60 void SetS3OutpostArn(S3OutpostArnT&& value) { m_s3OutpostArnHasBeenSet = true; m_s3OutpostArn = std::forward<S3OutpostArnT>(value); }
61 template<typename S3OutpostArnT = Aws::String>
62 Outpost& WithS3OutpostArn(S3OutpostArnT&& value) { SetS3OutpostArn(std::forward<S3OutpostArnT>(value)); return *this;}
64
66
69 inline const Aws::String& GetOutpostId() const { return m_outpostId; }
70 inline bool OutpostIdHasBeenSet() const { return m_outpostIdHasBeenSet; }
71 template<typename OutpostIdT = Aws::String>
72 void SetOutpostId(OutpostIdT&& value) { m_outpostIdHasBeenSet = true; m_outpostId = std::forward<OutpostIdT>(value); }
73 template<typename OutpostIdT = Aws::String>
74 Outpost& WithOutpostId(OutpostIdT&& value) { SetOutpostId(std::forward<OutpostIdT>(value)); return *this;}
76
78
82 inline const Aws::String& GetOwnerId() const { return m_ownerId; }
83 inline bool OwnerIdHasBeenSet() const { return m_ownerIdHasBeenSet; }
84 template<typename OwnerIdT = Aws::String>
85 void SetOwnerId(OwnerIdT&& value) { m_ownerIdHasBeenSet = true; m_ownerId = std::forward<OwnerIdT>(value); }
86 template<typename OwnerIdT = Aws::String>
87 Outpost& WithOwnerId(OwnerIdT&& value) { SetOwnerId(std::forward<OwnerIdT>(value)); return *this;}
89
91
94 inline long long GetCapacityInBytes() const { return m_capacityInBytes; }
95 inline bool CapacityInBytesHasBeenSet() const { return m_capacityInBytesHasBeenSet; }
96 inline void SetCapacityInBytes(long long value) { m_capacityInBytesHasBeenSet = true; m_capacityInBytes = value; }
97 inline Outpost& WithCapacityInBytes(long long value) { SetCapacityInBytes(value); return *this;}
99 private:
100
101 Aws::String m_outpostArn;
102 bool m_outpostArnHasBeenSet = false;
103
104 Aws::String m_s3OutpostArn;
105 bool m_s3OutpostArnHasBeenSet = false;
106
107 Aws::String m_outpostId;
108 bool m_outpostIdHasBeenSet = false;
109
110 Aws::String m_ownerId;
111 bool m_ownerIdHasBeenSet = false;
112
113 long long m_capacityInBytes{0};
114 bool m_capacityInBytesHasBeenSet = false;
115 };
116
117} // namespace Model
118} // namespace S3Outposts
119} // namespace Aws
AWS_S3OUTPOSTS_API Outpost(Aws::Utils::Json::JsonView jsonValue)
AWS_S3OUTPOSTS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetS3OutpostArn() const
Definition Outpost.h:57
void SetOwnerId(OwnerIdT &&value)
Definition Outpost.h:85
Outpost & WithOutpostArn(OutpostArnT &&value)
Definition Outpost.h:49
const Aws::String & GetOwnerId() const
Definition Outpost.h:82
void SetOutpostId(OutpostIdT &&value)
Definition Outpost.h:72
bool CapacityInBytesHasBeenSet() const
Definition Outpost.h:95
void SetOutpostArn(OutpostArnT &&value)
Definition Outpost.h:47
AWS_S3OUTPOSTS_API Outpost()=default
bool OutpostIdHasBeenSet() const
Definition Outpost.h:70
Outpost & WithOutpostId(OutpostIdT &&value)
Definition Outpost.h:74
Outpost & WithOwnerId(OwnerIdT &&value)
Definition Outpost.h:87
void SetCapacityInBytes(long long value)
Definition Outpost.h:96
void SetS3OutpostArn(S3OutpostArnT &&value)
Definition Outpost.h:60
Outpost & WithCapacityInBytes(long long value)
Definition Outpost.h:97
bool S3OutpostArnHasBeenSet() const
Definition Outpost.h:58
bool OutpostArnHasBeenSet() const
Definition Outpost.h:45
const Aws::String & GetOutpostArn() const
Definition Outpost.h:44
const Aws::String & GetOutpostId() const
Definition Outpost.h:69
AWS_S3OUTPOSTS_API Outpost & operator=(Aws::Utils::Json::JsonView jsonValue)
long long GetCapacityInBytes() const
Definition Outpost.h:94
Outpost & WithS3OutpostArn(S3OutpostArnT &&value)
Definition Outpost.h:62
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue