AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PutEncryptionConfigurationResult.h
1
6#pragma once
7#include <aws/iotfleetwise/IoTFleetWise_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iotfleetwise/model/EncryptionStatus.h>
10#include <aws/iotfleetwise/model/EncryptionType.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 IoTFleetWise
26{
27namespace Model
28{
30 {
31 public:
32 AWS_IOTFLEETWISE_API PutEncryptionConfigurationResult();
35
36
38
41 inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; }
42 inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyId = value; }
43 inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyId = std::move(value); }
44 inline void SetKmsKeyId(const char* value) { m_kmsKeyId.assign(value); }
45 inline PutEncryptionConfigurationResult& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;}
46 inline PutEncryptionConfigurationResult& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;}
47 inline PutEncryptionConfigurationResult& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;}
49
51
54 inline const EncryptionStatus& GetEncryptionStatus() const{ return m_encryptionStatus; }
55 inline void SetEncryptionStatus(const EncryptionStatus& value) { m_encryptionStatus = value; }
56 inline void SetEncryptionStatus(EncryptionStatus&& value) { m_encryptionStatus = std::move(value); }
60
62
68 inline const EncryptionType& GetEncryptionType() const{ return m_encryptionType; }
69 inline void SetEncryptionType(const EncryptionType& value) { m_encryptionType = value; }
70 inline void SetEncryptionType(EncryptionType&& value) { m_encryptionType = std::move(value); }
72 inline PutEncryptionConfigurationResult& WithEncryptionType(EncryptionType&& value) { SetEncryptionType(std::move(value)); return *this;}
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); }
81 inline PutEncryptionConfigurationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
82 inline PutEncryptionConfigurationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
83 inline PutEncryptionConfigurationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
85 private:
86
87 Aws::String m_kmsKeyId;
88
89 EncryptionStatus m_encryptionStatus;
90
91 EncryptionType m_encryptionType;
92
93 Aws::String m_requestId;
94 };
95
96} // namespace Model
97} // namespace IoTFleetWise
98} // namespace Aws
PutEncryptionConfigurationResult & WithKmsKeyId(const char *value)
PutEncryptionConfigurationResult & WithEncryptionStatus(EncryptionStatus &&value)
PutEncryptionConfigurationResult & WithRequestId(const char *value)
PutEncryptionConfigurationResult & WithEncryptionStatus(const EncryptionStatus &value)
PutEncryptionConfigurationResult & WithEncryptionType(EncryptionType &&value)
PutEncryptionConfigurationResult & WithRequestId(const Aws::String &value)
PutEncryptionConfigurationResult & WithKmsKeyId(const Aws::String &value)
PutEncryptionConfigurationResult & WithRequestId(Aws::String &&value)
PutEncryptionConfigurationResult & WithKmsKeyId(Aws::String &&value)
AWS_IOTFLEETWISE_API PutEncryptionConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
PutEncryptionConfigurationResult & WithEncryptionType(const EncryptionType &value)
AWS_IOTFLEETWISE_API PutEncryptionConfigurationResult & 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