AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PutDefaultEncryptionConfigurationResult.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:
35
36
38
41 inline const EncryptionType& GetEncryptionType() const{ return m_encryptionType; }
42 inline void SetEncryptionType(const EncryptionType& value) { m_encryptionType = value; }
43 inline void SetEncryptionType(EncryptionType&& value) { m_encryptionType = std::move(value); }
47
49
53 inline const Aws::String& GetKmsKeyArn() const{ return m_kmsKeyArn; }
54 inline void SetKmsKeyArn(const Aws::String& value) { m_kmsKeyArn = value; }
55 inline void SetKmsKeyArn(Aws::String&& value) { m_kmsKeyArn = std::move(value); }
56 inline void SetKmsKeyArn(const char* value) { m_kmsKeyArn.assign(value); }
58 inline PutDefaultEncryptionConfigurationResult& WithKmsKeyArn(Aws::String&& value) { SetKmsKeyArn(std::move(value)); return *this;}
59 inline PutDefaultEncryptionConfigurationResult& WithKmsKeyArn(const char* value) { SetKmsKeyArn(value); return *this;}
61
63
68 inline const ConfigurationStatus& GetConfigurationStatus() const{ return m_configurationStatus; }
69 inline void SetConfigurationStatus(const ConfigurationStatus& value) { m_configurationStatus = value; }
70 inline void SetConfigurationStatus(ConfigurationStatus&& value) { m_configurationStatus = std::move(value); }
74
76
77 inline const Aws::String& GetRequestId() const{ return m_requestId; }
78 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
79 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
80 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
82 inline PutDefaultEncryptionConfigurationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
83 inline PutDefaultEncryptionConfigurationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
85 private:
86
87 EncryptionType m_encryptionType;
88
89 Aws::String m_kmsKeyArn;
90
91 ConfigurationStatus m_configurationStatus;
92
93 Aws::String m_requestId;
94 };
95
96} // namespace Model
97} // namespace IoTSiteWise
98} // namespace Aws
PutDefaultEncryptionConfigurationResult & WithConfigurationStatus(const ConfigurationStatus &value)
PutDefaultEncryptionConfigurationResult & WithEncryptionType(const EncryptionType &value)
AWS_IOTSITEWISE_API PutDefaultEncryptionConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
PutDefaultEncryptionConfigurationResult & WithRequestId(Aws::String &&value)
PutDefaultEncryptionConfigurationResult & WithRequestId(const char *value)
PutDefaultEncryptionConfigurationResult & WithConfigurationStatus(ConfigurationStatus &&value)
PutDefaultEncryptionConfigurationResult & WithKmsKeyArn(const Aws::String &value)
PutDefaultEncryptionConfigurationResult & WithKmsKeyArn(Aws::String &&value)
PutDefaultEncryptionConfigurationResult & WithKmsKeyArn(const char *value)
PutDefaultEncryptionConfigurationResult & WithRequestId(const Aws::String &value)
PutDefaultEncryptionConfigurationResult & WithEncryptionType(EncryptionType &&value)
AWS_IOTSITEWISE_API PutDefaultEncryptionConfigurationResult & 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