AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetOutpostArn(const Aws::String& value) { m_outpostArnHasBeenSet = true; m_outpostArn = value; }
47 inline void SetOutpostArn(Aws::String&& value) { m_outpostArnHasBeenSet = true; m_outpostArn = std::move(value); }
48 inline void SetOutpostArn(const char* value) { m_outpostArnHasBeenSet = true; m_outpostArn.assign(value); }
49 inline Outpost& WithOutpostArn(const Aws::String& value) { SetOutpostArn(value); return *this;}
50 inline Outpost& WithOutpostArn(Aws::String&& value) { SetOutpostArn(std::move(value)); return *this;}
51 inline Outpost& WithOutpostArn(const char* value) { SetOutpostArn(value); return *this;}
53
55
59 inline const Aws::String& GetS3OutpostArn() const{ return m_s3OutpostArn; }
60 inline bool S3OutpostArnHasBeenSet() const { return m_s3OutpostArnHasBeenSet; }
61 inline void SetS3OutpostArn(const Aws::String& value) { m_s3OutpostArnHasBeenSet = true; m_s3OutpostArn = value; }
62 inline void SetS3OutpostArn(Aws::String&& value) { m_s3OutpostArnHasBeenSet = true; m_s3OutpostArn = std::move(value); }
63 inline void SetS3OutpostArn(const char* value) { m_s3OutpostArnHasBeenSet = true; m_s3OutpostArn.assign(value); }
64 inline Outpost& WithS3OutpostArn(const Aws::String& value) { SetS3OutpostArn(value); return *this;}
65 inline Outpost& WithS3OutpostArn(Aws::String&& value) { SetS3OutpostArn(std::move(value)); return *this;}
66 inline Outpost& WithS3OutpostArn(const char* value) { SetS3OutpostArn(value); return *this;}
68
70
73 inline const Aws::String& GetOutpostId() const{ return m_outpostId; }
74 inline bool OutpostIdHasBeenSet() const { return m_outpostIdHasBeenSet; }
75 inline void SetOutpostId(const Aws::String& value) { m_outpostIdHasBeenSet = true; m_outpostId = value; }
76 inline void SetOutpostId(Aws::String&& value) { m_outpostIdHasBeenSet = true; m_outpostId = std::move(value); }
77 inline void SetOutpostId(const char* value) { m_outpostIdHasBeenSet = true; m_outpostId.assign(value); }
78 inline Outpost& WithOutpostId(const Aws::String& value) { SetOutpostId(value); return *this;}
79 inline Outpost& WithOutpostId(Aws::String&& value) { SetOutpostId(std::move(value)); return *this;}
80 inline Outpost& WithOutpostId(const char* value) { SetOutpostId(value); return *this;}
82
84
88 inline const Aws::String& GetOwnerId() const{ return m_ownerId; }
89 inline bool OwnerIdHasBeenSet() const { return m_ownerIdHasBeenSet; }
90 inline void SetOwnerId(const Aws::String& value) { m_ownerIdHasBeenSet = true; m_ownerId = value; }
91 inline void SetOwnerId(Aws::String&& value) { m_ownerIdHasBeenSet = true; m_ownerId = std::move(value); }
92 inline void SetOwnerId(const char* value) { m_ownerIdHasBeenSet = true; m_ownerId.assign(value); }
93 inline Outpost& WithOwnerId(const Aws::String& value) { SetOwnerId(value); return *this;}
94 inline Outpost& WithOwnerId(Aws::String&& value) { SetOwnerId(std::move(value)); return *this;}
95 inline Outpost& WithOwnerId(const char* value) { SetOwnerId(value); return *this;}
97
99
102 inline long long GetCapacityInBytes() const{ return m_capacityInBytes; }
103 inline bool CapacityInBytesHasBeenSet() const { return m_capacityInBytesHasBeenSet; }
104 inline void SetCapacityInBytes(long long value) { m_capacityInBytesHasBeenSet = true; m_capacityInBytes = value; }
105 inline Outpost& WithCapacityInBytes(long long value) { SetCapacityInBytes(value); return *this;}
107 private:
108
109 Aws::String m_outpostArn;
110 bool m_outpostArnHasBeenSet = false;
111
112 Aws::String m_s3OutpostArn;
113 bool m_s3OutpostArnHasBeenSet = false;
114
115 Aws::String m_outpostId;
116 bool m_outpostIdHasBeenSet = false;
117
118 Aws::String m_ownerId;
119 bool m_ownerIdHasBeenSet = false;
120
121 long long m_capacityInBytes;
122 bool m_capacityInBytesHasBeenSet = false;
123 };
124
125} // namespace Model
126} // namespace S3Outposts
127} // namespace Aws
void SetS3OutpostArn(const Aws::String &value)
Definition Outpost.h:61
AWS_S3OUTPOSTS_API Outpost(Aws::Utils::Json::JsonView jsonValue)
void SetOutpostId(Aws::String &&value)
Definition Outpost.h:76
Outpost & WithOwnerId(const char *value)
Definition Outpost.h:95
void SetOutpostArn(Aws::String &&value)
Definition Outpost.h:47
AWS_S3OUTPOSTS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetOutpostArn(const char *value)
Definition Outpost.h:48
const Aws::String & GetS3OutpostArn() const
Definition Outpost.h:59
void SetOutpostId(const Aws::String &value)
Definition Outpost.h:75
Outpost & WithS3OutpostArn(const Aws::String &value)
Definition Outpost.h:64
Outpost & WithOutpostArn(const Aws::String &value)
Definition Outpost.h:49
void SetOwnerId(Aws::String &&value)
Definition Outpost.h:91
void SetOwnerId(const char *value)
Definition Outpost.h:92
const Aws::String & GetOwnerId() const
Definition Outpost.h:88
Outpost & WithOutpostId(Aws::String &&value)
Definition Outpost.h:79
Outpost & WithS3OutpostArn(const char *value)
Definition Outpost.h:66
void SetOwnerId(const Aws::String &value)
Definition Outpost.h:90
void SetOutpostId(const char *value)
Definition Outpost.h:77
bool CapacityInBytesHasBeenSet() const
Definition Outpost.h:103
Outpost & WithOwnerId(Aws::String &&value)
Definition Outpost.h:94
AWS_S3OUTPOSTS_API Outpost()
Outpost & WithS3OutpostArn(Aws::String &&value)
Definition Outpost.h:65
bool OutpostIdHasBeenSet() const
Definition Outpost.h:74
void SetCapacityInBytes(long long value)
Definition Outpost.h:104
void SetS3OutpostArn(const char *value)
Definition Outpost.h:63
void SetOutpostArn(const Aws::String &value)
Definition Outpost.h:46
Outpost & WithOutpostId(const Aws::String &value)
Definition Outpost.h:78
Outpost & WithCapacityInBytes(long long value)
Definition Outpost.h:105
bool S3OutpostArnHasBeenSet() const
Definition Outpost.h:60
bool OutpostArnHasBeenSet() const
Definition Outpost.h:45
const Aws::String & GetOutpostArn() const
Definition Outpost.h:44
void SetS3OutpostArn(Aws::String &&value)
Definition Outpost.h:62
const Aws::String & GetOutpostId() const
Definition Outpost.h:73
Outpost & WithOutpostId(const char *value)
Definition Outpost.h:80
AWS_S3OUTPOSTS_API Outpost & operator=(Aws::Utils::Json::JsonView jsonValue)
Outpost & WithOwnerId(const Aws::String &value)
Definition Outpost.h:93
long long GetCapacityInBytes() const
Definition Outpost.h:102
Outpost & WithOutpostArn(Aws::String &&value)
Definition Outpost.h:50
Outpost & WithOutpostArn(const char *value)
Definition Outpost.h:51
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue