AWS SDK for C++

AWS SDK for C++ Version 1.11.613

Loading...
Searching...
No Matches
GetDefaultEncryptionConfigurationResult.h
1
6#pragma once
7#include <aws/iot-managed-integrations/IoTManagedIntegrations_EXPORTS.h>
8#include <aws/iot-managed-integrations/model/ConfigurationStatus.h>
9#include <aws/iot-managed-integrations/model/EncryptionType.h>
10#include <aws/core/utils/memory/stl/AWSString.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 IoTManagedIntegrations
26{
27namespace Model
28{
30 {
31 public:
32 AWS_IOTMANAGEDINTEGRATIONS_API GetDefaultEncryptionConfigurationResult() = default;
35
36
38
42 inline const ConfigurationStatus& GetConfigurationStatus() const { return m_configurationStatus; }
43 template<typename ConfigurationStatusT = ConfigurationStatus>
44 void SetConfigurationStatus(ConfigurationStatusT&& value) { m_configurationStatusHasBeenSet = true; m_configurationStatus = std::forward<ConfigurationStatusT>(value); }
45 template<typename ConfigurationStatusT = ConfigurationStatus>
46 GetDefaultEncryptionConfigurationResult& WithConfigurationStatus(ConfigurationStatusT&& value) { SetConfigurationStatus(std::forward<ConfigurationStatusT>(value)); return *this;}
48
50
53 inline EncryptionType GetEncryptionType() const { return m_encryptionType; }
54 inline void SetEncryptionType(EncryptionType value) { m_encryptionTypeHasBeenSet = true; m_encryptionType = value; }
57
59
63 inline const Aws::String& GetKmsKeyArn() const { return m_kmsKeyArn; }
64 template<typename KmsKeyArnT = Aws::String>
65 void SetKmsKeyArn(KmsKeyArnT&& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = std::forward<KmsKeyArnT>(value); }
66 template<typename KmsKeyArnT = Aws::String>
67 GetDefaultEncryptionConfigurationResult& WithKmsKeyArn(KmsKeyArnT&& value) { SetKmsKeyArn(std::forward<KmsKeyArnT>(value)); return *this;}
69
71
72 inline const Aws::String& GetRequestId() const { return m_requestId; }
73 template<typename RequestIdT = Aws::String>
74 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
75 template<typename RequestIdT = Aws::String>
76 GetDefaultEncryptionConfigurationResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
78 private:
79
80 ConfigurationStatus m_configurationStatus;
81 bool m_configurationStatusHasBeenSet = false;
82
84 bool m_encryptionTypeHasBeenSet = false;
85
86 Aws::String m_kmsKeyArn;
87 bool m_kmsKeyArnHasBeenSet = false;
88
89 Aws::String m_requestId;
90 bool m_requestIdHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace IoTManagedIntegrations
95} // namespace Aws
AWS_IOTMANAGEDINTEGRATIONS_API GetDefaultEncryptionConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetDefaultEncryptionConfigurationResult & WithEncryptionType(EncryptionType value)
AWS_IOTMANAGEDINTEGRATIONS_API GetDefaultEncryptionConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_IOTMANAGEDINTEGRATIONS_API GetDefaultEncryptionConfigurationResult()=default
GetDefaultEncryptionConfigurationResult & WithConfigurationStatus(ConfigurationStatusT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue