AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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#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 Glacier
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_GLACIER_API OutputLocation() = default;
36 AWS_GLACIER_API OutputLocation(Aws::Utils::Json::JsonView jsonValue);
38 AWS_GLACIER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const S3Location& GetS3() const { return m_s3; }
47 inline bool S3HasBeenSet() const { return m_s3HasBeenSet; }
48 template<typename S3T = S3Location>
49 void SetS3(S3T&& value) { m_s3HasBeenSet = true; m_s3 = std::forward<S3T>(value); }
50 template<typename S3T = S3Location>
51 OutputLocation& WithS3(S3T&& value) { SetS3(std::forward<S3T>(value)); return *this;}
53 private:
54
55 S3Location m_s3;
56 bool m_s3HasBeenSet = false;
57 };
58
59} // namespace Model
60} // namespace Glacier
61} // 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