AWS SDK for C++  1.9.156
AWS SDK for C++
DescribeDefaultEncryptionConfigurationResult.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace IoTSiteWise
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
40  inline const EncryptionType& GetEncryptionType() const{ return m_encryptionType; }
41 
45  inline void SetEncryptionType(const EncryptionType& value) { m_encryptionType = value; }
46 
50  inline void SetEncryptionType(EncryptionType&& value) { m_encryptionType = std::move(value); }
51 
55  inline DescribeDefaultEncryptionConfigurationResult& WithEncryptionType(const EncryptionType& value) { SetEncryptionType(value); return *this;}
56 
60  inline DescribeDefaultEncryptionConfigurationResult& WithEncryptionType(EncryptionType&& value) { SetEncryptionType(std::move(value)); return *this;}
61 
62 
67  inline const Aws::String& GetKmsKeyArn() const{ return m_kmsKeyArn; }
68 
73  inline void SetKmsKeyArn(const Aws::String& value) { m_kmsKeyArn = value; }
74 
79  inline void SetKmsKeyArn(Aws::String&& value) { m_kmsKeyArn = std::move(value); }
80 
85  inline void SetKmsKeyArn(const char* value) { m_kmsKeyArn.assign(value); }
86 
91  inline DescribeDefaultEncryptionConfigurationResult& WithKmsKeyArn(const Aws::String& value) { SetKmsKeyArn(value); return *this;}
92 
97  inline DescribeDefaultEncryptionConfigurationResult& WithKmsKeyArn(Aws::String&& value) { SetKmsKeyArn(std::move(value)); return *this;}
98 
103  inline DescribeDefaultEncryptionConfigurationResult& WithKmsKeyArn(const char* value) { SetKmsKeyArn(value); return *this;}
104 
105 
111  inline const ConfigurationStatus& GetConfigurationStatus() const{ return m_configurationStatus; }
112 
118  inline void SetConfigurationStatus(const ConfigurationStatus& value) { m_configurationStatus = value; }
119 
125  inline void SetConfigurationStatus(ConfigurationStatus&& value) { m_configurationStatus = std::move(value); }
126 
132  inline DescribeDefaultEncryptionConfigurationResult& WithConfigurationStatus(const ConfigurationStatus& value) { SetConfigurationStatus(value); return *this;}
133 
139  inline DescribeDefaultEncryptionConfigurationResult& WithConfigurationStatus(ConfigurationStatus&& value) { SetConfigurationStatus(std::move(value)); return *this;}
140 
141  private:
142 
143  EncryptionType m_encryptionType;
144 
145  Aws::String m_kmsKeyArn;
146 
147  ConfigurationStatus m_configurationStatus;
148  };
149 
150 } // namespace Model
151 } // namespace IoTSiteWise
152 } // namespace Aws
Aws::IoTSiteWise::Model::DescribeDefaultEncryptionConfigurationResult::SetKmsKeyArn
void SetKmsKeyArn(const char *value)
Definition: DescribeDefaultEncryptionConfigurationResult.h:85
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::IoTSiteWise::Model::DescribeDefaultEncryptionConfigurationResult::WithEncryptionType
DescribeDefaultEncryptionConfigurationResult & WithEncryptionType(EncryptionType &&value)
Definition: DescribeDefaultEncryptionConfigurationResult.h:60
Aws::IoTSiteWise::Model::DescribeDefaultEncryptionConfigurationResult::GetEncryptionType
const EncryptionType & GetEncryptionType() const
Definition: DescribeDefaultEncryptionConfigurationResult.h:40
ConfigurationStatus.h
Aws::IoTSiteWise::Model::DescribeDefaultEncryptionConfigurationResult::WithKmsKeyArn
DescribeDefaultEncryptionConfigurationResult & WithKmsKeyArn(const char *value)
Definition: DescribeDefaultEncryptionConfigurationResult.h:103
IoTSiteWise_EXPORTS.h
AWS_IOTSITEWISE_API
#define AWS_IOTSITEWISE_API
Definition: IoTSiteWise_EXPORTS.h:28
EncryptionType.h
Aws::IoTSiteWise::Model::DescribeDefaultEncryptionConfigurationResult::GetConfigurationStatus
const ConfigurationStatus & GetConfigurationStatus() const
Definition: DescribeDefaultEncryptionConfigurationResult.h:111
Aws::IoTSiteWise::Model::DescribeDefaultEncryptionConfigurationResult::WithConfigurationStatus
DescribeDefaultEncryptionConfigurationResult & WithConfigurationStatus(ConfigurationStatus &&value)
Definition: DescribeDefaultEncryptionConfigurationResult.h:139
Aws::IoTSiteWise::Model::EncryptionType
EncryptionType
Definition: EncryptionType.h:17
Aws::IoTSiteWise::Model::DescribeDefaultEncryptionConfigurationResult::SetEncryptionType
void SetEncryptionType(EncryptionType &&value)
Definition: DescribeDefaultEncryptionConfigurationResult.h:50
Aws::IoTSiteWise::Model::DescribeDefaultEncryptionConfigurationResult::WithConfigurationStatus
DescribeDefaultEncryptionConfigurationResult & WithConfigurationStatus(const ConfigurationStatus &value)
Definition: DescribeDefaultEncryptionConfigurationResult.h:132
Aws::IoTSiteWise::Model::DescribeDefaultEncryptionConfigurationResult::DescribeDefaultEncryptionConfigurationResult
DescribeDefaultEncryptionConfigurationResult()
Aws::IoTSiteWise::Model::DescribeDefaultEncryptionConfigurationResult
Definition: DescribeDefaultEncryptionConfigurationResult.h:30
Aws::IoTSiteWise::Model::ConfigurationStatus
Definition: ConfigurationStatus.h:34
Aws::IoTSiteWise::Model::DescribeDefaultEncryptionConfigurationResult::SetKmsKeyArn
void SetKmsKeyArn(const Aws::String &value)
Definition: DescribeDefaultEncryptionConfigurationResult.h:73
Aws::IoTSiteWise::Model::DescribeDefaultEncryptionConfigurationResult::DescribeDefaultEncryptionConfigurationResult
DescribeDefaultEncryptionConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWSString.h
Aws::IoTSiteWise::Model::DescribeDefaultEncryptionConfigurationResult::SetConfigurationStatus
void SetConfigurationStatus(ConfigurationStatus &&value)
Definition: DescribeDefaultEncryptionConfigurationResult.h:125
Aws::IoTSiteWise::Model::DescribeDefaultEncryptionConfigurationResult::operator=
DescribeDefaultEncryptionConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoTSiteWise::Model::DescribeDefaultEncryptionConfigurationResult::WithEncryptionType
DescribeDefaultEncryptionConfigurationResult & WithEncryptionType(const EncryptionType &value)
Definition: DescribeDefaultEncryptionConfigurationResult.h:55
Aws::IoTSiteWise::Model::DescribeDefaultEncryptionConfigurationResult::SetKmsKeyArn
void SetKmsKeyArn(Aws::String &&value)
Definition: DescribeDefaultEncryptionConfigurationResult.h:79
Aws::IoTSiteWise::Model::DescribeDefaultEncryptionConfigurationResult::SetConfigurationStatus
void SetConfigurationStatus(const ConfigurationStatus &value)
Definition: DescribeDefaultEncryptionConfigurationResult.h:118
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoTSiteWise::Model::DescribeDefaultEncryptionConfigurationResult::WithKmsKeyArn
DescribeDefaultEncryptionConfigurationResult & WithKmsKeyArn(const Aws::String &value)
Definition: DescribeDefaultEncryptionConfigurationResult.h:91
Aws::IoTSiteWise::Model::DescribeDefaultEncryptionConfigurationResult::SetEncryptionType
void SetEncryptionType(const EncryptionType &value)
Definition: DescribeDefaultEncryptionConfigurationResult.h:45
Aws::IoTSiteWise::Model::DescribeDefaultEncryptionConfigurationResult::WithKmsKeyArn
DescribeDefaultEncryptionConfigurationResult & WithKmsKeyArn(Aws::String &&value)
Definition: DescribeDefaultEncryptionConfigurationResult.h:97
Aws::IoTSiteWise::Model::DescribeDefaultEncryptionConfigurationResult::GetKmsKeyArn
const Aws::String & GetKmsKeyArn() const
Definition: DescribeDefaultEncryptionConfigurationResult.h:67