AWS SDK for C++

AWS SDK for C++ Version 1.11.686

Loading...
Searching...
No Matches
OutputLocation.h
1
6#pragma once
7#include <aws/glacier/Glacier_EXPORTS.h>
8#include <aws/glacier/model/S3Location.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Glacier {
20namespace Model {
21
29 public:
30 AWS_GLACIER_API OutputLocation() = default;
31 AWS_GLACIER_API OutputLocation(Aws::Utils::Json::JsonView jsonValue);
33 AWS_GLACIER_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline const S3Location& GetS3() const { return m_s3; }
41 inline bool S3HasBeenSet() const { return m_s3HasBeenSet; }
42 template <typename S3T = S3Location>
43 void SetS3(S3T&& value) {
44 m_s3HasBeenSet = true;
45 m_s3 = std::forward<S3T>(value);
46 }
47 template <typename S3T = S3Location>
48 OutputLocation& WithS3(S3T&& value) {
49 SetS3(std::forward<S3T>(value));
50 return *this;
51 }
53 private:
54 S3Location m_s3;
55 bool m_s3HasBeenSet = false;
56};
57
58} // namespace Model
59} // namespace Glacier
60} // namespace Aws
AWS_GLACIER_API Aws::Utils::Json::JsonValue Jsonize() const
OutputLocation & WithS3(S3T &&value)
AWS_GLACIER_API OutputLocation & operator=(Aws::Utils::Json::JsonView jsonValue)
const S3Location & GetS3() const
AWS_GLACIER_API OutputLocation(Aws::Utils::Json::JsonView jsonValue)
AWS_GLACIER_API OutputLocation()=default
Aws::Utils::Json::JsonValue JsonValue