AWS SDK for C++  1.9.153
AWS SDK for C++
PutDefaultEncryptionConfigurationResult.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 PutDefaultEncryptionConfigurationResult& WithEncryptionType(const EncryptionType& value) { SetEncryptionType(value); return *this;}
56 
60  inline PutDefaultEncryptionConfigurationResult& 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 PutDefaultEncryptionConfigurationResult& WithKmsKeyArn(const Aws::String& value) { SetKmsKeyArn(value); return *this;}
92 
97  inline PutDefaultEncryptionConfigurationResult& WithKmsKeyArn(Aws::String&& value) { SetKmsKeyArn(std::move(value)); return *this;}
98 
103  inline PutDefaultEncryptionConfigurationResult& 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 PutDefaultEncryptionConfigurationResult& WithConfigurationStatus(const ConfigurationStatus& value) { SetConfigurationStatus(value); return *this;}
133 
139  inline PutDefaultEncryptionConfigurationResult& 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::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
ConfigurationStatus.h
Aws::IoTSiteWise::Model::PutDefaultEncryptionConfigurationResult::WithConfigurationStatus
PutDefaultEncryptionConfigurationResult & WithConfigurationStatus(const ConfigurationStatus &value)
Definition: PutDefaultEncryptionConfigurationResult.h:132
Aws::IoTSiteWise::Model::PutDefaultEncryptionConfigurationResult::WithKmsKeyArn
PutDefaultEncryptionConfigurationResult & WithKmsKeyArn(const Aws::String &value)
Definition: PutDefaultEncryptionConfigurationResult.h:91
IoTSiteWise_EXPORTS.h
AWS_IOTSITEWISE_API
#define AWS_IOTSITEWISE_API
Definition: IoTSiteWise_EXPORTS.h:28
EncryptionType.h
Aws::IoTSiteWise::Model::PutDefaultEncryptionConfigurationResult::WithKmsKeyArn
PutDefaultEncryptionConfigurationResult & WithKmsKeyArn(Aws::String &&value)
Definition: PutDefaultEncryptionConfigurationResult.h:97
Aws::IoTSiteWise::Model::PutDefaultEncryptionConfigurationResult::SetKmsKeyArn
void SetKmsKeyArn(const Aws::String &value)
Definition: PutDefaultEncryptionConfigurationResult.h:73
Aws::IoTSiteWise::Model::PutDefaultEncryptionConfigurationResult::PutDefaultEncryptionConfigurationResult
PutDefaultEncryptionConfigurationResult()
Aws::IoTSiteWise::Model::PutDefaultEncryptionConfigurationResult::operator=
PutDefaultEncryptionConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoTSiteWise::Model::PutDefaultEncryptionConfigurationResult::GetKmsKeyArn
const Aws::String & GetKmsKeyArn() const
Definition: PutDefaultEncryptionConfigurationResult.h:67
Aws::IoTSiteWise::Model::PutDefaultEncryptionConfigurationResult::WithConfigurationStatus
PutDefaultEncryptionConfigurationResult & WithConfigurationStatus(ConfigurationStatus &&value)
Definition: PutDefaultEncryptionConfigurationResult.h:139
Aws::IoTSiteWise::Model::EncryptionType
EncryptionType
Definition: EncryptionType.h:17
Aws::IoTSiteWise::Model::PutDefaultEncryptionConfigurationResult::SetConfigurationStatus
void SetConfigurationStatus(ConfigurationStatus &&value)
Definition: PutDefaultEncryptionConfigurationResult.h:125
Aws::IoTSiteWise::Model::ConfigurationStatus
Definition: ConfigurationStatus.h:34
AWSString.h
Aws::IoTSiteWise::Model::PutDefaultEncryptionConfigurationResult::SetEncryptionType
void SetEncryptionType(EncryptionType &&value)
Definition: PutDefaultEncryptionConfigurationResult.h:50
Aws::IoTSiteWise::Model::PutDefaultEncryptionConfigurationResult::GetEncryptionType
const EncryptionType & GetEncryptionType() const
Definition: PutDefaultEncryptionConfigurationResult.h:40
Aws::IoTSiteWise::Model::PutDefaultEncryptionConfigurationResult::SetKmsKeyArn
void SetKmsKeyArn(const char *value)
Definition: PutDefaultEncryptionConfigurationResult.h:85
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::IoTSiteWise::Model::PutDefaultEncryptionConfigurationResult::WithEncryptionType
PutDefaultEncryptionConfigurationResult & WithEncryptionType(EncryptionType &&value)
Definition: PutDefaultEncryptionConfigurationResult.h:60
Aws::IoTSiteWise::Model::PutDefaultEncryptionConfigurationResult::PutDefaultEncryptionConfigurationResult
PutDefaultEncryptionConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoTSiteWise::Model::PutDefaultEncryptionConfigurationResult::SetEncryptionType
void SetEncryptionType(const EncryptionType &value)
Definition: PutDefaultEncryptionConfigurationResult.h:45
Aws::IoTSiteWise::Model::PutDefaultEncryptionConfigurationResult::WithEncryptionType
PutDefaultEncryptionConfigurationResult & WithEncryptionType(const EncryptionType &value)
Definition: PutDefaultEncryptionConfigurationResult.h:55
Aws::IoTSiteWise::Model::PutDefaultEncryptionConfigurationResult::SetKmsKeyArn
void SetKmsKeyArn(Aws::String &&value)
Definition: PutDefaultEncryptionConfigurationResult.h:79
Aws::IoTSiteWise::Model::PutDefaultEncryptionConfigurationResult::WithKmsKeyArn
PutDefaultEncryptionConfigurationResult & WithKmsKeyArn(const char *value)
Definition: PutDefaultEncryptionConfigurationResult.h:103
Aws::IoTSiteWise::Model::PutDefaultEncryptionConfigurationResult
Definition: PutDefaultEncryptionConfigurationResult.h:30
Aws::IoTSiteWise::Model::PutDefaultEncryptionConfigurationResult::SetConfigurationStatus
void SetConfigurationStatus(const ConfigurationStatus &value)
Definition: PutDefaultEncryptionConfigurationResult.h:118
Aws::IoTSiteWise::Model::PutDefaultEncryptionConfigurationResult::GetConfigurationStatus
const ConfigurationStatus & GetConfigurationStatus() const
Definition: PutDefaultEncryptionConfigurationResult.h:111