AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
CustomerManagedS3Storage.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 CustomerManagedS3Storage() = default;
38 AWS_IOTSITEWISE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
50 inline const Aws::String& GetS3ResourceArn() const { return m_s3ResourceArn; }
51 inline bool S3ResourceArnHasBeenSet() const { return m_s3ResourceArnHasBeenSet; }
52 template<typename S3ResourceArnT = Aws::String>
53 void SetS3ResourceArn(S3ResourceArnT&& value) { m_s3ResourceArnHasBeenSet = true; m_s3ResourceArn = std::forward<S3ResourceArnT>(value); }
54 template<typename S3ResourceArnT = Aws::String>
55 CustomerManagedS3Storage& WithS3ResourceArn(S3ResourceArnT&& value) { SetS3ResourceArn(std::forward<S3ResourceArnT>(value)); return *this;}
57
59
65 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
66 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
67 template<typename RoleArnT = Aws::String>
68 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
69 template<typename RoleArnT = Aws::String>
70 CustomerManagedS3Storage& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
72 private:
73
74 Aws::String m_s3ResourceArn;
75 bool m_s3ResourceArnHasBeenSet = false;
76
77 Aws::String m_roleArn;
78 bool m_roleArnHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace IoTSiteWise
83} // namespace Aws
AWS_IOTSITEWISE_API CustomerManagedS3Storage & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTSITEWISE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOTSITEWISE_API CustomerManagedS3Storage()=default
CustomerManagedS3Storage & WithS3ResourceArn(S3ResourceArnT &&value)
CustomerManagedS3Storage & WithRoleArn(RoleArnT &&value)
AWS_IOTSITEWISE_API CustomerManagedS3Storage(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue