1 /**
2  * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3  * SPDX-License-Identifier: Apache-2.0.
4  */
5 
6 #pragma once
7 #include <aws/healthlake/HealthLake_EXPORTS.h>
8 #include <aws/core/utils/memory/stl/AWSString.h>
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 HealthLake
22 {
23 namespace Model
24 {
25 
26   /**
27    * <p> The configuration of the S3 bucket for either an import or export job. This
28    * includes assigning permissions for access. </p><p><h3>See Also:</h3>   <a
29    * href="http://docs.aws.amazon.com/goto/WebAPI/healthlake-2017-07-01/S3Configuration">AWS
30    * API Reference</a></p>
31    */
32   class AWS_HEALTHLAKE_API S3Configuration
33   {
34   public:
35     S3Configuration();
36     S3Configuration(Aws::Utils::Json::JsonView jsonValue);
37     S3Configuration& operator=(Aws::Utils::Json::JsonView jsonValue);
38     Aws::Utils::Json::JsonValue Jsonize() const;
39 
40 
41     /**
42      * <p> The S3Uri is the user specified S3 location of the FHIR data to be imported
43      * into Amazon HealthLake. </p>
44      */
GetS3Uri()45     inline const Aws::String& GetS3Uri() const{ return m_s3Uri; }
46 
47     /**
48      * <p> The S3Uri is the user specified S3 location of the FHIR data to be imported
49      * into Amazon HealthLake. </p>
50      */
S3UriHasBeenSet()51     inline bool S3UriHasBeenSet() const { return m_s3UriHasBeenSet; }
52 
53     /**
54      * <p> The S3Uri is the user specified S3 location of the FHIR data to be imported
55      * into Amazon HealthLake. </p>
56      */
SetS3Uri(const Aws::String & value)57     inline void SetS3Uri(const Aws::String& value) { m_s3UriHasBeenSet = true; m_s3Uri = value; }
58 
59     /**
60      * <p> The S3Uri is the user specified S3 location of the FHIR data to be imported
61      * into Amazon HealthLake. </p>
62      */
SetS3Uri(Aws::String && value)63     inline void SetS3Uri(Aws::String&& value) { m_s3UriHasBeenSet = true; m_s3Uri = std::move(value); }
64 
65     /**
66      * <p> The S3Uri is the user specified S3 location of the FHIR data to be imported
67      * into Amazon HealthLake. </p>
68      */
SetS3Uri(const char * value)69     inline void SetS3Uri(const char* value) { m_s3UriHasBeenSet = true; m_s3Uri.assign(value); }
70 
71     /**
72      * <p> The S3Uri is the user specified S3 location of the FHIR data to be imported
73      * into Amazon HealthLake. </p>
74      */
WithS3Uri(const Aws::String & value)75     inline S3Configuration& WithS3Uri(const Aws::String& value) { SetS3Uri(value); return *this;}
76 
77     /**
78      * <p> The S3Uri is the user specified S3 location of the FHIR data to be imported
79      * into Amazon HealthLake. </p>
80      */
WithS3Uri(Aws::String && value)81     inline S3Configuration& WithS3Uri(Aws::String&& value) { SetS3Uri(std::move(value)); return *this;}
82 
83     /**
84      * <p> The S3Uri is the user specified S3 location of the FHIR data to be imported
85      * into Amazon HealthLake. </p>
86      */
WithS3Uri(const char * value)87     inline S3Configuration& WithS3Uri(const char* value) { SetS3Uri(value); return *this;}
88 
89 
90     /**
91      * <p> The KMS key ID used to access the S3 bucket. </p>
92      */
GetKmsKeyId()93     inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; }
94 
95     /**
96      * <p> The KMS key ID used to access the S3 bucket. </p>
97      */
KmsKeyIdHasBeenSet()98     inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
99 
100     /**
101      * <p> The KMS key ID used to access the S3 bucket. </p>
102      */
SetKmsKeyId(const Aws::String & value)103     inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = value; }
104 
105     /**
106      * <p> The KMS key ID used to access the S3 bucket. </p>
107      */
SetKmsKeyId(Aws::String && value)108     inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::move(value); }
109 
110     /**
111      * <p> The KMS key ID used to access the S3 bucket. </p>
112      */
SetKmsKeyId(const char * value)113     inline void SetKmsKeyId(const char* value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId.assign(value); }
114 
115     /**
116      * <p> The KMS key ID used to access the S3 bucket. </p>
117      */
WithKmsKeyId(const Aws::String & value)118     inline S3Configuration& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;}
119 
120     /**
121      * <p> The KMS key ID used to access the S3 bucket. </p>
122      */
WithKmsKeyId(Aws::String && value)123     inline S3Configuration& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;}
124 
125     /**
126      * <p> The KMS key ID used to access the S3 bucket. </p>
127      */
WithKmsKeyId(const char * value)128     inline S3Configuration& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;}
129 
130   private:
131 
132     Aws::String m_s3Uri;
133     bool m_s3UriHasBeenSet;
134 
135     Aws::String m_kmsKeyId;
136     bool m_kmsKeyIdHasBeenSet;
137   };
138 
139 } // namespace Model
140 } // namespace HealthLake
141 } // namespace Aws
142