AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
ErrorReportLocation.h
1
6#pragma once
7#include <aws/iotsitewise/IoTSiteWise_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 IoTSiteWise
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_IOTSITEWISE_API ErrorReportLocation() = default;
36 AWS_IOTSITEWISE_API ErrorReportLocation(Aws::Utils::Json::JsonView jsonValue);
38 AWS_IOTSITEWISE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::String& GetBucket() const { return m_bucket; }
47 inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; }
48 template<typename BucketT = Aws::String>
49 void SetBucket(BucketT&& value) { m_bucketHasBeenSet = true; m_bucket = std::forward<BucketT>(value); }
50 template<typename BucketT = Aws::String>
51 ErrorReportLocation& WithBucket(BucketT&& value) { SetBucket(std::forward<BucketT>(value)); return *this;}
53
55
64 inline const Aws::String& GetPrefix() const { return m_prefix; }
65 inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; }
66 template<typename PrefixT = Aws::String>
67 void SetPrefix(PrefixT&& value) { m_prefixHasBeenSet = true; m_prefix = std::forward<PrefixT>(value); }
68 template<typename PrefixT = Aws::String>
69 ErrorReportLocation& WithPrefix(PrefixT&& value) { SetPrefix(std::forward<PrefixT>(value)); return *this;}
71 private:
72
73 Aws::String m_bucket;
74 bool m_bucketHasBeenSet = false;
75
76 Aws::String m_prefix;
77 bool m_prefixHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace IoTSiteWise
82} // namespace Aws
AWS_IOTSITEWISE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOTSITEWISE_API ErrorReportLocation(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTSITEWISE_API ErrorReportLocation & operator=(Aws::Utils::Json::JsonView jsonValue)
ErrorReportLocation & WithPrefix(PrefixT &&value)
AWS_IOTSITEWISE_API ErrorReportLocation()=default
ErrorReportLocation & WithBucket(BucketT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue