AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
VerifiedAccessSseSpecificationResponse.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ec2/EC2_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Xml {
16class XmlNode;
17} // namespace Xml
18} // namespace Utils
19namespace EC2 {
20namespace Model {
21
28 public:
32
33 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
34 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
35
37
41 inline bool GetCustomerManagedKeyEnabled() const { return m_customerManagedKeyEnabled; }
42 inline bool CustomerManagedKeyEnabledHasBeenSet() const { return m_customerManagedKeyEnabledHasBeenSet; }
43 inline void SetCustomerManagedKeyEnabled(bool value) {
44 m_customerManagedKeyEnabledHasBeenSet = true;
45 m_customerManagedKeyEnabled = value;
46 }
49 return *this;
50 }
52
54
57 inline const Aws::String& GetKmsKeyArn() const { return m_kmsKeyArn; }
58 inline bool KmsKeyArnHasBeenSet() const { return m_kmsKeyArnHasBeenSet; }
59 template <typename KmsKeyArnT = Aws::String>
60 void SetKmsKeyArn(KmsKeyArnT&& value) {
61 m_kmsKeyArnHasBeenSet = true;
62 m_kmsKeyArn = std::forward<KmsKeyArnT>(value);
63 }
64 template <typename KmsKeyArnT = Aws::String>
66 SetKmsKeyArn(std::forward<KmsKeyArnT>(value));
67 return *this;
68 }
70 private:
71 bool m_customerManagedKeyEnabled{false};
72
73 Aws::String m_kmsKeyArn;
74 bool m_customerManagedKeyEnabledHasBeenSet = false;
75 bool m_kmsKeyArnHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace EC2
80} // namespace Aws
AWS_EC2_API VerifiedAccessSseSpecificationResponse & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
VerifiedAccessSseSpecificationResponse & WithCustomerManagedKeyEnabled(bool value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
VerifiedAccessSseSpecificationResponse & WithKmsKeyArn(KmsKeyArnT &&value)
AWS_EC2_API VerifiedAccessSseSpecificationResponse(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream