AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
DescribeDefaultEncryptionConfigurationResult.h
1
6#pragma once
7#include <aws/iotsitewise/IoTSiteWise_EXPORTS.h>
8#include <aws/iotsitewise/model/EncryptionType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/iotsitewise/model/ConfigurationStatus.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace IoTSiteWise
26{
27namespace Model
28{
30 {
31 public:
32 AWS_IOTSITEWISE_API DescribeDefaultEncryptionConfigurationResult() = default;
35
36
38
41 inline EncryptionType GetEncryptionType() const { return m_encryptionType; }
42 inline void SetEncryptionType(EncryptionType value) { m_encryptionTypeHasBeenSet = true; m_encryptionType = value; }
45
47
51 inline const Aws::String& GetKmsKeyArn() const { return m_kmsKeyArn; }
52 template<typename KmsKeyArnT = Aws::String>
53 void SetKmsKeyArn(KmsKeyArnT&& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = std::forward<KmsKeyArnT>(value); }
54 template<typename KmsKeyArnT = Aws::String>
55 DescribeDefaultEncryptionConfigurationResult& WithKmsKeyArn(KmsKeyArnT&& value) { SetKmsKeyArn(std::forward<KmsKeyArnT>(value)); return *this;}
57
59
64 inline const ConfigurationStatus& GetConfigurationStatus() const { return m_configurationStatus; }
65 template<typename ConfigurationStatusT = ConfigurationStatus>
66 void SetConfigurationStatus(ConfigurationStatusT&& value) { m_configurationStatusHasBeenSet = true; m_configurationStatus = std::forward<ConfigurationStatusT>(value); }
67 template<typename ConfigurationStatusT = ConfigurationStatus>
68 DescribeDefaultEncryptionConfigurationResult& WithConfigurationStatus(ConfigurationStatusT&& value) { SetConfigurationStatus(std::forward<ConfigurationStatusT>(value)); return *this;}
70
72
73 inline const Aws::String& GetRequestId() const { return m_requestId; }
74 template<typename RequestIdT = Aws::String>
75 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
76 template<typename RequestIdT = Aws::String>
77 DescribeDefaultEncryptionConfigurationResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
79 private:
80
82 bool m_encryptionTypeHasBeenSet = false;
83
84 Aws::String m_kmsKeyArn;
85 bool m_kmsKeyArnHasBeenSet = false;
86
87 ConfigurationStatus m_configurationStatus;
88 bool m_configurationStatusHasBeenSet = false;
89
90 Aws::String m_requestId;
91 bool m_requestIdHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace IoTSiteWise
96} // namespace Aws
DescribeDefaultEncryptionConfigurationResult & WithConfigurationStatus(ConfigurationStatusT &&value)
DescribeDefaultEncryptionConfigurationResult & WithEncryptionType(EncryptionType value)
DescribeDefaultEncryptionConfigurationResult & WithKmsKeyArn(KmsKeyArnT &&value)
DescribeDefaultEncryptionConfigurationResult & WithRequestId(RequestIdT &&value)
AWS_IOTSITEWISE_API DescribeDefaultEncryptionConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_IOTSITEWISE_API DescribeDefaultEncryptionConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue