AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
S3Config.h
1
6#pragma once
7#include <aws/forecast/ForecastService_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 ForecastService
22{
23namespace Model
24{
25
37 {
38 public:
39 AWS_FORECASTSERVICE_API S3Config();
40 AWS_FORECASTSERVICE_API S3Config(Aws::Utils::Json::JsonView jsonValue);
41 AWS_FORECASTSERVICE_API S3Config& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_FORECASTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
50 inline const Aws::String& GetPath() const{ return m_path; }
51 inline bool PathHasBeenSet() const { return m_pathHasBeenSet; }
52 inline void SetPath(const Aws::String& value) { m_pathHasBeenSet = true; m_path = value; }
53 inline void SetPath(Aws::String&& value) { m_pathHasBeenSet = true; m_path = std::move(value); }
54 inline void SetPath(const char* value) { m_pathHasBeenSet = true; m_path.assign(value); }
55 inline S3Config& WithPath(const Aws::String& value) { SetPath(value); return *this;}
56 inline S3Config& WithPath(Aws::String&& value) { SetPath(std::move(value)); return *this;}
57 inline S3Config& WithPath(const char* value) { SetPath(value); return *this;}
59
61
69 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
70 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
71 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
72 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
73 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
74 inline S3Config& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
75 inline S3Config& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
76 inline S3Config& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
78
80
83 inline const Aws::String& GetKMSKeyArn() const{ return m_kMSKeyArn; }
84 inline bool KMSKeyArnHasBeenSet() const { return m_kMSKeyArnHasBeenSet; }
85 inline void SetKMSKeyArn(const Aws::String& value) { m_kMSKeyArnHasBeenSet = true; m_kMSKeyArn = value; }
86 inline void SetKMSKeyArn(Aws::String&& value) { m_kMSKeyArnHasBeenSet = true; m_kMSKeyArn = std::move(value); }
87 inline void SetKMSKeyArn(const char* value) { m_kMSKeyArnHasBeenSet = true; m_kMSKeyArn.assign(value); }
88 inline S3Config& WithKMSKeyArn(const Aws::String& value) { SetKMSKeyArn(value); return *this;}
89 inline S3Config& WithKMSKeyArn(Aws::String&& value) { SetKMSKeyArn(std::move(value)); return *this;}
90 inline S3Config& WithKMSKeyArn(const char* value) { SetKMSKeyArn(value); return *this;}
92 private:
93
94 Aws::String m_path;
95 bool m_pathHasBeenSet = false;
96
97 Aws::String m_roleArn;
98 bool m_roleArnHasBeenSet = false;
99
100 Aws::String m_kMSKeyArn;
101 bool m_kMSKeyArnHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace ForecastService
106} // namespace Aws
void SetKMSKeyArn(const Aws::String &value)
Definition S3Config.h:85
S3Config & WithPath(const char *value)
Definition S3Config.h:57
S3Config & WithRoleArn(Aws::String &&value)
Definition S3Config.h:75
const Aws::String & GetKMSKeyArn() const
Definition S3Config.h:83
void SetPath(Aws::String &&value)
Definition S3Config.h:53
AWS_FORECASTSERVICE_API S3Config & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetKMSKeyArn(const char *value)
Definition S3Config.h:87
S3Config & WithPath(const Aws::String &value)
Definition S3Config.h:55
S3Config & WithKMSKeyArn(const Aws::String &value)
Definition S3Config.h:88
void SetPath(const Aws::String &value)
Definition S3Config.h:52
void SetKMSKeyArn(Aws::String &&value)
Definition S3Config.h:86
S3Config & WithKMSKeyArn(Aws::String &&value)
Definition S3Config.h:89
S3Config & WithKMSKeyArn(const char *value)
Definition S3Config.h:90
S3Config & WithRoleArn(const Aws::String &value)
Definition S3Config.h:74
AWS_FORECASTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_FORECASTSERVICE_API S3Config(Aws::Utils::Json::JsonView jsonValue)
void SetRoleArn(const Aws::String &value)
Definition S3Config.h:71
void SetRoleArn(const char *value)
Definition S3Config.h:73
void SetPath(const char *value)
Definition S3Config.h:54
S3Config & WithPath(Aws::String &&value)
Definition S3Config.h:56
S3Config & WithRoleArn(const char *value)
Definition S3Config.h:76
void SetRoleArn(Aws::String &&value)
Definition S3Config.h:72
const Aws::String & GetRoleArn() const
Definition S3Config.h:69
AWS_FORECASTSERVICE_API S3Config()
const Aws::String & GetPath() const
Definition S3Config.h:50
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue