AWS SDK for C++  1.9.103
AWS SDK for C++
OutputLocation.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace Glacier
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
45  inline const S3Location& GetS3() const{ return m_s3; }
46 
51  inline bool S3HasBeenSet() const { return m_s3HasBeenSet; }
52 
57  inline void SetS3(const S3Location& value) { m_s3HasBeenSet = true; m_s3 = value; }
58 
63  inline void SetS3(S3Location&& value) { m_s3HasBeenSet = true; m_s3 = std::move(value); }
64 
69  inline OutputLocation& WithS3(const S3Location& value) { SetS3(value); return *this;}
70 
75  inline OutputLocation& WithS3(S3Location&& value) { SetS3(std::move(value)); return *this;}
76 
77  private:
78 
79  S3Location m_s3;
80  bool m_s3HasBeenSet;
81  };
82 
83 } // namespace Model
84 } // namespace Glacier
85 } // namespace Aws
Aws::Glacier::Model::OutputLocation::SetS3
void SetS3(const S3Location &value)
Definition: OutputLocation.h:57
Aws::Glacier::Model::S3Location
Definition: S3Location.h:39
Aws::Glacier::Model::OutputLocation::OutputLocation
OutputLocation(Aws::Utils::Json::JsonView jsonValue)
Aws::Glacier::Model::OutputLocation::S3HasBeenSet
bool S3HasBeenSet() const
Definition: OutputLocation.h:51
Aws::Glacier::Model::OutputLocation::WithS3
OutputLocation & WithS3(S3Location &&value)
Definition: OutputLocation.h:75
Aws::Glacier::Model::OutputLocation::WithS3
OutputLocation & WithS3(const S3Location &value)
Definition: OutputLocation.h:69
AWS_GLACIER_API
#define AWS_GLACIER_API
Definition: Glacier_EXPORTS.h:28
Aws::Glacier::Model::OutputLocation::SetS3
void SetS3(S3Location &&value)
Definition: OutputLocation.h:63
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Glacier::Model::OutputLocation::GetS3
const S3Location & GetS3() const
Definition: OutputLocation.h:45
Aws::Glacier::Model::OutputLocation::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
S3Location.h
Aws
Definition: AccessManagementClient.h:15
Aws::Glacier::Model::OutputLocation::operator=
OutputLocation & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Glacier::Model::OutputLocation::OutputLocation
OutputLocation()
Aws::Glacier::Model::OutputLocation
Definition: OutputLocation.h:33
Glacier_EXPORTS.h